/*
 * Theme Name:  Real Good Burn with Sneha
 * Theme URI:   https://cenozic.com/case-studies/realgoodburnwithsneha/
 * Author:      Cenozic Technologies
 * Author URI:  https://cenozic.com
 * Description: Custom yoga & Pilates coaching theme for Sneha Bhatt —
 *              warm sandy beige palette, full-bleed hero, services CPT,
 *              SMTP contact forms, geolocation tracking.
 * Version:     4.0.1
 * License:     GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: realgoodburnwithsneha
 */

/* ═══════════════════════════════════════════════════════════════════════
   DESIGN TOKENS — warm sandy beige palette (matches new screenshot)
══════════════════════════════════════════════════════════════════════ */
:root {
    /* Colours */
    --clr-bg:        #f5efe6;   /* warm sandy page background              */
    --clr-bg-light:  #faf6f0;   /* lighter warm surface                    */
    --clr-bg-strip:  #ede5d8;   /* slightly darker beige for strips        */
    --clr-primary:   #5c3d2a;   /* dark terracotta-brown — main action     */
    --clr-primary-h: #4a3020;   /* hover state                             */
    --clr-text:      #3d2a1a;   /* very dark warm brown — headings         */
    --clr-body:      #6b5740;   /* medium warm brown — body copy           */
    --clr-muted:     #9c8570;   /* muted taupe — secondary copy            */
    --clr-faint:     #c4b09a;   /* very muted — dividers, placeholders     */
    --clr-border:    #e0d4c3;   /* warm beige border                       */
    --clr-white:     #ffffff;
    --clr-eyebrow:   #8b6b50;   /* small-caps eyebrow label colour         */

    /* Shadows */
    --sh-card:  0 2px 16px rgba(92,61,42,.08);
    --sh-hover: 0 8px 28px rgba(92,61,42,.16);
    --sh-btn:   0 4px 16px rgba(92,61,42,.24);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'DM Sans', 'Helvetica Neue', Arial, sans-serif;

    /* Layout */
    --mw:    1200px;
    --px:    clamp(20px, 4vw, 48px);
    --py:    clamp(60px, 7vw, 100px);

    /* Shape */
    --r-sm:   6px;
    --r-md:   12px;
    --r-lg:   18px;
    --r-pill: 100px;

    /* Motion */
    --ease: cubic-bezier(.25,.46,.45,.94);
    --tr:   all .3s var(--ease);
}

/* ═══════════════════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
    font-family:  var(--font-sans);
    color:        var(--clr-body);
    background:   var(--clr-bg);
    line-height:  1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x:   hidden;
}
img, svg { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none; transition: var(--tr) }
ul, ol { list-style: none }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-serif); color: var(--clr-text); line-height: 1.2; font-weight: 700 }
p { max-width: 70ch }
button { cursor: pointer }
input, textarea, select, button { font-family: inherit; font-size: inherit }
:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 3px; border-radius: 2px }

/* ═══════════════════════════════════════════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════════════════════════════════════════ */
.container { max-width: var(--mw); margin: 0 auto; padding: 0 var(--px) }
.text-center { text-align: center }
.text-center p { margin-inline: auto }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0 }

/* ═══════════════════════════════════════════════════════════════════════
   TYPOGRAPHY COMPONENTS
══════════════════════════════════════════════════════════════════════ */
/* Uppercase eyebrow label (e.g. "TRANSFORM YOUR BODY & MIND") */
.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-eyebrow);
    margin-bottom: 10px;
}
/* ─── LOTUS DIVIDER ─────────────────────────────────────────────────────────
   Global SVG size — applied to EVERY lotus icon regardless of context.
   The width/height are also baked into the SVG element itself as a
   hard fallback (see template-parts/icons.php).
──────────────────────────────────────────────────────────────────────────── */
.sneha-icon--lotus-divider {
    width:  28px !important;
    height: 22px !important;
    min-width:  28px;
    min-height: 22px;
    max-width:  28px;
    max-height: 22px;
    flex-shrink: 0;
    display: block;
    color: var(--clr-faint);
    overflow: visible;
}

