/* ============================================
   CN TRAINING - Design System & Styles
   ============================================ */

/* -----------------------------------------
   Design Tokens
   ----------------------------------------- */
:root {
    /* Colors */
    --color-sage: #9DB7A5;
    --color-sage-dark: #5F7F72;
    --color-sage-light: #b8cebf;
    --color-sage-tint: #e8efe9;
    --color-bg: #F6F7F4;
    --color-bg-alt: #FAFAF8;
    --color-text: #2E2E2E;
    --color-text-muted: #5a5a5a;
    --color-text-light: #8a8a8a;
    --color-accent: #C07A5A;
    --color-accent-hover: #a96848;
    --color-white: #ffffff;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1ebe57;
    
    /* Typography */
    --font-heading: 'Poppins', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Font Sizes - Mobile First */
    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
    --space-4xl: 4.5rem;
    --space-5xl: 6rem;
    
    /* Layout */
    --container-max: 1200px;
    --container-padding: 1.25rem;
    --content-max: 1000px;
    
    /* Effects */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.05), 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.06);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms 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;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* -----------------------------------------
   Typography
   ----------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text);
}

h1 {
    font-size: var(--text-3xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-2xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-xl);
    font-weight: 500;
}

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: var(--text-lg);
    font-weight: 500;
    line-height: 1.8;
    color: var(--color-text);
}

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

section {
    padding: var(--space-4xl) 0;
    position: relative;
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--color-sage-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-sage);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.section-title-light {
    color: var(--color-white);
}

.section-title-light::after {
    background: rgba(255, 255, 255, 0.4);
}

/* -----------------------------------------
   Wave Dividers
   ----------------------------------------- */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}

.wave-flip {
    bottom: -1px;
}

/* -----------------------------------------
   Header & Navigation
   ----------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(246, 247, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(157, 183, 165, 0.15);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-sage-dark);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    mix-blend-mode: multiply;
    margin-right: -10px;
}

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

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--color-sage-dark);
}

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

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

.nav-cta {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent);
    padding: var(--space-xs) var(--space-lg);
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.nav-cta:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* -----------------------------------------
   Buttons
   ----------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--text-base);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(192, 122, 90, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 122, 90, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:focus-visible {
    outline: 2px solid var(--color-whatsapp);
}

.btn-large {
    font-size: var(--text-lg);
    padding: var(--space-lg) var(--space-2xl);
}

/* -----------------------------------------
   Hero Section
   ----------------------------------------- */
.hero {
    padding-top: calc(72px + var(--space-4xl));
    padding-bottom: calc(var(--space-4xl) + 60px);
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(95, 127, 114, 0.3) 0%, transparent 50%),
        linear-gradient(165deg, var(--color-sage) 0%, var(--color-sage-light) 100%);
    min-height: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.hero-portrait {
    flex-shrink: 0;
    padding: 0;
    background: none;
    line-height: 0;
}

/* Mobile: small circular thumb below hero text */
.hero-portrait .face-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: block;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.hero-text {
    text-align: center;
    animation: fadeUp 0.8s ease-out;
    max-width: 680px;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.hero-subheading {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--space-lg);
    max-width: 640px;
    line-height: 1.8;
}

.hero-subheading-secondary {
    font-weight: 500;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-2xl);
}

/* -----------------------------------------
   Cards
   ----------------------------------------- */
.card {
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(157, 183, 165, 0.12);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

/* -----------------------------------------
   Philosophy Section
   ----------------------------------------- */
.philosophy {
    background-color: var(--color-bg);
    padding-bottom: calc(var(--space-4xl) + 60px);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(157, 183, 165, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(157, 183, 165, 0.06) 0%, transparent 40%);
}

.philosophy-cards {
    display: grid;
    gap: var(--space-lg);
    max-width: var(--content-max);
    margin: 0 auto;
}


/* "What doesn't matter" card */
.card-dont {
    background-color: var(--color-white);
    border-left: 4px solid #c9a9a0;
}

.card-dont h3 {
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.card-dont li {
    color: var(--color-text);
}

/* "What does matter" card — emphasised */
.card-do {
    border-left: 4px solid var(--color-sage);
    background-color: var(--color-white);
}

.card-do h3 {
    margin-bottom: var(--space-lg);
    color: var(--color-sage-dark);
}

.philosophy .card ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.philosophy .card li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-base);
    line-height: 1.5;
}

.icon-x,
.icon-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.icon-x {
    color: #c9a9a0;
}

.icon-check {
    color: var(--color-sage-dark);
}

/* -----------------------------------------
   Services Section
   ----------------------------------------- */
.services {
    background-color: var(--color-bg-alt);
    background-image:
        radial-gradient(circle, rgba(157, 183, 165, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.services-cards {
    display: grid;
    gap: var(--space-lg);
    max-width: var(--content-max);
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    background: var(--color-white);
}

.service-card .service-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-sage), var(--color-sage-dark));
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-lg);
    color: var(--color-sage-dark);
    background: var(--color-sage-tint);
    border-radius: var(--radius-md);
    padding: 14px;
}

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

.service-card h3 {
    color: var(--color-sage-dark);
    margin-bottom: var(--space-sm);
    font-size: var(--text-xl);
}

.service-desc {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(157, 183, 165, 0.15);
}

.service-features li {
    font-size: var(--text-sm);
    color: var(--color-text);
    padding-left: var(--space-lg);
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-sage);
}

