/* ===== TOKENS ===== */

:root {
    /* Palette */
    --color-primary: #f4ac1b;
    --color-primary-rgb: 244, 172, 27;
    --color-accent: #E65A32;
    --color-green: #24693C;
    --color-green-rgb: 36, 105, 60;

    /* Backgrounds */
    --color-bg: rgb(254, 242, 224);
    --color-bg-header-footer: rgb(254, 242, 224);
    --color-bg-alt-section: #FFF4D6;
    --color-bg-neutral: #F8EFE4;
    --color-bg-rgb: 254, 242, 224;

    /* Text */
    --color-text: #2F2A26;
    --color-text-muted: #5a5249;

    /* Utils */
    --color-black-rgb: 0, 0, 0;
    --color-white-rgb: 255, 255, 255;
    --color-border: rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-body: 'Avenir', Arial, Helvetica, sans-serif;
    --font-heading: 'Avenir', Arial, Helvetica, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.9rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.05rem;
    --font-size-xl: 1.15rem;
    --font-size-heading: clamp(1.8rem, 3vw, 2.5rem);
    --font-size-hero: clamp(2.8rem, 4.5vw, 3.8rem);

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

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-pill: 999px;
    --radius-circle: 50%;

    /* Shadows */
    --shadow-card: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
    --shadow-card-hover: 0 10px 28px rgba(0,0,0,0.11), 0 3px 8px rgba(0,0,0,0.06);
    --shadow-hero-image: 0 24px 60px rgba(36, 105, 60, 0.18);
    --shadow-btn-primary-hover: 0 6px 20px color-mix(in srgb, var(--color-accent) 40%, transparent);
    --shadow-contact-map: 14px 14px 0 rgba(244, 172, 27, 0.38), 0 30px 70px rgba(0, 0, 0, 0.13), 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-faq: 0 4px 14px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-faq-hover: 0 8px 22px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-team-image: 0 8px 24px rgba(36, 105, 60, 0.28);
    --shadow-team-image-overlay: 0 4px 14px rgba(0,0,0,0.08);
}


/* ===== RESET ===== */

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

html {
    scroll-padding-top: clamp(80px, 12vw, 190px);
}

@media (max-width: 1200px) { html { scroll-padding-top: 96px; } }
@media (max-width: 860px)  { html { scroll-padding-top: 84px; } }
@media (max-width: 480px)  { html { scroll-padding-top: 74px; } }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
}


/* ===== BASE ===== */

body, header, footer { background: var(--color-bg); }

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--color-accent);
    opacity: 0.9;
}


/* ===== TYPOGRAPHY ===== */

h1, h2, h3 {
    margin: 0;
    color: var(--color-green);
    font-family: var(--font-heading);
    line-height: 1.2;
}

h1 { font-size: var(--font-size-heading); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.help-card p,
.offer-description {
    font-size: var(--font-size-sm);
    line-height: 1.65;
}

.faq-answer p,
.team-description p {
    font-size: var(--font-size-sm);
    line-height: 1.65;
}

.footer-desc,
.footer-links a,
.footer-hours p { font-size: var(--font-size-sm); }


/* ===== LAYOUT ===== */

.site-layout {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header,
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-main {
    flex: 1;
    margin-top: clamp(80px, 12vw, 190px);
}

.container {
    width: min(1100px, calc(100% - 2.5rem));
    margin-inline: auto;
}


/* ===== HEADER ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-bg-header-footer);
    transition: all 0.25s ease;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-primary) 40%, var(--color-accent) 60%, transparent);
    opacity: 0.6;
    z-index: 1;
    transition: opacity 0.25s ease;
}

.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.site-header.scrolled::after { opacity: 0.9; }
.site-header.scrolled .btn-primary { padding: 0.45rem 0.85rem; font-size: 0.85rem; }

/* Header nav link colors */
.header-nav a {
    color: var(--color-green) !important;
}

.header-nav a:hover {
    color: var(--color-primary) !important;
}


/* ===== FOOTER ===== */

.site-footer {
    z-index: 50;
    background: var(--color-bg-header-footer);
}


/* ===== SECTIONS ===== */

.section {
    position: relative;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.section:nth-of-type(odd) {
    background: linear-gradient(180deg, var(--color-bg-header-footer) 0%, var(--color-bg-header-footer) 20%, var(--color-bg-alt-section) 100%);
}

.section:nth-of-type(even) {
    background: linear-gradient(180deg, var(--color-bg-alt-section) 0%, var(--color-bg-header-footer) 80%, var(--color-bg-header-footer) 100%);
}

.hero {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

@media (max-width: 640px) {
    .section { padding-block: 3rem; }
}

@media (max-height: 750px) and (min-width: 861px) {
    .site-main { margin-top: 70px; }
}


/* ===== CARDS ===== */

.adhd-preview-wrapper,
.adhd-block,
.offer-card,
.help-card,
.team-card,
.offer-section-block,
.faq-preview-item,
.faq-item {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(244, 172, 27, 0.18);
    border-right: 1px solid rgba(244, 172, 27, 0.18);
    border-bottom: 1px solid rgba(244, 172, 27, 0.18);
    border-left: 4px solid var(--color-green);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 1.5rem 1.75rem !important;
}

.offer-card:hover,
.help-card:hover,
.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}


/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.3rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    font-family: var(--font-body);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

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

.btn-primary:hover {
    color: white;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-primary-hover);
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover { background: rgba(0,0,0,0.03); }

.btn-offer {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-green);
    border-bottom: 1.5px solid rgba(36, 105, 60, 0.3);
    padding-bottom: 0.1rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-offer:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    opacity: 1;
}


/* ===== SECTION TITLE ===== */

.section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    color: var(--color-green);
}

.section-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 8px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent), transparent);
    opacity: 0.65;
    border-radius: 2px;
}


/* ===== UTILITIES ===== */

.stack > * + * { margin-top: var(--space-md); }
.text-muted { color: var(--color-text-muted); }

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.step, .help-list p, .approach-item { transition: transform 0.15s ease; }
.step:hover, .help-list p:hover, .approach-item:hover { transform: translateY(-2px); }


/* ===== ANIMATIONS ===== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 90, 50, 0); }
    60%       { box-shadow: 0 0 0 7px rgba(230, 90, 50, 0.18); }
}

/* CTA button gentle pulse */
.hero-actions .btn-primary,
.adhd-preview-cta .btn-primary {
    animation: btnPulse 3.5s ease-in-out infinite;
}

/* Card hover — more pronounced lift */
.help-card:hover,
.offer-card:hover,
.faq-preview-item:hover {
    transform: translateY(-4px);
}

/* Team photo zoom on hover */
.team-item:hover img {
    transform: scale(1.07);
}

/* Section title underline grows from left */
.section-title::after {
    transform-origin: left;
    transition: width 0.4s ease;
}

/* Help card icon accent on hover */
.help-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-left-color 0.22s ease;
}

.help-card:hover {
    border-left-color: var(--color-accent) !important;
}

/* Smooth link underlines in nav and footers */
a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* ===== PHOTO STRIP ===== */

.photo-strip {
    width: 100%;
    height: clamp(260px, 38vw, 500px);
    overflow: hidden;
    display: block;
}

.photo-strip img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 640px) {
    .photo-strip {
        height: 220px;
    }
}


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

@media (max-width: 640px) {
    .surface { background: rgba(255,255,255,0.9); }
}



