/* ==========================================================================
   Gemynd Quest — Design tokens
   Palette: brand navy/blue (client-specified) + a warm orange reserved
   strictly for the popup's urgency system, per brief.
   Type: Fraunces (serif, warm/human — headings) + Manrope (sans — body/UI)
   ========================================================================== */
:root {
    --primary: #3F5FE0;
    --primary-dark: #2E48B8;
    --primary-tint: #EEF1FD;
    --navy: #14213D;
    --navy-soft: #1D2C4F;
    --ink: #1B2333;
    --ink-soft: #5B6478;
    --paper: #FFFFFF;
    --paper-alt: #F5F7FC;
    --line: #E4E8F3;
    --accent: #FF7A45;
    --accent-dark: #E85A2A;
    --urgent: #E23B4E;
    --success: #1F9D6B;

    --font-head: 'Fraunces', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 10px rgba(20, 33, 61, 0.06);
    --shadow-md: 0 12px 32px rgba(20, 33, 61, 0.12);
    --shadow-lg: 0 24px 60px rgba(20, 33, 61, 0.22);

    --container: 1180px;
    --gap: clamp(2.5rem, 6vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--navy); font-weight: 600; }

.icon { width: 1em; height: 1em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper-alt); }

.eyebrow-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.9rem; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.2; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 0.85rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.98rem;
    border: 1.5px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-primary:focus-visible, .btn-outline:focus-visible, .btn-ghost:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { background: var(--primary-tint); color: var(--primary-dark); }
.btn-ghost:hover { background: #E1E7FB; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* ==========================================================================
   Top utility bar + header
   ========================================================================== */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 0.5rem; padding-bottom: 0.5rem; gap: 1rem; }
.topbar-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar-left a { display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.15s ease; }
.topbar-left a:hover { color: #fff; }
.topbar-left .icon { width: 0.95em; height: 0.95em; }
.topbar-right { display: flex; align-items: center; gap: 0.7rem; }
.topbar-right .social-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-right: 0.3rem; }
.social-icons { display: flex; align-items: center; gap: 0.55rem; }
.social-icons a {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    transition: background 0.15s ease, transform 0.15s ease;
}
.social-icons a:hover { background: var(--primary); transform: translateY(-1px); }
.social-icons .icon { width: 0.95em; height: 0.95em; }
.social-icons a.whatsapp-icon:hover { background: #25D366; }

.site-header {
    position: sticky; top: 0; z-index: 200;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }

.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; object-fit: contain; }
.brand-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a { font-size: 0.95rem; font-weight: 500; color: var(--ink); position: relative; padding: 0.3rem 0; }
.main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.call-now-btn { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary-dark); font-weight: 600; font-size: 0.92rem; }
.nav-toggle {
    display: none; background: var(--paper-alt); border: none; border-radius: var(--radius-sm);
    width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle .icon { width: 1.3em; height: 1.3em; }

.mobile-nav {
    display: none;
    position: fixed; inset: 0; z-index: 300;
    background: rgba(20,33,61,0.55);
}
.mobile-nav.is-open { display: block; }
.mobile-nav-panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(320px, 84vw);
    background: #fff; padding: 1.4rem; display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.25s ease;
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mobile-nav-close { background: var(--paper-alt); border: none; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.mobile-nav-links a { padding: 0.75rem 0.25rem; font-size: 1.02rem; font-weight: 500; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5rem) 0;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.16; filter: saturate(0.6);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,33,61,0.75), rgba(20,33,61,0.94));
}
.hero .container {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hero-visual { display: flex; justify-content: center; }
.founder-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    text-align: center;
    backdrop-filter: blur(6px);
    width: 100%; max-width: 280px;
}
.founder-photo-frame {
    width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-md);
    overflow: hidden; margin-bottom: 1rem;
    border: 2px solid rgba(255,255,255,0.18);
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.founder-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo-frame .initials-fallback {
    font-family: var(--font-head); font-size: 3rem; color: #fff; font-weight: 600;
}
.founder-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.2rem; }
.founder-card .founder-role { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

.hero-copy .kicker { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 1rem; }
.hero-copy .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; }
.hero-copy h1 {
    color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.14; margin-bottom: 1.1rem; max-width: 15ch;
}
.hero-copy p.lead { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 52ch; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.6rem; }
.hero-stats .stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.hero-stats .stat span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.02rem; }
.about-copy .mission-line {
    font-family: var(--font-head); font-size: 1.25rem; color: var(--navy);
    border-left: 3px solid var(--primary); padding-left: 1rem; margin: 1.5rem 0;
}
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.2rem; margin: 1.5rem 0; }
.about-list li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.95rem; color: var(--ink); }
.about-list .icon { color: var(--primary); flex-shrink: 0; margin-top: 0.2rem; width: 1.1em; height: 1.1em; }

