/* ==========================================================================
   Tincknell Solar - site styles
   Brand: deep fields green, bright greens, sun yellow, sky blue.
   ========================================================================== */

:root {
    --green-900: #0b3d1e;
    --green-800: #0e4d26;
    --green-700: #0f6b32;
    --green-600: #16a34a;
    --green-500: #2fb35a;
    --green-400: #65bf6a;
    --green-100: #e3f2e6;
    --mint: #eef7ef;
    --yellow: #fbbf17;
    --yellow-soft: #fff4d6;
    --sky: #40c4f0;
    --sky-50: #f2fafe;
    --sky-100: #e2f3fc;
    --teal: #1b6b8a;
    --ink: #13261a;
    --text: #3d4a42;
    --muted: #66746b;
    --line: #dde7e0;
    --cream: #efe9df;
    --cream-50: #faf7f1;
    --white: #ffffff;

    --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
    --font-body: "Nunito", "Segoe UI", Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(14, 77, 38, .06);
    --shadow: 0 18px 40px -18px rgba(14, 77, 38, .28);
    --shadow-lg: 0 30px 60px -24px rgba(11, 61, 30, .35);
    --container: 1200px;
    --header-h: 92px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green-600); }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--green-800);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
}
h1 { font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 17px; height: 17px; }

/* ---------- Type helpers ---------- */

.eyebrow {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 12px;
}
.display {
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.display em, h2 em {
    font-style: italic;
    font-weight: 900;
    color: var(--green-600);
}
.lead { font-size: 1.18rem; color: var(--text); max-width: 38em; }
.section-intro { max-width: 46em; color: var(--text); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--green-700); }
.text-link:hover { gap: 9px; }
.text-link, .btn { transition: all .18s ease; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    font: 700 1rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-lg { min-height: 62px; padding: 14px 32px; font-size: 1.08rem; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px -10px rgba(15, 107, 50, .8); }
.btn-primary:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--green-700); border-color: #cfe3d5; }
.btn-outline:hover { border-color: var(--green-600); color: var(--green-800); }
.btn-yellow { background: var(--yellow); color: var(--green-900); }
.btn-yellow:hover { background: #ffcd3c; color: var(--green-900); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 28px; }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    /* solid background, no backdrop-filter: it would trap the fixed mobile menu inside the header */
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font: italic 900 2.15rem/1 var(--font-head);
    color: var(--green-600);
    letter-spacing: -.02em;
}
.brand-sub {
    font: italic 800 1.28rem/1 var(--font-head);
    color: var(--yellow);
    letter-spacing: .04em;
    margin: 3px 0 0 6px;
}
.logo-mark { width: 64px; height: 64px; filter: drop-shadow(0 4px 8px rgba(14, 77, 38, .18)); }
.brand-sm .brand-name { font-size: 1.7rem; }
.brand-sm .brand-sub { font-size: 1rem; }
.brand-sm .logo-mark { width: 46px; height: 46px; }

/* sun rises over the fields on the first visit only (class added by site.js) */
.logo-sun { transform-box: fill-box; transform-origin: center; }
.first-visit .logo-mark.rise .logo-sun { animation: sun-rise 1.8s cubic-bezier(.2, .7, .2, 1) .3s both; }
@keyframes sun-rise {
    from { transform: translateY(22px); fill: #f7c86b; }
    to { transform: translateY(0); fill: #fbbf17; }
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    background: none;
    font: 700 1.02rem/1 var(--font-body);
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 3px;
    border-radius: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--green-700); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.has-dropdown { position: relative; }
.dropdown-toggle .icon { transition: transform .2s; }
.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 560px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: all .18s ease;
}
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .dropdown-toggle .icon, .has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
.dropdown-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--text); }
.dropdown-item:hover { background: var(--mint); color: var(--text); }
.dropdown-item strong { display: block; color: var(--green-800); font-size: .98rem; }
.dropdown-item small { display: block; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.dropdown-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--green-900); flex-shrink: 0; }
.dropdown-icon .icon { width: 19px; height: 19px; }
.dropdown-all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 12px; border-radius: 12px; background: var(--sky-50); font-weight: 700; text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font: 700 1.08rem/1 var(--font-body); color: var(--green-800); text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.phone-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow-soft); color: var(--green-700); }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sky-100); color: var(--green-900); cursor: pointer; place-items: center; }
.menu-close { display: none; }
.nav-mobile-cta { display: none; }

