/* ===== VARIABLES ===== */
:root {
    /* Global Colors (White Theme mostly) */
    --bg-white: #ffffff;
    --bg-lightest: #f8f9fa;
    --text-primary: #111111;
    --text-secondary: #555555;
    --border-light: #e5e5e5;
    
    /* Dark Theme Colors (For Procedures) */
    --proc-bg: #080809;
    --proc-text: #ffffff;
    --proc-muted: #999999;
    --proc-dim: #666666;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
html { overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 4%; }
.section-padding { padding: 120px 0; }
.mt-4 { margin-top: 2rem; }
.flex-gap { display: flex; gap: 15px; flex-wrap: wrap; }

h1 { font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px;}
h2 { font-family: var(--font-heading); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -0.5px; margin-bottom: 20px;}
h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; margin-bottom: 0.8rem; }
h1 i, h2 i { font-family: var(--font-serif); font-weight: 400; font-style: italic; color: #777; }
.hero-content-full h1 i { color: #e5e5e5; }

.lead-text { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 2rem; }
.specialist-profile {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}
.specialist-profile p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* META TAGS */
.meta-tag {
    display: inline-block;
    padding: 6px 15px;
    background: #f0f0f0;
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.meta-text-dark {
    font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--proc-dim); display: block; margin-bottom: 1rem;
}

/* ===== BUTTONS (WHITE THEME) ===== */
.btn-solid-dark {
    display: inline-flex;
    background: var(--text-primary);
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}
.btn-solid-dark:hover { background: #333; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.btn-outline-dark {
    display: inline-flex; border: 1px solid var(--text-primary); color: var(--text-primary);
    padding: 0.6rem 1.8rem; border-radius: 4px; text-decoration: none; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); font-weight: 600;
}
.btn-outline-dark:hover { background: var(--text-primary); color: var(--bg-white); }

/* ===== NAVBAR (DYNAMIC COLOR) ===== */
.navbar {
    position: fixed; top: 0; width: 100%;
    padding: 0.9rem 4%; display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: var(--transition);
    background: transparent;
}
.navbar .logo-text, .navbar .nav-link { color: #ffffff; }
.navbar .logo-sub { color: rgba(255,255,255,0.8); }
.navbar .btn-outline-dark { border-color: #ffffff; color: #ffffff; }
.navbar .btn-outline-dark:hover { background: #ffffff; color: var(--text-primary); }
.hamburger div { background-color: #ffffff; }

.logo { display: flex; align-items: center; gap: 0.9rem; }
.logo-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.logo-image {
    width: 50px;
    height: auto;
    margin-bottom: 0;
}
.logo-text { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.5px; line-height: 1; }
.logo-sub { font-size: 0.58rem; letter-spacing: 1.8px; margin-top: 0.3rem; line-height: 1; }
.nav-links { display: flex; list-style: none; gap: 3rem; align-items: center; }
.nav-link { text-decoration: none; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.nav-link:hover { color: #d81b60; }
.hamburger { display: none; cursor: pointer; }
.hamburger div { width: 25px; height: 2px; margin: 5px 0; transition: 0.3s; }

/* Cuando Scrollea (Fondo Blanco, Letras Negras) */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    padding: 0.75rem 4%; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.navbar.scrolled .logo-text, .navbar.scrolled .nav-link { color: var(--text-primary); }
.navbar.scrolled .logo-sub { color: var(--text-secondary); }
.navbar.scrolled .btn-outline-dark { border-color: var(--text-primary); color: var(--text-primary); }
.navbar.scrolled .btn-outline-dark:hover { background: var(--text-primary); color: var(--bg-white); }
.navbar.scrolled .hamburger div { background-color: var(--text-primary); }
.navbar.scrolled .nav-link:hover { color: #d81b60; }

/* ===== HERO FULL IMAGE ===== */
.hero-full {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/fondo1.png');
    background-size: cover;
    background-position: center top;
}
.wrap-border { border-bottom: 1px solid var(--border-light); }

.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content-full {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
}
.hero-content-full h1 { margin-bottom: 25px; color: #ffffff; }
.hero-content-full p { font-size: 1.25rem; font-weight: 300; opacity: 0.9; margin-bottom: 2rem; }

.meta-tag-light {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.btn-solid-light {
    display: inline-flex;
    background: #ffffff;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-solid-light:hover { background: #d81b60; color: #fff; transform: translateY(-3px); }

.btn-outline-light {
    display: inline-flex; border: 1px solid #ffffff; color: #ffffff;
    padding: 1rem 2.5rem; border-radius: 4px; text-decoration: none; font-weight: 600;
    transition: var(--transition);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.justify-center { justify-content: center; }

/* ===== FLOATING INFO CARDS ===== */
.floating-info {
    position: relative;
    z-index: 20;
    margin-top: -80px; /* Sube la franja para que solape el borde del Hero */
    margin-bottom: 2rem;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.info-card {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* Sombra para resaltar que flotan encima */
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.info-icon {
    font-size: 2.8rem;
    color: #d81b60; /* Color fucsia para coincidir con la kinesiologa */
    margin-bottom: 1.5rem;
}
.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}
.info-btn {
    margin-top: 1.5rem; 
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}
button.info-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-solid-wsp {
    background: #25D366; /* Verde Whatsapp */
    color: #ffffff;
}
.btn-solid-wsp:hover {
    background: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    color: #ffffff;
}

/* ===== MODAL ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(8, 8, 9, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
}
.modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.location-modal {
    position: relative;
    width: min(100%, 560px);
    padding: 2rem;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(216,27,96,0.12), transparent 30%),
        #ffffff;
    box-shadow: 0 30px 80px rgba(0,0,0,0.22);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
}
.modal-backdrop.is-open .location-modal {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover {
    background: #d81b60;
    transform: rotate(90deg);
}
.modal-tag {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #fde7f0;
    color: #b31253;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 1rem;
}
.location-modal h3 {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    margin-bottom: 0.75rem;
}
.location-modal p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}
.location-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}
.location-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #fbfbfb;
    border: 1px solid var(--border-light);
}
.location-pill i {
    color: #d81b60;
    font-size: 1rem;
}
.location-pill span {
    font-weight: 600;
    color: var(--text-primary);
}
.modal-cta {
    width: 100%;
    justify-content: center;
}
body.modal-open {
    overflow: hidden;
}

/* ===== QUIÉN SOY & POR QUÉ ELEGIRNOS ===== */
.about-section { background-color: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; align-items: center; }

.about-images { position: relative; }
.main-image { width: 100%; border-radius: 8px; overflow: hidden; }
.main-image img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; }
.shadow-box { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.experience-badge {
    position: absolute; bottom: -20px; right: 0;
    background: var(--text-primary); color: var(--bg-white);
    padding: 2rem; border-radius: 8px; text-align: center;
}
.experience-badge h3 { font-size: 3rem; margin: 0; line-height: 1; color: var(--bg-white); }
.experience-badge p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin: 5px 0 0; }

.why-us h3 { margin-top: 3rem; margin-bottom: 1.5rem; font-size: 1.8rem; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.why-card { display: flex; gap: 20px; background: var(--bg-lightest); padding: 20px; border-radius: 8px; border: 1px solid var(--border-light); transition: var(--transition); }
.why-card:hover { transform: translateX(10px); background: var(--bg-white); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.icon-dark {
    width: 50px; height: 50px; min-width: 50px;
    background: var(--text-primary); color: var(--bg-white);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 1.2rem;
}
.why-card h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 5px; color: var(--text-primary); }
.why-card p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }

/* ===== 3 COLUMNS BANNER SECTION ===== */
.banner-3cols {
    display: flex;
    width: 100%;
}
.col-box {
    flex: 1;
    padding: 60px 4%; /* Medida reducida de padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.col-box h3 { margin-top: 1.5rem; margin-bottom: 1rem; font-size: 1.3rem; } /* Reducido h3 */
.col-box p { font-size: 0.95rem; line-height: 1.6; max-width: 320px; }

.icon-circle {
    width: 60px; height: 60px; /* Reducido círculo */
    background: #ffffff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #d81b60;
}
.shadow-sm { box-shadow: 0 10px 20px rgba(0,0,0,0.1); border: 1px solid #f0f0f0; }

/* Gradiente de Lujo de Blanco a Negro profundo */
.col-white { background: var(--bg-white); color: var(--text-primary); border-top: 1px solid var(--border-light); }
.col-gray { background: #1a1a1a; color: #ffffff; }
.col-black { background: var(--proc-bg); color: #ffffff; } /* Se fusiona con la sección de Procedimientos que tiene --proc-bg = #080809 */

.col-gray .icon-circle, .col-black .icon-circle { border: none; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.col-gray p, .col-black p { color: #cccccc; }
.col-gray h3, .col-black h3 { color: #ffffff; }


/* ===== PROCEDURES SECTION (DARK THEME - KEPT EXACTLY SAME) ===== */
.procedimientos { background-color: var(--proc-bg); color: var(--proc-text); }
.text-white { color: var(--proc-text); }
.procedimientos .section-header { margin-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 2rem; }
.procedimientos .header-flex { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }

/* Link Arrow for Dark Sec */
.link-arrow { color: var(--proc-muted); text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.link-arrow span { transition: transform 0.3s ease; }
.link-arrow:hover { color: var(--proc-text); }
.link-arrow:hover span { transform: translate(3px, -3px); }

.proc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem 2rem; }
.proc-card { cursor: pointer; }

/* Imagen Procedure */
.proc-image { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 1.5rem; background: #1a1a1a; }
.proc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0.8; filter: grayscale(10%); }
.proc-card:hover .proc-image img { transform: scale(1.05); opacity: 1; filter: grayscale(0%); }

/* Viewfinder Brackets */
.viewfinder { position: absolute; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,0.25); z-index: 2; transition: var(--transition); }
.proc-card:hover .viewfinder { border-color: rgba(255,255,255,0.9); }
.vf-tl { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.vf-tr { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.vf-bl { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.vf-br { bottom: 15px; right: 15px; border-left: none; border-top: none; }

/* Textos Procedure */
.proc-card .proc-meta { font-size: 0.65rem; color: var(--proc-dim); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.8rem; }
.proc-card .proc-title { transition: var(--transition); color: #fff;}
.proc-card:hover .proc-title { color: #e5e5e5; }
.proc-card .proc-desc { color: var(--proc-muted); font-size: 0.95rem; line-height: 1.5; }

/* ===== COMO TRABAJO SECTION ===== */
.como-trabajo { background: var(--bg-white); color: var(--text-primary); }
.text-center { text-align: center; }

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.workflow-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}
.workflow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border-color: #cccccc;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.step-icon {
    font-size: 2.2rem;
    color: #d81b60;
    margin-top: auto;
    margin-bottom: 1.5rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}
.mt-auto { margin-top: auto; }

/* ===== TESTIMONIOS PARALLAX ===== */
.testimonios-parallax {
    position: relative;
    padding: 120px 0;
    background-image: url('https://images.unsplash.com/photo-1544015759-4d6cb6002f5a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}
.parallax-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(8, 8, 9, 0.85); /* Coincide con el tema oscuro */
    z-index: 1;
}
.relative-z { position: relative; z-index: 2; }

.testimonio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}
.testimonio-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
}
.testimonio-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}
.quote-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.2);
    margin-bottom: 1.5rem;
}
.testimonio-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.testimonio-card h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 600;
}

/* ===== BENEFICIOS DOMICILIO ===== */
.beneficios-section { background-color: var(--bg-white); }
.beneficios-grid { display: grid; grid-template-columns: 10fr 8fr; gap: 6rem; align-items: center; }

.beneficios-lista { display: flex; flex-direction: column; gap: 2.2rem; }
.ben-item { display: flex; gap: 20px; align-items: flex-start; }
.ben-item i { font-size: 1.6rem; margin-top: 4px; }
.ben-item h4 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text-primary); margin-bottom: 5px; font-weight: 700; }
.ben-item p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

.beneficios-image { max-width: 400px; margin: 0 auto; /* Limita el ancho excesivo */ }

/* ===== SEO SECTION ===== */
.seo-section {
    background: linear-gradient(180deg, #fff7fa 0%, #ffffff 100%);
}
.seo-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
}
.seo-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.seo-points {
    display: grid;
    gap: 1rem;
}
.seo-point {
    padding: 1.4rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.seo-point h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}
.seo-point p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--bg-lightest);
}
.section-header-light {
    max-width: 760px;
    margin-bottom: 2.5rem;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.faq-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.6rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}
.faq-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}
.faq-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== FOOTER (DARK THEME) ===== */
.footer-dark {
    background:
        radial-gradient(circle at top left, rgba(216,27,96,0.12), transparent 32%),
        linear-gradient(180deg, #0b0c0d 0%, #070708 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-flex {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.8fr) minmax(280px, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}
.footer-brand,
.footer-contact,
.footer-social {
    padding: 1.75rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
}
.footer-dark .logo-text { color: #ffffff; }
.footer-logo {
    width: 76px;
    margin-bottom: 1rem;
}
.footer-lead {
    color: #d7d7d7;
    line-height: 1.75;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 42ch;
}
.footer-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}
.footer-specialties span {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #f2f2f2;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}
.footer-head {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.8px;
    margin-bottom: 1rem;
}
.footer-contact a,
.footer-social a {
    display: block;
    color: #d0d0d0;
    text-decoration: none;
    margin-bottom: 0.85rem;
    transition: var(--transition);
}
.footer-contact a:hover,
.footer-social a:hover {
    color: #ffffff;
}
.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}
.location-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}
.location-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}
.location-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
    padding: 0.45rem;
    flex-shrink: 0;
}
.location-card span {
    font-size: 0.95rem;
    line-height: 1.4;
}

.copyright-dark {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.4rem;
    font-size: 0.85rem;
    color: var(--proc-dim);
}

/* ===== FLOATING WSP ===== */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background: #25D366; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 32px;
    z-index: 1000; transition: var(--transition); text-decoration: none; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}
.whatsapp-float:hover { background: #1ebe57; transform: scale(1.1); }

/* ===== ANIMACIONES (REVEAL) ===== */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(50px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }

.active.reveal-up { opacity: 1; transform: translateY(0); }
.active.reveal-left { opacity: 1; transform: translateX(0); }

/* Escalado dinámico por código JS (stagger) para las cards oscuras */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.25s; }
.stagger-3 { transition-delay: 0.4s; }
.stagger-4 { transition-delay: 0.55s; }

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
    .section-padding { padding: 80px 0; }
    .banner-3cols { flex-direction: column; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .flex-gap { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-images { max-width: 500px; margin: 0 auto; padding-bottom: 60px; }
    .beneficios-grid { grid-template-columns: 1fr; gap: 3rem; }
    .seo-grid { grid-template-columns: 1fr; gap: 2rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .beneficios-image { order: -1; max-width: 400px; margin: 0 auto; }
    .experience-badge { right: 0; bottom: -15px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }

    h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
    h2 { font-size: clamp(1.8rem, 6vw, 2.5rem) !important; }

    /* Nav mobile menu */
    .nav-links {
        position: fixed; right: -100%; top: 0; width: 100%; height: 100vh;
        background: var(--bg-white); flex-direction: column; justify-content: center;
        align-items: center; transition: 0.5s; gap: 0;
    }
    .nav-links.active { right: 0; box-shadow: -10px 0 20px rgba(0,0,0,0.1); }
    .nav-link { color: var(--text-primary) !important; font-size: 1.2rem; margin: 12px 0; }
    .nav-links .btn-outline-dark {
        border-color: var(--text-primary) !important; color: var(--text-primary) !important;
        margin-top: 10px; padding: 0.8rem 2rem;
    }

    .hamburger { display: block; z-index: 1001; }
    .hamburger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 5px); background-color: var(--text-primary) !important; }
    .hamburger.toggle .line2 { opacity: 0; }
    .hamburger.toggle .line3 { transform: rotate(45deg) translate(-5px, -5px); background-color: var(--text-primary) !important; }

    .logo { gap: 0.7rem; }
    .logo-image { width: 44px; }
    .logo-copy { align-items: flex-start; }
    .logo-text { color: var(--text-primary); }
    .hamburger div { background-color: var(--text-primary); }

    /* Hero */
    .hero-content-full p { font-size: 1rem; }
    .flex-gap { flex-direction: column; align-items: center; }
    .btn-solid-light, .btn-outline-light { width: 100%; justify-content: center; text-align: center; }

    /* Testimonios: parallax fixed no funciona bien en iOS */
    .testimonios-parallax { background-attachment: scroll; padding: 80px 0; }

    /* Floating Info Cards */
    .floating-info { margin-top: -20px; margin-bottom: 1.5rem; }
    .info-grid { grid-template-columns: 1fr; gap: 1rem; }
    .info-card { padding: 1.5rem; }
    .info-icon { font-size: 2.2rem; margin-bottom: 1rem; }
    .location-modal { padding: 1.5rem; border-radius: 18px; }
    .location-list { grid-template-columns: 1fr; }

    /* About - badge no desborde */
    .about-images { max-width: 100%; padding-bottom: 70px; }
    .experience-badge { right: 10px; bottom: -10px; padding: 1.2rem 1.5rem; }
    .experience-badge h3 { font-size: 2.2rem; }

    /* Banner cols */
    .col-box { padding: 40px 6%; }

    /* Procedures */
    .procedimientos .header-flex { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .proc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
    .proc-card .proc-meta { font-size: 0.6rem; }
    .proc-card .proc-title { font-size: 1.05rem; }
    .proc-card .proc-desc { font-size: 0.85rem; }

    /* SEO */
    .seo-point { padding: 1.2rem; }

    /* Workflow */
    .workflow-grid { margin-top: 2rem; gap: 1.5rem; }

    /* Footer */
    .footer-flex { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
    .copyright-dark { flex-direction: column; gap: 8px; text-align: center; }

    /* WhatsApp float menor en móvil */
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 5%; }
    .section-padding { padding: 50px 0; }

    h1 { font-size: 1.9rem !important; letter-spacing: -0.5px; }
    h2 { font-size: 1.7rem !important; }
    h3 { font-size: 1.25rem; }

    /* Hero */
    .hero-content-full p { font-size: 0.9rem; }
    .meta-tag-light { font-size: 0.65rem; }

    /* Info grid */
    .info-grid { gap: 0.8rem; }
    .info-card { padding: 1.2rem; }

    /* Experience badge */
    .experience-badge { padding: 0.8rem 1rem; }
    .experience-badge h3 { font-size: 1.8rem; }
    .experience-badge p { font-size: 0.75rem; }

    /* Why cards */
    .why-us h3 { font-size: 1.3rem; margin-top: 2rem; }
    .why-card { gap: 12px; padding: 15px; }

    /* Banner cols */
    .col-box { padding: 30px 5%; }
    .col-box h3 { font-size: 1.1rem; margin-top: 1rem; }
    .col-box p { font-size: 0.85rem; }

    /* Workflow: 1 columna */
    .workflow-grid { grid-template-columns: 1fr; }
    .workflow-card { padding: 2rem 1.5rem; }

    /* Testimonios */
    .testimonio-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .testimonio-card { padding: 2rem 1.2rem; }
    .testimonio-card p { font-size: 0.95rem; }

    /* Beneficios */
    .ben-item { gap: 12px; }
    .ben-item i { font-size: 1.3rem; }

    /* Footer */
    .footer-flex { gap: 1rem; }
    .footer-brand, .footer-contact, .footer-social { width: 100%; }

    /* Botones hero: tamaño cómodo */
    .btn-solid-light, .btn-outline-light { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
    .btn-solid-dark { padding: 0.85rem 1.5rem; }
}