.about-panel {
    background: var(--navy); color: #fff; border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
}
.about-panel h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.9rem; }
.about-panel .vision-block { margin-bottom: 1.4rem; }
.about-panel .vision-block p { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin: 0.35rem 0 0; }
.about-panel .vision-block .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); font-weight: 700; }
.achv-list { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.14); }
.achv-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: rgba(255,255,255,0.82); padding: 0.35rem 0; }
.achv-list .icon { color: var(--accent); flex-shrink: 0; margin-top: 0.15rem; width: 1.05em; height: 1.05em; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
    padding: 1.9rem; position: relative; overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary);
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    background: var(--primary-tint); color: var(--primary);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.service-icon .icon { width: 1.5em; height: 1.5em; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p.desc { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.1rem; }
.service-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.3rem; }
.service-features li {
    font-size: 0.8rem; background: var(--paper-alt); color: var(--ink-soft);
    padding: 0.32rem 0.7rem; border-radius: var(--radius-pill);
}
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.service-price { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.service-price small { font-family: var(--font-body); font-size: 0.75rem; color: var(--ink-soft); display: block; }
.service-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary-dark); font-weight: 600; font-size: 0.9rem; }
.service-link .icon { width: 1em; height: 1em; transition: transform 0.15s ease; }
.service-link:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Products / Programs
   ========================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.product-card {
    background: var(--paper-alt); border-radius: var(--radius-md); padding: 1.8rem;
    display: flex; flex-direction: column; gap: 0.9rem;
    transition: transform 0.15s ease, background 0.15s ease;
}
.product-card:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.product-icon .icon { width: 1.3em; height: 1.3em; }
.product-card h4 { font-size: 1.05rem; }
.product-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.why-card { text-align: left; padding: 1.6rem 0.2rem; }
.why-icon {
    width: 50px; height: 50px; border-radius: var(--radius-sm);
    background: #fff; border: 1.5px solid var(--line); color: var(--primary);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.why-icon .icon { width: 1.4em; height: 1.4em; }
.why-card h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.why-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px;
    gap: 0.8rem;
}
.gallery-grid a { position: relative; border-radius: var(--radius-md); overflow: hidden; display: block; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid .g-tall { grid-row: span 2; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.8rem; }
.testi-stars { display: flex; gap: 0.2rem; color: var(--accent); margin-bottom: 0.9rem; }
.testi-stars .icon { width: 1em; height: 1em; }
.testi-quote { font-size: 1.02rem; color: var(--ink); margin-bottom: 1.2rem; }
.testi-person { display: flex; align-items: center; gap: 0.7rem; }
.testi-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
    font-family: var(--font-head);
}
.testi-person .name { font-weight: 600; font-size: 0.92rem; }
.testi-person .meta { font-size: 0.82rem; color: var(--ink-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: none; border: none; text-align: left; padding: 1.25rem 0.2rem;
    font-family: var(--font-head); font-size: 1.05rem; color: var(--navy);
}
.faq-q .icon { flex-shrink: 0; color: var(--primary); transition: transform 0.2s ease; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 0.2rem 1.25rem; color: var(--ink-soft); font-size: 0.96rem; max-width: 68ch; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); }
.contact-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.6rem; }
.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem; background: var(--paper-alt); border-radius: var(--radius-md); }
.contact-item .ci-icon {
    width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item .ci-icon .icon { width: 1.2em; height: 1.2em; }
.contact-item .ci-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); }
.contact-item .ci-value { font-weight: 600; color: var(--navy); font-size: 0.98rem; }
.contact-cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.map-embed { margin-top: 1.6rem; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

.contact-form-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.contact-form-card > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }

/* ---------- Shared form styles ---------- */
.gq-form .form-row { margin-bottom: 1.1rem; }
.gq-form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gq-form label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.gq-form input, .gq-form select, .gq-form textarea {
    width: 100%; padding: 0.78rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
    font-family: inherit; font-size: 0.95rem; background: #fff; color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gq-form textarea { resize: vertical; min-height: 90px; }
.gq-form input:focus, .gq-form select:focus, .gq-form textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(63,95,224,0.15);
}
.gq-form .phone-field { display: flex; gap: 0.5rem; }
.gq-form .phone-code {
    display: flex; align-items: center; gap: 0.35rem; padding: 0 0.85rem; border-radius: var(--radius-sm);
    border: 1.5px solid var(--line); background: var(--paper-alt); font-size: 0.92rem; font-weight: 600; flex-shrink: 0;
}
.gq-form .error-msg { display: none; color: var(--urgent); font-size: 0.8rem; margin-top: 0.35rem; }
.gq-form .form-row.has-error input,
.gq-form .form-row.has-error select,
.gq-form .form-row.has-error textarea { border-color: var(--urgent); }
.gq-form .form-row.has-error .error-msg { display: block; }
.gq-form .form-status { margin-top: 1rem; font-size: 0.9rem; padding: 0.75rem 1rem; border-radius: var(--radius-sm); display: none; }
.gq-form .form-status.is-success { display: block; background: rgba(31,157,107,0.1); color: var(--success); }
.gq-form .form-status.is-error { display: block; background: rgba(226,59,78,0.1); color: var(--urgent); }
.gq-form .reassurance { text-align: center; font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.9rem; }

