/* ============================================
   Colegio Público Ángel Larena
   Vibrant Modern · Charcoal + Coral
   ============================================ */

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

:root {
    --charcoal-900: #1a1a2e;
    --charcoal-800: #2d2d44;
    --charcoal-700: #3d3d5c;
    --coral-400: #ff7e67;
    --coral-500: #ff6b52;
    --coral-600: #e8553f;
    --cream: #faf8f5;
    --white: #ffffff;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal-900);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Geometric Decorations --- */
.geo-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: var(--coral-500);
    top: -200px;
    right: -150px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: var(--charcoal-900);
    bottom: 10%;
    left: -100px;
}

.geo-square {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--coral-500);
    opacity: 0.04;
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid var(--charcoal-900);
    opacity: 0.03;
    top: 60%;
    left: 3%;
    transform: rotate(-15deg);
}

.geo-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--coral-500) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.15;
    top: 25%;
    left: 8%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    box-shadow: 0 4px 30px rgba(26, 26, 46, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal-900);
}

.nav-logo-text {
    display: none;
}

@media (min-width: 640px) {
    .nav-logo-text {
        display: block;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--charcoal-900);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--charcoal-900);
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.open {
    right: 0;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--coral-400);
    padding-left: 8px;
}

.nav-link--cta {
    margin-top: 16px;
    background: var(--coral-500);
    color: var(--white);
    text-align: center;
    border-radius: 12px;
    padding: 14px 24px;
    border: none;
}

.nav-link--cta:hover {
    background: var(--coral-600);
    padding-left: 24px;
    color: var(--white);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        gap: 4px;
        right: 0;
    }
    
    .nav-link {
        color: var(--charcoal-800);
        border-bottom: none;
        padding: 8px 16px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .nav-link:hover {
        color: var(--coral-500);
        padding-left: 16px;
        background: transparent;
    }
    
    .nav-link--cta {
        margin-top: 0;
        background: var(--charcoal-900);
        color: var(--white);
        border-radius: 10px;
        padding: 10px 20px;
    }
    
    .nav-link--cta:hover {
        background: var(--coral-500);
    }
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid rgba(255, 107, 82, 0.2);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal-700);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--coral-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal-900);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--charcoal-700);
    max-width: 520px;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--coral-500);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 107, 82, 0.35);
}

.btn--primary:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 82, 0.45);
}

.btn--outline {
    background: var(--white);
    color: var(--charcoal-900);
    border: 2px solid var(--charcoal-900);
}

.btn--outline:hover {
    background: var(--charcoal-900);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--charcoal-900);
    transform: translateY(-2px);
}

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

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* --- Hero Visual --- */
.hero-visual {
    position: relative;
    min-height: 420px;
}

.hero-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(26, 26, 46, 0.15);
}

.hero-card--main {
    width: 100%;
    aspect-ratio: 5/4;
}

.hero-card--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.8), transparent);
}

.hero-card-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    background: var(--coral-500);
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-block;
}

.hero-stat-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(26, 26, 46, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 4s ease-in-out infinite;
}

.hero-stat-card--1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.hero-stat-card--2 {
    bottom: 60px;
    left: -30px;
    animation-delay: 1.5s;
}

.hero-stat-card--3 {
    bottom: -16px;
    right: 40px;
    animation-delay: 3s;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral-500);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--charcoal-700);
    line-height: 1.3;
}

.hero-geo-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.geo-accent-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--coral-500), transparent);
    opacity: 0.2;
}

.geo-accent-dots {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, var(--coral-500) 2px, transparent 2px);
    background-size: 10px 10px;
    opacity: 0.2;
    top: -40px;
    right: -30px;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section--charcoal {
    background: var(--charcoal-900);
    color: var(--white);
}

.section--cream {
    background: var(--cream);
}

.section--coral {
    background: var(--coral-500);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coral-500);
    background: rgba(255, 107, 82, 0.1);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-tag--light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--charcoal-700);
}

.section-subtitle--light {
    color: rgba(255, 255, 255, 0.8);
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.about-image-block img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 24px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral-500);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
}

.value-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 82, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-400);
    flex-shrink: 0;
}

/* --- Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    padding: 36px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
}

.card--coral {
    background: var(--coral-500);
    color: var(--white);
}

.card--charcoal {
    background: var(--charcoal-800);
    color: var(--white);
}

.card--accent {
    background: var(--charcoal-900);
    color: var(--white);
}

.card--white {
    background: var(--white);
    color: var(--charcoal-900);
    box-shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
}

.card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.1;
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card--coral .card-icon,
.card--charcoal .card-icon,
.card--accent .card-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.card--white .card-icon {
    background: rgba(255, 107, 82, 0.1);
    color: var(--coral-500);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 20px;
}

.card-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.card--white .card-tag {
    background: rgba(255, 107, 82, 0.1);
    color: var(--coral-500);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
}

.testimonial-role {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: var(--charcoal-900);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.cta-geo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
}

.cta-circle--1 {
    width: 300px;
    height: 300px;
    background: var(--coral-500);
    opacity: 0.06;
    top: -100px;
    left: -80px;
}

.cta-circle--2 {
    width: 200px;
    height: 200px;
    background: var(--coral-400);
    opacity: 0.08;
    bottom: -60px;
    right: 10%;
}

.cta-square {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--coral-500);
    opacity: 0.06;
    top: 20%;
    right: 5%;
    transform: rotate(30deg);
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 107, 82, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-400);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--coral-400);
}

.contact-map {
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(26, 26, 46, 0.1);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal-800);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(26, 26, 46, 0.1);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal-900);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--coral-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 82, 0.1);
}

.form-input::placeholder {
    color: var(--charcoal-700);
    opacity: 0.5;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233d3d5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
    color: var(--charcoal-700);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-900);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-links ul li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--coral-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

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

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

/* --- Mobile adjustments --- */
@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }
    
    .hero-visual {
        min-height: 320px;
    }
    
    .hero-stat-card--1 {
        right: 0;
    }
    
    .hero-stat-card--2 {
        left: 0;
    }
    
    .section {
        padding: 72px 0;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
