/* ============================================================
   Cardiwan — contact.css
   Tokens  : mirrors home.css / location.css (black/white/gray, no gold)
   Font    : Inter (body) + Playfair Display (headings) — loaded by header.php
   Prefix  : cnt-
   H tags  : H1 (hero) → H2 (sections) → H3 (card/feature titles)
   ============================================================ */

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
    --black:         #0A0A0A;
    --gray-900:      #111111;
    --gray-800:      #1A1A1A;
    --gray-700:      #2B2B2B;
    --gray-600:      #3D3D3D;
    --gray-500:      #555555;
    --gray-400:      #888888;
    --gray-300:      #AAAAAA;
    --gray-200:      #CCCCCC;
    --gray-100:      #E8E8E8;
    --gray-50:       #F5F5F5;
    --white:         #FFFFFF;
    --border:        #E0E0E0;
    --wa:            #25D366;
    --font-body:     'Inter', sans-serif;
    --font-display:  'Playfair Display', serif;
    --ease:          cubic-bezier(.4,0,.2,1);
    --ease-spring:   cubic-bezier(.34,1.56,.64,1);
    --r:             10px;
    --r-lg:          16px;
}


/* ── RESET + BASE ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box }
html, body { overflow-x: hidden; scroll-behavior: smooth }
body { font-family: var(--font-body); background: var(--white); color: var(--gray-900); -webkit-font-smoothing: antialiased }
img  { max-width: 100%; height: auto; display: block }
a    { text-decoration: none; color: inherit }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none }


/* ── CONTAINERS ───────────────────────────────────────────── */
.gv-container,
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}


/* ── SCROLL REVEAL ────────────────────────────────────────── */
.gv-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.gv-reveal-left {
    opacity: 0;
    transform: translateX(-44px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.gv-reveal-right {
    opacity: 0;
    transform: translateX(44px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.gv-reveal.gv-visible,
.gv-reveal-left.gv-visible,
.gv-reveal-right.gv-visible { opacity: 1; transform: none }

.gv-d1 { transition-delay: .08s }
.gv-d2 { transition-delay: .16s }
.gv-d3 { transition-delay: .24s }
.gv-d4 { transition-delay: .32s }
.gv-d5 { transition-delay: .40s }
.gv-d6 { transition-delay: .48s }


/* ── SHARED SECTION UTILITIES ─────────────────────────────── */
.cnt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--gray-500);
    margin-bottom: 12px;
}
.cnt-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gray-400);
    flex-shrink: 0;
}
.cnt-eyebrow--light { color: rgba(255,255,255,.55) }
.cnt-eyebrow--light::before { background: rgba(255,255,255,.35) }

.cnt-section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.8vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 14px;
}
.cnt-section-title em { font-style: italic; color: var(--gray-700) }
.cnt-section-title--light { color: var(--white) }
.cnt-section-title--light em { color: rgba(255,255,255,.8) }

.cnt-section-sub {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.75;
    max-width: 520px;
}
.cnt-section-sub--light { color: rgba(255,255,255,.65) }

.cnt-section-head { margin-bottom: 56px }


/* ════════════════════════════════════════════════════════════
   HERO BANNER
════════════════════════════════════════════════════════════ */
.cnt-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.cnt-hero-img-wrap {
    position: absolute;
    inset: 0;
}
.cnt-hero-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    animation: cntHeroZoom 9s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes cntHeroZoom {
    from { transform: scale(1.07) }
    to   { transform: scale(1) }
}
.cnt-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.52);
    animation: cntHeroFade 1.2s var(--ease) both;
}
@keyframes cntHeroFade {
    from { opacity: 0 }
    to   { opacity: 1 }
}
.cnt-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.cnt-hero-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    animation: cntHeroSlide 1.3s var(--ease) .15s both;
}
@keyframes cntHeroSlide {
    from { opacity: 0; transform: translateY(22px) }
    to   { opacity: 1; transform: none }
}
.cnt-crumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,.65);
}
.cnt-crumb a { color: rgba(255,255,255,.65); transition: color .2s }
.cnt-crumb a:hover { color: var(--white) }
.cnt-hero-eyebrow {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: rgba(255,255,255,.6);
}
h1.cnt-hero-h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 68px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    max-width: 680px;
}


