/* ==========================================================================
   Mieke Dreyer — Physiotherapist
   Warm, people-first redesign. Soft serif headings, ivory & coral palette,
   photography-led. A gentle, human feel with a light modern touch.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
    /* Ink & brand — logo navy softened toward a calm teal-blue */
    --ink: #233a44;            /* warm deep teal-charcoal, primary text */
    --ink-soft: #355059;
    --brand: #2b6e87;          /* calm teal-blue */
    --brand-600: #235a72;
    --brand-700: #1c485c;

    /* Warmth */
    --accent: #d9806a;         /* terracotta-coral (grown-up nod to the original pink) */
    --accent-600: #c86d57;
    --leaf: #6f9e80;           /* soft green from the logo's leaf */

    /* Neutrals — warm */
    --bg: #fbf7f1;             /* warm ivory */
    --cream: #f4ece1;          /* tinted section */
    --peach: #f9ece3;          /* soft peach tint */
    --surface: #ffffff;
    --line: #ece2d4;           /* warm hairline */
    --line-soft: #f1e9dd;
    --muted: #6f7a80;
    --muted-2: #9aa2a6;

    /* Soft, warm gradients (used sparingly) */
    --grad: linear-gradient(135deg, #2b6e87 0%, #3a8f86 100%);      /* calm teal */
    --grad-warm: linear-gradient(118deg, #d9806a 0%, #e0a672 100%); /* coral → amber */
    --grad-soft: linear-gradient(135deg, #2b6e8714 0%, #6f9e8014 100%);
    --grad-peach: linear-gradient(135deg, #f9ece3 0%, #f1e7da 100%);

    /* Effects — soft & warm */
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 34px;
    --shadow-sm: 0 1px 2px rgba(80, 58, 40, .05), 0 6px 16px rgba(80, 58, 40, .05);
    --shadow: 0 16px 40px -18px rgba(70, 50, 35, .26);
    --shadow-lg: 0 36px 70px -26px rgba(60, 44, 32, .32);
    --ring: 0 0 0 4px rgba(43, 110, 135, .16);

    --maxw: 1180px;
    --ease: cubic-bezier(.22, .61, .36, 1);

    --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
/* <picture> is just a wrapper — let the inner <img> lay out as a direct child */
picture { display: contents; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.14;
    font-weight: 500;
    font-optical-sizing: auto;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
    overflow-wrap: break-word;
}

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: 8px;
}

/* ---- Layout helpers ----------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding: clamp(64px, 8.5vw, 122px) 0; position: relative; }
.section--tint { background: var(--surface); }
.section--cream { background: var(--cream); }
.section--alt {
    background:
        radial-gradient(55% 70% at 100% 0%, var(--peach) 0%, transparent 60%),
        radial-gradient(50% 60% at 0% 100%, #eef3ee 0%, transparent 55%),
        var(--bg);
}

.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-600);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 18px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.center .eyebrow { justify-content: center; }

.title {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 500;
    margin-bottom: .35em;
}
.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    color: var(--muted);
    margin: 0;
}

.grad-text {
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.serif-italic { font-style: italic; font-weight: 400; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .98rem;
    line-height: 1;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 22px -12px rgba(43, 110, 135, .8);
}
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 18px 28px -12px rgba(43, 110, 135, .85); }

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 22px -12px rgba(217, 128, 106, .85);
}
.btn-accent:hover { background: var(--accent-600); color: #fff; }

.btn-ghost {
    background: rgba(255, 255, 255, .65);
    color: var(--ink);
    border-color: var(--line);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--brand); background: #fff; }

.btn-wa { background: #25D366; color: #06351a; box-shadow: 0 12px 22px -12px rgba(37, 211, 102, .7); }
.btn-wa:hover { color: #06351a; }

.btn-lg { padding: 17px 32px; font-size: 1.02rem; }

/* ---- Chips / tags ------------------------------------------------------- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .86rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 8px 14px;
    border-radius: 999px;
}
.chip svg { width: 15px; height: 15px; color: var(--brand); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
    font-size: .8rem;
    color: var(--brand-700);
    background: rgba(43, 110, 135, .08);
    padding: 5px 11px;
    border-radius: 999px;
    font-weight: 500;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(251, 247, 241, .82);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -20px rgba(70, 50, 35, .6);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; transition: height .3s var(--ease); }
.scrolled .brand img { height: 36px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    position: relative;
    display: block;
    padding: 10px 14px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 10px;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 6px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .7);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: "";
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 90px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(46% 52% at 82% 14%, rgba(217, 128, 106, .16), transparent 62%),
        radial-gradient(44% 50% at 8% 6%, rgba(111, 158, 128, .14), transparent 58%),
        linear-gradient(180deg, #fdf8f2 0%, var(--bg) 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .85rem;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
    margin-bottom: 26px;
}
.hero-pill b { color: var(--ink); font-weight: 600; }
.hero-pill .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--leaf);
    animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(111, 158, 128, .4); }
    50% { box-shadow: 0 0 0 6px rgba(111, 158, 128, 0); }
}

.hero h1 {
    font-size: clamp(2.6rem, 5.6vw, 4.2rem);
    line-height: 1.06;
    font-weight: 500;
    margin-bottom: 22px;
}
.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    color: var(--muted);
    max-width: 40ch;
    margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 7px solid #fff;
    aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-blob {
    position: absolute;
    inset: -10% -12% auto auto;
    width: 72%;
    aspect-ratio: 1;
    background: var(--grad-warm);
    filter: blur(46px);
    opacity: .22;
    border-radius: 50%;
    z-index: -1;
}
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.float-card--tr { right: -24px; top: 12%; animation: floaty 6s var(--ease) infinite reverse; }
.float-card--bl { left: -24px; bottom: 30px; animation: floaty 7s var(--ease) infinite; }
.float-card .ic {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--peach);
    color: var(--accent-600);
    flex: none;
}
.float-card .ic svg { width: 20px; height: 20px; }
.float-card small { display: block; color: var(--muted); font-size: .74rem; line-height: 1.2; }
.float-card strong { font-size: .96rem; color: var(--ink); font-family: var(--font-display); font-weight: 600; }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Hero stats */
.hero-stats {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-stats .stat { background: var(--surface); padding: 26px 22px; text-align: center; }
.stat .num {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--brand);
    line-height: 1;
}
.stat .lbl { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.about-photo .frame {
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: .5;
}
.about-badge {
    position: absolute;
    left: -22px; bottom: 30px;
    background: #fff;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
}
.about-badge .big {
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 600;
    color: var(--accent);
}
.about-badge small { color: var(--muted); font-size: .8rem; line-height: 1.25; display: block; max-width: 14ch; }

.about-role {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--brand);
    font-size: 1.05rem;
    margin-bottom: 18px;
}
.about-role span { color: var(--muted-2); }

.cred-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 32px;
}
.cred {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.cred .ic {
    width: 40px; height: 40px; flex: none;
    border-radius: 12px;
    background: var(--peach);
    color: var(--accent-600);
    display: grid; place-items: center;
}
.cred .ic svg { width: 20px; height: 20px; }
.cred small { display: block; color: var(--muted); font-size: .78rem; }
.cred strong { font-family: var(--font-display); color: var(--ink); font-size: .98rem; font-weight: 600; }

/* specialisation meters */
.meters { margin-top: 8px; }
.meter { margin-bottom: 18px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.meter-top .name { font-weight: 600; color: var(--ink); font-size: .96rem; }
.meter-top .pct { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--accent-600); }
.meter-track { height: 9px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.meter-fill { height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 1.2s var(--ease); }

/* ==========================================================================
   Photo quote band
   ========================================================================== */
.photo-band {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
/* JPEG declared first as the fallback; image-set upgrades to WebP where supported */
.photo-band--quote {
    background-image: url("/Images/opt/IMG_2519_1-1600.jpg");
    background-image: image-set(url("/Images/opt/IMG_2519_1-1600.webp") type("image/webp"),
                                url("/Images/opt/IMG_2519_1-1600.jpg") type("image/jpeg"));
}
.photo-band::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(35, 58, 68, .9) 0%, rgba(43, 110, 135, .72) 55%, rgba(217, 128, 106, .5) 100%);
}
.photo-band .container { position: relative; text-align: center; }
.photo-band .quote-mark {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: .4;
    color: #fff;
    opacity: .55;
}
.photo-band blockquote {
    margin: 22px auto 22px;
    max-width: 900px;
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    line-height: 1.34;
    color: #fff;
}
.photo-band cite {
    font-style: normal;
    color: #ffe6dc;
    font-size: .92rem;
    letter-spacing: .04em;
}

/* ==========================================================================
   Services — photo cards
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-photo {
    position: relative; /* no overflow clip here, so the icon can overhang */
}
.ph-frame {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;          /* clips the zoom; does not clip the icon */
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.ph-frame img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.service-card:hover .ph-frame img { transform: scale(1.05); }
.ph-frame::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(35, 58, 68, .35));
}
.card-photo .service-icon {
    position: absolute;
    left: 24px; bottom: -26px;
    width: 56px; height: 56px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid; place-items: center;
    color: var(--accent-600);
    z-index: 2;
}
.service-icon svg { width: 27px; height: 27px; }
.service-body { padding: 40px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* ==========================================================================
   Approach
   ========================================================================== */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(40px, 5vw, 78px);
    align-items: center;
}
.approach-photo { position: relative; }
.approach-photo img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.approach-photo .frame {
    position: absolute;
    inset: -18px 18px 18px -18px;
    border: 1.5px solid var(--leaf);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: .5;
}
.steps { list-style: none; position: relative; }
.steps::before {
    content: "";
    position: absolute;
    left: 27px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--line);
}
.step { position: relative; display: flex; gap: 22px; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step .step-no {
    flex: none;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--peach);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent-600);
    font-size: 1.2rem;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--bg);
}
.section--cream .step .step-no { box-shadow: 0 0 0 6px var(--cream); }
.step h4 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