/* Base lotus-divider layout:  [── line ──] [lotus] [── line ──] */
.lotus-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--clr-faint);
    margin: 14px 0 20px;
}
.lotus-divider::before,
.lotus-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--clr-border);
}

/* HERO — both lines visible, constrained width */
.hero-lotus {
    margin: 2px 0 22px;
    max-width: 400px;
}

/* ABOUT — lotus + short right line, no left line */
.about-lotus {
    margin: 12px 0 18px;
    max-width: 500px;
}

/* SERVICES — centred lotus only, NO lines */
.services-lotus {
    justify-content: center;
    margin-bottom: 32px;
}
.services-lotus::before,
.services-lotus::after { display: none }

/* WHY CHOOSE ME — lotus + short right line, no left line */
.why-lotus {
    margin: 8px 0 20px;
    max-width: 200px;
}

.sec-title {
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1.2;
    margin-bottom: 14px;
}
.sec-title em { font-style: italic; color: var(--clr-primary) }
.sec-sub {
    font-size: 16px;
    color: var(--clr-muted);
    line-height: 1.85;
    max-width: 540px;
}

/* ═══════════════════════════════════════════════════════════════════════
   SVG ICONS — global base styles
   All icons output by sneha_icon() get .sneha-icon.
   They inherit currentColor so they can be tinted via the parent's color.
══════════════════════════════════════════════════════════════════════ */
.sneha-icon {
    display: inline-block;
    vertical-align: middle;
    fill: none;
    overflow: visible;
    flex-shrink: 0;
}
/* Ensure SVGs don't accidentally overflow their containers */
.sneha-icon svg,
svg.sneha-icon { overflow: visible }

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: var(--tr);
    white-space: nowrap;
    cursor: pointer;
    letter-spacing: .2px;
}
/* Dark filled — matches screenshot primary CTA */
.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
    box-shadow: var(--sh-btn);
}
.btn-primary:hover {
    background: var(--clr-primary-h);
    border-color: var(--clr-primary-h);
    color: var(--clr-white);
    transform: translateY(-1px);
}
/* Outline — "Join a Class" style */
.btn-outline {
    background: transparent;
    color: var(--clr-text);
    border-color: var(--clr-text);
}
.btn-outline:hover {
    background: var(--clr-text);
    color: var(--clr-white);
    transform: translateY(-1px);
}
.btn-outline-primary {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}
.btn-outline-primary:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center }

/* ═══════════════════════════════════════════════════════════════════════
   NAVIGATION — dynamic menu with dropdown support
══════════════════════════════════════════════════════════════════════ */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: 14px 0;
    transition: var(--tr);
    background: rgba(245,239,230,.0);
}
#site-header.is-scrolled {
    background: rgba(245,239,230,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(92,61,42,.10);
    padding: 10px 0;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
/* Logo */
.site-logo {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-text);
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.site-logo span { color: var(--clr-primary) }
.site-logo img,
.logo-img  { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; transition: var(--tr) }
.site-logo:hover .logo-img { opacity: .9 }

/* ── Desktop nav list ──────────────────────────────────────────────── */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
    gap: 0;
}

/* Every menu item */
.nav-item {
    position: relative;
    list-style: none;
}

/* Top-level <a> */
.nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-body);
    padding: 8px 14px;
    white-space: nowrap;
    transition: var(--tr);
    position: relative;
    text-decoration: none;
}
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 14px;
    width: 0; height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    transition: width .26s var(--ease);
}
.nav-item > a:hover,
.nav-item.is-current > a { color: var(--clr-primary) }
.nav-item > a:hover::after,
.nav-item.is-current > a::after { width: calc(100% - 28px) }

/* CTA nav button */
.nav-item > a.nav-cta {
    background: var(--clr-primary);
    color: var(--clr-white);
    padding: 10px 20px;
    border-radius: var(--r-sm);
    font-weight: 600;
    box-shadow: var(--sh-btn);
    margin-left: 8px;
}
.nav-item > a.nav-cta::after { display: none }
.nav-item > a.nav-cta:hover  { background: var(--clr-primary-h); color: var(--clr-white); transform: translateY(-1px) }