/* ---------- Heroes ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(64, 196, 240, .16), transparent 70%),
        linear-gradient(180deg, var(--sky-50) 0%, #ffffff 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 48px;
    padding-top: 80px;
    padding-bottom: 150px;
}
.hero-grid-single { grid-template-columns: 1fr; max-width: var(--container); }
.hero-grid-single .hero-copy { max-width: 820px; }
.hero-page .hero-grid { padding-top: 64px; padding-bottom: 130px; }
.hero-page .display { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }

.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.hero-circle {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 14px;
    background: #fff;
    box-shadow: 0 0 0 2px var(--sky), var(--shadow-lg);
}
.hero-circle .photo { width: 100%; height: 100%; border-radius: 50%; }
.hero-sun {
    position: absolute;
    top: 10%;
    right: 3%;
    width: 22%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--yellow);
    clip-path: inset(0 0 0 0 round 50%);
    z-index: -1;
    transform: translate(30%, -10%);
}
.hero-badge-icon {
    position: absolute;
    left: 2%;
    bottom: 14%;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--green-900);
    border: 5px solid #fff;
    box-shadow: var(--shadow);
}
.hero-badge-icon .icon { width: 38px; height: 38px; }

.since-card {
    position: absolute;
    left: -6%;
    bottom: 6%;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
}
.since-card strong { display: block; font: italic 900 1.9rem/1 var(--font-head); color: var(--green-600); }
.since-card span { font-weight: 700; color: var(--text); font-size: .95rem; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green-900); }
.tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-600); color: #fff; flex-shrink: 0; }
.tick .icon { width: 15px; height: 15px; stroke-width: 3; }

.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; margin-bottom: 18px; }
.template-note { display: inline-block; background: var(--yellow-soft); border: 1px solid #f5dd94; color: var(--green-900); font-weight: 700; font-size: .88rem; padding: 8px 14px; border-radius: 8px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 18px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Photos (background images fall back to a brand gradient until real photos are added) ---------- */

