/* ── Global refinements ── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563EB;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    padding: 5px 14px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 16px;
    position: relative;
}

.section-title {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748B;
    line-height: 1.65;
    max-width: 560px;
    content: center;
}

.section-header {
    margin-bottom: 48px;
}
.section-header.centered {
    text-align: center;
}
.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* ── HERO ── */
section.contact-hero {
    padding: 56px 0 80px !important;
    background: #ffffff;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

section.contact-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

section.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Content */
.contact-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-hero-content .badge {
    margin-bottom: 24px;
}

.contact-hero-content h1 {
    font-size: clamp(36px, 4.4vw, 56px);
    font-weight: 900;
    color: #0F172A;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.contact-hero-content h1 .highlight {
    color: #2563EB;
    position: relative;
}

.contact-hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 4px;
}

.contact-hero-content>p {
    font-size: 17px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

/* Quick Cards */
.contact-quick-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
    margin-bottom: 36px;
}

.qcard {
    background: #F8FAFC;
    border: 1px solid #E8EDF4;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.qcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563EB;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.qcard:hover::before {
    transform: scaleX(1);
}

.qcard:hover {
    border-color: #BFDBFE;
    background: #F0F6FF;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.qcard-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.qcard:hover .qcard-icon {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
    transform: scale(1.05);
}

.qcard-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qcard-text strong {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
}

.qcard-text a,
.qcard-text span {
    font-size: 14px;
    color: #1E293B;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.qcard-text a:hover {
    color: #2563EB;
}

/* Trust Strip */
.contact-hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #F1F5F9;
    width: 100%;
}

.contact-hero-trust .avatars {
    display: flex;
    align-items: center;
}

.contact-hero-trust .avatars span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #EFF6FF;
    border: 2px solid #ffffff;
    color: #2563EB;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.contact-hero-trust .avatars span:first-child {
    margin-left: 0;
}

.contact-hero-trust .trust-text {
    font-size: 13.5px;
    color: #64748B;
    font-weight: 500;
}

.contact-hero-trust .trust-text strong {
    color: #0F172A;
    font-weight: 800;
}

/* ── Form Card ── */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #E8EDF4;
    border-radius: 24px;
    padding: 40px 36px 36px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.03);
    position: relative;
    transition: box-shadow 0.4s ease;
}

.contact-form-card:hover {
    box-shadow: 0 24px 72px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #60A5FA, #2563EB);
    background-size: 200% 100%;
    border-radius: 0 0 4px 4px;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
}

.form-card-header {
    margin-bottom: 28px;
}

.form-card-header .section-label {
    margin-bottom: 12px;
}

.form-card-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin: 0 0 6px 0;
}

.form-card-header p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: #1E293B;
    letter-spacing: 0.01em;
}

.form-group label span {
    color: #2563EB;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #0F172A;
    background: #F8FAFC;
    border: 1.5px solid #E8EDF4;
    border-radius: 12px;
    padding: 12px 16px;
    outline: none;
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
    font-weight: 500;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563EB;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.form-group input:not(:placeholder-shown) {
    background: #ffffff;
    border-color: #DBEAFE;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    font-weight: 500;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
    font-weight: 400;
}

.btn-submit-hero {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    margin-top: 6px;
    border-radius: 12px;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-submit-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn-submit-hero:hover::after {
    left: 100%;
}

.form-note {
    font-size: 12px;
    color: #94A3B8;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

/* ── reCAPTCHA Styling & Error Messaging ── */
.recaptcha-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    width: 100%;
}

.recaptcha-group .g-recaptcha {
    display: inline-block;
    min-height: 78px;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

.recaptcha-error-message {
    width: 100%;
    padding: 10px 14px;
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    border-radius: 10px;
    color: #DC2626;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    box-sizing: border-box;
    animation: fadeInError 0.25s ease-out;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── AUDIENCE SPLIT ── */
section.contact-audience {
    padding: 112px 0 !important;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
}

section.contact-audience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2563EB20, transparent);
}

.contact-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 56px;
    background: #E2E8F0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.04);
}

.contact-audience-panel {
    background: #ffffff;
    padding: 52px 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-audience-panel:hover {
    background: #FAFBFF;
}

.contact-audience-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #E2E8F0;
    transition: background 0.4s ease;
}

.contact-audience-panel:hover::before {
    background: #2563EB;
}

.contact-audience-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.cap-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563EB;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.contact-audience-panel h3 {
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.contact-audience-panel>p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 24px;
}

.cap-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cap-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.cap-list li:hover {
    transform: translateX(4px);
}

.cap-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563EB;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cap-list li:hover::before {
    transform: scale(1.4);
}

.btn-outline-premium {
    background: transparent;
    color: #0F172A;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-outline-premium:hover {
    border-color: #2563EB;
    color: #2563EB;
    background: #EFF6FF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

/* ── OFFICE ── */
section.contact-office {
    padding: 112px 0 !important;
    background: #ffffff;
    border-bottom: 1px solid #E2E8F0;
}

.contact-office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}

.office-detail-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.office-detail-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 4px 0;
    transition: transform 0.3s ease;
}