/* -----------------------------------------
   My Story Section
   ----------------------------------------- */
.my-story {
    background-color: var(--color-bg);
}

.story-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    max-width: var(--content-max);
    margin: 0 auto;
}

.story-text {
    text-align: center;
}

.story-text h2 {
    color: var(--color-sage-dark);
    margin-bottom: var(--space-lg);
}

.story-text p {
    color: var(--color-text);
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-text em {
    font-style: italic;
    color: var(--color-sage-dark);
}

.text-sage {
    color: var(--color-sage-dark);
}

.story-highlight {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-xl);
    color: var(--color-sage-dark);
    line-height: 1.5;
}

/* Before & After Image */
.story-image {
    max-width: 420px;
    margin: 0 auto;
    flex-shrink: 0;
}

.before-after-single {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.before-after-labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 var(--space-xs);
}

.before-after-labels span {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-sage-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* -----------------------------------------
   Testimonials Section
   ----------------------------------------- */
.testimonials {
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    padding: var(--space-5xl) 0;
}

.testimonials-grid {
    display: grid;
    gap: var(--space-lg);
    max-width: var(--content-max);
    margin: 0 auto;
    align-items: stretch;
}

.testimonial-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.95);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: var(--space-sm);
    left: var(--space-md);
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-sage);
    opacity: 0.25;
}

.testimonial-card p {
    font-size: var(--text-base);
    font-style: italic;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.7;
    position: relative;
}

.testimonial-card cite {
    font-style: normal;
    font-size: var(--text-sm);
    color: var(--color-sage-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.testimonial-card cite::before {
    content: '';
    width: 16px;
    height: 2px;
    background: var(--color-sage);
    border-radius: 1px;
}

/* Featured testimonial */
.testimonial-featured {
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(157, 183, 165, 0.2);
}

/* -----------------------------------------
   CTA Section
   ----------------------------------------- */
.cta-section {
    background-color: var(--color-bg-alt);
    text-align: center;
    padding: var(--space-5xl) 0;
    position: relative;
}

.cta-content {
    max-width: 580px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-sage-dark);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
}

.cta-content > p {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.cta-alternative {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: 0;
}

.cta-alternative a {
    color: var(--color-sage-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.cta-alternative a:hover {
    color: var(--color-accent);
}

/* -----------------------------------------
   Footer
   ----------------------------------------- */
.footer {
    background-color: var(--color-bg);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid rgba(157, 183, 165, 0.15);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-sage-dark);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--color-bg-alt);
    color: var(--color-sage-dark);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background-color: var(--color-sage);
    color: var(--color-white);
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(157, 183, 165, 0.12);
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: 0;
}

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

/* Tablet: 768px+ */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
    
    h1 {
        font-size: var(--text-4xl);
    }
    
    h2 {
        font-size: var(--text-3xl);
    }
    
    section {
        padding: var(--space-4xl) 0;
    }
    
    .wave-divider svg {
        height: 80px;
    }
    
    /* Navigation */
    .nav-links {
        display: flex;
    }
    
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    /* Hero */
    .hero {
        padding-top: calc(72px + var(--space-4xl));
        padding-bottom: calc(var(--space-4xl) + 80px);
    }
    
    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--space-3xl);
        text-align: left;
    }
    
    .hero-text {
        flex: 1;
        max-width: 560px;
        text-align: left;
    }
    
    .hero-portrait {
        flex-shrink: 0;
    }
    
    .hero-portrait .face-photo {
        width: 300px;
        height: auto;
        aspect-ratio: 3 / 4;
        border-radius: var(--radius-md);
        border: none;
    }
    
    /* Story */
    .story-content {
        flex-direction: row;
        align-items: start;
        gap: var(--space-3xl);
    }
    
    .story-image {
        max-width: 380px;
        flex-shrink: 0;
    }
    
    /* Philosophy */
    .philosophy {
        padding-bottom: calc(var(--space-4xl) + 80px);
    }
    
    .philosophy-cards {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
    
    .service-card {
        text-align: left;
    }
    
    /* Services */
    .services-cards {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
        align-items: center;
    }
    
    .testimonial-featured {
        padding: var(--space-2xl);
        transform: scale(1.05);
    }
    
    .testimonial-featured:hover {
        transform: scale(1.05) translateY(-3px);
    }
    
    .testimonial-card::before {
        font-size: 3rem;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: var(--text-3xl);
    }
    
    /* Footer */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-links {
        flex-direction: row;
        gap: var(--space-2xl);
    }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
    :root {
        --container-padding: 3rem;
    }
    
    h1 {
        font-size: var(--text-5xl);
    }
    
    .hero-subheading {
        font-size: var(--text-lg);
    }
    
    .story-content {
        gap: var(--space-4xl);
    }
    
    .service-card {
        padding: var(--space-2xl) var(--space-2xl);
    }
}

/* Large Desktop: 1280px+ */
@media (min-width: 1280px) {
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-accent);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 1000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* Focus visible for all interactive elements */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Ensure sufficient touch targets */
@media (pointer: coarse) {
    .btn {
        min-height: 48px;
    }
    
    .nav-cta {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    .social-links a {
        width: 48px;
        height: 48px;
    }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll-triggered reveals */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Stagger children */
.philosophy-cards .reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.services-cards .reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.testimonials-grid .reveal:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