/* Dropdown toggle chevron */
.dropdown-toggle {
    background: none;
    border: none;
    padding: 0 2px;
    font-size: 9px;
    color: var(--clr-muted);
    cursor: pointer;
    line-height: 1;
    transition: transform .22s var(--ease);
    vertical-align: middle;
    display: inline-block;
}
.has-dropdown:hover > a .dropdown-toggle,
.has-dropdown.is-open > a .dropdown-toggle {
    transform: rotate(180deg);
    color: var(--clr-primary);
}

/* ── Dropdown sub-menu ─────────────────────────────────────────────── */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 210px;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-md);
    box-shadow: 0 8px 32px rgba(92,61,42,.14);
    list-style: none;
    margin: 0; padding: 6px 0;
    /* Hidden until parent is hovered or .is-open */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    z-index: 200;
}
.has-dropdown:hover  > .nav-dropdown,
.has-dropdown.is-open > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Sub-menu links */
.nav-dropdown .nav-item > a {
    display: block;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 400;
    color: var(--clr-body);
    border-radius: 0;
    white-space: nowrap;
}
.nav-dropdown .nav-item > a::after { display: none }
.nav-dropdown .nav-item > a:hover  { background: var(--clr-bg); color: var(--clr-primary); padding-left: 22px }
/* Third-level sub-menu */
.nav-dropdown .nav-dropdown { top: 0; left: 100%; margin-left: 4px }

/* Mobile toggle button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; padding: 4px; z-index: 901;
}
.nav-toggle-bar {
    display: block;
    width: 24px; height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: var(--tr);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0) }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* ═══════════════════════════════════════════════════════════════════════
   HERO — full viewport, background image, text overlaid left side
   Gradient: solid sandy-beige left → transparent right, photo shows on right
══════════════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: var(--clr-bg);
    background-image: url(./assets/hero-1.webp);
}
/* Gradient overlay: sandy beige left → transparent right */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(245,239,230,.98)  0%,
        rgba(245,239,230,.94) 30%,
        rgba(245,239,230,.72) 52%,
        rgba(245,239,230,.25) 68%,
        transparent           82%
    );
    z-index: 1;
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1280px; margin: 0 auto;
    padding: 0 var(--px);
    display: flex; align-items: center;
    min-height: 100vh;
}
.hero-content {
    width: min(560px, 54%);
    padding: 120px 0 80px;
}
/* Eyebrow "TRANSFORM YOUR BODY & MIND" */
.hero-eyebrow { margin-bottom: 12px }
/* Main headline — large serif */
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1.08;
    margin-bottom: 20px;
}
/* Tagline */
.hero-tag {
    font-size: 16px;
    color: var(--clr-body);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 40ch;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap }

