/* ==========================================================================
   Cozy Bite — Style Sheet
   Warm Taste Lodge LLC — Computer Systems Design
   Colors: warm brown, caramel, peach, cream, sage, charcoal
   No gradients, no rgba — solid hex throughout. High contrast.
   ========================================================================== */

/* --- Custom Properties ------------------------------------------------ */
:root {
    --brown: #8B5E3C;
    --brown-dark: #6B3F22;
    --brown-light: #A0724A;
    --caramel: #C68E58;
    --caramel-dark: #A8733E;
    --peach: #FDCFB0;
    --peach-light: #FEE4CC;
    --cream: #FFF8F2;
    --cream-dark: #FDF0E0;
    --sage: #7EB5A6;
    --sage-dark: #5E9A8A;
    --sage-light: #A8D5C8;
    --charcoal: #2D2D2D;
    --charcoal-light: #4A4A4A;
    --white: #FFFFFF;
    --off-white: #FDF5ED;
    --shadow-sm: 0 2px 8px #D4C4B0;
    --shadow-md: 0 4px 16px #D4C4B0;
    --shadow-lg: 0 8px 32px #D4C4B0;
    --shadow-xl: 0 12px 48px #C8B8A0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 50px;
    --transition: 0.3s ease;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

a {
    color: var(--brown);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus-visible {
    color: var(--caramel-dark);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font: inherit;
    border: none;
    background: none;
}

/* --- Focus Styles ----------------------------------------------------- */
:focus-visible {
    outline: 3px solid var(--sage-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Skip Link -------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--brown);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    z-index: 1000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
    color: var(--white);
}

/* --- Typography ------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--charcoal);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 8px;
}

/* --- Header ----------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 2px solid var(--peach-light);
    padding: 0 24px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brown);
    letter-spacing: -0.02em;
}

.logo svg {
    flex-shrink: 0;
}

.logo:hover,
.logo:focus-visible {
    color: var(--brown-dark);
}

/* Desktop Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list a {
    display: block;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--charcoal);
    transition: background var(--transition), color var(--transition);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.active {
    background: var(--peach-light);
    color: var(--brown-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: var(--radius-sm);
    z-index: 200;
    transition: background var(--transition);
}

.hamburger:hover,
.hamburger:focus-visible {
    background: var(--peach-light);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--brown);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}

.hamburger-line + .hamburger-line {
    margin-top: 6px;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Mobile Nav Overlay ----------------------------------------------- */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown);
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    transition: background var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
    background: var(--peach-light);
}

/* --- Hero Section ----------------------------------------------------- */
.hero {
    position: relative;
    padding: 100px 24px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 80vh;
}

/* Decorative backdrop circles — solid colors, no gradients */
.hero-backdrop {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-backdrop--large {
    width: 500px;
    height: 500px;
    background: var(--peach);
    top: -120px;
    right: -100px;
}

.hero-backdrop--medium {
    width: 280px;
    height: 280px;
    background: var(--sage-light);
    bottom: -60px;
    left: -80px;
}

.hero-backdrop--small {
    width: 120px;
    height: 120px;
    background: var(--caramel);
    top: 40%;
    left: 5%;
}

.hero-backdrop--dot {
    width: 40px;
    height: 40px;
    background: var(--peach);
    top: 25%;
    right: 15%;
}

/* Main hero card */
.hero-card {
    position: relative;
    z-index: 1;
    max-width: 700px;
    width: 100%;
    background: var(--brown);
    border-radius: var(--radius-xl);
    padding: 64px 56px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.hero-card h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-card .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--peach-light);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition),
        background var(--transition), color var(--transition);
    border: 2px solid transparent;
}

.btn:active {
    transform: scale(0.97);
}

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

.btn--caramel:hover,
.btn--caramel:focus-visible {
    background: var(--caramel-dark);
    border-color: var(--caramel-dark);
    color: var(--white);
    box-shadow: 0 4px 20px #D4A06A;
}

.btn--outline {
    background: transparent;
    color: var(--peach-light);
    border-color: var(--peach-light);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: var(--peach-light);
    color: var(--brown);
}

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

.btn--sage:hover,
.btn--sage:focus-visible {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    color: var(--white);
}

/* --- About Section — "Letter Card" style ------------------------------ */
.about {
    padding: 100px 24px;
    display: flex;
    justify-content: center;
}

