/* ========================================
   PIEL EN ARMONÍA - APPLE DESIGN
   ======================================== */

:root {
    --color-primary: #0071e3;
    --color-primary-dark: #0051d5;
    --color-whatsapp: #25d366;
    --color-phone: #34c759;
    --color-text: #1d1d1f;
    --color-text-secondary: #86868b;
    --color-bg: #ffffff;
    --color-bg-gray: #f5f5f7;
    --color-bg-dark: #1d1d1f;
    
    --radius: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-apple: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
    
    /* Transiciones Apple */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.47059;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   ANIMACIONES APPLE
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animación de entrada suave para elementos */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay para elementos hijos */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ========================================
   LANGUAGE BAR
   ======================================== */
.language-bar {
    background: var(--color-bg-dark);
    padding: 8px 0;
    text-align: right;
}

.language-options {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.lang-btn {
    background: none;
    border: none;
    color: #86868b;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
    color: white;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    animation: fadeIn 1s ease-out;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.nav-logo i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.8;
    transition: var(--transition-spring);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    opacity: 1;
}

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

.nav-cta {
    background: var(--color-primary);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--color-text);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.mobile-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
}

.mobile-cta {
    background: var(--color-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    margin-top: 16px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 140px 24px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.hero-contact-bar {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, #0071e3 0%, #5856d6 50%, #af52de 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    font-weight: 400;
    line-height: 1.5;
}

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

.hero-contact-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: 50px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-chip:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-chip.whatsapp {
    background: var(--color-whatsapp);
    color: white;
}

.contact-chip i {
    font-size: 1rem;
}

/* Hero con imagen detrás del contenido */
.hero-image-container {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 600px;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
}

.hero-bg-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    filter: blur(8px) brightness(1.1);
    mask-image: linear-gradient(to left, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(245, 245, 247, 0.92);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Versión anterior (comentada por si la necesitas) */
/*
.hero-image {
    max-width: 1000px;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
*/

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::after {
    width: 300%;
    height: 300%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-2px);
}
    background: var(--color-primary);
    color: white;
}

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

.btn-phone:hover {
    background: #2da84a;
}

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

.btn-whatsapp:hover {
    background: #128c7e;
}

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

.btn-full {
    width: 100%;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 24px;
}

.section-light { background: var(--color-bg); }
.section-gray { background: var(--color-bg-gray); }
.section-dark { 
    background: var(--color-bg-dark); 
    color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.section-dark .section-subtitle {
    color: #86868b;
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-apple);
    border-color: rgba(0, 113, 227, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0,113,227,0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border: 2px solid var(--color-primary);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--color-bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.75rem;
    color: var(--color-primary);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #5856d6 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: white;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(0.9);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-price {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ========================================
   TELEMEDICINE
   ======================================== */
.telemedicine-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.tele-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.tele-card.featured {
    border: 2px solid var(--color-whatsapp);
    transform: scale(1.02);
}

.tele-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.tele-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-whatsapp);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tele-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
}

.tele-icon.phone { background: var(--color-phone); }
.tele-icon.whatsapp { background: var(--color-whatsapp); }
.tele-icon.video { background: var(--color-primary); }

.tele-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tele-card > p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tele-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.tele-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.tele-features i {
    color: var(--color-phone);
    font-size: 0.85rem;
}

.tele-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

/* Callback Box */
.callback-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.callback-icon {
    width: 70px;
    height: 70px;
    background: var(--color-bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--color-primary);
}

.callback-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.callback-content > p {
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.callback-form input,
.callback-form select {
    padding: 16px 20px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.callback-form input:focus,
.callback-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* ========================================
   TEAM
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-actions {
    display: flex;
    gap: 16px;
}

.team-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    transition: var(--transition);
}

.team-btn:hover {
    transform: scale(1.1);
    background: var(--color-primary);
    color: white;
}

.team-info {
    padding: 28px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-desc {
    color: #86868b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.team-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.team-status.available {
    color: var(--color-phone);
}

.team-status i {
    font-size: 0.5rem;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #d2d2d7;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: ew-resize;
}

.ba-before,
.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-after {
    clip-path: inset(0 50% 0 0);
}

.ba-label {
    position: absolute;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ba-before .ba-label {
    left: 16px;
}

.ba-after .ba-label {
    right: 16px;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    transform: translateX(-50%);
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ba-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.gallery-info {
    padding: 24px;
}

.gallery-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   CLINIC LOCATION
   ======================================== */
.clinic-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.clinic-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.clinic-desc {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.clinic-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.clinic-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.clinic-item i {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 2px;
}

.clinic-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.clinic-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.clinic-map {
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.clinic-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   REVIEWS
   ======================================== */
.rating-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.rating-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.rating-stars {
    color: #ffb800;
    font-size: 1.25rem;
}

.rating-count {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.review-meta h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.review-stars {
    color: #ffb800;
    font-size: 0.8rem;
}

.review-header .verified {
    margin-left: auto;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 16px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

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

/* Star Rating Input */
.star-rating {
    display: flex;
    gap: 8px;
    font-size: 1.5rem;
    color: #d2d2d7;
    cursor: pointer;
}

.star-rating i {
    transition: var(--transition);
}

.star-rating i:hover,
.star-rating i.active {
    color: #ffb800;
}

/* ========================================
   APPOINTMENT
   ======================================== */
.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.appointment-info .section-title {
    text-align: left;
}

.appointment-desc {
    color: #86868b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.appointment-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.benefit-item i {
    color: var(--color-phone);
    font-size: 1.25rem;
}

.appointment-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.appointment-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group select option:first-child {
    color: #86868b;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.price-summary {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #86868b;
}

.price-row.total {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 12px;
}

/* ========================================
   MODALS
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

/* Video Options */
.video-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-gray);
    border-radius: var(--radius);
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

.video-option:hover {
    background: #e8e8ed;
}

.video-option-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.video-option-info {
    flex: 1;
}

.video-option-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.video-option-info p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.video-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: #e3f2fd;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.video-tip i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

/* Payment Modal */
.payment-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--color-bg-gray);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--color-primary);
    background: white;
}

.payment-method i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.payment-method span {
    font-size: 0.85rem;
    font-weight: 500;
}

.bank-info {
    background: var(--color-bg-gray);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.bank-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.payment-summary {
    border-top: 1px solid #e5e5e7;
    padding-top: 20px;
    margin: 24px 0;
}

.payment-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Success Modal */
.success-content {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-phone);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 2.5rem;
}

.success-content h3 {
    margin-bottom: 8px;
}

.success-content > p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-bg-gray);
    padding: 60px 24px 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand i {
    color: var(--color-primary);
}

.footer-tagline {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding: 24px;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-container .toast {
    pointer-events: auto;
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 400px;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.toast.success::before { background: var(--color-phone); }
.toast.error::before { background: #ff3b30; }
.toast.warning::before { background: #ff9500; }
.toast.info::before { background: var(--color-primary); }

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--color-phone); }
.toast.error .toast-icon { color: #ff3b30; }
.toast.warning .toast-icon { color: #ff9500; }
.toast.info .toast-icon { color: var(--color-primary); }

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--color-text);
}

.toast-message {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--color-text);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.2;
    animation: toastProgress 5s linear forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ========================================
   LOADING STATES
   ======================================== */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   CHATBOT WIDGET
   ======================================== */
.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 4000;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* Chatbot Toggle Button */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #5856d6);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    animation: float 3s ease-in-out infinite;
}
    align-items: center;
    justify-content: center;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(0, 113, 227, 0.5);
}

.chatbot-notification {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Chatbot Container */
.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 550px;
    max-height: calc(100vh - 140px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chatbot Header */
.chatbot-header {
    background: linear-gradient(135deg, var(--color-primary), #5856d6);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.chatbot-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chatbot-info {
    flex: 1;
}

.chatbot-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.chatbot-status {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-status i {
    font-size: 0.6rem;
    color: #34c759;
}

.chatbot-actions {
    display: flex;
    gap: 8px;
}

.chatbot-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.chatbot-actions button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Chat Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    gap: 12px;
    animation: messageIn 0.3s ease;
}

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

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.chat-message.bot .message-avatar {
    background: var(--color-primary);
    color: white;
}

.chat-message.user .message-avatar {
    background: var(--color-bg-gray);
    color: var(--color-text);
}

.message-content {
    max-width: 75%;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-message.bot .message-content {
    background: var(--color-bg-gray);
    color: var(--color-text);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: var(--color-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin-bottom: 8px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 18px 20px;
    background: var(--color-bg-gray);
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--color-text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Quick Options */
.chatbot-quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.chatbot-quick-options button {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e5e5e7;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text);
}

.chatbot-quick-options button:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Input Area */
.chatbot-input-area {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.chatbot-input-area input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #e5e5e7;
    border-radius: 24px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
}

.chatbot-input-area input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.chatbot-input-area button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chatbot-input-area button:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

/* Chat Suggestions */
.chat-suggestions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.chat-suggestion-btn {
    padding: 12px 16px;
    background: white;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.chat-suggestion-btn:hover {
    background: var(--color-bg-gray);
    border-color: var(--color-primary);
}

.chat-suggestion-btn i {
    margin-right: 8px;
    color: var(--color-primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .clinic-container,
    .appointment-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .clinic-info .section-title,
    .appointment-info .section-title {
        text-align: center;
    }
    
    .appointment-benefits {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .clinic-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .services-grid,
    .telemedicine-options,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .tele-card.featured {
        transform: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .callback-box {
        padding: 32px 24px;
    }
    
    .appointment-form-container {
        padding: 28px 24px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section > * {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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