/**
 * Contact page — scoped under .fc-contact-modern
 * Matches home / about / services design system
 */

.fc-contact-modern {
    --fc-navy: #030f27;
    --fc-navy-2: #0a1f45;
    --fc-gold: #fdbe33;
    --fc-gold-soft: rgba(253, 190, 51, 0.22);
    --fc-muted: #5c6577;
    --fc-surface: #fafbfc;
    --fc-radius-xl: 20px;
    --fc-radius-lg: 16px;
    --fc-shadow: 0 8px 40px rgba(3, 15, 39, 0.1);
    --fc-shadow-lg: 0 24px 60px rgba(3, 15, 39, 0.16);
    --fc-whatsapp: #25d366;
    color: #252525;
    background: var(--fc-surface);
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    .fc-contact-modern *,
    .fc-contact-modern *::before,
    .fc-contact-modern *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.05ms !important;
    }
}

/* ── Shared typography ───────────────────────────────────────── */
.fc-contact-modern .fc-contact-kicker {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fc-gold);
    margin-bottom: 10px;
}
.fc-contact-modern .fc-contact-title {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--fc-navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0;
}
.fc-contact-modern .fc-contact-sub {
    max-width: 620px;
    margin: 14px auto 0;
    color: var(--fc-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.fc-contact-modern .fc-contact-section-head.text-center .fc-contact-sub {
    margin-inline: auto;
}
.fc-contact-modern .fc-contact-head-line {
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fc-gold), #ffc94d);
    transform-origin: left center;
}
.fc-contact-modern .fc-contact-head-line--center {
    margin-inline: auto;
}
html[dir='rtl'] .fc-contact-modern .fc-contact-head-line {
    transform-origin: right center;
}
.fc-contact-modern .fc-contact-section-head {
    margin-bottom: clamp(36px, 5vw, 52px);
}

/* ── Hero ──────────────────────────────────────────────────── */
.fc-contact-modern .fc-contact-hero {
    position: relative;
    padding: clamp(48px, 10vw, 88px) 0 clamp(56px, 10vw, 96px);
    overflow: hidden;
    isolation: isolate;
}
.fc-contact-modern .fc-contact-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(3, 15, 39, 0.92) 0%, rgba(10, 31, 69, 0.85) 100%),
        url('../img/carousel-3.jpg') center / cover no-repeat;
    z-index: 0;
}
.fc-contact-modern .fc-contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 75% 25%, rgba(253, 190, 51, 0.14), transparent),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
    z-index: 1;
    pointer-events: none;
}
.fc-contact-modern .fc-contact-hero .container {
    position: relative;
    z-index: 2;
}
.fc-contact-modern .fc-contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: clamp(24px, 4vw, 36px);
    flex-wrap: wrap;
}
.fc-contact-modern .fc-contact-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}
.fc-contact-modern .fc-contact-breadcrumb a:hover {
    color: var(--fc-gold);
}
.fc-contact-modern .fc-contact-breadcrumb span:last-child {
    color: var(--fc-gold);
}
.fc-contact-modern .fc-contact-breadcrumb span[aria-hidden] {
    color: rgba(255, 255, 255, 0.35);
}
.fc-contact-modern .fc-contact-hero-title {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 14px;
}
.fc-contact-modern .fc-contact-hero-sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    max-width: 620px;
    margin: 0;
}
.fc-contact-modern .fc-contact-hero .fc-contact-head-line {
    margin-top: 20px;
}