/* ═══════════════════════════════════════════════════════════════════════
   FEATURES STRIP — 4-column icon row below hero
══════════════════════════════════════════════════════════════════════ */
.features-strip {
    background: var(--clr-bg-strip);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 32px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 28px;
    border-right: 1px solid var(--clr-border);
}
.feature-item:last-child { border-right: none }
.feature-ico {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--clr-muted);
    display: flex;
    align-items: flex-start;
}
.feature-ico .sneha-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 4px;
    display: block;
}
.feature-desc {
    font-size: 13px;
    color: var(--clr-muted);
    line-height: 1.55;
    max-width: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT — full-width two-column, photo left / text right
   No container — image bleeds edge to left, text fills right half
══════════════════════════════════════════════════════════════════════ */
.about-row {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 480px;
}
/* Left: full-bleed photo */
.about-photo {
    position: relative;
    overflow: hidden;
}
.about-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.about-photo-ph {
    width: 100%; height: 100%; min-height: 440px;
    background: var(--clr-bg-strip);
    display: flex; align-items: center; justify-content: center;
    font-size: 80px;
}
/* Right: text panel */
.about-text {
    background: var(--clr-bg-light);
    padding: clamp(48px,6vw,90px) clamp(32px,5vw,80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-text .eyebrow { margin-bottom: 8px }
.about-headline {
    font-size: clamp(28px, 3.8vw, 48px);
    line-height: 1.18;
    margin-bottom: 0;
}
.about-body {
    font-size: 16px;
    color: var(--clr-body);
    line-height: 1.8;
    margin-bottom: 12px;
    max-width: 44ch;
}
.about-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    font-size: 13px;
    color: var(--clr-muted);
    align-items: center;
    margin-top: 6px;
}
.about-creds-sep { padding: 0 12px; color: var(--clr-border) }

/* ═══════════════════════════════════════════════════════════════════════
   MY SERVICES — label, lotus, 4-column photo cards
══════════════════════════════════════════════════════════════════════ */
.services-sec {
    background: var(--clr-bg);
    padding: var(--py) 0;
}
.services-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-eyebrow);
    text-align: center;
    margin-bottom: 6px;
}
/* 4-column grid — each card has photo then text below */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.svc-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--tr);
    cursor: pointer;
}
.svc-card:hover {
    box-shadow: var(--sh-hover);
    transform: translateY(-4px);
}
/* Photo area — portrait thumbnail at top */
.svc-card-photo {
    position: relative;
    width: 100%;
    padding-top: 100%;   /* square ratio */
    overflow: hidden;
    background: var(--clr-bg-strip);
}
.svc-card-photo img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
}
/* Emoji placeholder when no photo — smaller so badge is still visible */
.svc-card-photo-ph {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    background: linear-gradient(160deg, var(--clr-bg-strip), var(--clr-bg-light));
}
/* Small icon badge overlaid bottom-left of photo */
.svc-card-badge {
    position: absolute;
    bottom: 10px; left: 10px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(245,239,230,.92);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(92,61,42,.15);
}
/* Text below photo */
.svc-card-body { padding: 18px 18px 22px }
.svc-card-title {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 6px;
}
.svc-card-title a { color: inherit }
.svc-card-title a:hover { color: var(--clr-primary) }
.svc-card-desc {
    font-size: 13px;
    color: var(--clr-muted);
    line-height: 1.65;
    max-width: none;
}
.svc-card-price {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-primary);
    background: var(--clr-bg-strip);
    padding: 3px 12px;
    border-radius: var(--r-pill);
}

/* ═══════════════════════════════════════════════════════════════════════
   WHY CHOOSE ME — 3-column: checklist | pull-quote | decorative right
══════════════════════════════════════════════════════════════════════ */
.why-sec {
    background: var(--clr-bg-light);
    padding: var(--py) 0;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}
/* Left col */
.why-heading {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 4px;
}
.why-list { display: flex; flex-direction: column; gap: 14px }
.why-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--clr-body);
}
.why-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Remove old bg circle — the SVG check-circle has its own filled circle */
}
.why-check .sneha-icon--check-circle {
    width: 22px;
    height: 22px;
    display: block;
}
/* Centre col — pull-quote */
.why-quote {
    position: relative;
    background: url(./assets/cta-img.jpeg) no-repeat;
    background-position: left center;
    background-size: 605px;
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    padding: 32px 28px 28px;
    box-shadow: var(--sh-card);
    position: relative;
    overflow: hidden;
}
.why-quote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6); /* adjust opacity here */
    z-index: 1;
}

.why-quote * {
    position: relative;
    z-index: 2;
}
.why-quote-mark {
    font-family: var(--font-serif);
    font-size: 72px;
    color: var(--clr-primary);
    line-height: .6;
    display: block;
    margin-bottom: 12px;
    opacity: .6;
}
.why-quote-text {
    font-size: 16px;
    font-style: italic;
    color: var(--clr-body);
    line-height: 1.75;
    max-width: none;
    margin: 0;
}
.why-quote-author {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--clr-muted);
    font-weight: 500;
}
/* Right col — decorative / photo */
.why-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    color: var(--clr-faint);
    font-size: 90px;
}
.why-deco img {
    width: 100%;
    border-radius: var(--r-lg);
    object-fit: cover;
    aspect-ratio: 3 / 4;
    box-shadow: var(--sh-card);
}