.photo {
    /* Until a photo is added: the logo's sun rising over rolling fields, so a gap never looks like a product shot. */
    background:
        var(--img, none) center / cover no-repeat,
        radial-gradient(120% 60% at 30% 100%, #16a34a 49.5%, transparent 50%),
        radial-gradient(110% 55% at 80% 100%, #2fb35a 49.5%, transparent 50%),
        radial-gradient(130% 62% at 50% 100%, #65bf6a 49.5%, transparent 50%),
        radial-gradient(circle at 50% 62%, #fbbf17 17%, rgba(251, 191, 23, .25) 18%, transparent 30%),
        linear-gradient(180deg, #8fd8f5, #d8f1fb 70%);
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-sky { background: linear-gradient(180deg, var(--sky-50), #f7fcff); }
.section-cream { background: var(--cream-50); }
.section-mint { background: var(--mint); }
.section-dark { background: var(--green-800); color: #dbe9df; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--yellow); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-head-stack { margin-bottom: 40px; }
.section-head-stack h2 { margin-bottom: 8px; }

/* ---------- Service cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.service-card .photo { aspect-ratio: 16 / 10; }
.service-card-body { position: relative; padding: 34px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card-icon {
    position: absolute;
    top: -26px;
    left: 20px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--yellow);
    border: 4px solid #fff;
    color: var(--green-900);
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: .95rem; flex: 1; }
.service-card .text-link { margin-top: 8px; }

/* ---------- How solar works ---------- */

.how {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--green-800);
}
.how-scene { position: relative; background: linear-gradient(180deg, #cdeefb, #eef9fd 60%); min-height: 460px; }
.how-scene svg { width: 100%; height: 100%; }
.how-scene .hl { transition: opacity .4s ease, filter .4s ease; opacity: .35; }
.how-scene .hl.is-on { opacity: 1; }
.how-scene .flow { stroke-dasharray: 4 7; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.how-scene .sun-rays { transform-origin: 140px 110px; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.how-panel { padding: 40px 32px; color: #dbe9df; display: flex; flex-direction: column; }
.how-panel .eyebrow { color: var(--yellow); }
.how-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.how-step {
    width: 100%;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: start;
    text-align: left;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    cursor: pointer;
    font: inherit;
}
.how-step:hover { background: rgba(255, 255, 255, .09); }
.how-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); font-weight: 800; }
.how-title { font: italic 800 1.08rem/1.3 var(--font-head); padding-top: 5px; display: block; }
.how-desc { display: none; grid-column: 2; font-size: .95rem; color: #dbe9df; margin-top: 4px; }
.how-step.is-active { border-color: var(--yellow); background: rgba(255, 255, 255, .08); }
.how-step.is-active .how-num { background: var(--yellow); border-color: var(--yellow); color: var(--green-900); }
.how-step.is-active .how-title { color: var(--yellow); }
.how-step.is-active .how-desc { display: block; }
.how-controls { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.round-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; cursor: pointer; }
.round-btn:hover { background: rgba(255, 255, 255, .1); }
.how-count { margin-left: auto; font-size: .95rem; color: #b9cfc0; }

/* ---------- Reviews ---------- */

.rating-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; }
.rating-pill strong { font: italic 900 1.7rem/1 var(--font-head); color: var(--green-800); }
.rating-pill span { font-weight: 700; color: var(--muted); font-size: .95rem; }
.g-mark { width: 24px; height: 24px; }
.stars { display: inline-flex; gap: 3px; color: var(--yellow); }
.stars .icon { width: 20px; height: 20px; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.review-card blockquote { margin: 16px 0 24px; flex: 1; color: var(--ink); }
.review-card footer { border-top: 1px solid var(--line); padding-top: 18px; }
.review-card cite { display: block; font-style: normal; font-weight: 800; color: var(--green-800); font-size: 1.05rem; }
.review-meta { display: flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--muted); }
.review-meta .g-mark { width: 16px; height: 16px; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }

/* ---------- Accreditations ---------- */

.accreditations { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 32px 48px; }
.accred { display: flex; align-items: center; gap: 10px; color: #222; font-family: Arial, sans-serif; filter: grayscale(.1); }
.accred-mcs { width: 78px; height: 78px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; text-align: center; font: 300 1.4rem/1 Arial, sans-serif; letter-spacing: .1em; }
.accred-mcs small { display: block; font-size: .42rem; letter-spacing: .2em; margin-top: 2px; }
.accred-recc { font: 400 2.2rem/1 Arial, sans-serif; color: #1f4f8f; letter-spacing: .02em; }
.accred-recc small { display: block; font-size: .5rem; letter-spacing: .06em; color: #1f4f8f; }
.accred-recc b { color: #45a5d8; font-weight: 400; }
.accred-niceic { font: 900 1.9rem/1 Arial Black, Arial, sans-serif; color: #c4161c; letter-spacing: -.02em; }
.accred-tesla { gap: 14px; }
.accred-tesla .t-box { width: 38px; height: 38px; display: grid; place-items: center; background: #111; color: #fff; font: 700 1.3rem/1 Arial, sans-serif; border-radius: 3px; }
.accred-tesla span { font: 400 1.1rem/1.15 Arial, sans-serif; }
.accred-tesla span b { display: block; font-weight: 700; }
.accred-iwa { flex-direction: column; gap: 4px; }
.accred-iwa .iwa-box { background: #1a73b8; color: #fff; font: 400 1.9rem/1 Arial, sans-serif; padding: 6px 16px; border-radius: 4px; }
.accred-iwa small { font: 700 .62rem/1 Arial, sans-serif; color: #1a4f8a; letter-spacing: .04em; }

/* ---------- Feature list / split blocks ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .photo { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick { margin-top: 2px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--yellow-soft); color: var(--green-700); margin-bottom: 18px; }
.feature p { margin: 0; font-size: .97rem; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.split .stat-row { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.stat { text-align: center; }
.stat strong { display: block; font: italic 900 clamp(2rem, 4vw, 3rem)/1 var(--font-head); color: var(--yellow); margin-bottom: 8px; }
.stat span { color: #dbe9df; font-weight: 600; }

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 56px;
    background: linear-gradient(120deg, var(--green-800), var(--green-700));
    color: #dbe9df;
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 32px;
    align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; }
.cta-band::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: .9;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .btn-row { margin: 0; }

/* ---------- Prices ---------- */

.bundle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.bundle-picker { padding: 40px; }
.bundle-picker h3 { font-size: 1.35rem; }
.picker-label { font-weight: 700; color: var(--green-900); margin: 22px 0 10px; font-size: .95rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    min-width: 50px;
    height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: #fff;
    font: 700 1rem/1 var(--font-body);
    color: var(--green-900);
    cursor: pointer;
}
.chip-round { width: 50px; padding: 0; }
.chip:hover { border-color: var(--green-500); }
.chip.is-selected { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.price-box { margin: 26px 0 22px; padding: 22px 24px; border-radius: var(--radius); background: var(--yellow-soft); }
.price-box .price-label { font-weight: 700; color: var(--green-900); font-size: .95rem; }
.price-box .price { display: block; font: italic 900 3rem/1.1 var(--font-head); color: var(--green-800); margin: 4px 0; }
.price-box small { color: var(--text); }
.bundle-includes { background: var(--green-800); padding: 40px; color: #e6f0e9; }
.bundle-includes h3 { color: var(--yellow); font-family: var(--font-body); font-size: 1.1rem; }
.bundle-includes .tick { background: rgba(255, 255, 255, .14); color: var(--yellow); width: 22px; height: 22px; }
.bundle-includes .tick .icon { width: 13px; height: 13px; }
.small-print { font-size: .88rem; color: var(--muted); margin-top: 18px; }

.size-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.size-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 2px solid var(--line);
    background: #fff;
    font: 700 1rem/1.2 var(--font-body);
    color: var(--green-900);
    cursor: pointer;
    text-align: left;
}
.size-tab .size-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky-100); color: var(--teal); flex-shrink: 0; }
.size-tab .size-icon .icon { width: 18px; height: 18px; }
.size-tab.is-selected { background: var(--yellow-soft); border-color: var(--green-700); }
.size-tab.is-selected .size-icon { background: var(--yellow); color: var(--green-900); }
.size-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px 32px; border-radius: var(--radius); background: var(--green-800); }
.size-result small { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #cfe0d4; font-weight: 700; margin-bottom: 6px; }
.size-result strong { font: italic 900 1.7rem/1.2 var(--font-head); color: var(--yellow); }

/* ---------- Timeline (About) ---------- */

.timeline-wrap { text-align: center; }
.timeline-years { display: inline-flex; align-items: center; gap: 18px; font: italic 900 1.9rem/1 var(--font-head); color: var(--yellow); }
.timeline-years span { display: block; width: 110px; height: 3px; background: var(--yellow); border-radius: 2px; }
.timeline { position: relative; max-width: 1040px; margin: 56px auto 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: linear-gradient(var(--yellow), var(--yellow) 75%, var(--green-400)); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 72px; }
.tl-item::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 5px solid var(--green-800); box-shadow: 0 0 0 2px var(--yellow); transform: translate(-50%, -50%); }
.tl-item.is-today::after { background: var(--yellow); box-shadow: 0 0 0 2px var(--green-400); }
.tl-text { text-align: right; }
.tl-item.flip .tl-text { order: 2; text-align: left; }
.tl-item.flip .tl-media { order: 1; }
.tl-year { display: block; font: italic 900 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-head); color: var(--yellow); margin-bottom: 10px; }
.tl-text h3 { color: #fff; font-size: 1.4rem; }
.tl-text p { color: #cfe0d4; font-size: .98rem; }
.tl-media .photo { aspect-ratio: 1.1; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.tl-media .photo.sepia { filter: grayscale(1) sepia(.15) contrast(1.05); }
.est-card { aspect-ratio: 1.1; border-radius: var(--radius-lg); background: linear-gradient(140deg, #f6ecd3, #dcc595); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.est-seal { width: 62%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #6b4a2b; display: grid; place-items: center; text-align: center; color: #4a321c; }
.est-seal small { display: block; font: 700 1rem/1 var(--font-head); letter-spacing: .2em; }
.est-seal strong { display: block; font: italic 900 3.4rem/1 var(--font-head); }
.est-seal em { display: block; font: 700 .8rem/1 var(--font-body); letter-spacing: .18em; font-style: normal; text-transform: uppercase; }
.next-chapter { position: relative; max-width: 720px; margin: 40px auto 0; padding: 64px 40px 40px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(251, 191, 23, .4); text-align: center; }
.next-chapter .logo-mark { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 0 0 4px var(--green-800), 0 0 0 6px var(--yellow); }
.next-chapter .accent { font: italic 900 1.6rem/1.2 var(--font-head); color: var(--yellow); margin-bottom: 4px; }
.next-chapter h3 { color: #fff; font-size: 1.6rem; }
.next-chapter p { color: #cfe0d4; margin: 0; }

.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.family-card { border-radius: var(--radius); padding: 30px; background: #fff; border: 1px solid var(--line); }
.family-card .since { font: italic 800 1rem/1 var(--font-head); color: var(--green-600); }

/* ---------- Advice ---------- */

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.article-card .photo { aspect-ratio: 16 / 10; }
.article-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-meta { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.article-card h3 { font-size: 1.3rem; }
.article-card p { font-size: .95rem; flex: 1; }

.prose { max-width: 760px; font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.article-hero-photo { aspect-ratio: 21 / 9; border-radius: var(--radius-lg); margin-bottom: 48px; box-shadow: var(--shadow); }

/* ---------- Careers ---------- */

.vacancy-list { display: grid; gap: 16px; }
.vacancy-row { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding: 26px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); }
.vacancy-row:hover { border-color: var(--green-500); box-shadow: var(--shadow); color: var(--text); }
.vacancy-row h3 { margin: 0 0 6px; font-size: 1.35rem; }
.vacancy-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--green-800); }

.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.with-sidebar .prose h2:first-child { margin-top: 0; }
.with-sidebar .prose h2 { font-style: italic; color: var(--teal); font-size: 1.4rem; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.side-card h3 { margin-bottom: 16px; }
.side-card dl { margin: 0 0 22px; }
.side-card dt { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.side-card dd { margin: 2px 0 14px; font-weight: 700; color: var(--green-800); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form-card { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; color: var(--green-900); font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
    font: inherit;
    font-size: 1rem;
    padding: 13px 16px;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    width: 100%;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(47, 179, 90, .15); }
.field-error { color: #b42318; font-size: .85rem; font-weight: 700; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.form-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green-700); }
.form-actions { margin-top: 24px; }
.form-alert { padding: 18px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: 700; }
.form-alert-success { background: var(--mint); color: var(--green-800); border: 1px solid #bfe0c8; }
.form-alert-error { background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bc; }
.hp-field { position: absolute; left: -9999px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .feature-icon { width: 46px; height: 46px; margin: 0; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--green-800); }
.map-card { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-card iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Footer ---------- */

.site-footer { position: relative; background: var(--mint); margin-top: 0; padding-bottom: 24px; font-size: .95rem; }
.footer-wave { display: block; width: 100%; height: 120px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-brand p { margin-top: 14px; color: var(--text); max-width: 22em; }
.footer-heading { font: 800 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); margin-bottom: 16px; }
.footer-heading-gap { margin-top: 28px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: var(--ink); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--green-600); text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.footer-contact .icon { margin-top: 4px; color: var(--green-800); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid #cfe3d5; font-size: .85rem; color: var(--muted); }
.footer-base p { margin: 0; }
.footer-base a { color: var(--muted); }

/* ---------- Floating chat + mobile bar ---------- */

.chat-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 10px;
    border-radius: 999px;
    background: var(--green-700);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
}
.chat-fab:hover { background: var(--green-800); color: #fff; }
.chat-fab-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--green-900); }
.mobile-bar { display: none; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px) {
    .header-phone { display: none; }
    .nav-link { padding: 10px 10px; }
}

@media (max-width: 1100px) {
    :root { --header-h: 76px; }
    body { padding-bottom: 76px; }

    .brand-name { font-size: 1.75rem; }
    .brand-sub { font-size: 1.05rem; }
    .logo-mark { width: 52px; height: 52px; }

    .menu-toggle { display: grid; }
    .header-actions { display: none; }
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: flex-start;
        padding: 16px 24px 120px;
        background: #fff;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .25s ease, visibility 0s .25s;
    }
    .nav-open { overflow: hidden; }
    .nav-open .main-nav { transform: none; visibility: visible; transition: transform .25s ease; }
    .nav-open .menu-open { display: none; }
    .nav-open .menu-close { display: block; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li { border-bottom: 1px solid var(--line); }
    .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.15rem; }
    .nav-link::after { display: none; }
    .dropdown { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px; grid-template-columns: 1fr; display: none; }
    .has-dropdown:hover .dropdown { transform: none; }
    .has-dropdown.is-open .dropdown { display: grid; transform: none; }
    .dropdown::before { display: none; }
    .nav-mobile-cta { display: grid; gap: 12px; margin-top: 24px; }

    .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 120px; }
    .hero-visual { max-width: 420px; }
    .since-card { left: 0; }

    .card-grid, .review-grid, .article-grid, .feature-grid, .family-grid { grid-template-columns: 1fr 1fr; }
    .how { grid-template-columns: 1fr; }
    .how-scene { min-height: 0; aspect-ratio: 4 / 3; }
    .split, .contact-grid, .with-sidebar, .bundle { grid-template-columns: 1fr; gap: 40px; }
    .bundle { gap: 0; }
    .side-card { position: static; }
    .size-tabs { grid-template-columns: 1fr 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr; gap: 32px; }
    .cta-band { grid-template-columns: 1fr; padding: 40px 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .timeline::before { left: 18px; }
    .tl-item, .tl-item.flip { grid-template-columns: 1fr; gap: 24px; padding-left: 56px; margin-bottom: 56px; }
    .tl-item::after { left: 19px; top: 30px; }
    .tl-text, .tl-item.flip .tl-text { order: 1; text-align: left; }
    .tl-item.flip .tl-media { order: 2; }

    .chat-fab { bottom: 92px; right: 16px; padding: 10px; }
    .chat-fab-label { display: none; }
    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid var(--line);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; }
    .mobile-bar-call { padding: 0 24px; background: var(--yellow-soft); color: var(--green-900); }
    .mobile-bar-book { background: var(--green-700); color: #fff; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .brand-name { font-size: 1.6rem; }
    .brand-sub { font-size: .95rem; }
    .logo-mark { width: 46px; height: 46px; }
    .display { font-size: 2.3rem; }
    .hero-page .display { font-size: 2.2rem; }
    .btn-row { flex-direction: column; align-items: flex-start; }
    .btn-lg { min-height: 56px; padding: 12px 26px; }
    .ticks { flex-direction: column; }
    .card-grid, .review-grid, .article-grid, .feature-grid, .family-grid, .footer-grid, .size-tabs, .form-grid { grid-template-columns: 1fr; }
    .size-result { grid-template-columns: 1fr; gap: 16px; }
    .bundle-picker, .bundle-includes, .form-card { padding: 28px 22px; }
    .price-box .price { font-size: 2.4rem; }
    .how-panel { padding: 28px 20px; }
    .vacancy-row { grid-template-columns: 1fr; }
    .hero-wave { height: 60px; }
    .footer-wave { height: 80px; }
    .cta-band::after { width: 140px; height: 140px; right: -50px; top: -50px; }
}
