:root {

    --ink: #161A16;

    --ink-2: #22281F;
    --forest: #4C7A22;

    --leaf: #8DC63F;

    --leaf-hover: #7DB232;
    --mint: #EEF6E0;

    --sun: #8DC63F;

    --sun-soft: #F4F9EA;
    --sky: #DCE6CF;
    --clay: #CFE5A8;
    --ground: #F6F7F3;
    --white: #FFFFFF;
    --line: #E2E5DE;
    --line-dark: #2E352C;
    --input-line: #D3D8CE;
    --text-2: #4A5047;
    --text-3: #5A6058;
    --on-dark: #CFD6CC;
    --on-dark-2: #9AA596;
    --danger: #B42318;
    --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --container: 1600px;
    --gutter: clamp(20px, 4vw, 32px);
    --section-y: clamp(80px, 9vw, 128px);
    --r-sm: 14px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 36px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 2px 6px rgba(22, 26, 22, 0.04), 0 10px 30px -10px rgba(22, 26, 22, 0.12);
    --shadow-lg: 0 30px 70px -25px rgba(22, 26, 22, 0.35);
    --header-h: 100px;
}

/* ---------- Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--ground);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--forest);
}

h1, h2, h3, p, figure, blockquote {
    margin: 0;
}

h1, h2, h3 {
    font-family: var(--display);
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button, input, textarea {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--sun);
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid var(--leaf);
    outline-offset: 3px;
    border-radius: 8px;
}

button:focus {
    outline: none;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -64px;
    z-index: 300;
    background: var(--ink);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: var(--white);
}

.break {
    word-break: break-all;
}

.hide-sm {
    display: inline-flex;
}

@media (max-width: 640px) {
    .hide-sm {
        display: none !important;
    }
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: var(--section-y);
}

.section--white {
    background: var(--white);
}

.section--top-line {
    border-top: 1px solid var(--line);
}

.section--grey {
    background: var(--ground);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid--services {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.grid--reviews {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ---------- Type ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
    background: var(--mint);
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
}

.eyebrow i {
    font-size: 12px;
}

.eyebrow--leaf {
    background: rgba(141, 198, 63, 0.14);
    color: var(--leaf);
}

.h2 {
    font-weight: 800;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.h2--xl {
    font-size: clamp(36px, 4.8vw, 62px);
}

.lead {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-2);
}

.lead--dark {
    color: var(--on-dark);
}

.lead--ink {
    color: #2E332C;
}

.text-sun {
    color: var(--sun);
}

.fineprint {
    font-size: 13px;
    line-height: 1.5;
    color: var(--on-dark-2);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head__copy {
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* fill sweep on hover */
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform 0.45s var(--ease);
}

.btn:hover::before {
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn i {
    font-size: 0.9em;
    transition: transform 0.3s var(--ease);
}

.btn:hover .fa-arrow-right {
    transform: translateX(4px);
}

.btn--lg {
    min-height: 58px;
    padding: 18px 28px;
    font-size: 17px;
}

.btn--sm {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 15px;
}

.btn--block {
    width: 100%;
}

.btn--ink {
    background: var(--ink);
    color: var(--white);
}

.btn--ink::before {
    background: var(--forest);
}

.btn--ink:hover {
    color: var(--white);
    box-shadow: 0 14px 30px -12px rgba(22, 26, 22, 0.6);
}

.btn--leaf {
    background: var(--leaf);
    color: var(--ink);
}

.btn--leaf::before {
    background: var(--ink);
}

.btn--leaf:hover {
    color: var(--white);
}

.btn--sun {
    background: var(--sun);
    color: var(--ink);
    font-weight: 800;
}

.btn--sun::before {
    background: var(--white);
}

.btn--sun:hover {
    color: var(--ink);
    box-shadow: 0 14px 30px -12px rgba(141, 198, 63, 0.6);
}

.btn--white {
    background: var(--white);
    color: var(--ink);
}

.btn--white::before {
    background: var(--mint);
}

.btn--white:hover {
    color: var(--ink);
}

.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn--outline::before {
    background: var(--ink);
}

.btn--outline:hover {
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: #4A5347;
}

.btn--ghost::before {
    background: var(--white);
}

.btn--ghost:hover {
    color: var(--ink);
    border-color: var(--white);
}

.btn[disabled] {
    opacity: 0.65;
    cursor: progress;
    transform: none;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.link-underline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 700;
    text-decoration: none;
    padding-bottom: 6px;
    background: linear-gradient(var(--leaf), var(--leaf)) left bottom / 100% 2px no-repeat;
    transition: background-size 0.4s var(--ease);
}

.link-underline:hover {
    color: var(--ink);
    background-size: 30% 2px;
}

.link-underline i {
    font-size: 0.85em;
    transition: transform 0.3s var(--ease);
}

.link-underline:hover i {
    transform: translateX(4px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--forest);
    font-weight: 700;
    text-decoration: none;
}

.text-link i {
    transition: transform 0.3s var(--ease);
    font-size: 0.85em;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 200;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--forest), var(--leaf));
    transform-origin: left;
    transform: scaleX(var(--progress, 0));
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--ink);
    color: var(--mint);
    font-size: 14px;
}

.topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 10px;
}

.topbar__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.topbar__group > * {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mint);
    text-decoration: none;
}

.topbar__group i {
    color: var(--leaf);
    font-size: 13px;
}

.topbar__group .fa-star {
    color: var(--sun);
}

.topbar__group a:hover {
    color: var(--white);
}

.topbar .topbar__phone {
    color: var(--sun);
    font-weight: 600;
}

.topbar .topbar__phone i {
    color: var(--sun);
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 10px 30px -18px rgba(22, 26, 22, 0.25);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
    transition: min-height 0.3s var(--ease);
}

.header.is-scrolled .header__inner {
    min-height: 68px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__img {
    height: 100px;
    width: auto;
    transition: height 0.3s var(--ease);
    padding: 10px;
}

.header.is-scrolled .logo__img {
    height: 80px;
}

.wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 0.95;
    font-family: var(--display);
    font-weight: 500;
    font-size: 26px;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.wordmark__leaf {
    color: var(--leaf);
    font-size: 22px;
    margin: 0 0 2px 118px;
    transform: rotate(-12deg);
}

.wordmark__top {
    color: var(--white);
}

.wordmark__top span {
    color: var(--leaf);
}

.wordmark__bottom {
    color: var(--on-dark);
    letter-spacing: 0.06em;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.logo:hover {
    color: var(--ink);
}

.logo__mark {
    position: relative;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 13px;
    background: var(--ink);
    overflow: hidden;
}

.logo__sun {
    position: absolute;
    left: 8px;
    top: 7px;
    font-size: 17px;
    color: var(--sun);
    transition: transform 0.6s var(--ease);
}

.logo__leaf {
    position: absolute;
    right: 7px;
    bottom: 7px;
    font-size: 18px;
    color: var(--leaf);
}

.logo:hover .logo__sun {
    transform: rotate(90deg);
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo__name {
    font-family: var(--display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.logo__sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--forest);
    margin-top: 4px;
}

.logo--light {
    color: var(--white);
}

.logo--light:hover {
    color: var(--white);
}

.logo--light .logo__mark {
    background: var(--ink-2);
}

.logo--light .logo__sub {
    color: var(--leaf);
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: var(--ground);
    border: 1px solid var(--line);
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 9px 16px;
    border-radius: 999px;
    transition: background-color 0.25s, color 0.25s;
}

.nav a:hover, .nav a.is-active {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(22, 26, 22, 0.08);
    color: var(--ink);
}

.menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-btn__bars {
    position: relative;
    width: 20px;
    height: 14px;
}

.menu-btn__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.35s var(--ease), opacity 0.2s, top 0.35s var(--ease);
}

.menu-btn__bars span:nth-child(1) {
    top: 0;
}

.menu-btn__bars span:nth-child(2) {
    top: 6px;
}

.menu-btn__bars span:nth-child(3) {
    top: 12px;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) {
    opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease);
    background: var(--white);
}

.mobile-nav > div {
    overflow: hidden;
}

.mobile-nav.is-open {
    grid-template-rows: 1fr;
    border-top: 1px solid var(--line);
}

.mobile-nav__inner {
    display: flex;
    flex-direction: column;
    padding-block: 0;
    visibility: hidden;
    transition: visibility 0s 0.45s, padding 0.45s var(--ease);
}

.mobile-nav.is-open .mobile-nav__inner {
    visibility: visible;
    padding-block: 8px 24px;
    transition: visibility 0s, padding 0.45s var(--ease);
}

.mobile-nav a:not(.btn) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-nav.is-open a:not(.btn) {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i) * 0.05s + 0.1s);
}