.techniques {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow);
}
.techniques h4 { font-size: 1.2rem; margin-bottom: 6px; }
.techniques > p { color: var(--muted); font-size: .94rem; margin-bottom: 22px; }
.tech-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tech-item { display: flex; align-items: center; gap: 11px; font-size: .94rem; font-weight: 500; color: var(--ink-soft); }
.tech-item .ic {
    width: 30px; height: 30px; flex: none;
    border-radius: 50%;
    background: rgba(111, 158, 128, .14);
    color: var(--leaf);
    display: grid; place-items: center;
}
.tech-item .ic svg { width: 16px; height: 16px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ==========================================================================
   FAQ — native <details> so answers are in the DOM (indexable, no JS needed)
   ========================================================================== */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: rgba(217, 128, 106, .45); box-shadow: var(--shadow); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.06rem;
    color: var(--ink);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-600); }
.faq-item summary::after {
    content: "";
    width: 9px; height: 9px; flex: none;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    margin-top: -5px;
    transition: transform .3s var(--ease), margin .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: .97rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { font-weight: 500; }

/* ==========================================================================
   App teaser — soft & warm (not techy/dark)
   ========================================================================== */
.app-teaser { background: var(--grad-peach); position: relative; overflow: hidden; }
.app-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}
.app-teaser .lead { color: var(--muted); }
.app-features { list-style: none; margin: 30px 0 30px; display: grid; gap: 16px; }
.app-features li { display: flex; gap: 14px; align-items: flex-start; }
.app-features .ic {
    width: 42px; height: 42px; flex: none;
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand);
    display: grid; place-items: center;
    box-shadow: var(--shadow-sm);
}
.app-features .ic svg { width: 20px; height: 20px; }
.app-features strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; display: block; }
.app-features small { color: var(--muted); font-size: .9rem; }
.app-note { font-style: italic; font-family: var(--font-display); color: var(--accent-600); font-size: 1rem; }