.about-card {
    max-width: 800px;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Decorative top bar */
.about-card::before {
    content: '';
    display: block;
    height: 6px;
    background: var(--sage);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Decorative accent dots */
.about-accent {
    display: flex;
    gap: 8px;
    padding: 24px 40px 0;
}

.about-accent span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.about-accent span:nth-child(1) { background: var(--peach); }
.about-accent span:nth-child(2) { background: var(--caramel); }
.about-accent span:nth-child(3) { background: var(--sage); }

.about-body {
    padding: 28px 48px 48px;
}

.about-body .section-label {
    margin-bottom: 12px;
}

.about-body h2 {
    margin-bottom: 20px;
    color: var(--brown);
}

.about-body p {
    margin-bottom: 16px;
    font-size: 1.063rem;
    color: var(--charcoal-light);
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-highlight {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--caramel);
    font-weight: 600;
    color: var(--brown-dark);
}

/* --- Services Section — Staggered Waterfall --------------------------- */
.services {
    padding: 100px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-header h2 {
    color: var(--brown);
    margin-bottom: 12px;
}

.services-header .section-label {
    margin-bottom: 12px;
}

.services-header p {
    color: var(--charcoal-light);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.063rem;
}

/* Staggered card list */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 16px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-md);
    max-width: 620px;
    width: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

/* Staggered offsets — unique, not a simple grid */
.service-card:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.service-card:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

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

/* Accent indicators — top-left colored square */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg) 0 var(--radius-md) 0;
}

.service-card:nth-child(1)::after { background: var(--brown); }
.service-card:nth-child(2)::after { background: var(--caramel); }
.service-card:nth-child(3)::after { background: var(--sage); }
.service-card:nth-child(4)::after { background: var(--peach); }

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    margin-top: 4px;
}

.service-card:nth-child(1) .service-card-icon { background: var(--peach-light); color: var(--brown-dark); }
.service-card:nth-child(2) .service-card-icon { background: var(--cream-dark); color: var(--caramel-dark); }
.service-card:nth-child(3) .service-card-icon { background: var(--sage-light); color: var(--sage-dark); }
.service-card:nth-child(4) .service-card-icon { background: var(--peach); color: var(--brown-dark); }

.service-card-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* --- Values Section — Organic Cluster --------------------------------- */
.values {
    padding: 100px 24px;
    background: var(--white);
}

.values-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 64px;
}

.values-header h2 {
    color: var(--brown);
    margin-bottom: 12px;
}

.values-header .section-label {
    margin-bottom: 12px;
}

/* Organic flex cluster — varying card sizes, not a grid */
.values-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
}

.value-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

/* Varied sizes for organic feel */
.value-card:nth-child(1) { flex: 1 1 260px; max-width: 300px; }
.value-card:nth-child(2) { flex: 1 1 320px; max-width: 380px; }
.value-card:nth-child(3) { flex: 1 1 280px; max-width: 330px; }
.value-card:nth-child(4) { flex: 1 1 300px; max-width: 350px; }

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Counter numbers embedded in value cards */
.value-counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--caramel);
    line-height: 1.1;
    margin-bottom: 8px;
}

.value-counter-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sage-dark);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--brown-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Decorative bottom accent bar */
.value-card::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    margin: 20px auto 0;
}

.value-card:nth-child(1)::after { background: var(--brown); }
.value-card:nth-child(2)::after { background: var(--caramel); }
.value-card:nth-child(3)::after { background: var(--sage); }
.value-card:nth-child(4)::after { background: var(--peach); }

/* --- Contact Section — Deep Layered Card ------------------------------ */
.contact {
    padding: 100px 24px;
    display: flex;
    justify-content: center;
}

.contact-card {
    max-width: 680px;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-sm);
    padding: 56px 52px;
    position: relative;
}

/* Decorative layered shadow effect — solid colored strip behind card */
.contact-card::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: calc(var(--radius-xl) + 4px);
    background: var(--peach-light);
    z-index: -1;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    color: var(--brown);
    margin-bottom: 10px;
}

.contact-header p {
    color: var(--charcoal-light);
    max-width: 420px;
    margin: 0 auto;
}

/* Pill-shaped form inputs */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brown-dark);
    padding-left: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 22px;
    border: 2px solid var(--peach-light);
    border-radius: var(--radius-pill);
    font: inherit;
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition),
        background var(--transition);
}

.form-group textarea {
    border-radius: var(--radius-lg);
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--caramel);
    box-shadow: 0 0 0 4px var(--peach-light);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B8A898;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.063rem;
}

.form-feedback {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-feedback.is-visible {
    display: block;
}

.form-feedback--success {
    background: var(--sage-light);
    color: #2D5A4A;
}

.form-feedback--error {
    background: #FCCCC8;
    color: #8B2520;
}

/* --- Footer ----------------------------------------------------------- */
.site-footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 64px 24px 32px;
    position: relative;
}