.mobile-nav a:not(.btn) i {
    font-size: 14px;
    color: var(--leaf);
}

.mobile-nav .btn {
    margin-top: 20px;
}

@media (max-width: 1000px) {
    .nav {
        display: none;
    }
    .menu-btn {
        display: inline-flex;
    }
}

@media (min-width: 1001px) {
    .mobile-nav {
        display: none;
    }
}

@media (max-width: 420px) {
    .header__actions .btn span {
        display: none;
    }
    .header__actions .btn {
        padding-inline: 16px;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--line) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
    opacity: 0.7;
}

.hero__glow {
    position: absolute;
    width: 640px;
    height: 640px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 198, 63, 0.35), rgba(141, 198, 63, 0) 65%);
    animation: glow 9s ease-in-out infinite alternate;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
}

.hero__copy {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero__title {
    font-weight: 800;
    font-size: clamp(44px, 6.6vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero__accent {
    color: var(--forest);
}

.word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.word > span {
    display: inline-block;
}

.hero__lead {
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.6;
    color: var(--text-2);
    max-width: 540px;
}

.pill-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mint);
    color: var(--forest);
    font-weight: 600;
    font-size: 14px;
    padding: 7px 16px 7px 7px;
    border-radius: 999px;
}

.pill-badge__tag {
    position: relative;
    background: var(--forest);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.pill-badge__tag::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid var(--leaf);
    animation: ping 2.2s var(--ease) infinite;
}

.ticks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 15px;
    font-weight: 500;
    color: #2E332C;
}

.ticks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticks i {
    color: var(--leaf);
}

.hero__media {
    position: relative;
}

.hero__frame {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 7 / 6;
    background: var(--mint);
    box-shadow: var(--shadow-lg);
}

.hero__frame img {
    width: 100%;
    height: 115%;
    object-fit: cover;
    transform: translateY(var(--parallax, 0px));
    will-change: transform;
}

.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    border-radius: var(--r-md);
    box-shadow: 0 20px 45px -15px rgba(22, 26, 22, 0.35);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.float-card strong {
    display: block;
    font-family: var(--display);
    font-size: 16px;
}

.float-card--light {
    left: -28px;
    bottom: 36px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 16px 18px;
    gap: 12px;
    align-items: center;
    max-width: 260px;
    color: var(--ink);
    animation: bob 6s ease-in-out infinite;
}

.float-card__icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    background: var(--sun);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--ink);
}

.float-card__icon i {
    animation: spin 14s linear infinite;
}

.float-card--dark {
    right: -16px;
    top: 28px;
    background: var(--ink);
    color: var(--white);
    padding: 14px 18px;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    animation: bob 7s ease-in-out -2s infinite;
}

.float-card--dark:hover {
    color: var(--white);
}

.float-card--chip {
    right: 28px;
    bottom: -18px;
    background: var(--leaf);
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    gap: 8px;
    align-items: center;
    animation: bob 5.5s ease-in-out -1s infinite;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--sun);
    font-size: 13px;
}

@media (max-width: 920px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }
    .float-card--light {
        left: 12px;
        bottom: 16px;
    }
    .float-card--dark {
        right: 12px;
        top: 12px;
    }
    .float-card--chip {
        right: 16px;
        bottom: -16px;
    }
}

/* ---------- Marquee ---------- */
.marquee {
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
    padding-block: 22px;
    border-block: 1px solid var(--ink);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__list {
    display: flex;
    flex: none;
}

.marquee__list li {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-inline: 28px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.marquee__list li::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sun);
    margin-left: 44px;
}