/* ═══════════════════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════════════════ */
.cta-sec {
    background: var(--clr-bg-strip);
    padding: 72px 0;
    text-align: center;
    border-top: 1px solid var(--clr-border);
}
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 48px);
    color: var(--clr-text);
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════════════ */
.test-sec { padding: var(--py) 0; background: var(--clr-bg) }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 44px }
.t-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    transition: var(--tr);
}
.t-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px) }
.t-stars { color: var(--clr-primary); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px }
.t-q {
    font-size: 15px;
    line-height: 1.8;
    color: var(--clr-body);
    margin-bottom: 20px;
    font-style: italic;
    max-width: none;
}
.t-q::before {
    content: '\201C';
    font-family: var(--font-serif);
    font-size: 44px;
    color: var(--clr-primary);
    opacity: .45;
    line-height: 0;
    vertical-align: -16px;
    margin-right: 4px;
}
.t-auth { display: flex; align-items: center; gap: 12px }
.t-av {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--clr-bg-strip);
    color: var(--clr-primary);
    font-family: var(--font-serif); font-size: 16px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.t-name { font-weight: 600; font-size: 14px; color: var(--clr-text); display: block }
.t-role { font-size: 12px; color: var(--clr-faint); display: block }

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════════════════════════════ */
.conn-sec { padding: var(--py) 0; background: var(--clr-bg-light) }
.conn-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start }
.ci { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px }
.ci-ico {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--clr-bg-strip);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.ci-lbl { font-size: 10px; color: var(--clr-faint); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 2px; display: block }
.ci-val { font-size: 14px; font-weight: 500; color: var(--clr-text); display: block }
.ci-val a { color: inherit }
.ci-val a:hover { color: var(--clr-primary) }
/* Form card */
.form-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    padding: 36px 32px;
    box-shadow: var(--sh-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.form-group { margin-bottom: 16px }
.form-label { display: block; font-size: 11px; font-weight: 700; color: var(--clr-body); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px }
.form-control {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--r-sm);
    font-size: 14px; color: var(--clr-text);
    background: var(--clr-bg-light);
    transition: var(--tr); outline: none;
    appearance: none; -webkit-appearance: none;
}
.form-control:focus { border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(92,61,42,.10) }
.form-control.is-error { border-color: #c0392b }
textarea.form-control { resize: vertical; min-height: 112px }
select.form-control {
    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='%23998878' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 36px;
    cursor: pointer;
}
.form-err-msg { font-size: 12px; color: #c0392b; margin-top: 4px; display: none }
.form-err-msg.show { display: block }
.form-feedback { padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 14px; display: none }
.form-feedback.ok  { display: block; background: rgba(92,61,42,.07); border: 1px solid rgba(92,61,42,.25); color: var(--clr-primary) }
.form-feedback.err { display: block; background: rgba(192,57,43,.06); border: 1px solid rgba(192,57,43,.2); color: #c0392b }

/* ═══════════════════════════════════════════════════════════════════════
   PAGE HERO — inner pages (warm sandy gradient)
══════════════════════════════════════════════════════════════════════ */
.page-hero {
    padding: 150px 0 68px;
    background: linear-gradient(135deg, var(--clr-bg) 0%, var(--clr-bg-strip) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--clr-border);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
}
.page-hero h1 {
    font-size: clamp(32px, 5.5vw, 58px);
    color: var(--clr-text);
    margin-bottom: 14px;
    position: relative; z-index: 1;
}
.page-hero p { font-size: 17px; color: var(--clr-body); max-width: 50ch; margin: 0 auto; line-height: 1.8; position: relative; z-index: 1 }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--clr-muted); margin-bottom: 20px; position: relative; z-index: 1 }
.breadcrumb a { color: var(--clr-primary) }
.breadcrumb a:hover { text-decoration: underline }

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT PAGE (full page layout)
══════════════════════════════════════════════════════════════════════ */
.about-pg-sec { padding: var(--py) 0; background: var(--clr-bg) }
.about-pg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center }
.about-img-wrap { position: relative }
.about-img {
    width: 100%; aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-hover);
}
.about-img-ph { width:100%; aspect-ratio:4/5; border-radius:var(--r-lg); background:var(--clr-bg-strip); display:flex; align-items:center; justify-content:center; font-size:90px }
.about-badge {
    position: absolute; bottom: 24px; right: -18px;
    background: var(--clr-primary); color: var(--clr-white);
    border-radius: var(--r-md); padding: 14px 22px; text-align: center;
    box-shadow: var(--sh-btn);
}
.about-badge-num { display: block; font-family: var(--font-serif); font-size: 40px; font-weight: 700; line-height: 1 }
.about-badge-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .85; margin-top: 4px; display: block }
.about-pg-body p { font-size: 16px; line-height: 1.88; color: var(--clr-body); margin-bottom: 16px }
.cert-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 30px }
.cert-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--clr-body) }
.cert-tick { width: 22px; height: 22px; border-radius: 50%; background: var(--clr-bg-strip); color: var(--clr-primary); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0 }