/* phone mockup — warm */
.phone-wrap { display: grid; place-items: center; position: relative; }
.phone-glow {
    position: absolute;
    width: 80%; aspect-ratio: 1;
    background: var(--grad-warm);
    filter: blur(60px);
    opacity: .3;
    border-radius: 50%;
}
.phone {
    position: relative;
    width: 280px;
    max-width: 80vw;
    aspect-ratio: 9 / 18.5;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 42px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}
.phone-notch {
    position: absolute;
    top: 16px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 24px;
    background: #fff;
    border-radius: 999px;
    z-index: 3;
}
.phone-screen {
    height: 100%;
    border-radius: 32px;
    background: linear-gradient(180deg, #fdf6ef, #f6ece2);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 16px 16px;
    gap: 12px;
}
.ps-head { display: flex; align-items: center; gap: 10px; }
.ps-avatar { width: 40px; height: 40px; border-radius: 13px; background: var(--peach); display: grid; place-items: center; }
.ps-avatar img { width: 26px; height: 26px; }
.ps-head small { color: var(--muted); font-size: .68rem; }
.ps-head strong { color: var(--ink); font-size: .92rem; font-family: var(--font-display); font-weight: 600; display: block; }
.ps-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.ps-ring-row { display: flex; align-items: center; gap: 14px; }
.ps-ring {
    width: 58px; height: 58px; border-radius: 50%; flex: none;
    background: conic-gradient(var(--leaf) 0% 75%, #eadfd2 75% 100%);
    display: grid; place-items: center;
}
.ps-ring span { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .85rem; }
.ps-ring-row .ps-label { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.ps-ring-row strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .95rem; display: block; margin-top: 2px; }
.ps-row { display: flex; align-items: center; gap: 11px; }
.ps-row .dotmini { width: 30px; height: 30px; border-radius: 9px; background: var(--peach); display: grid; place-items: center; color: var(--accent-600); flex: none; }
.ps-row .dotmini svg { width: 16px; height: 16px; }
.ps-row .ln { height: 8px; border-radius: 4px; background: #eadfd2; flex: 1; }
.ps-row .ln.short { max-width: 55%; }
.ps-cta {
    margin-top: auto;
    background: var(--brand);
    color: #fff;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .82rem;
    padding: 13px;
    border-radius: 14px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(36px, 4vw, 60px);
    align-items: start;
}
.contact-methods { display: grid; gap: 14px; margin-bottom: 24px; }
.cmethod {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cmethod:hover { transform: translateX(4px); border-color: var(--accent); box-shadow: var(--shadow); }
.cmethod .ic {
    width: 48px; height: 48px; flex: none;
    border-radius: 14px;
    background: var(--peach);
    color: var(--accent-600);
    display: grid; place-items: center;
}
.cmethod .ic svg { width: 22px; height: 22px; }
.cmethod small { color: var(--muted); font-size: .78rem; display: block; }
.cmethod strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.cmethod .go { margin-left: auto; color: var(--muted-2); transition: transform .25s var(--ease), color .2s; }
.cmethod:hover .go { color: var(--accent); transform: translateX(3px); }

.reg-card {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.reg-card .reg small { color: #b6c4c8; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.reg-card .reg strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; margin-top: 4px; }

/* form */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: clamp(26px, 4vw, 40px);
    box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.contact-form .form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input, .textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: .98rem;
    color: var(--ink);
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: var(--ring); }
.textarea { resize: vertical; min-height: 130px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form-hint { font-size: .82rem; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.form-hint svg { width: 15px; height: 15px; color: var(--leaf); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--ink);
    color: #c3cfd2;
    padding: 72px 0 32px;
    position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 42px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { color: #a4b3b6; max-width: 34ch; font-size: .94rem; }
.footer-col h5 { font-family: var(--font-display); color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #b8c6c9; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-col .muted { color: #8a9a9d; font-size: .88rem; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .85rem;
    color: #8a9a9d;
}
.to-top { display: inline-flex; align-items: center; gap: 8px; color: #b8c6c9; font-size: .85rem; }
.to-top:hover { color: #fff; }
.to-top .ic {
    width: 34px; height: 34px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    display: grid; place-items: center;
    transition: transform .25s var(--ease), border-color .2s;
}
.to-top:hover .ic { transform: translateY(-3px); border-color: var(--accent); }

/* ==========================================================================
   Scroll reveal (progressive enhancement)
   ========================================================================== */
.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
.js-reveal [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js-reveal [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js-reveal [data-reveal][data-delay="3"] { transition-delay: .24s; }
.js-reveal [data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ==========================================================================
   Generic content pages
   ========================================================================== */
.page-wrap { max-width: 820px; margin-inline: auto; padding: 150px 24px 100px; }
.page-wrap h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.page-wrap h2 { font-size: 1.45rem; margin-top: 36px; }
.page-wrap p { color: var(--muted); }
.page-wrap a { font-weight: 500; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
    .about-grid, .approach-grid, .app-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-photo, .approach-photo { max-width: 440px; }
    .approach-photo { margin-inline: auto; order: -1; }
    .phone-wrap { order: -1; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery-item.wide { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .nav-toggle { display: grid; }
    .nav-links {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(251, 247, 241, .98);
        backdrop-filter: blur(16px);
        padding: 18px 24px 26px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s var(--ease), transform .25s var(--ease);
    }
    .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
    .nav-links a { padding: 14px 12px; font-size: 1.02rem; }
    .nav-links a::after { display: none; }
    .nav-cta .btn-nav { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .cred-grid { grid-template-columns: 1fr; }
    .tech-list { grid-template-columns: 1fr; }
    .reg-card { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .about-badge { left: 50%; transform: translateX(-50%); bottom: -26px; }
}

@media (max-width: 460px) {
    .hero { padding-top: 130px; }
    .float-card--tr { right: 6px; }
    .float-card--bl { left: 6px; }
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}