.marquee__list i {
    color: var(--leaf);
}

/* ---------- Service cards ---------- */
.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card__media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--mint);
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.service-card:hover .service-card__media img {
    transform: scale(1.08);
}

.service-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.service-card__body h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.service-card__body p {
    color: var(--text-2);
    line-height: 1.6;
    flex: 1;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    margin-top: -56px;
    border-radius: 16px;
    border: 4px solid var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--ink);
    position: relative;
    transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card__icon {
    transform: translateY(-6px) rotate(-6deg);
}

.service-card__icon--sun {
    background: var(--sun);
}

.service-card__icon--leaf {
    background: var(--leaf);
}

.service-card__icon--sky {
    background: var(--sky);
}

.service-card__icon--clay {
    background: var(--clay);
}

.service-card:hover .text-link i {
    transform: translateX(5px);
}

.stretched::after {
    content: "";
    position: absolute;
    inset: 0;
}

/* ---------- Grants ---------- */
.grants {
    position: relative;
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
}

.grants__orb {
    position: absolute;
    width: 560px;
    height: 560px;
    right: -180px;
    top: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 198, 63, 0.18), transparent 65%);
    animation: glow 10s ease-in-out infinite alternate;
}

.grants::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    pointer-events: none;
}

.grants__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.grants__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.grant-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.grant-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-dark);
    border-radius: 22px;
    padding: 26px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    transition: transform 0.4s var(--ease), border-color 0.4s;
}

.grant-card:hover {
    transform: translateX(-6px);
    border-color: var(--leaf);
}

.grant-card__amount {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(42px, 4.4vw, 54px);
    letter-spacing: -0.04em;
    line-height: 1;
    min-width: 5.2ch;
    font-variant-numeric: tabular-nums;
}

.grant-card__text {
    flex: 1 1 200px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--on-dark);
}

.grant-card--featured {
    background: var(--sun);
    border-color: var(--sun);
    color: var(--ink);
}

.grant-card--featured:hover {
    border-color: var(--sun);
}

.grant-card--featured .grant-card__text {
    color: var(--ink);
    font-weight: 500;
}

.grant-card--1 .grant-card__amount {
    color: var(--leaf);
}

.grant-card--2 .grant-card__amount {
    color: var(--white);
}

@media (max-width: 920px) {
    .grants__inner {
        grid-template-columns: 1fr;
    }
}

/* ---------- Day / evening ---------- */
.toggle {
    position: relative;
    display: inline-flex;
    padding: 5px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.toggle button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 20px;
    border: 0;
    background: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-2);
    transition: color 0.35s var(--ease);
}

.toggle button[aria-selected="true"] {
    color: var(--ink);
}

.toggle__thumb {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    border-radius: 999px;
    background: var(--sun);
    transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
}

[data-mode="evening"] .toggle__thumb {
    transform: translateX(100%);
    background: var(--sky);
}

[data-mode="evening"] .toggle button[aria-selected="true"] {
    color: var(--ink);
}

.dn {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--sun-soft);
    transition: background-color 0.7s var(--ease);
}

[data-mode="evening"] .dn {
    background: var(--ink);
    color: var(--white);
}

.dn__media {
    position: relative;
    min-height: 440px;
    overflow: hidden;
}

.dn__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s var(--ease), transform 1.4s var(--ease);
}

.dn__img--evening {
    opacity: 0;
    transform: scale(1.08);
}

[data-mode="evening"] .dn__img--day {
    opacity: 0;
    transform: scale(1.08);
}

[data-mode="evening"] .dn__img--evening {
    opacity: 1;
    transform: none;
}

.dn__badge {
    position: absolute;
    left: 20px;
    top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 999px;
}

.dn__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: 0 0 0 0 rgba(141, 198, 63, 0.6);
    animation: pulse 2s infinite;
}

.dn__badge-evening, [data-mode="evening"] .dn__badge-day {
    display: none;
}

[data-mode="evening"] .dn__badge-evening {
    display: inline;
}