/* ═══════════════════════════════════════════════════════════════════════
   SERVICE ARCHIVE (all services grid)
══════════════════════════════════════════════════════════════════════ */
.arch-sec { padding: var(--py) 0; background: var(--clr-bg) }
.arch-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: var(--py) }
.arch-intro-grid p { font-size: 16px; line-height: 1.88; color: var(--clr-body); margin-bottom: 16px }
.feat-tiles { display: flex; flex-direction: column; gap: 12px }
.feat-tile { display: flex; align-items: flex-start; gap: 14px; background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-md); padding: 14px 18px; transition: var(--tr) }
.feat-tile:hover { box-shadow: var(--sh-card) }
.ft-ico { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 2px }
.ft-title { display: block; font-size: 14px; font-weight: 600; color: var(--clr-text); margin-bottom: 3px }
.ft-desc { display: block; font-size: 13px; color: var(--clr-muted); line-height: 1.55 }
/* Cards grid for archive */
.arch-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px }
.arch-empty { grid-column: 1/-1; text-align: center; padding: 80px 24px; color: var(--clr-muted) }
.arch-empty span { display: block; font-size: 48px; margin-bottom: 16px }
.arch-empty h3 { font-size: 22px; margin-bottom: 10px; color: var(--clr-text) }
.arch-empty p { max-width: 44ch; margin: 0 auto 24px; text-align: center; font-size: 15px }
/* Steps */
.steps-sec { padding: var(--py) 0; background: var(--clr-bg-light) }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px }
.step-item { text-align: center; padding: 0 8px }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--clr-primary); color: var(--clr-white); font-family: var(--font-serif); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: var(--sh-btn) }
.step-title { font-size: 18px; font-weight: 600; color: var(--clr-text); margin-bottom: 10px }
.step-desc { font-size: 14px; line-height: 1.75; color: var(--clr-muted); max-width: 28ch; margin: 0 auto }

/* ═══════════════════════════════════════════════════════════════════════
   BLOG CARDS
══════════════════════════════════════════════════════════════════════ */
.blog-sec { padding: var(--py) 0; background: var(--clr-bg-light) }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px }
.blog-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-lg); overflow: hidden; transition: var(--tr) }
.blog-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px) }
.blog-thumb { width: 100%; height: 200px; object-fit: cover }
.blog-ph { width: 100%; height: 200px; background: var(--clr-bg-strip); display: flex; align-items: center; justify-content: center; font-size: 48px }
.blog-body { padding: 22px 22px 26px }
.blog-cat { display: inline-block; background: var(--clr-bg-strip); color: var(--clr-eyebrow); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 10px }
.blog-title { font-size: 16px; font-weight: 600; color: var(--clr-text); line-height: 1.4; margin-bottom: 8px; max-width: none }
.blog-title a:hover { color: var(--clr-primary) }
.blog-meta { font-size: 12px; color: var(--clr-faint) }

