/* ============================================
   MADRONE LABS - Style Sheet
   Organic luxury aesthetic inspired by NorCal
   ============================================ */

/* --- Design Tokens --- */
:root {
    /* Color Palette */
    --forest-deep: #152B18;
    --forest: #1E3F22;
    --forest-mid: #2D5016;
    --madrone: #C1440E;
    --madrone-hover: #D85A24;
    --madrone-light: #E8713A;
    --bark: #3D2B1F;
    --bark-light: #5C4033;
    --fog: #C8CED4;
    --fog-light: #E4E8EC;
    --fog-pale: #F0F2F4;
    --cream: #FFFAF3;
    --cream-dark: #F5EDE0;
    --white: #FFFFFF;

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Sizing */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Borders & Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-soft: 0 2px 20px rgba(29, 43, 24, 0.06);
    --shadow-medium: 0 4px 30px rgba(29, 43, 24, 0.1);
    --shadow-heavy: 0 8px 40px rgba(29, 43, 24, 0.15);
    --shadow-glow: 0 0 40px rgba(193, 68, 14, 0.15);

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.3s;
    --duration-slow: 0.6s;

    /* Header height */
    --header-h: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--bark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--madrone);
    text-decoration: none;
    transition: color var(--duration) var(--ease-out);
}

a:hover {
    color: var(--madrone-hover);
}

ul {
    list-style: none;
}

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--madrone);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--forest-deep);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

h1 em, h2 em {
    font-style: italic;
    color: var(--madrone);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.section-header__eyebrow {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--madrone);
    margin-bottom: var(--space-sm);
}

.section-header__title {
    margin-bottom: var(--space-md);
}

.section-header__subtitle {
    font-size: 1.125rem;
    color: var(--bark-light);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn--primary {
    background: var(--madrone);
    color: var(--white);
    border-color: var(--madrone);
}

.btn--primary:hover {
    background: var(--madrone-hover);
    border-color: var(--madrone-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn--outline {
    background: transparent;
    color: var(--forest-deep);
    border-color: var(--forest-deep);
}

.btn--outline:hover {
    background: var(--forest-deep);
    color: var(--cream);
    transform: translateY(-2px);
}

.btn--small {
    font-size: 0.8125rem;
    padding: 0.625rem 1.25rem;
    background: var(--madrone);
    color: var(--white);
    border-color: var(--madrone);
}

.btn--small:hover {
    background: var(--madrone-hover);
    border-color: var(--madrone-hover);
    color: var(--white);
    transform: translateY(-1px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: all var(--duration) var(--ease-out);
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 250, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(61, 43, 31, 0.06);
    opacity: 0;
    transition: opacity var(--duration) var(--ease-out);
}

.site-header--scrolled::before {
    opacity: 1;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--forest-deep);
    text-decoration: none;
    z-index: 10;
}

.nav__logo:hover {
    color: var(--forest-deep);
}

.nav__logo-icon {
    color: var(--madrone);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bark);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-pill);
    transition: all var(--duration) var(--ease-out);
    text-decoration: none;
}

.nav__link:hover {
    color: var(--forest-deep);
    background: rgba(45, 80, 22, 0.06);
}

.nav__link--cta {
    background: var(--madrone);
    color: var(--white);
    margin-left: 0.5rem;
    padding: 0.5rem 1.25rem;
}

.nav__link--cta:hover {
    background: var(--madrone-hover);
    color: var(--white);
}

.nav__link--active {
    color: var(--madrone);
}

/* Mobile Nav Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 4px;
}

.nav__toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--forest-deep);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
    transform-origin: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-deep);
    overflow: hidden;
    padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
}

.hero__bg-texture {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(45, 80, 22, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(193, 68, 14, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(30, 63, 34, 0.5) 0%, transparent 60%);
    opacity: 1;
}

.hero__bg-texture::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

.hero__content {
    position: relative;
    text-align: center;
    max-width: 800px;
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--madrone-light);
    margin-bottom: var(--space-md);
}

.hero__title {
    color: var(--cream);
    margin-bottom: var(--space-lg);
    line-height: 1.08;
}

.hero__title em {
    color: var(--madrone-light);
    font-style: italic;
}

.hero__subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--fog);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero__actions .btn--outline {
    color: var(--cream);
    border-color: rgba(255, 250, 243, 0.35);
}

.hero__actions .btn--outline:hover {
    background: var(--cream);
    color: var(--forest-deep);
    border-color: var(--cream);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 250, 243, 0.3);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    border-left: 4px solid var(--madrone);
    box-shadow: var(--shadow-soft);
    transition: all var(--duration-slow) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--madrone);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__title {
    margin-bottom: var(--space-sm);
    font-size: 1.375rem;
}

.service-card__text {
    color: var(--bark-light);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.service-card__list {
    list-style: none;
}

.service-card__list li {
    padding: 0.35rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--forest-mid);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--madrone);
    flex-shrink: 0;
}

/* ============================================
   PROCESS / HOW IT WORKS
   ============================================ */
.process {
    padding: var(--space-3xl) 0;
    background: var(--fog-pale);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.process__steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(12.5% + 1.25rem);
    right: calc(12.5% + 1.25rem);
    height: 2px;
    background: linear-gradient(90deg, var(--madrone), var(--forest-mid));
    opacity: 0.2;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step__number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--madrone);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.process-step__number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--madrone);
    border-radius: 1px;
}