.dn__copy {
    padding: clamp(28px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
}

.dn__state {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dn__state h3 {
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dn__state p {
    color: #3F4A33;
    line-height: 1.65;
}

.dn__state--evening {
    display: none;
}

[data-mode="evening"] .dn__state--day {
    display: none;
}

[data-mode="evening"] .dn__state--evening {
    display: flex;
}

[data-mode="evening"] .dn__state p {
    color: var(--on-dark);
}

.dn__state {
    animation: fade-up 0.6s var(--ease) both;
}

.flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
}

.flow__node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.5s var(--ease);
}

.flow__node i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    transition: background-color 0.5s, color 0.5s;
}

.flow__node--sun i {
    background: var(--sun);
}

.flow__node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25px;
    left: calc(50% + 30px);
    right: calc(-50% + 30px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--forest) 0 6px, transparent 6px 12px);
    background-size: 24px 2px;
    opacity: 0.6;
    animation: flow 0.8s linear infinite;
}

[data-mode="evening"] .flow__node--sun, [data-mode="evening"] .flow__node--grid {
    opacity: 0.3;
}

[data-mode="evening"] .flow__node--sun::after, [data-mode="evening"] .flow__node--battery::after {
    animation: none;
    opacity: 0.15;
}

[data-mode="evening"] .flow__node--home::after {
    animation-direction: reverse;
    background-image: repeating-linear-gradient(90deg, var(--sun) 0 6px, transparent 6px 12px);
    opacity: 0.9;
}

[data-mode="evening"] .flow__node i {
    background: var(--ink-2);
    color: var(--white);
    box-shadow: none;
}

[data-mode="evening"] .flow__node--battery i {
    background: var(--leaf);
    color: var(--ink);
}

[data-mode="evening"] .flow__node--home i {
    background: var(--sun);
    color: var(--ink);
}

.dn__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(22, 26, 22, 0.12);
}

.dn__cta p {
    font-weight: 500;
    flex: 1 1 220px;
}

[data-mode="evening"] .dn__cta {
    border-color: var(--line-dark);
}

[data-mode="evening"] .dn__cta .btn--ink {
    background: var(--sun);
    color: var(--ink);
}

@media (max-width: 920px) {
    .dn {
        grid-template-columns: 1fr;
    }
    .dn__media {
        min-height: 300px;
    }
}

/* ---------- Process ---------- */
.steps-wrap {
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

.steps__line {
    position: absolute;
    left: 28px;
    right: 28px;
    top: 56px;
    height: 2px;
    background: var(--line);
}

.steps__line span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--forest), var(--leaf));
    transform-origin: left;
    transform: scaleX(var(--line-p, 0));
    transition: transform 0.1s linear;
}

.step {
    position: relative;
    background: var(--white);
    border-radius: 22px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-sm);
}

.step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--white);
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-sm);
}

.step__num {
    font-family: var(--display);
    font-weight: 800;
    font-size: 40px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--forest);
}

.step h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.step p {
    color: var(--text-2);
    line-height: 1.6;
}

.step--dark {
    background: var(--ink);
    color: var(--white);
}

.step--dark p {
    color: var(--on-dark);
}

.step--dark .step__icon {
    background: var(--sun);
    color: var(--ink);
    box-shadow: none;
}

.step--dark .step__num {
    -webkit-text-stroke-color: var(--leaf);
}

@media (max-width: 1000px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .steps__line {
        display: none;
    }
}

@media (max-width: 560px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

/* ---------- Reviews ---------- */
.review {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.review:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.review__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review__mark {
    font-size: 30px;
    color: var(--mint);
}

.review blockquote {
    font-size: 18px;
    line-height: 1.6;
    flex: 1;
}

.review figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.35;
}

.review figcaption strong {
    display: block;
}

.review__meta {
    color: var(--text-3);
    font-size: 14px;
}

.avatar {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 50%;
    background: var(--mint);
    color: var(--forest);
    font-family: var(--display);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.review--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.review--dark .review__mark {
    color: var(--ink-2);
}

.review--dark .review__meta {
    color: var(--on-dark);
}

.review--dark .avatar {
    background: var(--sun);
    color: var(--ink);
}

/* ---------- Gallery mosaic ---------- */
.mosaic {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 110px;
    gap: 18px;
}

.mosaic__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    margin: 0;
    background: var(--mint);
}

.mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.mosaic__item:hover img {
    transform: scale(1.06);
}

.mosaic__item figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: 999px;
    transform: translateY(6px);
    opacity: 0.94;
    transition: transform 0.4s var(--ease);
}