/* Decorative wavy top using solid shapes */
.site-footer::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background:
        radial-gradient(ellipse 30px 20px at 10% 0%, var(--cream) 100%, transparent 100%),
        radial-gradient(ellipse 30px 20px at 30% 0%, var(--cream) 100%, transparent 100%),
        radial-gradient(ellipse 30px 20px at 50% 0%, var(--cream) 100%, transparent 100%),
        radial-gradient(ellipse 30px 20px at 70% 0%, var(--cream) 100%, transparent 100%),
        radial-gradient(ellipse 30px 20px at 90% 0%, var(--cream) 100%, transparent 100%);
    background-color: transparent;
    background-size: 60px 40px;
    background-repeat: repeat-x;
    background-position: bottom;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-brand {
    flex: 1 1 260px;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    color: #C0B8AC;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h4 {
    color: var(--peach);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: #C0B8AC;
    padding: 4px 0;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--white);
}

.footer-contact {
    flex: 1 1 240px;
}

.footer-contact h4 {
    color: var(--peach);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-contact address {
    font-style: normal;
    color: #C0B8AC;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--sage-light);
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: var(--white);
}

.footer-bottom {
    max-width: 1080px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid #4A4A4A;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #888078;
}

.footer-bottom a {
    color: #B0A898;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--white);
}

/* --- Animations ------------------------------------------------------- */
/* Fade in from below */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in only */
.anim-fade-in {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.anim-fade-in.is-visible {
    opacity: 1;
}

/* Scale in */
.anim-scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Counter Animation (no extra style, JS-driven) ------------------- */

/* --- Form Validation States ------------------------------------------- */
.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #CC4444;
}

.form-group .field-error {
    color: #CC4444;
    font-size: 0.813rem;
    font-weight: 600;
    padding-left: 4px;
    display: none;
}

.form-group .field-error.is-visible {
    display: block;
}

/* --- Privacy / TOS Page Styles ---------------------------------------- */
.legal-page {
    padding: 60px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    color: var(--brown);
    margin-bottom: 8px;
}

.legal-page .legal-meta {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    color: var(--brown-dark);
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.legal-page h3 {
    color: var(--charcoal);
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.legal-page p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-page ul,
.legal-page ol {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-page address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-page strong {
    color: var(--brown-dark);
}

/* --- 404 / Error States ----------------------------------------------- */
.error-page {
    padding: 120px 24px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-page h1 {
    font-size: 5rem;
    color: var(--caramel);
    margin-bottom: 8px;
}

.error-page p {
    color: var(--charcoal-light);
    margin-bottom: 32px;
}

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
    /* Un-stagger services on tablet */
    .service-card:nth-child(odd),
    .service-card:nth-child(even) {
        margin-left: auto;
        margin-right: auto;
    }

    .service-card {
        max-width: 100%;
    }

    .hero-card {
        padding: 48px 36px;
    }

    .about-body {
        padding: 24px 32px 40px;
    }

    .contact-card {
        padding: 40px 32px;
    }

    .value-card {
        flex: 1 1 240px !important;
        max-width: none !important;
    }
}

@media (max-width: 768px) {
    /* Mobile nav */
    .nav-list {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 60px 16px 60px;
        min-height: auto;
    }

    .hero-backdrop--large {
        width: 300px;
        height: 300px;
        top: -60px;
        right: -60px;
    }

    .hero-backdrop--medium {
        width: 160px;
        height: 160px;
        bottom: -40px;
        left: -40px;
    }

    .hero-backdrop--small {
        width: 60px;
        height: 60px;
    }

    .hero-backdrop--dot {
        width: 24px;
        height: 24px;
    }

    .hero-card {
        padding: 40px 28px;
        border-radius: var(--radius-lg);
    }

    .hero-card h1 {
        font-size: 1.75rem;
    }

    .hero-card .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    /* Services collapse */
    .service-card {
        padding: 28px 24px;
    }

    .service-card::after {
        width: 36px;
        height: 36px;
    }

    /* Values full width */
    .value-card {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    /* Contact */
    .contact-card {
        padding: 32px 24px;
        border-radius: var(--radius-lg);
    }

    .contact-card::before {
        inset: -4px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 18px;
    }

    /* About */
    .about-body {
        padding: 20px 24px 32px;
    }

    /* Legal pages */
    .legal-page {
        padding: 40px 16px 60px;
    }

    .legal-page h1 {
        font-size: 1.75rem;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .site-footer::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 32px 20px;
    }

    .hero {
        padding: 40px 12px 40px;
    }

    .about,
    .services,
    .values,
    .contact {
        padding: 60px 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .value-card {
        padding: 28px 24px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
}

/* --- Print Styles ----------------------------------------------------- */
@media print {
    .site-header,
    .hamburger,
    .mobile-nav,
    .hero-backdrop,
    .site-footer,
    .btn {
        display: none !important;
    }

    body {
        background: #FFFFFF;
        color: #000000;
        font-size: 12pt;
    }

    .hero-card {
        box-shadow: none;
        background: #FFFFFF;
        border: 2px solid #000000;
    }

    .hero-card h1,
    .hero-card .hero-subtitle {
        color: #000000;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }
}

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

    .anim-fade-up,
    .anim-fade-in,
    .anim-scale-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

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