/* ── Quick channels ────────────────────────────────────────── */
.fc-contact-modern .fc-contact-channels {
    padding-block: clamp(28px, 5vw, 40px);
    background: linear-gradient(90deg, var(--fc-navy) 0%, var(--fc-navy-2) 100%);
    border-bottom: 3px solid var(--fc-gold);
    position: relative;
    overflow: hidden;
}
.fc-contact-modern .fc-contact-channels::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(255, 255, 255, 0.015) 8px,
        rgba(255, 255, 255, 0.015) 9px
    );
    pointer-events: none;
}
.fc-contact-modern .fc-contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}
.fc-contact-modern .fc-contact-channel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 20px;
    border-radius: var(--fc-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(253, 190, 51, 0.2);
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    min-height: 100%;
}
.fc-contact-modern .fc-contact-channel:hover {
    background: rgba(253, 190, 51, 0.12);
    border-color: rgba(253, 190, 51, 0.45);
    transform: translateY(-3px);
    text-decoration: none;
    color: #fff;
}
.fc-contact-modern .fc-contact-channel-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(253, 190, 51, 0.15);
    border: 1px solid rgba(253, 190, 51, 0.3);
    color: var(--fc-gold);
    font-size: 1.1rem;
}
.fc-contact-modern .fc-contact-channel-icon--whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.35);
    color: var(--fc-whatsapp);
}
.fc-contact-modern .fc-contact-channel-label {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.fc-contact-modern .fc-contact-channel-value {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
}

/* ── Main section ──────────────────────────────────────────── */
.fc-contact-modern .fc-contact-main {
    padding-block: clamp(64px, 11vw, 104px);
    background:
        radial-gradient(circle at 92% 10%, rgba(253, 190, 51, 0.08), transparent 45%),
        linear-gradient(180deg, #fff 0%, var(--fc-surface) 100%);
}
.fc-contact-modern .fc-contact-row {
    align-items: flex-start;
}
.fc-contact-modern .fc-contact-info-col {
    margin-bottom: 2rem;
}

/* Info cards */
.fc-contact-modern .fc-contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: clamp(24px, 4vw, 32px);
}
.fc-contact-modern .fc-contact-info-card {
    display: flex;
    gap: 16px;
    padding: clamp(20px, 3vw, 24px);
    border-radius: var(--fc-radius-lg);
    background: #fff;
    border: 1px solid rgba(3, 15, 39, 0.07);
    box-shadow: var(--fc-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.fc-contact-modern .fc-contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--fc-shadow-lg);
    border-color: var(--fc-gold-soft);
}
.fc-contact-modern .fc-contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--fc-navy), var(--fc-navy-2));
    color: var(--fc-gold);
    font-size: 1.1rem;
}
.fc-contact-modern .fc-contact-info-card h3 {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--fc-navy);
    margin: 0 0 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.fc-contact-modern .fc-contact-info-card p {
    font-size: 0.9375rem;
    color: var(--fc-muted);
    line-height: 1.55;
    margin: 0;
}
.fc-contact-modern .fc-contact-info-card a {
    color: var(--fc-navy);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}
.fc-contact-modern .fc-contact-info-card a:hover {
    color: var(--fc-gold);
}

/* Promises */
.fc-contact-modern .fc-contact-promises {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fc-contact-modern .fc-contact-promise {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--fc-radius-lg);
    background: rgba(3, 15, 39, 0.03);
    border: 1px solid rgba(3, 15, 39, 0.06);
}
.fc-contact-modern .fc-contact-promise-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(253, 190, 51, 0.15);
    color: var(--fc-gold);
    font-size: 0.95rem;
}
.fc-contact-modern .fc-contact-promise h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--fc-navy);
    margin: 0 0 4px;
}
.fc-contact-modern .fc-contact-promise p {
    font-size: 0.8125rem;
    color: var(--fc-muted);
    margin: 0;
    line-height: 1.5;
}

/* Form card */
.fc-contact-modern .fc-contact-form-card {
    border-radius: var(--fc-radius-xl);
    background: #fff;
    border: 1px solid rgba(3, 15, 39, 0.07);
    box-shadow: var(--fc-shadow-lg);
    padding: clamp(28px, 4vw, 40px);
    position: relative;
    overflow: hidden;
}
.fc-contact-modern .fc-contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fc-gold), #ffc94d);
}
.fc-contact-modern .fc-contact-form-head {
    margin-bottom: clamp(24px, 3.5vw, 32px);
}
.fc-contact-modern .fc-contact-form-head h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--fc-navy);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.fc-contact-modern .fc-contact-form-head p {
    font-size: 0.9375rem;
    color: var(--fc-muted);
    margin: 0;
    line-height: 1.6;
}