.mosaic__item:hover figcaption {
    transform: none;
}

.mosaic__item--a {
    grid-column: span 7;
    grid-row: span 4;
}

.mosaic__item--b {
    grid-column: span 5;
    grid-row: span 4;
}

.mosaic__item--c, .mosaic__item--d, .mosaic__item--e {
    grid-column: span 4;
    grid-row: span 3;
}

@media (max-width: 860px) {
    .mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 130px;
        gap: 12px;
    }
    .mosaic__item--a, .mosaic__item--e {
        grid-column: span 2;
        grid-row: span 2;
    }
    .mosaic__item--b, .mosaic__item--c, .mosaic__item--d {
        grid-column: span 1;
        grid-row: span 2;
    }
    .mosaic__item--d {
        grid-column: span 2;
    }
}

/* ---------- FAQ ---------- */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.faq-layout__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    position: sticky;
    top: calc(var(--header-h) + 32px);
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq__item.is-open {
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.faq__heading {
    font-size: inherit;
}

.faq__btn {
    width: 100%;
    min-height: 68px;
    padding: 20px 24px;
    background: none;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
}

.faq__icon {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: var(--mint);
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.45s var(--ease), background-color 0.3s, color 0.3s;
}

.faq__item.is-open .faq__icon {
    transform: rotate(135deg);
    background: var(--ink);
    color: var(--white);
}

.faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease);
}

.faq__panel > div {
    overflow: hidden;
}

.faq__item.is-open .faq__panel {
    grid-template-rows: 1fr;
}

.faq__panel p {
    padding: 0 24px 24px;
    color: var(--text-2);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-layout__intro {
        position: static;
    }
}

/* ---------- Quote ---------- */
.quote {
    background: var(--mint);
    position: relative;
    overflow: hidden;
}

.quote__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: clamp(40px, 6vw, 72px);
    align-items: start;
}