/* ═══════════════════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════════════════ */
.stats-sec { padding: 48px 0; background: var(--clr-bg-strip); border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border) }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0 }
.stat-item { text-align: center; padding: 0 24px; border-right: 1px solid var(--clr-border) }
.stat-item:last-child { border-right: none }
.stat-num { display: block; font-family: var(--font-serif); font-size: clamp(32px,4.5vw,48px); font-weight: 700; color: var(--clr-primary); line-height: 1; margin-bottom: 6px }
.stat-lbl { font-size: 12px; color: var(--clr-muted); text-transform: uppercase; letter-spacing: 2px; display: block }

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════ */
#site-footer { background: var(--clr-text) }
.ft-main { padding: 60px 0 32px }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px }
.ft-logo { display: block; font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--clr-bg); margin-bottom: 12px }
.ft-logo span { color: var(--clr-faint) }
.ft-brand p { font-size: 14px; color: rgba(245,239,230,.5); line-height: 1.8; max-width: 270px; margin-bottom: 22px }
.soc-row { display: flex; gap: 8px }
.soc-link { width: 34px; height: 34px; border-radius: var(--r-sm); background: rgba(245,239,230,.08); display: flex; align-items: center; justify-content: center; color: rgba(245,239,230,.55); font-size: 14px; transition: var(--tr) }
.soc-link:hover { background: var(--clr-primary); color: var(--clr-white); transform: translateY(-2px) }
.ft-col h4 { font-size: 11px; font-weight: 700; color: var(--clr-bg); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 16px }
.ft-nav { display: flex; flex-direction: column; gap: 9px }
.ft-nav a { font-size: 14px; color: rgba(245,239,230,.45); transition: var(--tr) }
.ft-nav a:hover { color: var(--clr-faint); padding-left: 4px }
.ft-bar { padding: 18px 0; border-top: 1px solid rgba(245,239,230,.08) }
.ft-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px }
.ft-copy { font-size: 13px; color: rgba(245,239,230,.35) }
.ft-legal { display: flex; gap: 20px }
.ft-legal a { font-size: 13px; color: rgba(245,239,230,.35); transition: var(--tr) }
.ft-legal a:hover { color: var(--clr-faint) }

/* ═══════════════════════════════════════════════════════════════════════
   PAGE CONTENT (generic inner)
══════════════════════════════════════════════════════════════════════ */
.page-content { padding: 72px 0 }
.page-content h2,.page-content h3 { margin: 2em 0 .7em }
.page-content p { font-size: 16px; line-height: 1.88; margin-bottom: 1.4em; max-width: 68ch }
.page-content ul,.page-content ol { list-style: disc; padding-left: 22px; margin-bottom: 1.4em }
.page-content li { margin-bottom: 6px }
.page-content a { color: var(--clr-primary); text-decoration: underline; text-underline-offset: 3px }
.page-content a.btn { text-decoration: none }
.page-content blockquote { border-left: 4px solid var(--clr-primary); padding: 14px 22px; background: var(--clr-bg-strip); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 2em 0; font-style: italic }
.entry-content { font-size: 16px; line-height: 1.88; color: var(--clr-body) }
.entry-content h2,.entry-content h3 { margin: 2em 0 .7em }
.entry-content p { margin-bottom: 1.4em; max-width: 68ch }
.entry-content ul,.entry-content ol { padding-left: 22px; margin-bottom: 1.4em }
.entry-content ul { list-style: disc }
.entry-content ol { list-style: decimal }
.entry-content li { margin-bottom: 6px }
.entry-content a { color: var(--clr-primary); text-decoration: underline }
.entry-content img { border-radius: var(--r-md); margin: 1.5em 0 }