/* ==========================================================================
   Popup enquiry form (approved single-card layout)
   ========================================================================== */
.popup-overlay {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(20,33,61,0.6); backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center; padding: 1.2rem;
}
.popup-overlay.is-open { display: flex; }
.popup-card {
    width: 100%; max-width: 430px; max-height: 90vh; overflow-y: auto;
    background: #fff; border-radius: var(--radius-lg); position: relative;
    box-shadow: var(--shadow-lg);
    animation: popup-in 0.25s ease;
}
@keyframes popup-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.popup-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: rgb(255 255 255); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
}
.popup-close:hover { background: rgba(255 255 255); }
.popup-timer-bar {
    background: linear-gradient(120deg, var(--navy), var(--navy-soft));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.3rem 1.6rem 1.6rem; text-align: center; color: #fff;
    transition: background 0.3s ease;
}
.popup-timer-bar.is-urgent { background: linear-gradient(120deg, #C22B3E, var(--urgent)); animation: pulse-bar 1s ease-in-out infinite; }
@keyframes pulse-bar { 0%,100% { box-shadow: 0 0 0 0 rgba(226,59,78,0.5); } 50% { box-shadow: 0 0 0 8px rgba(226,59,78,0); } }
.popup-timer-label { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.8); margin-bottom: 0.3rem; }
.popup-timer-label .icon { width: 0.95em; height: 0.95em; color: var(--accent); }
.popup-timer-value { font-family: var(--font-head); font-size: 2.1rem; font-weight: 600; letter-spacing: 0.02em; }
.popup-body { padding: 0 1.6rem 1.7rem; }
.popup-badge {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex; align-items: center; justify-content: center; color: #fff;
    margin: -28px auto 1rem; box-shadow: 0 10px 20px rgba(232,90,42,0.35);
    position: relative; z-index: 1;
}
.popup-badge .icon { width: 1.6em; height: 1.6em; }
.popup-body h3 { text-align: center; font-size: 1.35rem; margin-bottom: 0.4rem; }
.popup-body h3 .accent-word { color: var(--accent); }
.popup-body .popup-sub { text-align: center; color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }
.popup-submit { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); }
.popup-submit:hover { filter: brightness(1.05); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); }
.footer-top { padding: clamp(3rem, 6vw, 4rem) 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; transition: background 0.15s ease;
}
.footer-social a:hover { background: var(--primary); }
.footer-social .icon { width: 1em; height: 1em; }
.footer-col h5 { color: #fff; font-family: var(--font-head); font-size: 1rem; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col .fc-label { display: block; font-size: 0.76rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.03em; }
.footer-cta-btn { margin-top: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.3rem 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.85rem; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1rem; }

/* ==========================================================================
   Floating elements
   ========================================================================== */
.float-whatsapp {
    position: fixed; right: 20px; bottom: 22px; z-index: 250;
    width: 58px; height: 58px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 10px 24px rgba(37,211,102,0.4);
    transition: transform 0.15s ease;
}
.float-whatsapp:hover { transform: scale(1.06); }
.float-whatsapp .icon { width: 1.7em; height: 1.7em; }

.cbqs-badge {
    position: fixed; left: 16px; bottom: 22px; z-index: 250;
    display: flex; align-items: center; gap: 0.5rem;
    background: #fff; border-radius: var(--radius-pill);
    padding: 0.4rem 0.9rem 0.4rem 0.4rem; box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}
.cbqs-badge img { height: 30px; width: auto; }
.cbqs-badge span { font-size: 0.72rem; font-weight: 700; color: var(--navy); line-height: 1.15; max-width: 90px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .header-actions .call-now-btn span { display: none; }
    .nav-toggle { display: flex; }
    .hero .container { grid-template-columns: 240px 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-list { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
    .testi-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .topbar-left span.divider { display: none; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; }
    .founder-card { max-width: 220px; margin: 0 auto; }
    .hero-copy h1 { max-width: none; }
    .hero-copy p.lead { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .gq-form .two-col { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cbqs-badge span { display: none; }
    .cbqs-badge { padding: 0.4rem; }
    .float-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 18px; }
    .cbqs-badge { left: 16px; bottom: 18px; }
}

@media (max-width: 480px) {
    .topbar-right .social-label { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .popup-card { max-width: 100%; }
}