.quote__intro {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    border-radius: var(--r-md);
    padding: 16px 18px;
    min-width: 0;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact-card:hover {
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.contact-card > span:nth-child(2) {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.contact-card strong {
    font-family: var(--display);
    font-size: 18px;
}

.contact-card__label {
    display: block;
    font-size: 13px;
    color: var(--text-3);
}

.contact-card__icon {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 13px;
    background: var(--ink);
    color: var(--sun);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-card__arrow {
    color: var(--leaf);
    transition: transform 0.3s var(--ease);
}

.contact-card:hover .contact-card__arrow {
    transform: translateX(4px);
}

/* ---------- Quote form / Contact Form 7 ---------- */
/* Form tab should contain <div class="quote__form"> ... </div>. */

.wpcf7-form br {
    display: none;
}

.quote__form {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: clamp(24px, 4vw, 44px);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

/* Prevent unwanted spacing if CF7/WordPress inserts <p> elements. */
.quote__form > p {
    margin: 0;
}

.quote__form .wpcf7-form-control-wrap {
    display: block;
    min-width: 0;
}

/* Interests / pill-style checkboxes */
.quote__form .chips {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.quote__form .chips legend {
    font-family: var(--display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    padding: 0;
}

.quote__form .chips__row .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.quote__form .chips__row .wpcf7-list-item {
    display: block;
    margin: 0;
}

.quote__form .chips__row .wpcf7-list-item label {
    display: block;
    position: relative;
    cursor: pointer;
}

.quote__form .chips__row input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
}

.quote__form .chips__row .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 46px;
    padding: 10px 18px;
    border: 2px solid var(--input-line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, gap 0.3s var(--ease);
}

/* Recreate the Font Awesome tick without needing custom HTML in CF7 checkboxes. */
.quote__form .chips__row .wpcf7-list-item-label::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--leaf);
    display: inline-block;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width 0.3s var(--ease), opacity 0.2s;
}

.quote__form .chips__row label:hover .wpcf7-list-item-label {
    border-color: var(--ink);
}

.quote__form .chips__row input:checked + .wpcf7-list-item-label {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
    gap: 8px;
}

.quote__form .chips__row input:checked + .wpcf7-list-item-label::before {
    width: 12px;
    opacity: 1;
}

.quote__form .chips__row input:focus-visible + .wpcf7-list-item-label {
    outline: 3px solid var(--leaf);
    outline-offset: 3px;
}

/* Form grid */
.quote__form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.quote__form .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.quote__form .field > label {
    font-size: 14px;
    font-weight: 600;
}

.quote__form .field__wrap {
    display: block;
    position: relative;
    min-width: 0;
}

.quote__form .field__wrap > i {
    position: absolute;
    left: 16px;
    top: 27px;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 1;
}

/* Target text inputs only: CF7 also assigns .wpcf7-form-control to checkboxes. */
.quote__form input.wpcf7-text,
.quote__form input.wpcf7-email,
.quote__form input.wpcf7-tel,
.quote__form textarea.wpcf7-textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1.5px solid var(--input-line);
    border-radius: var(--r-sm);
    background: var(--ground);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.quote__form input.wpcf7-text,
.quote__form input.wpcf7-email,
.quote__form input.wpcf7-tel {
    height: 54px;
    padding: 0 16px 0 42px;
}

.quote__form textarea.wpcf7-textarea {
    min-height: 100px;
    height: 100px;
    padding: 14px 16px;
    resize: vertical;
}

.quote__form input.wpcf7-text:focus,
.quote__form input.wpcf7-email:focus,
.quote__form input.wpcf7-tel:focus,
.quote__form textarea.wpcf7-textarea:focus {
    outline: none;
    border-color: var(--forest);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.2);
}

.quote__form .field__wrap:focus-within > i {
    color: var(--forest);
}

/* CF7 invalid fields and inline errors */
.quote__form .wpcf7-not-valid {
    border-color: var(--danger) !important;
}

.quote__form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--danger);
}

/* CF7 submission button */
.quote__form .btn--block {
    width: 100%;
}

.quote__form button[type="submit"] {
    cursor: pointer;
}

/* CF7 spinner sits outside the button, so keep it tidy. */
.quote__form .wpcf7-spinner {
    display: block;
    margin: -12px auto 0;
}

/* CF7 response messages are outside the .quote__form wrapper. */
.wpcf7:has(.quote__form) .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    border: 1px solid var(--input-line);
    border-radius: 12px;
    background: var(--ground);
    color: var(--ink);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.wpcf7:has(.quote__form).sent .wpcf7-response-output {
    background: var(--mint);
    border-color: var(--leaf);
    color: var(--forest);
}

.wpcf7:has(.quote__form).invalid .wpcf7-response-output,
.wpcf7:has(.quote__form).failed .wpcf7-response-output,
.wpcf7:has(.quote__form).spam .wpcf7-response-output {
    background: #FDECEA;
    border-color: var(--danger);
    color: var(--danger);
}

/* Reassurance note */
.quote__form .form-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    color: var(--text-3);
    text-align: center;
}