/* Form fields */
.fc-contact-modern .fc-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.fc-contact-modern .fc-contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fc-contact-modern .fc-contact-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--fc-navy);
    letter-spacing: 0.02em;
}
.fc-contact-modern .fc-contact-input {
    width: 100%;
    border: 1px solid rgba(3, 15, 39, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.9375rem;
    color: var(--fc-navy);
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.fc-contact-modern .fc-contact-input::placeholder {
    color: #9ca3af;
}
.fc-contact-modern .fc-contact-input:focus {
    border-color: var(--fc-gold);
    box-shadow: 0 0 0 3px rgba(253, 190, 51, 0.2);
    outline: none;
}
.fc-contact-modern .fc-contact-input.is-invalid {
    border-color: #dc3545;
}
.fc-contact-modern .fc-contact-textarea {
    resize: vertical;
    min-height: 140px;
}
.fc-contact-modern .fc-contact-error {
    font-size: 0.8125rem;
    color: #dc3545;
    margin: 0;
}
.fc-contact-modern .fc-contact-submit-wrap {
    padding-top: 4px;
}
.fc-contact-modern .fc-contact-submit {
    border-radius: 999px !important;
    padding: 14px 36px !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    border: none !important;
    background: linear-gradient(158deg, #fdbe33, #e8a820) !important;
    color: var(--fc-navy) !important;
    box-shadow: 0 6px 22px rgba(253, 190, 51, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
@media (min-width: 576px) {
    .fc-contact-modern .fc-contact-submit {
        width: auto;
    }
}
.fc-contact-modern .fc-contact-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(253, 190, 51, 0.45);
    color: var(--fc-navy) !important;
}
.fc-contact-modern .fc-contact-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Alerts */
.fc-contact-modern .fc-contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 20px;
}
.fc-contact-modern .fc-contact-alert i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1.1rem;
}
.fc-contact-modern .fc-contact-alert--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #166534;
}
.fc-contact-modern .fc-contact-alert--success i {
    color: #22c55e;
}
.fc-contact-modern .fc-contact-alert--warning {
    background: rgba(253, 190, 51, 0.12);
    border: 1px solid rgba(253, 190, 51, 0.4);
    color: #4d3a05;
}
.fc-contact-modern .fc-contact-alert--warning i {
    color: var(--fc-gold);
}

/* ── Trust bar ─────────────────────────────────────────────── */
.fc-contact-modern .fc-contact-trust {
    padding-block: clamp(20px, 4vw, 32px);
    background: #fff;
    border-top: 1px solid rgba(3, 15, 39, 0.06);
    border-bottom: 1px solid rgba(3, 15, 39, 0.06);
}
.fc-contact-modern .fc-contact-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(16px, 4vw, 32px);
}
.fc-contact-modern .fc-contact-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fc-navy);
}
.fc-contact-modern .fc-contact-trust-item i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(253, 190, 51, 0.12);
    border: 1px solid rgba(253, 190, 51, 0.25);
    color: var(--fc-gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.fc-contact-modern .fc-contact-trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(3, 15, 39, 0.1);
}

/* ── Explore band ──────────────────────────────────────────── */
.fc-contact-modern .fc-contact-explore {
    position: relative;
    padding-block: clamp(56px, 9vw, 80px);
    overflow: hidden;
}
.fc-contact-modern .fc-contact-explore-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(3, 15, 39, 0.94), rgba(10, 31, 69, 0.88)),
        url('../img/carousel-2.jpg') center / cover no-repeat;
    z-index: 0;
}
.fc-contact-modern .fc-contact-explore-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
    padding: clamp(28px, 5vw, 44px);
    border-radius: var(--fc-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.fc-contact-modern .fc-contact-explore-copy {
    flex: 1 1 280px;
    max-width: 520px;
}
.fc-contact-modern .fc-contact-explore-copy h2 {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}
.fc-contact-modern .fc-contact-explore-copy p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0;
    font-size: 0.9375rem;
}
.fc-contact-modern .fc-contact-explore-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.fc-contact-modern .fc-contact-explore-btn {
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    border: none !important;
}
.fc-contact-modern .fc-contact-explore-btn--primary {
    background: linear-gradient(158deg, #fdbe33, #e8a820) !important;
    color: var(--fc-navy) !important;
    box-shadow: 0 6px 22px rgba(253, 190, 51, 0.4);
}
.fc-contact-modern .fc-contact-explore-btn--ghost {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .fc-contact-modern .fc-contact-channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .fc-contact-modern .fc-contact-channels-grid {
        grid-template-columns: 1fr;
    }
    .fc-contact-modern .fc-contact-trust-inner {
        flex-direction: column;
    }
    .fc-contact-modern .fc-contact-trust-divider {
        width: 60px;
        height: 1px;
    }
    .fc-contact-modern .fc-contact-explore-inner {
        flex-direction: column;
        text-align: center;
    }
    .fc-contact-modern .fc-contact-explore-actions {
        justify-content: center;
    }
}

/* Override legacy global styles */
.fc-contact-modern .contact,
.fc-contact-modern .page-header {
    margin-bottom: 0 !important;
    padding: 0 !important;
}
