/* ═══════════════════════════════════════════════════════════════════
   ML & ASOCIADOS – DESIGN SYSTEM
   Inspired by Marval & Cassagne: editorial, cinematic, authoritative
   ═══════════════════════════════════════════════════════════════════ */

:root {
    /* ─── Palette ─── */
    --navy-900: #070E1F;
    --navy-800: #0C1A30;
    --navy-700: #0F2140;
    --navy-600: #162D50;
    --navy-500: #1E3A5F;
    --gold-400: #C9A84C;
    --gold-300: #D4B85C;
    --gold-200: #E0C96E;
    --cream: #F5F0E8;
    --cream-light: #FAF8F4;
    --white: #FFFFFF;
    --gray-100: #F7F8FA;
    --gray-200: #E8ECF0;
    --gray-300: #C8CDD5;
    --gray-600: #6B7280;
    --gray-700: #4A5060;
    --gray-800: #2D3140;
    --text-dark: #1A1D25;
    --text-body: #3A3F4B;
    --text-muted: #6B7280;
    
    /* ─── Typography ─── */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* ─── Spacing ─── */
    --section-pad: clamp(4rem, 8vw, 8rem);
    
    /* ─── Shapes ─── */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    
    /* ─── Transitions ─── */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL RESET
   ═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

ul { list-style: none; }

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy-800);
    line-height: 1.15;
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

em {
    font-style: italic;
    color: var(--gold-400);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.35s var(--ease);
    text-align: center;
    white-space: nowrap;
}

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

.btn-gold {
    background-color: var(--gold-400);
    color: var(--navy-900);
    border-color: var(--gold-400);
}

.btn-gold:hover {
    background-color: var(--gold-200);
    border-color: var(--gold-200);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

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

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

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

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADER (Shared)
   ═══════════════════════════════════════════════════════════════════ */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-400);
    margin-bottom: 1rem;
}

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

.section-header h2 {
    margin-bottom: 1.2rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s var(--ease);
    padding: 1.2rem 0;
}

header.scrolled {
    background-color: rgba(7, 14, 31, 0.97);
    backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1001;
}

.logo img {
    height: 48px;
    width: auto;
    transition: height 0.3s var(--ease);
}

header.scrolled .logo img { height: 38px; }

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

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-400);
    line-height: 1;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: color 0.3s var(--ease);
    position: relative;
}

.main-nav a:not(.nav-cta):hover {
    color: var(--white);
}

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s var(--ease);
}

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

.nav-cta {
    padding: 0.6rem 1.6rem;
    border: 1.5px solid var(--gold-400);
    border-radius: var(--radius);
    color: var(--gold-400) !important;
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--gold-400);
    color: var(--navy-900) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.35s var(--ease);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(7, 14, 31, 0.92) 0%,
        rgba(12, 26, 48, 0.82) 40%,
        rgba(15, 33, 64, 0.70) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding-top: 6rem;
}

.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-400);
    border: 1px solid rgba(201, 168, 76, 0.35);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-300);
}

.hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════════ */
.stats-bar {
    background-color: var(--navy-800);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-400);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════════════
   AREAS DE PRÁCTICA
   ═══════════════════════════════════════════════════════════════════ */
.areas {
    padding: var(--section-pad) 0;
    background-color: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.area-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    position: relative;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.area-card:hover {
    border-color: var(--navy-600);
    box-shadow: 0 20px 50px rgba(7, 14, 31, 0.08);
    transform: translateY(-6px);
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card-inner {
    padding: 2.5rem 2rem;
}

.area-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background-color: rgba(201, 168, 76, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.35s var(--ease);
}

.area-icon svg {
    width: 26px;
    height: 26px;
    color: var(--gold-400);
    transition: color 0.35s var(--ease);
}

.area-card:hover .area-icon {
    background-color: var(--navy-800);
}

.area-card:hover .area-icon svg {
    color: var(--gold-300);
}

.area-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.area-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.area-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.area-features span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    background-color: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.area-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-700);
    transition: all 0.3s var(--ease);
}

.area-link:hover {
    color: var(--gold-400);
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════════════ */
.cta-band {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    padding: 4rem 0;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.5rem;
}

.cta-band p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════
   EL ESTUDIO
   ═══════════════════════════════════════════════════════════════════ */
.estudio {
    padding: var(--section-pad) 0;
    background-color: var(--cream-light);
}

.estudio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.estudio-image {
    position: relative;
}

.estudio-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    position: relative;
    z-index: 2;
}

.estudio-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--gold-400);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.estudio-content .section-label {
    margin-bottom: 0.8rem;
}

.estudio-content h2 {
    margin-bottom: 1.5rem;
}

.estudio-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.estudio-values {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: rgba(201, 168, 76, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold-400);
}

.value-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 0.3rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   PROCESO
   ═══════════════════════════════════════════════════════════════════ */
.proceso {
    padding: var(--section-pad) 0;
    background-color: var(--white);
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.proceso-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold-400), transparent);
    opacity: 0.3;
}