/* Retain legacy honeypot styling for other forms, if used. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 920px) {
    .quote__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .quote__form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(var(--mint) 50%, var(--ink) 50%);
    padding-inline: 0;
}

.cta-band__inner {
    position: relative;
    overflow: hidden;
    background: var(--sun);
    border-radius: var(--r-xl);
    padding: clamp(36px, 5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-band__inner h2 {
    position: relative;
    flex: 1 1 420px;
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--ink);
}

.cta-band__inner .btn-row {
    position: relative;
}

.cta-band__ring {
    position: absolute;
    right: 32%;
    top: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 28px solid rgba(255, 255, 255, 0.4);
    animation: drift 12s ease-in-out infinite alternate;
}

.cta-band__ring--2 {
    right: -60px;
    top: auto;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border-width: 2px;
    border-color: rgba(22, 26, 22, 0.15);
    animation-duration: 16s;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: var(--on-dark);
    padding: 80px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 48px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 340px;
}

.footer a img {
    max-width: 150px;
}

.footer__brand p {
    line-height: 1.65;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.footer__col h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.footer__col a {
    color: var(--on-dark);
    text-decoration: none;
    transition: color 0.2s, transform 0.3s var(--ease);
}

.footer__col a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer__col address {
    font-style: normal;
    line-height: 1.65;
}

.footer .footer__phone {
    color: var(--sun);
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.footer__bottom {
    border-top: 1px solid var(--line-dark);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--on-dark-2);
}

@media (max-width: 960px) {
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: none;
    gap: 8px;
    padding: 8px;
    background: rgba(22, 26, 22, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(22, 26, 22, 0.35);
    transform: translateY(160%);
    transition: transform 0.45s var(--ease);
}

.sticky-cta .btn {
    flex: 1;
    min-height: 48px;
    padding: 12px 16px;
}

.sticky-cta.is-visible {
    transform: none;
}

@media (max-width: 720px) {
    .sticky-cta {
        display: flex;
    }
    .footer {
        padding-bottom: 120px;
    }
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes word-up {
    from {
        transform: translateY(105%);
    }
    to {
        transform: none;
    }
}

@keyframes clip-in {
    from {
        clip-path: inset(0 0 100% 0 round var(--r-xl));
        transform: scale(1.04);
    }
    to {
        clip-path: inset(0 0 0 0 round var(--r-xl));
        transform: none;
    }
}

@keyframes pop-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bob {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(-60px, 40px) scale(1.12);
    }
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    80%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(141, 198, 63, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(141, 198, 63, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(141, 198, 63, 0);
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes flow {
    to {
        background-position: 24px 0;
    }
}

@keyframes drift {
    from {
        transform: translate(0, 0) rotate(0deg);
    }
    to {
        transform: translate(-40px, 30px) rotate(20deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: none;
    }
    25% {
        transform: translateX(-4px);
    }
    75% {
        transform: translateX(4px);
    }
}

/* Hero entrance (runs on load) */
.js .hero__title .word > span {
    animation: word-up 0.9s var(--ease) both;
    animation-delay: calc(0.08s * var(--w) + 0.1s);
}

.js .hero__frame {
    animation: clip-in 1.3s var(--ease) 0.2s both;
}

.js .hero .float-card--light {
    animation: pop-in 0.8s var(--ease) 0.9s both, bob 6s ease-in-out 1.7s infinite;
}

.js .hero .float-card--dark {
    animation: pop-in 0.8s var(--ease) 1.05s both, bob 7s ease-in-out 1.85s infinite;
}

.js .hero .float-card--chip {
    animation: pop-in 0.8s var(--ease) 1.2s both, bob 5.5s ease-in-out 2s infinite;
}

/* Scroll reveals — only when JS is running, so content is never hidden without it */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
}

.js [data-reveal="clip"] {
    opacity: 1;
    transform: none;
    clip-path: inset(100% 0 0 0 round var(--r-lg));
    transition: clip-path 1.1s var(--ease);
    transition-delay: var(--d, 0s);
}

.js [data-reveal="clip"] img {
    transform: scale(1.15);
    transition: transform 1.4s var(--ease);
    transition-delay: var(--d, 0s);
}

.js .is-visible[data-reveal] {
    opacity: 1;
    transform: none;
}

.js .is-visible[data-reveal="clip"] {
    clip-path: inset(0 0 0 0 round var(--r-lg));
}

.js .is-visible[data-reveal="clip"] img {
    transform: none;
}

.js .hero [data-reveal] {
    transition-delay: var(--d, 0.2s);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .js [data-reveal] {
        opacity: 1;
        transform: none;
        clip-path: none;
    }
    .js [data-reveal] img {
        transform: none;
    }
    .marquee__track {
        flex-wrap: wrap;
        width: auto;
        justify-content: center;
    }
    .marquee__list[aria-hidden="true"] {
        display: none;
    }
}
