/* ============================================================
   MONERA Consulting -- Contact Page CSS
   Font imports
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
    --navy:       #022F38;
    --dark-navy:  #011C22;
    --deep-teal:  #063844;
    --gold:       #CDA77B;
    --gold-light: #dfc09a;
    --warm-white: #F8F7F4;
    --text-dark:  #112228;
    --muted:      #68757A;
    --border:     #e8e4de;
    --card-bg:    #ffffff;
    --shadow-sm:  0 2px 12px rgba(2,47,56,.07);
    --shadow-md:  0 8px 32px rgba(2,47,56,.11);
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--warm-white);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
}

/* ============================================================
   Gold Divider
   ============================================================ */
.gold-divider {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1.1rem;
}
.gold-divider .line {
    width: 32px;
    height: 1.5px;
    background: var(--gold);
}
.gold-divider .diamond {
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}
.gold-divider-center {
    justify-content: center;
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.contact-hero {
    background: var(--warm-white);
    padding: 72px 0 0;
    overflow: hidden;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: .55rem;
}

.hero-title {
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 600;
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Override style.css .hero-body which targets the homepage dark hero */
.hero-body {
    max-width: none;
    color: var(--text-dark);
}
.hero-body p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: .9rem;
}
.hero-body p:last-child { margin-bottom: 0; }

.hero-image-wrap {
    position: relative;
    height: 420px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Logo overlay on hero image */
.hero-logo-overlay {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}
.hero-logo-overlay .logo-icon {
    width: 62px;
    margin-bottom: 8px;
}
.hero-logo-overlay .logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: .22em;
    color: var(--gold);
    display: block;
}
.hero-logo-overlay .logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .25em;
    color: var(--gold);
    text-transform: uppercase;
}

/* ============================================================
   2. CONTACT INFO CARDS
   ============================================================ */
.contact-info-section {
    background: #fff;
    padding: 72px 0 64px;
}

.section-title {
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: .6rem;
}

.section-subtitle {
    font-size: 14px;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 24px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s, transform .25s;
    height: 100%;
}
.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-card .card-icon {
    width: 64px;
    height: 64px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    border: 2px solid rgba(205,167,123,.25);
}
.contact-card .card-icon i {
    font-size: 1.3rem;
    color: var(--gold);
}

.contact-card .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: .45rem;
}

.contact-card .card-detail {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   3. MAP + FORM SECTION
   ============================================================ */
.location-form-section {
    background: var(--warm-white);
    padding: 72px 0 80px;
}

.col-section-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 600;
    margin-bottom: .5rem;
}

.col-section-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 1.8rem;
}

/* Map card */
.map-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: #e8e4de;
    min-height: 480px;
}

.map-card iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
    filter: grayscale(35%) contrast(1.05);
}

/* Floating info card */
.map-info-card {
    position: absolute;
    bottom: 24px;
    left: 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    box-shadow: 0 4px 20px rgba(2,47,56,.15);
    min-width: 220px;
    z-index: 10;
}
.map-info-card h6 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.map-info-card .info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 6px;
}
.map-info-card .info-row i {
    color: var(--gold);
    font-size: .9rem;
    flex-shrink: 0;
}
.map-info-card .info-row:last-child { margin-bottom: 0; }

/* Custom map pin SVG */
.map-pin-svg {
    position: absolute;
    top: 50%;
    left: 44%;
    transform: translate(-50%, -100%);
    z-index: 5;
    filter: drop-shadow(0 2px 6px rgba(2,47,56,.3));
}

/* ============================================================
   4. CONTACT FORM CARD
   ============================================================ */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.form-inner {
    padding: 10px 4px 4px;
}

.form-label-premium {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: .4rem;
}
.form-label-premium .required {
    color: #c0392b;
    margin-left: 2px;
}

.input-premium {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .72rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: var(--text-dark);
    background: #fdfcfb;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}
.input-premium::placeholder { color: #b0b8bb; }
.input-premium:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(205,167,123,.12);
    background: #fff;
}

textarea.input-premium {
    resize: vertical;
    min-height: 130px;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    padding: .82rem 1.8rem;
    cursor: pointer;
    transition: background .2s, transform .2s;
    text-decoration: none;
}
.btn-gold:hover {
    background: var(--deep-teal);
    transform: translateY(-1px);
    color: #fff;
}
.btn-gold i { font-size: .9rem; }

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: var(--radius-sm);
    padding: .82rem 1.8rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-decoration: none;
}
.btn-gold-outline:hover {
    border-color: var(--gold);
    background: rgba(205,167,123,.08);
    color: #fff;
}

.btn-cta-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--dark-navy);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    padding: .9rem 2rem;
    cursor: pointer;
    transition: background .2s, transform .2s;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}
.btn-cta-gold:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    color: var(--dark-navy);
}

/* ============================================================
   6. CTA BANNER
   ============================================================ */
.cta-banner {
    background: var(--dark-navy);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 120% at 10% 50%, rgba(6,56,68,.5) 0%, transparent 70%);
    pointer-events: none;
}

.cta-logo-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1.5px solid rgba(205,167,123,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cta-logo-ring svg { width: 70px; height: 70px; }

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: .5rem;
    line-height: 1.22;
}

.cta-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,.6);
    max-width: 400px;
    line-height: 1.65;
}

.cta-divider {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: .6rem 0 1rem;
}
.cta-divider .line { width: 28px; height: 1px; background: var(--gold); }
.cta-divider .diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ============================================================
   Spacing utilities
   ============================================================ */
.mb-form { margin-bottom: 1.1rem; }
.mt-section { margin-top: 2.5rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .contact-hero { padding-top: 48px; }
    /* margin-top removed: col-lg-5 pb-5 (48px) already separates text from image */
    .hero-image-wrap { height: 320px; }
    .contact-info-section { padding: 52px 0 44px; }
    .location-form-section { padding: 52px 0 60px; }
    .map-card, .map-card iframe { min-height: 360px; height: 360px; }
    .cta-banner { padding: 44px 0; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 1.75rem; }
    .hero-image-wrap { height: 260px; border-radius: var(--radius-md); }
    .contact-card { padding: 28px 16px 24px; }
    .map-info-card { position: static; margin-top: 14px; box-shadow: var(--shadow-sm); }
    .map-card { min-height: auto; }
    .map-card iframe { height: 280px; }
    .cta-desc { max-width: 100%; }
    .btn-cta-gold, .btn-gold-outline { width: 100%; justify-content: center; margin-bottom: .6rem; }

    /* CTA banner: center text on mobile when logo ring is hidden (d-none d-md-flex) */
    .cta-banner .cta-title,
    .cta-banner .cta-divider,
    .cta-banner .cta-desc { text-align: center; }
    .cta-banner .cta-divider { justify-content: center; }
}