/* ═══════════════════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease) }
.reveal.is-visible { opacity: 1; transform: translateY(0) }
.rv1 { transition-delay: .08s }
.rv2 { transition-delay: .16s }
.rv3 { transition-delay: .24s }
.rv4 { transition-delay: .32s }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET ≤ 1024px
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content { width: 100%; padding: 120px 0 64px }
    .hero::before { background: linear-gradient(to bottom, rgba(245,239,230,.96) 0%, rgba(245,239,230,.88) 55%, rgba(245,239,230,.52) 100%) }
    .features-grid { grid-template-columns: repeat(2,1fr) }
    .feature-item:nth-child(2) { border-right: none }
    .feature-item:nth-child(3) { border-right: 1px solid var(--clr-border) }
    .about-row { grid-template-columns: 1fr }
    .about-photo { height: 380px }
    .about-photo img { height: 100%; width: 100%; object-fit: cover }
    .services-grid { grid-template-columns: repeat(2,1fr) }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 32px }
    .why-deco { display: none }
    .test-grid { grid-template-columns: repeat(2,1fr) }
    .stats-grid { grid-template-columns: repeat(2,1fr) }
    .stat-item:nth-child(2) { border-right: none }
    .stat-item:nth-child(3) { border-right: 1px solid var(--clr-border) }
    .conn-grid { grid-template-columns: 1fr; gap: 40px }
    .ft-grid { grid-template-columns: repeat(2,1fr); gap: 36px }
    .arch-intro-grid { grid-template-columns: 1fr; gap: 40px }
    .arch-cards-grid { grid-template-columns: repeat(2,1fr) }
    .about-pg-grid { grid-template-columns: 1fr; gap: 40px }
    .about-badge { right: 0; bottom: 0; position: static; margin-top: 16px; display: inline-block }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 768px
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Mobile nav drawer */
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height:720px;
        align-items: stretch;
        gap: 0;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--clr-bg);
        z-index: 900;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s var(--ease);
        padding: 80px 24px 32px;
        overflow-y: auto;
    }
    .nav-links.is-open  { opacity: 1; pointer-events: all }
    .nav-toggle         { display: flex }
    /* Mobile: top-level items stack vertically */
    .nav-item           { border-bottom: 1px solid var(--clr-border) }
    .nav-item:last-child{ border-bottom: none }
    .nav-item > a {
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-size: 17px;
        font-weight: 500;
        color: var(--clr-text);
        padding: 14px 0;
    }
    .nav-item > a::after { display: none }
    .nav-item > a.nav-cta {
        margin: 16px 0 0;
        justify-content: center;
        padding: 13px 20px;
        border-radius: var(--r-sm);
    }
    /* Mobile: dropdown is hidden by default, toggled with .is-open */
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--clr-border);
        border-radius: 0;
        background: var(--clr-bg-light);
        padding: 4px 0 8px;
        opacity: 1;
        visibility: hidden;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s var(--ease), visibility .3s;
    }
    .has-dropdown.is-open > .nav-dropdown {
        visibility: visible;
        max-height: 600px;
    }
    .nav-dropdown .nav-item { border-bottom: none }
    .nav-dropdown .nav-item > a {
        padding: 10px 16px;
        font-size: 15px;
        font-weight: 400;
    }
    .nav-dropdown .nav-item > a:hover { background: transparent; padding-left: 22px }
    /* Mobile: rotate chevron on open */
    .has-dropdown.is-open > a .dropdown-toggle { transform: rotate(180deg) }
    /* Other mobile layout fixes */
    .features-grid { grid-template-columns: 1fr; gap: 20px }
    .feature-item { border-right: none; border-bottom: 1px solid var(--clr-border); padding: 0 0 20px }
    .feature-item:last-child { border-bottom: none; padding-bottom: 0 }
    .services-grid { grid-template-columns: repeat(2,1fr); gap: 14px }
    .why-grid { grid-template-columns: 1fr }
    .test-grid { grid-template-columns: 1fr }
    .stats-grid { grid-template-columns: repeat(2,1fr) }
    .stat-item { padding: 0 12px }
    .ft-grid { grid-template-columns: 1fr; gap: 28px }
    .ft-bar-inner { flex-direction: column; text-align: center }
    .form-row { grid-template-columns: 1fr }
    .form-card { padding: 24px 18px }
    .arch-cards-grid { grid-template-columns: 1fr }
    .steps-grid { grid-template-columns: 1fr }
    .step-item { padding: 0 }
    .step-desc { max-width: none }
    .blog-grid { grid-template-columns: 1fr }
    .hero-tag { max-width: none }
    .hero { background-image: url('./assets/hero-banner-mobile.webp'); }
    .hero, .hero-inner { min-height: 60vh; }
    .hero-lotus, .about-lotus { max-width: 280px;}
    .hero-title { font-size:28px; }
    .hero::before { background:linear-gradient(to bottom, rgba(245,239,230,.96) 0%, rgba(245,239,230,0.7) 55%, rgba(245,239,230,.52) 100%) }
}

/* ═══════════════════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important }
    .reveal { opacity: 1; transform: none }
}
