/* ============================================
   Little Lambs Childcare — Custom Styles
   Plum + Amber Palette · Clean Minimalist
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-50:  #faf5f9;
    --plum-100: #f3e8f0;
    --plum-200: #e8cce0;
    --plum-300: #d4a3c4;
    --plum-400: #c07ba8;
    --plum-500: #a8558f;
    --plum-600: #8b3d72;
    --plum-700: #7b2d8b;
    --plum-800: #5c1f66;
    --plum-900: #3d1342;
    --plum-950: #200a23;

    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    --stone-50:  #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --stone-950: #0c0a09;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs:  0.5rem;
    --space-sm:  0.75rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(61, 19, 66, 0.04), 0 1px 3px rgba(61, 19, 66, 0.06);
    --shadow-md: 0 4px 16px rgba(61, 19, 66, 0.06), 0 2px 6px rgba(61, 19, 66, 0.04);
    --shadow-lg: 0 12px 40px rgba(61, 19, 66, 0.1), 0 4px 12px rgba(61, 19, 66, 0.06);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--stone-800);
    background-color: var(--stone-50);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* --- Section Label --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-md);
}

/* --- Section Title --- */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--stone-900);
    margin-bottom: var(--space-lg);
}

.section-title em {
    font-style: italic;
    color: var(--plum-700);
}

/* --- Section Subtitle --- */
.section-subtitle {
    font-size: 1.05rem;
    color: var(--stone-600);
    max-width: 540px;
    line-height: 1.7;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--plum-700);
    color: #ffffff;
    border: 1.5px solid var(--plum-700);
}

.btn-primary:hover {
    background-color: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--stone-700);
    border: 1.5px solid var(--stone-300);
}

.btn-outline:hover {
    border-color: var(--plum-400);
    color: var(--plum-700);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone-200);
    transition: box-shadow var(--transition-fast);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--stone-900);
}

.nav-logo-icon {
    color: var(--plum-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--stone-600);
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--plum-500);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--plum-700);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--plum-700) !important;
    border: 1.5px solid var(--plum-200);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--plum-50) !important;
    border-color: var(--plum-400) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--stone-700);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-5xl) var(--space-xl) var(--space-4xl);
    overflow: hidden;
    /* Dark plum gradient background */
    background: linear-gradient(160deg, var(--plum-950) 0%, var(--plum-800) 35%, var(--plum-700) 60%, var(--plum-600) 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(251, 191, 36, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(168, 85, 143, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-300);
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: var(--space-2xl);
}

.hero-badge svg {
    opacity: 0.8;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: var(--space-xl);
}

.hero-title em {
    font-style: italic;
    color: var(--amber-300);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto var(--space-2xl);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-actions .btn-primary {
    background-color: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--stone-900);
    font-weight: 500;
}

.hero-actions .btn-primary:hover {
    background-color: var(--amber-600);
    border-color: var(--amber-600);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--amber-300);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* --- Section base --- */
.section {
    padding: var(--space-5xl) 0;
}

/* --- About --- */
.about {
    background-color: var(--stone-50);
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--plum-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: var(--space-xl);
}

.about-content p {
    color: var(--stone-600);
    margin-bottom: var(--space-md);
    font-size: 0.975rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--stone-700);
}

.about-feature svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--plum-600);
}

/* --- Services --- */
.services {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--stone-50);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border: 1px solid var(--plum-100);
    border-radius: var(--radius-sm);
    color: var(--plum-700);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #ffffff;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 0.625rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--stone-600);
    line-height: 1.7;
}

/* --- Philosophy --- */
.philosophy {
    background-color: var(--stone-50);
}

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

.philosophy-content p {
    color: var(--stone-600);
    font-size: 0.975rem;
    margin-bottom: var(--space-md);
}

.philosophy-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.philosophy-value {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.value-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--plum-200);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
}

.philosophy-value h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 0.25rem;
}

.philosophy-value p {
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-bottom: 0;
    line-height: 1.65;
}

.philosophy-images {
    position: relative;
    padding-top: var(--space-2xl);
}

.philosophy-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.philosophy-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.philosophy-img-secondary {
    position: absolute;
    bottom: 0;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--stone-50);
}

.philosophy-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* --- Environment --- */
.environment {
    background-color: #ffffff;
}

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

.env-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.env-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.env-item:hover img {
    transform: scale(1.04);
}

.env-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 19, 66, 0.85) 0%, rgba(61, 19, 66, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.env-item:hover .env-item-overlay {
    opacity: 1;
}

.env-item-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.375rem;
}

.env-item-overlay p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* --- Testimonial --- */
.testimonial {
    background: linear-gradient(160deg, var(--plum-900) 0%, var(--plum-800) 100%);
    padding: var(--space-5xl) 0;
}

.testimonial-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: var(--amber-400);
    opacity: 0.5;
    margin-bottom: var(--space-xl);
}

.testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: #ffffff;
    margin-bottom: var(--space-2xl);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.author-initial {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--amber-500);
    color: var(--stone-900);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.author-detail {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.125rem;
}

/* --- CTA / Contact --- */
.cta {
    background-color: var(--stone-50);
}

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

.cta-info .section-title {
    margin-bottom: var(--space-lg);
}

.cta-info > p {
    color: var(--stone-600);
    font-size: 0.975rem;
    margin-bottom: var(--space-2xl);
}

.cta-contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--stone-700);
}

.cta-contact-item a {
    color: var(--plum-700);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.cta-contact-item a:hover {
    color: var(--plum-500);
}

.cta-contact-item svg {
    color: var(--plum-500);
    flex-shrink: 0;
}

/* --- Form --- */
.cta-form-wrap {
    background: #ffffff;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: var(--space-xl);
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stone-700);
    margin-bottom: 0.375rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--stone-800);
    background: var(--stone-50);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-400);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(168, 85, 143, 0.1);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.form-success svg {
    color: var(--plum-600);
    margin-bottom: var(--space-lg);
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--stone-600);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background-color: var(--stone-900);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.footer-logo svg {
    color: var(--amber-400);
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--amber-400);
}

.footer-contact span {
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-xl);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .philosophy-layout,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .philosophy-images {
        order: -1;
        padding-top: 0;
    }

    .philosophy-img-secondary {
        right: -10px;
        width: 50%;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 249, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl);
        gap: var(--space-md);
        border-bottom: 1px solid var(--stone-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        text-align: center;
        justify-content: center;
    }

    .hero {
        min-height: 100svh;
        padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
    }

    .hero-stats {
        gap: var(--space-lg);
    }

    .stat-number {
        font-size: 1.25rem;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-image-accent {
        display: none;
    }

    .section {
        padding: var(--space-4xl) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-stat-divider {
        width: 36px;
        height: 1px;
    }

    .cta-form-wrap {
        padding: var(--space-lg);
    }
}