.proceso-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-400);
    opacity: 0.3;
    margin-bottom: 1.2rem;
    transition: opacity 0.3s var(--ease);
}

.proceso-step:hover .step-number {
    opacity: 1;
}

.proceso-step h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.proceso-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════════════════════ */
.contacto {
    padding: var(--section-pad) 0;
    background-color: var(--gray-100);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacto-info h2 {
    margin-bottom: 1rem;
}

.contacto-info > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s var(--ease);
}

.info-card:hover {
    border-color: var(--gold-400);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.08);
}

.info-icon {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(201, 168, 76, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold-400);
}

.info-card h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 0.3rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Form */
.contacto-form-wrap {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.contacto-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

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

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: var(--gray-100);
    transition: all 0.3s var(--ease);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-400);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-legal {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--gray-600);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════════════════════════════ */
.map-section {
    line-height: 0;
}

.map-section iframe {
    display: block;
    filter: grayscale(30%) contrast(1.05);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
    background-color: var(--navy-900);
    color: rgba(255,255,255,0.65);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.footer-logo img {
    height: 42px;
    opacity: 0.9;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    display: block;
}

.footer-tagline {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-400);
    display: block;
    margin-top: 2px;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s var(--ease);
}

.social-link:hover {
    border-color: var(--gold-400);
    background-color: rgba(201, 168, 76, 0.1);
}

.social-link:hover svg {
    color: var(--gold-400);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-col .mt-2 {
    margin-top: 2rem;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s var(--ease);
}

.footer-col ul li a:hover {
    color: var(--gold-300);
    padding-left: 4px;
}

.footer-col ul li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.4);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1rem !important;
    font-size: 0.85rem !important;
    line-height: 1.5;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

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

/* ═══════════════════════════════════════════════════════════════════
   WHATSAPP FLOATING
   ═══════════════════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s var(--ease);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATION CLASSES
   ═══════════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Tablet ─── */
@media (max-width: 1024px) {
    .estudio-grid { grid-template-columns: 1fr; gap: 3rem; }
    .proceso-grid { grid-template-columns: repeat(2, 1fr); }
    .proceso-grid::before { display: none; }
    .contacto-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .areas-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    /* Nav */
    .hamburger { display: block; }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--navy-900);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav a {
        font-size: 1.3rem;
        color: var(--white);
    }
    
    header {
        background-color: rgba(7, 14, 31, 0.95);
        padding: 1.1rem 0;
    }
    
    .logo img { height: 46px; }
    .logo-name { font-size: 1.3rem; }
    .logo-tagline { font-size: 0.62rem; letter-spacing: 0.22em; }
    
    /* Hero – compact on mobile, no wasted space */
    .hero {
        min-height: auto;
        align-items: flex-start;
        padding-top: 0;
    }
    
    .hero-content {
        padding-top: 6rem; /* Clear the larger mobile header */
        padding-bottom: 3.5rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        letter-spacing: 0.15em;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-sub {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }
    
    .hero-scroll-indicator { display: none; }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
        padding: 0.85rem 1.5rem;
    }
    
    /* Stats */
    .stats-bar { padding: 2rem 0; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number { font-size: 2rem; }
    .stat-plus { font-size: 1.4rem; }
    .stat-label { font-size: 0.7rem; letter-spacing: 0.05em; }
    
    /* Areas */
    .areas-grid { grid-template-columns: 1fr; }
    .area-card-inner { padding: 1.8rem 1.5rem; }
    
    /* CTA */
    .cta-band { padding: 3rem 0; }
    .cta-band-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-band-inner .btn { width: 100%; justify-content: center; white-space: normal; }
    
    /* Proceso */
    .proceso-grid { grid-template-columns: 1fr 1fr; }
    .proceso-step { padding: 1.5rem 1rem; }
    .step-number { font-size: 2rem; }
    
    /* Estudio */
    .estudio-image-accent { display: none; }
    .estudio-grid { gap: 2.5rem; }
    
    /* Contact */
    .form-row { grid-template-columns: 1fr; }
    .contacto-form-wrap { padding: 1.8rem; }
    .info-card p { word-break: break-word; }
    
    /* Footer */
    .footer { padding-top: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid > .footer-brand { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links { flex-direction: column; gap: 0.5rem; }

    /* Map */
    .map-section iframe { height: 280px; }
    
    /* WhatsApp float - smaller on mobile */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 1.2rem;
        right: 1.2rem;
    }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ─── Small phones ─── */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.85rem; }
    .hero-sub { font-size: 0.92rem; }
    .hero-badge { font-size: 0.6rem; letter-spacing: 0.1em; }
    
    .stats-grid { gap: 0.5rem; }
    .stat-item { padding: 0.6rem 0.3rem; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.65rem; }
    
    .section-header { margin-bottom: 2.5rem; }
    
    .proceso-grid { grid-template-columns: 1fr; }
    
    .contacto-form-wrap { padding: 1.2rem; }
    .contacto-form h3 { font-size: 1.3rem; }
}