.office-detail-item:hover {
    transform: translateX(4px);
}

.office-detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.office-detail-item:hover .office-detail-icon {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
    transform: scale(1.05);
}

.office-detail-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.office-detail-text span,
.office-detail-text a {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.office-detail-text a:hover {
    color: #2563EB;
}

.office-map-embed {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E8EDF4;
    box-shadow: 0 12px 48px rgba(15, 23, 42, 0.06);
    height: 400px;
    transition: box-shadow 0.4s ease;
}

.office-map-embed:hover {
    box-shadow: 0 16px 56px rgba(15, 23, 42, 0.09);
}

.office-map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── CLOSING CTA ── */
section.contact-closing-cta {
    padding: 112px 0 !important;
    background: #0F172A;
    position: relative;
    overflow: hidden;
}

section.contact-closing-cta::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

section.contact-closing-cta::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.contact-closing-inner {
    text-align: center;
    max-width: 660px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-closing-inner .section-label {
    background: rgba(37, 99, 235, 0.15);
    color: #93C5FD;
    border-color: rgba(147, 197, 253, 0.2);
    margin-bottom: 20px;
    display: inline-block;
}

.contact-closing-inner h2 {
    font-size: clamp(30px, 4.2vw, 44px);
    font-weight: 900;
    color: #F8FAFC;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.contact-closing-inner p {
    font-size: 16.5px;
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-closing-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-light-premium {
    background: #ffffff;
    color: #0F172A;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 14.5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.btn-light-premium:hover {
    background: #EFF6FF;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.btn-ghost-light-premium {
    background: transparent;
    color: #94A3B8;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 14.5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-ghost-light-premium:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #F1F5F9;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.03);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    section.contact-hero {
        padding: 40px 0 56px !important;
    }
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-audience-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    .contact-office-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-quick-cards {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: clamp(20px, 4vw, 32px) clamp(16px, 3vw, 28px);
    }
    .contact-audience-panel {
        padding: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 24px);
    }
    .office-map-embed {
        height: 280px;
    }
    section.contact-audience,
    section.contact-office,
    section.contact-closing-cta {
        padding: clamp(48px, 6vw, 72px) 0 !important;
    }
    .contact-hero-content h1 {
        font-size: clamp(28px, 5vw, 40px);
    }
    .contact-closing-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .contact-closing-actions .btn-light-premium,
    .contact-closing-actions .btn-ghost-light-premium {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 20px 16px;
    }
    .contact-audience-panel h3 {
        font-size: 20px;
    }
    .btn-submit-hero {
        min-height: 48px;
    }
}

@media (max-width: 360px) {
    .recaptcha-group .g-recaptcha {
        transform: scale(0.82);
        -webkit-transform: scale(0.82);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}

@media (max-width: 320px) {
    .recaptcha-group .g-recaptcha {
        transform: scale(0.76);
        -webkit-transform: scale(0.76);
    }
}