/* ════════════════════════════════════════════════════════════
   SECTION 1 — INFO CARDS
════════════════════════════════════════════════════════════ */
.cnt-info {
    padding: 88px 0;
    background: var(--white);
}
.cnt-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}
.cnt-info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 32px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gray-900);
    border-radius: var(--r-lg);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    color: inherit;
}
.cnt-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.10);
}
.cnt-info-card--wa { border-top-color: var(--wa) }

.cnt-info-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 6px;
}
.cnt-info-icon-circle svg { width: 22px; height: 22px; color: var(--white) }
.cnt-info-icon-circle--wa { background: var(--wa) }

h3.cnt-info-h {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}
.cnt-info-val {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.55;
    word-break: break-word;
}
.cnt-info-cta {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    margin-top: auto;
    transition: color .2s;
}
.cnt-info-card:hover .cnt-info-cta { color: var(--gray-900) }

/* Stats strip */
.cnt-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
    background: var(--gray-50);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0;
}
.cnt-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 40px;
}
.cnt-stat strong {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--gray-900);
    font-family: var(--font-display);
}
.cnt-stat span {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cnt-stat-sep {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════
   SECTION 2 — CONTACT FORM (dark bg)
════════════════════════════════════════════════════════════ */
.cnt-form-section {
    padding: 88px 0;
    background: var(--black);
}
.cnt-form-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: start;
}

/* Left text column */
.cnt-form-left {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
}
.cnt-form-left .cnt-section-title { margin-bottom: 16px }
.cnt-form-left .cnt-section-sub   { margin-bottom: 36px }

.cnt-trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cnt-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.75);
}
.cnt-trust-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--white);
}

/* Form card */
.cnt-form-card {
    background: var(--white);
    border-radius: var(--r-lg);
    border-top: 3px solid var(--gray-900);
    box-shadow: 0 20px 60px rgba(0,0,0,.30);
    padding: 40px;
}
.cnt-form { display: flex; flex-direction: column; gap: 20px }
.cnt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }

.cnt-field { display: flex; flex-direction: column; gap: 6px }
.cnt-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: .8px;
}
.cnt-req { color: var(--gray-400) }

.cnt-input-wrap { position: relative }
.cnt-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--gray-400);
    pointer-events: none;
    transition: color .2s;
}
.cnt-input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.cnt-input:focus {
    outline: none;
    border-color: var(--gray-900);
}
.cnt-input::placeholder { color: var(--gray-300) }
.cnt-input--error { border-color: #dc2626 }

.cnt-select { cursor: pointer }
.cnt-textarea {
    resize: vertical;
    min-height: 110px;
    padding-top: 12px;
    padding-left: 14px;
}
.is-focused .cnt-input-icon { color: var(--gray-700) }

.cnt-form-btns {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.cnt-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: var(--r);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
}
.cnt-btn:hover { opacity: .88; transform: translateY(-1px) }
.cnt-btn svg { width: 17px; height: 17px; flex-shrink: 0 }
.cnt-btn--wa   { background: var(--wa);       color: var(--white) }
.cnt-btn--call { background: var(--gray-900); color: var(--white) }


/* ════════════════════════════════════════════════════════════
   SECTION 3 — MAP
════════════════════════════════════════════════════════════ */
.cnt-map-section {
    padding: 88px 0;
    background: var(--white);
}
.cnt-map-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
}
.cnt-map-iframe-wrap {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    line-height: 0;
}
.cnt-map-iframe-wrap iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.cnt-map-details {
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}
.cnt-map-details .cnt-section-title { margin-bottom: 32px }
.cnt-map-details .cnt-eyebrow { margin-bottom: 10px }

.cnt-loc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.cnt-loc-item:first-of-type { border-top: 1px solid var(--border) }

.cnt-loc-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cnt-loc-icon svg { width: 18px; height: 18px; color: var(--gray-700) }

.cnt-loc-text { flex: 1 }
h3.cnt-loc-h {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.cnt-loc-p    { font-size: 14px; color: var(--gray-600); line-height: 1.6 }
.cnt-loc-p-sm { font-size: 12px; color: var(--gray-400); margin-top: 2px }


/* ════════════════════════════════════════════════════════════
   SECTION 4 — WHY CHOOSE CARDIWAN
════════════════════════════════════════════════════════════ */
.cnt-why {
    padding: 88px 0;
    background: var(--gray-50);
}
.cnt-why .cnt-section-head { text-align: center }
.cnt-why .cnt-section-sub  { margin: 0 auto }
.cnt-why .cnt-eyebrow      { justify-content: center }

.cnt-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cnt-why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cnt-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.09);
}
.cnt-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cnt-why-icon svg { width: 22px; height: 22px; color: var(--white) }
h3.cnt-why-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}
.cnt-why-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.75;
}