.process-step__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--forest-deep);
}

.process-step__text {
    font-size: 0.875rem;
    color: var(--bark-light);
    line-height: 1.7;
    max-width: 250px;
    margin: 0 auto;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--duration-slow) var(--ease-out);
    border: 1px solid rgba(61, 43, 31, 0.06);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.product-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--madrone);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
}

.product-card__badge--free {
    background: var(--forest-mid);
}

.product-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-md);
    color: var(--forest-mid);
}

.product-card__icon svg {
    width: 100%;
    height: 100%;
}

.product-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.product-card__text {
    color: var(--bark-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: var(--space-md);
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--fog-light);
}

.product-card__price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-deep);
}

.products__cta {
    text-align: center;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--space-3xl) 0;
    background: var(--fog-pale);
}

.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about__content .section-header__eyebrow {
    text-align: left;
}

.about__content .section-header__title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.about__text {
    margin-bottom: var(--space-md);
    color: var(--bark-light);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about__values {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about__value {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-left: var(--space-md);
    border-left: 3px solid var(--madrone);
}

.about__value strong {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--forest-deep);
}

.about__value span {
    font-size: 0.875rem;
    color: var(--bark-light);
}

.about__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__tree-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(29, 43, 24, 0.1));
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(61, 43, 31, 0.06);
    position: relative;
    transition: all var(--duration-slow) var(--ease-out);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.pricing-card--featured {
    border-color: var(--madrone);
    border-width: 2px;
    box-shadow: var(--shadow-medium);
    transform: scale(1.03);
}

.pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--madrone);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.pricing-card__header {
    margin-bottom: var(--space-md);
}

.pricing-card__name {
    font-size: 1.25rem;
    color: var(--forest-deep);
    margin-bottom: var(--space-xs);
}

.pricing-card__price {
    display: flex;
    flex-direction: column;
}

.pricing-card__from {
    font-size: 0.75rem;
    color: var(--bark-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-card__amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--forest-deep);
    line-height: 1.1;
}

