/* ============================================
   AIRE CENTRO MÉDICO - Design System
   Minimalist Medical Wellness Center
   ============================================ */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-50: #F5F5F5;
    --gray-100: #E8E8E8;
    --gray-200: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-800: #2D2D2D;
    --gray-900: #1A1A1A;

    --green-natural: #7C9A82;
    --green-light: #E8F0E9;
    --green-dark: #5C7A62;

    --wood: #C4A77D;
    --wood-light: #F5EFE6;

    /* Typography */
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--gray-600);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-900);
    line-height: var(--leading-tight);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

@media (min-width: 768px) {
    h1 {
        font-size: var(--text-5xl);
    }

    h2 {
        font-size: var(--text-4xl);
    }

    h3 {
        font-size: var(--text-3xl);
    }
}

p {
    margin-bottom: var(--space-4);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-muted {
    color: var(--gray-400);
}

.text-center {
    text-align: center;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-16) 0;
}

.section-lg {
    padding: var(--space-20) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-20) 0;
    }

    .section-lg {
        padding: var(--space-24) 0;
    }
}

.bg-white {
    background-color: var(--white);
}

.bg-off-white {
    background-color: var(--off-white);
}

.bg-gray {
    background-color: var(--gray-50);
}

.bg-green-light {
    background-color: var(--green-light);
}

.bg-wood-light {
    background-color: var(--wood-light);
}

/* ===== GRID ===== */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-5 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--green-natural);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--gray-400);
    background-color: var(--gray-50);
}

.btn-outline {
    background-color: transparent;
    color: var(--green-natural);
    border: 1px solid var(--green-natural);
}

.btn-outline:hover {
    background-color: var(--green-light);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.logo-image {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
}

@media (min-width: 480px) {
    .logo-image {
        height: 60px;
    }

    .logo-text {
        display: block;
    }
}

@media (min-width: 768px) {
    .logo-image {
        height: 65px;
    }
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gray-900);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--green-natural);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: block;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gray-800);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-mobile {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    padding: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 99;
}

.nav-mobile.open {
    transform: translateX(0);
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.nav-mobile-link {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--gray-800);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--gray-100);
}

/* ===== HERO ===== */
.hero {
    padding-top: calc(72px + var(--space-16));
    padding-bottom: var(--space-16);
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

@media (min-width: 768px) {
    .hero {
        padding-top: calc(72px + var(--space-20));
        padding-bottom: var(--space-20);
    }
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: var(--green-light);
    color: var(--green-dark);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.hero-title {
    margin-bottom: var(--space-6);
    font-weight: 700;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    max-width: 560px;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: var(--text-xl);
    }
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    color: var(--gray-400);
    font-size: var(--text-sm);
}

.hero-services span {
    color: var(--gray-600);
}

/* ===== CARDS ===== */
.card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    color: var(--green-natural);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.card-text {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--green-natural);
    font-weight: 500;
    font-size: var(--text-sm);
    transition: gap var(--transition-fast);
}

.card-link:hover {
    gap: var(--space-3);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--green-natural);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-text {
    color: var(--gray-600);
    font-size: var(--text-lg);
}

/* ===== FEATURES LIST ===== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--green-natural);
}

.feature-text {
    color: var(--gray-600);
}

/* ===== GALLERY ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--gray-100);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== TEAM GRID ===== */
.team-card {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background-color: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.team-card:hover {
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background-color: var(--gray-100);
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.team-role {
    color: var(--green-natural);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.team-license {
    color: var(--gray-400);
    font-size: var(--text-xs);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green-light);
    border-radius: var(--radius-lg);
    color: var(--green-natural);
}

.contact-label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.contact-value {
    color: var(--gray-600);
    font-size: var(--text-sm);
}

/* Contact Form */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-800);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background-color: var(--white);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--green-natural);
    box-shadow: 0 0 0 3px var(--green-light);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* Map */
.map-container {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    /* Aspect ratio 4:3 */
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--gray-100);
    margin-top: var(--space-4);
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 768px) {
    .map-container {
        padding-bottom: 50%;
        /* Wider aspect ratio on desktop */
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-4);
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 0.8;
}

.footer-text {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    max-width: 280px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copy {
    font-size: var(--text-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-social {
        justify-content: flex-end;
    }
}

.footer-social a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--white);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 90;
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

/* Stagger delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== UTILITIES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mt-8 {
    margin-top: var(--space-8);
}

/* Page transition */
.page-enter {
    animation: fadeIn 0.4s ease;
}

/* ===== APPLE-STYLE EFFECTS ===== */

/* Hero with background image */
.hero-image {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.9) 40%,
            rgba(255, 255, 255, 0.95) 100%);
}

/* Parallax effect */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    z-index: -1;
}

.parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.parallax-blur {
    filter: blur(8px);
    opacity: 0.7;
}

/* Blur overlay sections */
.blur-overlay {
    position: relative;
}

.blur-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

/* Scale on scroll effect */
.scale-on-scroll {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.scale-on-scroll.scaled {
    transform: scale(1.05);
}

/* Fade scale reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Sticky image section (Apple style) */
.sticky-image-section {
    min-height: 150vh;
    position: relative;
}

.sticky-image {
    position: sticky;
    top: 100px;
    height: calc(100vh - 150px);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.sticky-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating cards effect */
.float-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-card:hover {
    transform: translateY(-12px) scale(1.02);
}

/* Text gradient animation */
.text-gradient {
    background: linear-gradient(135deg, var(--green-natural) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image with subtle zoom on load */
.image-zoom-in {
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.image-zoom-in img {
    animation: zoomIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1.2);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Smooth parallax for elements */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Frosted glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

/* Image overlay with gradient */
.image-overlay {
    position: relative;
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Smooth section transitions */
.section-transition {
    position: relative;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--white));
    pointer-events: none;
}

/* Team avatar with image */
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}