/* ════════════════════════════════════════════════════════════
   SECTION 5 — COMMON QUESTIONS (FAQ)
════════════════════════════════════════════════════════════ */
.cnt-faq {
    padding: 88px 0;
    position: relative;
    z-index: 1;
    background-color: var(--gray-100);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.cnt-faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(235,235,235,0.80);
    z-index: 0;
}
.cnt-faq > .wrap { position: relative; z-index: 1 }

.cnt-faq-head {
    text-align: center;
    margin-bottom: 16px;
}
.cnt-faq-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.1;
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
}
.cnt-faq-title em { font-style: italic; color: var(--gray-700) }
.cnt-faq-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--gray-900);
    margin: 16px auto 0;
}

.cnt-faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}
.cnt-faq-item {
    border-bottom: 1px solid var(--border);
    background: transparent;
    transition: background .25s var(--ease);
    overflow: hidden;
}
.cnt-faq-item:first-child { border-top: 1px solid var(--border) }
.cnt-faq-item.open {
    background: var(--gray-900);
    border-bottom-color: rgba(255,255,255,.12);
}
.cnt-faq-item:first-child.open { border-top-color: rgba(255,255,255,.12) }

.cnt-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
.cnt-faq-q-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
    transition: color .25s;
}
.cnt-faq-item.open .cnt-faq-q-text { color: var(--white) }

.cnt-faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
}
.cnt-faq-icon svg {
    position: absolute;
    inset: 0;
    width: 24px;
    height: 24px;
    color: var(--gray-700);
    transition: opacity .2s, color .25s;
}
.cnt-faq-item.open .cnt-faq-icon svg { color: var(--white) }
.cnt-icon-plus  { opacity: 1 }
.cnt-icon-minus { opacity: 0 }
.cnt-faq-item.open .cnt-icon-plus  { opacity: 0 }
.cnt-faq-item.open .cnt-icon-minus { opacity: 1 }

.cnt-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}
.cnt-faq-a-inner {
    padding: 0 20px 24px;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.85;
    transition: color .25s;
}
.cnt-faq-item.open .cnt-faq-a-inner { color: rgba(255,255,255,.72) }


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .cnt-info,
    .cnt-form-section,
    .cnt-map-section,
    .cnt-why,
    .cnt-faq { padding: 72px 0 }
    .cnt-form-split { gap: 48px }
    .cnt-map-grid   { gap: 48px }
}

@media (max-width: 1024px) {
    .cnt-form-split { grid-template-columns: 1fr; gap: 48px }
    .cnt-form-left  { padding-top: 0 }
    .cnt-map-grid   { grid-template-columns: 1fr; gap: 40px }
    .cnt-map-details { padding-top: 0 }
}

@media (max-width: 960px) {
    .cnt-info-grid { grid-template-columns: 1fr 1fr }
    .cnt-why-grid  { grid-template-columns: 1fr 1fr }
    .cnt-stats-strip { flex-wrap: wrap; row-gap: 24px; padding: 28px 24px }
    .cnt-stat { padding: 0 24px }
}

@media (max-width: 768px) {
    .cnt-hero { height: 340px }
    .cnt-form-card  { padding: 28px 20px }
    .cnt-form-row   { grid-template-columns: 1fr }
    .cnt-form-btns  { flex-direction: column }
    .cnt-btn        { flex: none; width: 100% }
}

@media (max-width: 600px) {
    .cnt-hero      { height: 300px }
    .cnt-info-grid { grid-template-columns: 1fr }
    .cnt-why-grid  { grid-template-columns: 1fr }
    .wrap, .gv-container { padding: 0 16px }
}

@media (max-width: 480px) {
    .cnt-info,
    .cnt-form-section,
    .cnt-map-section,
    .cnt-why,
    .cnt-faq { padding: 56px 0 }
    .cnt-stat-sep  { display: none }
    .cnt-stat      { padding: 8px 16px }
    .cnt-map-iframe-wrap iframe { min-height: 280px }
}


/* ── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .cnt-hero-img,
    .cnt-hero-caption,
    .cnt-hero-overlay { animation: none; opacity: 1; transform: none }
    .gv-reveal,
    .gv-reveal-left,
    .gv-reveal-right  { opacity: 1; transform: none; transition: none }
    .cnt-info-card,
    .cnt-why-card      { transition: none }
}
