
.ctm-section,
.ctm-form-section {
    max-width: 1560px;
    margin: 0 auto;
    font-family: inherit;
}

.ctm-section {
    padding: 18px 22px 30px;
}

.ctm-form-section {
    padding: 20px 22px 10px;
}

.ctm-section-heading,
.ctm-form-header {
    text-align: center;
    margin: 0 auto 26px;
    max-width: 760px;
}

.ctm-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #d3d7dd;
    color: #14284b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.ctm-section-heading h2,
.ctm-form-header h3 {
    margin: 16px 0 8px;
    color: #102449;
    font-weight: 800;
    line-height: 1.05;
}

.ctm-section-heading h2 {
    font-size: clamp(38px, 5vw, 58px);
}

.ctm-form-header h3 {
    font-size: clamp(28px, 4vw, 42px);
}

.ctm-section-heading p,
.ctm-form-header p {
    margin: 0;
    color: #385070;
    font-size: 18px;
}

.ctm-testimonials-wrapper {
    background: #dfe2e6;
    border: 1px solid #cfd4db;
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(16, 36, 73, 0.08);
    padding: 38px 40px;
}

.ctm-summary {
    text-align: center;
    margin-bottom: 28px;
}

.ctm-summary-stars,
.ctm-card-stars {
    color: #e2b126;
    letter-spacing: 3px;
    line-height: 1;
}

.ctm-summary-stars {
    font-size: 42px;
    margin-bottom: 14px;
}

.ctm-summary-text {
    margin: 0;
    color: #2e4668;
    font-size: 18px;
    font-weight: 700;
}

.ctm-carousel {
    position: relative;
    padding: 0 56px 44px;
}

.ctm-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.ctm-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.ctm-carousel-slide {
    box-sizing: border-box;
    flex: 0 0 50%;
    padding: 0 12px;
}

.ctm-testimonial-card {
    background: #f6f5f4;
    border-radius: 22px;
    padding: 26px 24px 24px;
    min-height: 210px;
    height: 100%;
}

.ctm-card-stars {
    font-size: 21px;
    margin-bottom: 14px;
}

.ctm-card-content {
    color: #324a6a;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 22px;
}

.ctm-card-meta {
    color: #0f2241;
    font-size: 15px;
    line-height: 1.4;
}

.ctm-card-meta strong {
    font-size: 16px;
    font-weight: 800;
}

.ctm-carousel-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #102449;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(16, 36, 73, 0.18);
    z-index: 2;
    transition: background 0.18s ease, transform 0.18s ease;
}

.ctm-carousel-arrow:hover,
.ctm-carousel-arrow:focus {
    background: #0c1b36;
}

.ctm-carousel-prev {
    left: 0;
}

.ctm-carousel-next {
    right: 0;
}

.ctm-carousel-arrow span {
    font-size: 24px;
    line-height: 1;
}

.ctm-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.ctm-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #b7c0cc;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.ctm-carousel-dot.is-active {
    background: #102449;
    transform: scale(1.2);
}

.ctm-button-row {
    text-align: center;
    margin-top: 32px;
}

.ctm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 16px 32px;
    border: none;
    border-radius: 999px;
    background: #2cab49;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 18px 28px rgba(44, 172, 73, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ctm-button:hover,
.ctm-button:focus {
    background: #24953e;
    transform: translateY(-1px);
    box-shadow: 0 20px 30px rgba(44, 172, 73, 0.28);
}

.ctm-button-secondary {
    min-width: 140px;
}

.ctm-form-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.ctm-form {
    background: #f6f5f4;
    border: 1px solid #d7dce3;
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(16, 36, 73, 0.08);
    padding: 30px;
}

.ctm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ctm-field {
    margin: 0 0 18px;
}

.ctm-field label {
    display: block;
    margin-bottom: 8px;
    color: #14284b;
}

.ctm-field input,
.ctm-field select,
.ctm-field textarea {
    width: 100%;
    border: 1px solid #cfd4db;
    border-radius: 14px;
    padding: 14px 15px;
    font-size: 15px;
    color: #203655;
    background: #ffffff;
    box-sizing: border-box;
}

.ctm-field textarea {
    resize: vertical;
    min-height: 140px;
}

.ctm-checkbox-wrap {
    margin-top: 2px;
}

.ctm-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: #3b5475;
}

.ctm-checkbox-label input {
    width: auto;
    margin-top: 3px;
}

.ctm-submit-wrap {
    margin: 12px 0 0;
    text-align: center;
}

.ctm-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ctm-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 21, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.ctm-popup {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #f6f5f4;
    border-radius: 24px;
    padding: 34px 30px 28px;
    text-align: center;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2);
}

.ctm-popup-form {
    max-width: 920px;
    text-align: left;
    padding: 30px 24px 24px;
}

.ctm-modal-header {
    margin-bottom: 22px;
}

.ctm-popup-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #2cab49;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
}

.ctm-popup h3 {
    margin: 0 0 10px;
    color: #102449;
    font-size: 30px;
    font-weight: 800;
}

.ctm-popup p {
    margin: 0 0 22px;
    color: #385070;
    font-size: 16px;
    line-height: 1.6;
}

.ctm-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: transparent;
    color: #6b7c93;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.ctm-form-modal[hidden] {
    display: none !important;
}

body.ctm-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .ctm-grid {
        grid-template-columns: 1fr;
    }

    .ctm-carousel-slide {
        flex-basis: 100%;
        padding: 0 6px;
    }

    .ctm-carousel {
        padding-left: 42px;
        padding-right: 42px;
    }
}

@media (max-width: 767px) {
    .ctm-section,
    .ctm-form-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ctm-testimonials-wrapper,
    .ctm-form,
    .ctm-popup-form {
        padding: 24px 20px;
    }

    .ctm-summary-stars {
        font-size: 34px;
    }

    .ctm-summary-text,
    .ctm-section-heading p,
    .ctm-form-header p {
        font-size: 16px;
    }

    .ctm-button {
        width: 100%;
        font-size: 17px;
    }

    .ctm-carousel {
        padding-left: 36px;
        padding-right: 36px;
    }

    .ctm-carousel-arrow {
        width: 36px;
        height: 36px;
    }
}