.pricing-card__desc {
    font-size: 0.9375rem;
    color: var(--bark-light);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.pricing-card__features {
    margin-bottom: var(--space-lg);
}

.pricing-card__features li {
    padding: 0.45rem 0;
    font-size: 0.875rem;
    color: var(--bark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--fog-light);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card__features li::before {
    content: '✓';
    color: var(--forest-mid);
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    padding: var(--space-3xl) 0;
    background: var(--forest-deep);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(193, 68, 14, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(45, 80, 22, 0.3) 0%, transparent 50%);
}

.newsletter__content {
    position: relative;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.newsletter__text {
    color: var(--fog);
    margin-bottom: var(--space-xl);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.newsletter__form {
    max-width: 460px;
    margin: 0 auto;
}

.newsletter__input-group {
    display: flex;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.newsletter__input {
    flex: 1;
    border: none;
    background: none;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--bark);
    outline: none;
    min-width: 0;
}

.newsletter__input::placeholder {
    color: var(--fog);
}

.newsletter__btn {
    flex-shrink: 0;
}

.newsletter__disclaimer {
    margin-top: var(--space-sm);
    font-size: 0.75rem;
    color: rgba(200, 206, 212, 0.5);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact__info .section-header__eyebrow,
.contact__info .section-header__title {
    text-align: left;
}

.contact__info .section-header__title {
    margin-bottom: var(--space-md);
}

.contact__text {
    color: var(--bark-light);
    margin-bottom: var(--space-xl);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.contact__calendly {
    background: var(--fog-pale);
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

.contact__calendly p {
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.contact__form {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(61, 43, 31, 0.06);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--forest-deep);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--fog);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--bark);
    background: var(--white);
    transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.form-input:focus {
    outline: none;
    border-color: var(--madrone);
    box-shadow: 0 0 0 3px rgba(193, 68, 14, 0.1);
}

.form-input::placeholder {
    color: var(--fog);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--forest-deep);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 250, 243, 0.08);
}

.footer__brand .nav__logo {
    color: var(--cream);
    margin-bottom: var(--space-sm);
}

.footer__brand .nav__logo:hover {
    color: var(--cream);
}

.footer__tagline {
    color: var(--fog);
    font-size: 0.875rem;
    opacity: 0.6;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--fog);
    margin-bottom: var(--space-sm);
}

.footer__col ul li {
    margin-bottom: 0.4rem;
}

.footer__col ul li a {
    color: rgba(255, 250, 243, 0.55);
    font-size: 0.875rem;
    transition: color var(--duration) var(--ease-out);
    text-decoration: none;
}

.footer__col ul li a:hover {
    color: var(--cream);
}

.footer__bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.75rem;
    color: rgba(255, 250, 243, 0.3);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.services__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.process__steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.process__steps .reveal:nth-child(3) { transition-delay: 0.2s; }
.process__steps .reveal:nth-child(4) { transition-delay: 0.3s; }

.products__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.products__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.pricing__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .services__grid,
    .products__grid,
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .process__steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__steps::before {
        display: none;
    }

    .about__layout,
    .contact__layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about__visual {
        order: -1;
    }

    .about__tree-svg {
        max-width: 200px;
    }

    .footer__top {
        grid-template-columns: 1fr;
    }

    .pricing-card--featured {
        transform: none;
    }

    .pricing-card--featured:hover {
        transform: translateY(-4px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-h) + 2rem) 2rem 2rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--duration) var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav__menu--open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1rem;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--fog-light);
        border-radius: 0;
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: var(--space-sm);
        text-align: center;
        border-bottom: none;
        border-radius: var(--radius-pill);
    }

    /* Hamburger animation */
    .nav__toggle--active .nav__toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav__toggle--active .nav__toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle--active .nav__toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .process__steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__nav {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .newsletter__input-group {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 0;
        background: none;
        box-shadow: none;
        gap: var(--space-sm);
    }

    .newsletter__input {
        background: var(--white);
        border-radius: var(--radius-pill);
        padding: 1rem 1.25rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .newsletter__btn {
        width: 100%;
        justify-content: center;
    }

    .hero__scroll-hint {
        display: none;
    }

    .hero__title br {
        display: none;
    }

    .contact__form {
        padding: var(--space-lg);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .product-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .product-card__price {
        text-align: center;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero__scroll-hint {
        animation: none;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
