/* ============================================
   Dr. Byungyol Chun MD — Medical Website
   Classic & Elegant Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-burgundy: #781c24;
    --color-burgundy-dark: #5a151c;
    --color-burgundy-light: #9a2530;
    --color-blush: #fdf2f2;
    --color-blush-light: #fff8f8;
    --color-blush-mid: #fce8e8;
    --color-cream: #faf7f5;
    --color-gold: #d4a853;
    --color-gold-light: #e8c97a;
    --color-text-dark: #1a1214;
    --color-text-body: #3d2c2f;
    --color-text-muted: #6b5558;
    --color-text-light: #8a7074;
    --color-border: #e8d5d7;
    --color-border-light: #f0e0e2;
    --color-white: #ffffff;
    --color-bg-warm: #fdf8f6;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;

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

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(120, 28, 36, 0.06), 0 1px 2px rgba(120, 28, 36, 0.04);
    --shadow-md: 0 4px 16px rgba(120, 28, 36, 0.08), 0 2px 4px rgba(120, 28, 36, 0.04);
    --shadow-lg: 0 12px 40px rgba(120, 28, 36, 0.12), 0 4px 12px rgba(120, 28, 36, 0.06);
    --shadow-xl: 0 24px 60px rgba(120, 28, 36, 0.16), 0 8px 20px rgba(120, 28, 36, 0.08);

    --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-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-body);
    background-color: var(--color-blush);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--color-burgundy-dark);
}

ul {
    list-style: none;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 700;
}

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

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

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

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--color-burgundy);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: var(--space-lg);
    color: var(--color-text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.btn-ghost:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
}

.btn-ghost-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost-light:hover {
    background: var(--color-white);
    color: var(--color-burgundy);
    border-color: var(--color-white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 242, 242, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-base);
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    gap: var(--space-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text-dark);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-primary {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-burgundy);
}

.logo-secondary {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

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

.nav-menu a:not(.nav-cta) {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-body);
    position: relative;
}

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

.nav-menu a:not(.nav-cta):hover {
    color: var(--color-burgundy);
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-burgundy);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-burgundy);
    transition: all var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--color-blush);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl) 0;
}

/* Main Hero Card */
.hero-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

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

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-text-body);
    font-weight: 500;
}

/* Floating Cards */
.hero-floating-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.float-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.float-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--color-blush);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-card-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--space-xs);
}

.float-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.float-card-1 { order: 1; }
.float-card-2 { order: 2; }
.float-card-3 { order: 3; }

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

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

/* --- About Section --- */
.about {
    background: var(--color-white);
}

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

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

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--color-blush);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-image-badge {
    position: absolute;
    bottom: var(--space-xl);
    left: -30px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.badge-label {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-burgundy);
}

.badge-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.about-content {
    padding: var(--space-xl) 0;
}

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

.value-item {
    display: flex;
    gap: var(--space-lg);
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-blush);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
}

.value-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- Services Section --- */
.services {
    background: var(--color-blush);
}

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-burgundy);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-blush);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: background var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--color-burgundy);
}

.service-card:hover .service-icon svg {
    stroke: var(--color-white);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- Approach Section --- */
.approach {
    background: var(--color-white);
}

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

.approach-content {
    padding: var(--space-xl) 0;
}

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

.approach-step {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-burgundy);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.approach-step h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
}

.approach-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

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

.approach-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.approach-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.approach-image-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    background: var(--color-blush);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* --- CTA Section --- */
.cta {
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-dark) 100%);
    padding: var(--space-4xl) 0;
}

.cta-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-4xl);
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--color-white) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--color-gold);
}

.cta-eyebrow::before {
    background: var(--color-gold);
}

.cta-title {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.cta-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* --- Contact Section --- */
.contact {
    background: var(--color-blush);
}

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

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

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

.contact-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.contact-detail .detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.contact-detail .detail-value {
    display: block;
    font-size: 1rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

.contact-detail .detail-link {
    color: var(--color-burgundy);
}

.contact-detail .detail-link:hover {
    color: var(--color-burgundy-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.form-intro {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: var(--color-blush-light);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-burgundy);
    box-shadow: 0 0 0 3px rgba(120, 28, 36, 0.1);
    background: var(--color-white);
}

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

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

.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--color-blush);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-burgundy);
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-text-dark);
    color: rgba(255, 255, 255, 0.7);
    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-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    text-decoration: none;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-logo-primary {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo-secondary {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--color-gold);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

.footer-disclaimer {
    font-size: 0.75rem !important;
    max-width: 400px;
    text-align: right;
}

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal="hidden"] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-floating-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .float-card {
        flex: 1;
        min-width: 200px;
    }
    
    .about-grid,
    .approach-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-wrap {
        max-width: 500px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px var(--space-2xl) var(--space-2xl);
        gap: var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu a:not(.nav-cta) {
        font-size: 1rem;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .hero-card {
        padding: var(--space-2xl);
    }
    
    .hero-floating-cards {
        flex-direction: column;
    }
    
    .float-card {
        min-width: auto;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Approach */
    .approach-image-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-image-grid img {
        height: 220px;
    }
    
    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
    
    /* About badge mobile */
    .about-image-badge {
        left: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}
