﻿/* ==========================================================================
   H-ADVANCE - ESTILO FINAL CON FUENTES Y COLORES EXACTOS
   ========================================================================== */

:root {
    /* Paleta Corporativa Exacta */
    --color-primary: #0B1D33;    /* Azul Oscuro */
    --color-secondary: #00B4E6;  /* Azul Claro */
    --color-accent: #A6D608;     /* Verde */
    --color-accent-light: rgba(166, 214, 8, 0.15); /* Verde muy claro para fondos sutiles */
    --color-light: #F4F6F8;      /* Gris extra claro */
    --color-white: #FFFFFF;
    --color-text: #212326;       /* Gris oscuro para lectura */
    --color-text-muted: #6B7177;
    
    /* Tipografías */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Variables utilitarias */
    --transition-fast: 0.3s ease;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(11, 29, 51, 0.08);
    --shadow-lg: 0 20px 40px rgba(166, 214, 8, 0.15);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    font-family: var(--font-body); 
    font-weight: 400; /* Texto general Montserrat Regular */
    color: var(--color-text); 
    line-height: 1.6; 
    overflow-x: hidden; 
    background-color: var(--color-white); 
}

/* Títulos principales (Cormorant Garamond SemiBold) */
h1, h2, h3, h4 { 
    font-family: var(--font-heading); 
    font-weight: 600; 
    color: var(--color-primary); 
    line-height: 1.2; 
}
h1 { font-size: 3.5rem; }
h2 { font-size: 3.2rem; }
h3 { font-size: 1.8rem; }

/* Subtítulos y textos destacados (Montserrat Medium/SemiBold) */
.hero-subtitle, .about-content > p, .director-box h4, .section-header p {
    font-family: var(--font-body);
    font-weight: 500;
}
.impact-list li, .meth-box span {
    font-weight: 600;
}

/* ==========================================================================
   CABECERAS DE SECCIÓN (DINÁMICAS)
   ========================================================================== */
.section-header { margin-bottom: 3rem; }
.reveal h2 { 
    position: relative; 
    display: inline-block; 
    margin-bottom: 1rem; 
}
.reveal h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal.active h2::after {
    width: 100px;
}

/* Alineación izquierda para títulos específicos */
.about-content h2::after, .contact-form-box h2::after {
    left: 0;
    transform: none;
}

.section-header p { font-size: 1.1rem; color: var(--color-text-muted); }

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Utilidades de Color */
.bg-primary { background-color: var(--color-primary); color: var(--color-white); }
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary p { color: var(--color-white); }
.bg-accent { background-color: var(--color-accent); color: var(--color-primary); } /* Verde brillante, el texto principal oscuro resalta mejor */
.bg-accent-light { background-color: var(--color-accent-light); }
.bg-light { background-color: var(--color-light); }
.bg-white { background-color: var(--color-white); }

.text-center { text-align: center; }
.text-white { color: var(--color-white) !important; }
.text-primary { color: var(--color-primary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================================================
   BOTONES Y ENLACES (Montserrat SemiBold Mayúsculas)
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.9rem 2rem; border-radius: 50px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; text-transform: uppercase;
    cursor: pointer; text-align: center; transition: all var(--transition-fast); border: 2px solid transparent; letter-spacing: 1px;
}
.btn-primary { background-color: var(--color-accent); color: var(--color-primary); }
.btn-primary:hover { background-color: var(--color-primary); color: var(--color-white); transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 20px rgba(166, 214, 8, 0.4); }
.btn-outline { background-color: transparent; border-color: var(--color-accent); color: var(--color-primary); }
.btn-outline:hover { background-color: var(--color-accent-light); transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; }

.link-arrow { color: var(--color-secondary); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.link-arrow i { transition: transform var(--transition-fast); }
.link-arrow:hover i { transform: translateX(5px); }

/* ==========================================================================
   NAVEGACIÓN
   ========================================================================== */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background-color: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: var(--shadow-sm); padding: 1rem 0; transition: var(--transition-fast); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img-text { height: 35px; /* Ajustar el tamaño porque es solo texto */ }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { 
    font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
    color: var(--color-primary); 
}
.nav-links a:not(.btn):hover { color: var(--color-secondary); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--color-primary); }

/* ==========================================================================
   HERO SECTION (PREMIUM & DINÁMICO)
   ========================================================================== */
.hero { padding: 8rem 0 0 0; background-color: var(--color-white); position: relative; overflow: hidden; }
.hero-bg-blob { position: absolute; top: -150px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0, 180, 230, 0.08) 0%, rgba(255,255,255,0) 70%); z-index: 0; border-radius: 50%; }
.hero-container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; margin-bottom: 5rem; }

.hero-badge { display: inline-block; background-color: rgba(166, 214, 8, 0.15); color: #7CA106; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; padding: 0.4rem 1.2rem; border-radius: 50px; margin-bottom: 1.5rem; letter-spacing: 1px; }

.hero-content h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.15rem; color: var(--color-text-muted); margin-bottom: 2rem; line-height: 1.6; max-width: 90%; }

.hero-checkmarks { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-checkmarks li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 500; color: var(--color-text); }
.hero-checkmarks i { color: var(--color-accent); font-size: 1.2rem; }

.hero-form { display: flex; gap: 0.5rem; width: 100%; max-width: 500px; }
.hero-form input { flex: 1; padding: 1rem 1.5rem; border: 1px solid #e0e0e0; border-radius: var(--border-radius); font-family: inherit; font-size: 1rem; transition: border-color var(--transition-fast); }
.hero-form input:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(0, 180, 230, 0.1); }

.hero-disclaimer { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.8rem; display: flex; align-items: center; gap: 0.3rem; }

.hero-image-wrapper { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-bg-shape { position: absolute; top: -5%; right: -5%; width: 100%; height: 110%; background: linear-gradient(135deg, var(--color-accent) 0%, #8EBA07 100%); border-radius: 30px; z-index: 1; transform: rotate(3deg); opacity: 0.8; }
.hero-image { position: relative; z-index: 2; width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow-md); overflow: hidden; }
.hero-image img { width: 100%; height: auto; display: block; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-image:hover img { transform: scale(1.05); }

/* Floating Badges */
.floating-badge { position: absolute; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 1rem 1.2rem; border-radius: 12px; display: flex; align-items: center; gap: 1rem; box-shadow: 0 15px 35px rgba(0,0,0,0.1); z-index: 10; animation: float 6s ease-in-out infinite; border: 1px solid rgba(255,255,255,0.6); }
.floating-badge strong { display: block; font-size: 1.3rem; color: var(--color-primary); line-height: 1; margin-bottom: 0.2rem; }
.floating-badge span { font-size: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.badge-icon { width: 42px; height: 42px; border-radius: 50%; background-color: rgba(0, 180, 230, 0.1); color: var(--color-secondary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.badge-1 { bottom: 8%; left: -8%; animation-delay: 0s; }
.badge-2 { top: 12%; right: -8%; animation-delay: 3s; }

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

/* Hero Trust Strip */
.hero-trust { background-color: #F8FAFC; padding: 2.5rem 0; text-align: center; border-top: 1px solid rgba(0,0,0,0.03); }
.hero-trust p { font-size: 0.85rem; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.5rem; }
.trust-logos { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.trust-logos i { font-size: 2.5rem; color: #a0aab5; opacity: 0.6; transition: all 0.3s ease; }
.trust-logos i:hover { color: var(--color-secondary); opacity: 1; transform: scale(1.1); }


/* ========================================================================== 
   SECCIÓN: ¿TE SUENA FAMILIAR?
   ========================================================================== */
.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}

.pain-section {
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 180, 230, 0.12), transparent 28%),
        linear-gradient(135deg, #0B1D33 0%, #123559 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.pain-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 100%);
    background-size: 120px 100%;
    opacity: 0.25;
}

.pain-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
    gap: 4rem;
    align-items: center;
}

.pain-intro {
    max-width: 470px;
}

.pain-intro h2,
.pain-intro p {
    color: var(--color-white);
}

.pain-intro h2 {
    font-size: 3.25rem;
    margin-bottom: 1.15rem;
}

.pain-intro h2::after {
    left: 0;
    transform: none;
    background-color: var(--color-accent);
    height: 3px;
    width: 96px;
}

.pain-intro p {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    max-width: 460px;
}

.pain-closing {
    margin-top: 2rem;
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--color-accent);
    background: rgba(255,255,255,0.07);
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.45;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pain-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    min-height: 116px;
    padding: 1.25rem;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 12px;
    color: rgba(255,255,255,0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.pain-item i {
    color: var(--color-accent);
    font-size: 1.2rem;
    line-height: 1.45;
}

.pain-item span {
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.55;
}
/* ==========================================================================
   NUESTROS SERVICIOS
   ========================================================================== */
.services-section { padding: 4rem 0; background-color: var(--color-light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.service-card-tall { position: relative; border-radius: var(--border-radius); overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem 1.5rem; color: var(--color-white); text-align: center; transition: transform var(--transition-fast); }
.service-card-tall:hover { transform: translateY(-10px); }
.service-card-tall::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(11,29,51,0.5), rgba(11,29,51,0.95)); z-index: 1; }
.service-card-tall img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.s-content { position: relative; z-index: 2; }
.s-icon { font-size: 3rem; margin-bottom: 1.5rem; color: var(--color-accent); }
.s-content h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; color: var(--color-white); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.s-content p { font-size: 0.9rem; opacity: 0.9; color: rgba(255,255,255,0.8); }

/* ==========================================================================
   QUIÉNES SOMOS & SUSAN FIGUEROA
   ========================================================================== */
.about-section { padding: 4rem 0; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-content h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.impact-list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }
.impact-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 1.05rem; }
.impact-list li i { color: var(--color-secondary); font-size: 1.2rem; }

.director-box { background-color: var(--color-accent-light); padding: 1.5rem 2rem; border-radius: var(--border-radius); border-left: 4px solid var(--color-accent); display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.director-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-white); box-shadow: var(--shadow-sm); }
.director-box h4 { margin-bottom: 0.2rem; font-size: 1.1rem; color: var(--color-primary); }

.about-image { position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image img { transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.about-image:hover img { transform: scale(1.05); }
/* Ajuste diferencial */
.differential-section .section-kicker { color: var(--color-secondary); }
.differential-points {
    display: grid;
    gap: 0.85rem;
    margin: 1.75rem 0;
}
.differential-points div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    background: var(--color-light);
    border-left: 3px solid var(--color-secondary);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    color: var(--color-primary);
}
.differential-points i {
    color: var(--color-secondary);
    font-size: 1.25rem;
    flex: 0 0 auto;
}
.insight-card {
    margin-top: 1rem;
    padding: 1.25rem 1.35rem;
    background: var(--color-accent-light);
    border-radius: var(--border-radius);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.55;
}

/* ==========================================================================
   ¿POR QUÉ H-ADVANCE?
   ========================================================================== */
.why-us-section { padding: 4rem 0; background-color: var(--color-white); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }
.why-card { display: flex; align-items: flex-start; gap: 1.5rem; padding: 2rem; background-color: var(--color-light); border-radius: var(--border-radius); border: 1px solid rgba(0,0,0,0.03); transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 2rem; color: var(--color-primary); background-color: var(--color-secondary); width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon i { color: var(--color-white); }
.why-text h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }

/* ==========================================================================
   TESTIMONIOS SUPERPUESTOS
   ========================================================================== */
.testimonials-container { position: relative; padding-bottom: 2rem; }
.testimonials-bg { padding: 4rem 0 8rem 0; background-color: var(--color-primary); }
.testimonials-bg h2 { color: var(--color-white); }
.testimonials-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: -6rem; position: relative; z-index: 10; }
.t-card { background-color: var(--color-white); padding: 2.5rem; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); border-top: 4px solid var(--color-accent); transition: transform var(--transition-fast); }
.t-card:hover { transform: translateY(-10px); }
.quote { font-size: 3rem; color: var(--color-accent-light); line-height: 1; margin-bottom: 1rem; }
.t-card p { font-size: 1.05rem; font-style: italic; margin-bottom: 2rem; min-height: 80px; color: var(--color-text); }
.t-author { display: flex; align-items: center; gap: 1rem; border-top: 1px solid #eee; padding-top: 1.5rem; }
.t-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background-color: var(--color-light); }
.t-author strong { color: var(--color-primary); font-family: var(--font-body); font-weight: 600; display: block; }
.t-author span { font-size: 0.85rem; color: var(--color-text-muted); }


/* Ajuste 2026-07-14: servicios y experiencia */
.services-modern {
    padding: 5rem 0;
    background: var(--color-white);
}
.services-modern .section-kicker { color: var(--color-secondary); }
.services-modern .section-header {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.services-modern .section-header h2 {
    font-size: 2.85rem;
}
.services-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.75rem;
}
.service-pill {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.25rem;
    border-radius: 14px;
    background: var(--color-light);
    border: 1px solid rgba(11,29,51,0.06);
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1.35;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.service-pill:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,180,230,0.22);
}
.service-pill i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: rgba(0,180,230,0.1);
    color: var(--color-secondary);
    font-size: 1.25rem;
}
.service-pill span {
    font-size: 0.95rem;
}
.experience-section {
    padding: 5rem 0;
    background:
        linear-gradient(135deg, rgba(166,214,8,0.14), rgba(0,180,230,0.08)),
        var(--color-light);
}
.experience-container {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(560px, 1.15fr);
    gap: 3.5rem;
    align-items: center;
}
.experience-copy .section-kicker { color: var(--color-secondary); }
.experience-copy h2 {
    font-size: 2.85rem;
    margin-bottom: 1rem;
}
.experience-copy h2::after {
    left: 0;
    transform: none;
}
.experience-copy p {
    color: var(--color-text-muted);
    font-weight: 500;
    max-width: 540px;
}
.experience-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.stat-card {
    min-height: 150px;
    padding: 1.45rem;
    background: var(--color-white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(11,29,51,0.07);
    box-shadow: var(--shadow-sm);
}
.stat-card strong {
    display: block;
    margin-bottom: 0.55rem;
    font-family: var(--font-heading);
    font-size: 2.05rem;
    line-height: 1;
    color: var(--color-primary);
}
.stat-card span {
    display: block;
    color: var(--color-text-muted);
    font-weight: 600;
    line-height: 1.45;
}
/* ==========================================================================
   METODOLOGÍA
   ========================================================================== */
.methodology-blocks { padding: 5rem 0; }
.methodology-blocks .section-kicker { color: var(--color-secondary); }
.methodology-blocks .container > p { max-width: 720px; margin: 0 auto; color: var(--color-text-muted); font-weight: 500; }
.meth-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.meth-box {
    position: relative;
    padding: 2rem 1.35rem;
    border-radius: var(--border-radius);
    text-align: left;
    background-color: var(--color-white);
    color: var(--color-text);
    border: 1px solid rgba(11,29,51,0.08);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.meth-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.35rem;
    right: 1.35rem;
    height: 4px;
    background: var(--color-accent);
    border-radius: 0 0 4px 4px;
}
.meth-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(0,180,230,0.25); }
.meth-icon { font-size: 2rem; display: block; margin-bottom: 1rem; color: var(--color-secondary); }
.step-number { font-size: 0.78rem; font-weight: 800; letter-spacing: 1.5px; color: var(--color-accent); margin-bottom: 0.35rem; }
.meth-box h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; margin-bottom: 0.65rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.5px; }
.meth-box span { display: block; font-size: 0.92rem; line-height: 1.55; color: var(--color-text-muted); font-weight: 500; }

/* ========================================================================== 
   SECCIÓN: POR QUÉ TRABAJAMOS DIFERENTE
   ========================================================================== */
.human-section {
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at 8% 20%, rgba(166,214,8,0.14), transparent 30%),
        linear-gradient(135deg, #0B1D33 0%, #102A49 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}
.human-section::after {
    content: '';
    position: absolute;
    right: -140px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(0,180,230,0.12);
}
.human-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(520px, 1.08fr);
    gap: 4rem;
    align-items: center;
}
.human-copy .section-kicker { color: var(--color-secondary); }
.human-copy h2,
.human-copy p { color: var(--color-white); }
.human-copy h2 {
    font-size: 3.05rem;
    max-width: 560px;
    margin-bottom: 1.25rem;
}
.human-copy h2::after {
    left: 0;
    transform: none;
    background-color: var(--color-accent);
}
.human-copy p {
    color: rgba(255,255,255,0.78);
    font-size: 1.02rem;
    max-width: 620px;
    margin-bottom: 1rem;
}
.human-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.human-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 0.25rem;
    padding: 1.35rem 1.45rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.human-card i {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(166,214,8,0.16);
    color: var(--color-accent);
    font-size: 1.35rem;
}
.human-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-white);
    margin: 0;
}
.human-card p {
    color: rgba(255,255,255,0.76);
    font-size: 0.94rem;
    margin: 0;
}

/* ========================================================================== 
   SECCIÓN: CASOS DE INTERVENCIÓN
   ========================================================================== */
.cases-section {
    padding: 5.5rem 0;
    background: var(--color-light);
}
.cases-section .section-header {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.cases-section .section-kicker {
    color: var(--color-secondary);
}
.cases-section .section-header h2 {
    font-size: 2.85rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.cases-section .section-header p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2.75rem;
}
.case-card {
    position: relative;
    min-height: 360px;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--color-white);
    border: 1px solid rgba(11,29,51,0.08);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
}
.case-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(0,180,230,0.1);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.case-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    line-height: 1.35;
}
.case-card ul {
    display: grid;
    gap: 0.9rem;
}
.case-card li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 500;
}
.case-card li::before {
    content: '';
    position: absolute;
    top: 0.62rem;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
}
/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-section { padding: 4rem 0; background-color: var(--color-light); }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.contact-image { position: relative; overflow: hidden; border-radius: var(--border-radius); box-shadow: var(--shadow-md); }
.contact-image img { width: 100%; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); display: block; }
.contact-image:hover img { transform: scale(1.05); }
.contact-form-box { background-color: var(--color-white); padding: 3rem; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); }
.contact-form-box h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.contact-form-box > p { margin-bottom: 2rem; color: var(--color-text-muted); }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--color-primary); }
input, textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid #D1D5DB; border-radius: var(--border-radius-sm); font-family: var(--font-body); font-size: 1rem; transition: var(--transition-fast); }
input:focus, textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(0,180,230,0.1); }

/* ==========================================================================
   FOOTER (Fondo Gris Claro y Logo Grande Color)
   ========================================================================== */
.footer-wrapper { display: flex; flex-direction: column; }
.footer-top-block { padding: 3rem 0; background-color: var(--color-accent-light); text-align: center; }
.footer-top-block h2 { font-size: 2.2rem; margin-bottom: 1rem; color: var(--color-primary); }
.footer-top-block p { max-width: 600px; margin: 0 auto; color: var(--color-text); }

/* Bloque inferior modificado para Gris Claro y Texto Oscuro */
.footer-bottom-block { padding: 3rem 0 1rem 0; background-color: var(--color-light); color: var(--color-primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-isotipo { height: 120px; margin-bottom: 1rem; } /* Isotipo grande */
.footer-desc { color: var(--color-text-muted); font-size: 0.95rem; font-weight: 500; }

.footer-links h4 { color: var(--color-primary); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links a { display: block; color: var(--color-text); margin-bottom: 0.8rem; font-weight: 500; }
.footer-links a:hover { color: var(--color-secondary); }

.footer-divider { height: 1px; background-color: rgba(0,0,0,0.1); margin-bottom: 2rem; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; color: var(--color-text-muted); font-size: 0.9rem; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { color: var(--color-primary); font-size: 1.3rem; }
.social-icons a:hover { color: var(--color-secondary); }

/* ==========================================================================
   ANIMACIONES (Reveal)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(40px) scale(0.98); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
.delay-5 { transition-delay: 0.75s; }

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: #FFF;
}
.whatsapp-float i {
    margin-top: 1px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Formato Celular)
   ========================================================================== */
@media (max-width: 1024px) {
    .pain-container { grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
    .pain-intro { max-width: 680px; }
    .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .experience-container { grid-template-columns: 1fr; gap: 2.25rem; }
    .meth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .human-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .cases-grid { grid-template-columns: 1fr; }
    .case-card { min-height: auto; }
    .contact-image { order: -1; }
}

@media (max-width: 768px) {
    .pain-section { padding: 4rem 0; }
    .pain-intro h2 { font-size: 2.4rem; }
    .pain-grid { grid-template-columns: 1fr; }
    .pain-item { min-height: auto; }
    .meth-grid { grid-template-columns: 1fr; }
    .services-list { grid-template-columns: 1fr; }
    .service-pill { min-height: auto; }
    .experience-stats { grid-template-columns: 1fr; }
    .human-section { padding: 4rem 0; }
    .human-copy h2 { font-size: 2.35rem; }
    .nav-links {
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background-color: var(--color-white); flex-direction: column; padding-top: 2rem;
        box-shadow: inset 0 5px 10px rgba(0,0,0,0.05); transition: var(--transition-fast);
    }
    .nav-links.active { left: 0; }
    .mobile-toggle { display: block; }
    
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-checkmarks { justify-content: center; }
    .hero-form { margin: 0 auto; flex-direction: column; }
    .hero-disclaimer { justify-content: center; }
    .floating-badge { display: none; /* Hide on mobile to avoid clutter */ }
    .hero-bg-shape { width: 100%; right: 0; }
    .hero-image { width: 100%; }
    
    .about-container { grid-template-columns: 1fr; }
    .director-box { flex-direction: column; text-align: center; }
    
    .testimonials-cards { grid-template-columns: 1fr; margin-top: -3rem; }
    .meth-grid { grid-template-columns: 1fr; }
    .services-list { grid-template-columns: 1fr; }
    .service-pill { min-height: auto; }
    .experience-stats { grid-template-columns: 1fr; }
    .human-section { padding: 4rem 0; }
    .human-copy h2 { font-size: 2.35rem; }
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { align-items: center; }
    .footer-isotipo { margin: 0 auto 1rem; }
    .footer-legal { flex-direction: column; gap: 1rem; text-align: center; }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.2rem; }
}

/* Ajuste 2026-07-14: armonía metodología */
.methodology-blocks {
    background: linear-gradient(180deg, var(--color-white) 0%, #F8FAFC 100%);
}
.methodology-blocks .container.text-center {
    max-width: 1180px;
}
.methodology-blocks .section-kicker {
    display: block;
    margin: 0 auto 0.85rem;
    text-align: center;
}
.methodology-blocks h2 {
    display: block;
    max-width: 860px;
    margin: 0 auto 0.95rem;
    font-size: 2.9rem;
    line-height: 1.08;
}
.methodology-blocks h2::after {
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.65rem;
}
.methodology-blocks .container > p {
    margin-top: 1.45rem;
    max-width: 690px;
}
.methodology-blocks .meth-grid {
    align-items: stretch;
}
.methodology-blocks .meth-box {
    display: flex;
    flex-direction: column;
    min-height: 245px;
    background: #fff;
}
.methodology-blocks .meth-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0,180,230,0.1);
}
.methodology-blocks .step-number {
    margin-top: auto;
}
/* Ajuste 2026-07-14: servicios compactos */
.services-modern {
    padding: 3.5rem 0;
    background: #F8FAFC;
}
.services-modern .section-header {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1.5rem;
    align-items: end;
    max-width: 1040px;
    margin-bottom: 1.6rem;
    text-align: left;
}
.services-modern .section-header .section-kicker {
    grid-column: 1 / -1;
    margin-bottom: -0.85rem;
}
.services-modern .section-header h2 {
    font-size: 2.15rem;
    margin-bottom: 0;
}
.services-modern .section-header h2::after {
    left: 0;
    transform: none;
    width: 72px;
}
.services-modern .section-header p {
    margin: 0;
    font-size: 0.98rem;
}
.services-list {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0;
}
.service-pill {
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--color-white);
}
.service-pill i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1rem;
}
.service-pill span {
    font-size: 0.82rem;
    line-height: 1.32;
}
@media (max-width: 1024px) {
    .services-modern .section-header { grid-template-columns: 1fr; align-items: start; }
    .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-pill { flex-direction: row; align-items: center; }
}
@media (max-width: 768px) {
    .services-list { grid-template-columns: 1fr; }
}
/* Ajuste 2026-07-14: servicios armonizados con filosofía */
.services-modern {
    padding: 5rem 0;
    background: var(--color-light);
}
.services-modern .section-header {
    display: block;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.75rem;
    text-align: center;
}
.services-modern .section-header .section-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
}
.services-modern .section-header h2 {
    font-size: 2.85rem;
    margin-bottom: 1rem;
}
.services-modern .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}
.services-modern .section-header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.services-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
    margin-top: 0;
}
.service-pill {
    min-height: 190px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.2rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}
.service-pill i {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    font-size: 1.55rem;
    background: var(--color-secondary);
    color: var(--color-white);
}
.service-pill span {
    align-self: center;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.18;
    font-weight: 600;
    color: var(--color-primary);
}
@media (max-width: 1024px) {
    .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .services-modern { padding: 4rem 0; }
    .services-modern .section-header h2 { font-size: 2.25rem; }
    .services-list { grid-template-columns: 1fr; }
    .service-pill { min-height: auto; }
}
/* Ajuste 2026-07-14: servicios alineados con cards de filosofía */
.services-modern .section-header {
    display: block;
    max-width: 820px;
    text-align: center;
}
.services-modern .section-header .section-kicker {
    display: block;
    margin-bottom: 0.45rem;
}
.services-modern .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}
.services-list {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.45rem;
}
.service-pill {
    min-height: 190px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
    gap: 1.35rem;
}
.service-pill span {
    align-self: flex-start;
    padding-top: 0.15rem;
    font-family: var(--font-heading);
    font-size: 1.28rem;
    line-height: 1.25;
    text-align: left;
}
.service-pill:nth-child(7) {
    grid-column: 2;
}
@media (max-width: 1024px) {
    .service-pill:nth-child(7) { grid-column: auto; }
}
/* Ajuste 2026-07-14: servicios menos altos */
.services-modern {
    padding: 3.75rem 0;
}
.services-modern .section-header {
    margin-bottom: 2rem;
}
.services-modern .section-header h2 {
    font-size: 2.55rem;
}
.services-list {
    max-width: 1040px;
    gap: 1rem;
}
.service-pill {
    min-height: 118px;
    padding: 1.35rem 1.5rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.service-pill i {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    font-size: 1.25rem;
}
.service-pill span {
    align-self: center;
    font-size: 1.12rem;
    line-height: 1.22;
}
@media (max-width: 768px) {
    .service-pill { min-height: auto; padding: 1.15rem; }
}
/* Ajuste 2026-07-14: servicios en dos columnas */
.services-list {
    max-width: 900px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.service-pill {
    min-height: 104px;
    padding: 1.35rem 1.6rem;
    gap: 1.25rem;
}
.service-pill span {
    font-size: 1.25rem;
    line-height: 1.2;
}
.service-pill:nth-child(7) {
    grid-column: 1 / -1;
    max-width: 440px;
    width: 100%;
    justify-self: center;
}
@media (max-width: 768px) {
    .services-list { grid-template-columns: 1fr; }
    .service-pill:nth-child(7) { grid-column: auto; max-width: none; }
}
/* Ajuste 2026-07-14: servicios en dos lineas */
.services-modern {
    padding: 4.25rem 0;
}
.services-modern .section-header {
    max-width: 820px;
    margin-bottom: 2.5rem;
    text-align: center;
}
.services-list {
    max-width: 1060px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
.service-pill {
    min-height: 160px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.65rem;
    gap: 1rem;
}
.service-pill i {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
}
.service-pill span {
    align-self: flex-start;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: left;
}
.service-pill:nth-child(7) {
    grid-column: auto;
    max-width: none;
    width: auto;
    justify-self: stretch;
}
@media (max-width: 1024px) {
    .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .services-list { grid-template-columns: 1fr; }
    .service-pill { min-height: auto; }
}
/* Ajuste 2026-07-14: centrar segunda linea servicios */
@media (min-width: 1025px) {
    .services-list { grid-template-columns: repeat(8, 1fr); }
    .service-pill { grid-column: span 2; }
    .service-pill:nth-child(5) { grid-column: 2 / span 2; }
    .service-pill:nth-child(6) { grid-column: 4 / span 2; }
    .service-pill:nth-child(7) { grid-column: 6 / span 2; }
}
/* Ajuste 2026-07-14: testimonios, foto real y cierre final */
.business-testimonials-section {
    padding: 5rem 0;
    background: var(--color-white);
}
.testimonials-ready {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}
.testimonials-copy .section-kicker {
    color: var(--color-secondary);
}
.testimonials-copy h2 {
    font-size: 2.75rem;
    max-width: 560px;
}
.testimonials-copy p {
    max-width: 520px;
    color: var(--color-text-muted);
}
.testimonials-placeholder {
    position: relative;
    padding: 2.25rem;
    border-radius: 18px;
    background: var(--color-light);
    border: 1px solid rgba(0, 52, 102, 0.08);
    box-shadow: var(--shadow-sm);
}
.testimonials-placeholder i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 1.75rem;
}
.testimonials-placeholder p {
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    font-weight: 500;
}
.testimonials-placeholder span {
    display: inline-flex;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    background: rgba(166, 214, 8, 0.18);
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 700;
}
.contact-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.footer-top-block {
    padding: 4rem 0;
}
.footer-top-block h2 {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.16;
}
.footer-top-block p {
    max-width: 720px;
}
@media (max-width: 900px) {
    .testimonials-ready {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .testimonials-copy h2 {
        font-size: 2.25rem;
    }
}

/* Ajuste 2026-07-14: tipografia y acomodo interno de servicios */
.services-modern .services-list {
    align-items: stretch;
}
.services-modern .service-pill {
    min-height: 126px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.15rem;
    padding: 1.6rem 1.75rem;
}
.services-modern .service-pill i {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 11px;
    font-size: 1.35rem;
}
.services-modern .service-pill span {
    align-self: auto;
    padding-top: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
    color: var(--color-primary);
}
@media (max-width: 768px) {
    .services-modern .service-pill {
        min-height: auto;
        padding: 1.25rem;
    }
}

/* Ajuste 2026-07-14: revision final estilos y funcionalidad */
html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 92px;
}
.nav-links {
    gap: 1.45rem;
}
.nav-links a:not(.btn) {
    white-space: nowrap;
}
.form-success {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(166, 214, 8, 0.18);
    color: var(--color-primary);
    font-weight: 700;
}
.footer-top-block .btn {
    white-space: normal;
}
.footer-legal .social-icons a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.whatsapp-float {
    text-decoration: none;
}
@media (max-width: 1100px) {
    .nav-links {
        gap: 1rem;
    }
    .nav-links a:not(.btn) {
        font-size: 0.78rem;
    }
}
@media (max-width: 768px) {
    section {
        scroll-margin-top: 78px;
    }
    .footer-top-block .mt-4 {
        flex-direction: column;
        align-items: center;
    }
    .footer-top-block .btn {
        width: min(100%, 320px);
    }
}

/* Ajuste 2026-07-14: logos por sectores H ADVANCE */
.sector-logos {
    grid-column: 1 / -1;
    margin-top: 2.25rem;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 52, 102, 0.08);
    box-shadow: var(--shadow-sm);
}
.sector-logos-header {
    max-width: 760px;
    margin-bottom: 1.5rem;
}
.sector-logos-header span {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--color-secondary);
}
.sector-logos-header p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}
.sector-logo-group {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 52, 102, 0.08);
}
.sector-logo-group > span {
    color: var(--color-primary);
    font-weight: 800;
}
.sector-logo-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}
.sector-logo-card {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 12px;
    background: var(--color-white);
    border: 1px solid rgba(0, 52, 102, 0.07);
}
.sector-logo-card img {
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
    filter: saturate(0.92);
}
@media (max-width: 900px) {
    .sector-logo-group {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .sector-logo-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .sector-logos {
        padding: 1.25rem;
    }
    .sector-logo-row {
        grid-template-columns: 1fr;
    }
    .sector-logo-card {
        min-height: 76px;
    }
}

/* Ajuste 2026-07-14: logos sin cajas */
.sector-logos {
    padding: 1.85rem 2rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.sector-logos-header {
    max-width: 820px;
    margin-bottom: 1.2rem;
}
.sector-logo-group {
    grid-template-columns: 180px 1fr;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(0, 52, 102, 0.10);
}
.sector-logo-row {
    align-items: center;
    gap: 2.2rem;
}
.sector-logo-card {
    min-height: 64px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.sector-logo-card img {
    max-height: 58px;
    filter: none;
}
.sector-logo-group:first-of-type .sector-logo-card {
    justify-content: flex-start;
}
.sector-logo-group:first-of-type .sector-logo-card img {
    max-height: 66px;
}
@media (max-width: 900px) {
    .sector-logo-row {
        gap: 1.4rem;
    }
    .sector-logo-group:first-of-type .sector-logo-card {
        justify-content: center;
    }
}

/* Ajuste 2026-07-14: logos en franja editorial */
.sector-logos-strip {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.5fr);
    gap: 2.25rem;
    align-items: center;
    margin-top: 2.5rem;
    padding: 2rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(0, 52, 102, 0.10);
    border-radius: 0;
    box-shadow: none;
}
.sector-logos-strip .sector-logos-header {
    margin: 0;
    max-width: 440px;
}
.sector-logo-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1.45rem 2rem;
}
.sector-logo-cloud figure {
    margin: 0;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}
.sector-logo-cloud img {
    max-width: 145px;
    max-height: 56px;
    object-fit: contain;
}
.sector-logo-cloud figcaption {
    font-size: 0.68rem;
    line-height: 1.2;
    color: var(--color-text-muted);
    text-align: center;
    opacity: 0.76;
}
@media (max-width: 900px) {
    .sector-logos-strip {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .sector-logo-cloud {
        justify-content: flex-start;
    }
}
@media (max-width: 560px) {
    .sector-logo-cloud {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.4rem;
    }
    .sector-logo-cloud figure {
        min-width: 0;
    }
    .sector-logo-cloud img {
        max-width: 120px;
        max-height: 50px;
    }
}

/* Ajuste 2026-07-14: logos compactos clasificados sin fondo */
.sector-logos-compact {
    display: block;
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding: 1.6rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(0, 52, 102, 0.10);
    border-radius: 0;
    box-shadow: none;
}
.sector-logos-compact .sector-logos-header {
    max-width: none;
    margin: 0 0 1rem;
}
.sector-logo-groups {
    display: grid;
    gap: 0.85rem;
}
.sector-logo-line {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 1.5rem;
    align-items: center;
    min-height: 56px;
}
.sector-logo-line strong {
    color: var(--color-primary);
    font-size: 0.94rem;
    font-weight: 800;
}
.sector-logo-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
}
.sector-logo-items img {
    width: auto;
    max-width: 138px;
    max-height: 42px;
    object-fit: contain;
    display: block;
    background: transparent;
    mix-blend-mode: multiply;
}
.sector-logo-items img[src*="hospital-mi"] {
    max-height: 46px;
    max-width: 64px;
}
.sector-logo-items img[src*="delmart"] {
    max-height: 46px;
    mix-blend-mode: normal;
}
.sector-logo-items img[src*="bio-shoes"] {
    max-height: 48px;
}
.sector-logo-items img[src*="cnec"] {
    max-height: 50px;
}
.sector-logos-note {
    max-width: 860px;
    margin: 1.15rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 52, 102, 0.08);
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.58;
}
@media (max-width: 900px) {
    .sector-logo-line {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .sector-logo-items {
        gap: 1.25rem 1.5rem;
    }
}
@media (max-width: 560px) {
    .sector-logo-items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: start;
    }
    .sector-logo-items img {
        max-width: 120px;
        max-height: 38px;
    }
}

/* Ajuste 2026-07-14: logos en carrusel compacto */
.sector-logos-marquee {
    grid-column: 1 / -1;
    margin-top: 1.75rem;
    padding: 1.25rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(0, 52, 102, 0.10);
    border-radius: 0;
    box-shadow: none;
}
.sector-logos-marquee .sector-logos-header {
    margin: 0 0 0.8rem;
    max-width: none;
}
.logo-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0.35rem 0 0.2rem;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 2.4rem;
    animation: hadvanceLogoMarquee 34s linear infinite;
}
.logo-marquee:hover .logo-marquee-track {
    animation-play-state: paused;
}
.logo-marquee-item {
    flex: 0 0 auto;
    width: 150px;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: transparent;
}
.logo-marquee-item img {
    display: block;
    width: auto;
    max-width: 132px;
    max-height: 42px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
}
.logo-marquee-item img[src*="hospital-mi"] {
    max-width: 54px;
    max-height: 48px;
}
.logo-marquee-item img[src*="delmart"] {
    max-height: 44px;
    mix-blend-mode: normal;
}
.logo-marquee-item img[src*="bio-shoes"] {
    max-height: 46px;
}
.logo-marquee-item img[src*="cnec"] {
    max-height: 48px;
}
.logo-marquee-item span {
    display: block;
    max-width: 150px;
    color: var(--color-text-muted);
    font-size: 0.66rem;
    line-height: 1.1;
    text-align: center;
    opacity: 0.75;
}
.sector-logos-marquee .sector-logos-note {
    max-width: 940px;
    margin: 0.85rem 0 0;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(0, 52, 102, 0.08);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}
@keyframes hadvanceLogoMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 1.2rem)); }
}
@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }
}
@media (max-width: 768px) {
    .logo-marquee-track {
        gap: 1.6rem;
        animation-duration: 28s;
    }
    .logo-marquee-item {
        width: 128px;
    }
    .logo-marquee-item img {
        max-width: 112px;
        max-height: 38px;
    }
}

/* Ajuste 2026-07-14: carrusel logos sin etiquetas repetidas */
.logo-marquee-item {
    min-height: 56px;
    gap: 0;
}
.logo-marquee-item span {
    display: none;
}
.logo-marquee-track {
    gap: 2.8rem;
}
.logo-marquee {
    padding: 0.2rem 0;
}

/* Ajuste 2026-07-14: titulo logos arriba del divisor */
.sector-logos-marquee {
    border-top: 0;
    padding-top: 0;
}
.sector-logos-marquee .sector-logos-header {
    margin-bottom: 0.75rem;
}
.logo-marquee {
    border-top: 1px solid rgba(0, 52, 102, 0.10);
    padding-top: 0.85rem;
}

/* Ajuste 2026-07-14: footer proporcionado y logo visible */
.footer-bottom-block {
    padding: 2.5rem 0 1.1rem;
}
.footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 1.8rem;
}
.footer-brand {
    gap: 0.85rem;
}
.footer-logo {
    width: 190px;
    max-width: 100%;
    height: auto;
    display: block;
}
.footer-isotipo {
    display: none;
}
.footer-desc {
    margin-top: 0.25rem;
    max-width: 260px;
    line-height: 1.45;
}
.footer-links h4 {
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 800;
}
.footer-links a {
    margin-bottom: 0.62rem;
    line-height: 1.35;
}
.footer-divider {
    margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
    .footer-grid {
        gap: 1.75rem;
    }
    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Ajuste 2026-07-14: seccion humana simplificada con foto */
.human-highlight {
    max-width: 560px;
    margin-top: 1.35rem;
    padding-left: 1.1rem;
    border-left: 4px solid var(--color-accent);
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    line-height: 1.55;
}
.human-photo {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.human-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 36, 64, 0.05), rgba(10, 36, 64, 0.22));
    pointer-events: none;
}
.human-photo img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}
@media (max-width: 1024px) {
    .human-photo,
    .human-photo img {
        min-height: 320px;
    }
}
@media (max-width: 768px) {
    .human-highlight {
        padding-left: 0.9rem;
    }
    .human-photo,
    .human-photo img {
        min-height: 260px;
    }
}

/* Ajuste 2026-07-14: balance copy e imagen seccion humana */
.human-container {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    align-items: center;
}
.human-copy p {
    max-width: 600px;
}
.human-highlight {
    margin-top: 1.15rem;
    max-width: 600px;
}
.human-photo {
    min-height: 0;
    aspect-ratio: 1.42 / 1;
    border-radius: 16px;
}
.human-photo img {
    min-height: 0;
    height: 100%;
    object-position: center center;
}
@media (max-width: 1024px) {
    .human-container {
        grid-template-columns: 1fr;
    }
    .human-photo {
        aspect-ratio: 16 / 9;
    }
}
@media (max-width: 768px) {
    .human-photo {
        aspect-ratio: 4 / 3;
    }
}

/* Ajuste 2026-07-14: diferencial con marco verde e interaccion */
.differential-section {
    background:
        radial-gradient(circle at 88% 24%, rgba(166,214,8,0.13), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.differential-section .about-container {
    gap: 4rem;
}
.differential-points div {
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}
.differential-points div:hover {
    transform: translateX(8px);
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(0,52,102,0.08);
}
.differential-visual {
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
    min-height: 360px;
}
.differential-visual .differential-frame {
    position: absolute;
    inset: -28px -26px 24px 34px;
    border-radius: 28px;
    background: var(--color-accent);
    transform: rotate(2.5deg);
    z-index: 0;
}
.differential-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 56px rgba(0,52,102,0.16);
}
.differential-badge {
    z-index: 3;
    padding: 0.85rem 1rem;
}
.diff-badge-1 {
    left: -34px;
    bottom: 34px;
}
.diff-badge-2 {
    right: -42px;
    top: 42px;
    animation-delay: 2.5s;
}
.differential-badge .badge-icon {
    background-color: rgba(0,180,230,0.10);
}
@media (max-width: 1024px) {
    .differential-section .about-container {
        gap: 2.5rem;
    }
    .differential-visual .differential-frame {
        inset: -18px -14px 18px 20px;
    }
    .diff-badge-1,
    .diff-badge-2 {
        display: none;
    }
}

/* Ajuste 2026-07-14: diferencial sin badges flotantes */
.differential-badge,
.diff-badge-1,
.diff-badge-2 {
    display: none !important;
}

/* Ajuste 2026-07-14: estructura visual para fotos secundarias */
.human-photo,
.contact-image {
    overflow: visible;
    isolation: isolate;
    box-shadow: none;
}
.human-photo::before,
.contact-image::before {
    content: '';
    position: absolute;
    inset: -22px -22px 22px 26px;
    border-radius: 24px;
    background: var(--color-accent);
    transform: rotate(2deg);
    z-index: -1;
}
.human-photo img,
.contact-image img {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(0, 52, 102, 0.16);
}
.human-photo::before {
    opacity: 0.95;
}
.contact-image::before {
    opacity: 0.88;
    inset: -18px 24px 22px -22px;
    transform: rotate(-2deg);
}
.contact-image:hover img {
    transform: none;
}
@media (max-width: 1024px) {
    .human-photo::before,
    .contact-image::before {
        inset: -14px -14px 16px 18px;
    }
}

/* Ajuste 2026-07-14: respiracion entre secciones y fotos */
.contact-section {
    padding: 5.25rem 0;
    background:
        linear-gradient(135deg, rgba(166, 214, 8, 0.08), rgba(0, 180, 230, 0.08)),
        #f7fafc;
    border-top: 1px solid rgba(0, 52, 102, 0.06);
}
.contact-form-box {
    box-shadow: 0 20px 48px rgba(0, 52, 102, 0.10);
}
.human-section {
    padding: 6.25rem 0;
}
.human-container {
    gap: clamp(3.5rem, 6vw, 5.5rem);
}
.human-copy .section-kicker {
    margin-bottom: 1.1rem;
}
.human-copy h2 {
    margin-bottom: 1.9rem;
}
.human-copy p {
    line-height: 1.82;
    margin-bottom: 1.35rem;
}
.human-highlight {
    margin-top: 1.65rem;
    padding-left: 1.15rem;
    line-height: 1.55;
}
.human-photo {
    max-width: 560px;
    margin-left: auto;
    transform: translateY(0.25rem);
}
.human-photo::before {
    inset: -18px -18px 18px 24px;
    border-radius: 22px;
    transform: rotate(1.6deg);
}
.differential-section {
    padding-bottom: 6rem;
}
.differential-section .about-container {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
}
.differential-section .about-content p {
    max-width: 560px;
    margin-bottom: 1.85rem;
    line-height: 1.72;
}
.differential-points {
    max-width: 560px;
}
.differential-points div {
    min-height: 58px;
    padding: 0.9rem 1.15rem;
}
.insight-card {
    max-width: 560px;
    margin-top: 1.65rem;
}
.differential-visual {
    max-width: 548px;
    justify-self: center;
    transform: translateY(0.35rem);
}
.differential-visual .differential-frame {
    inset: -20px -20px 22px 28px;
    border-radius: 24px;
    transform: rotate(1.8deg);
}
.differential-visual img {
    border-radius: 17px;
}
@media (max-width: 1024px) {
    .differential-section .about-container {
        grid-template-columns: 1fr;
    }
    .differential-visual,
    .human-photo {
        max-width: 100%;
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    .contact-section,
    .human-section,
    .differential-section {
        padding: 4rem 0;
    }
    .human-copy p,
    .differential-section .about-content p {
        line-height: 1.68;
    }
}

/* Ajuste 2026-07-14: mas respiro en te suena familiar */
.pain-section {
    padding: 6.25rem 0;
}
.pain-container {
    grid-template-columns: minmax(320px, 0.8fr) minmax(560px, 1.2fr);
    gap: 4.5rem;
}
.pain-grid {
    gap: 1.25rem;
}
.pain-item {
    min-height: 128px;
    padding: 1.45rem 1.55rem;
    gap: 0.9rem;
    align-items: flex-start;
}
.pain-item span {
    line-height: 1.62;
}
.pain-closing {
    margin-top: 2.35rem;
    padding: 1.2rem 1.35rem;
}
@media (max-width: 1024px) {
    .pain-container {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }
    .pain-item {
        min-height: 116px;
    }
}
@media (max-width: 768px) {
    .pain-section {
        padding: 4.75rem 0;
    }
    .pain-item {
        min-height: auto;
        padding: 1.25rem;
    }
}

/* Ajuste 2026-07-14: menu superior corregido */
.nav-container {
    gap: 1.5rem;
}
.logo img {
    width: min(265px, 30vw);
    max-height: 44px !important;
    object-fit: contain;
}
.nav-links {
    gap: 0.95rem;
    flex-wrap: nowrap;
}
.nav-links a:not(.btn) {
    font-size: 0.76rem;
    letter-spacing: 0.9px;
}
.nav-links .nav-cta {
    padding: 0.78rem 1.05rem;
    min-height: 0;
    white-space: nowrap;
}
@media (max-width: 1180px) {
    .nav-links {
        gap: 0.72rem;
    }
    .nav-links a:not(.btn) {
        font-size: 0.7rem;
        letter-spacing: 0.7px;
    }
    .nav-links .nav-cta {
        padding: 0.72rem 0.9rem;
    }
}
@media (max-width: 980px) {
    .logo img {
        width: min(230px, 48vw);
    }
}


/* Ajuste 2026-07-14: armonizar imagen de contacto */
.contact-container {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
    gap: clamp(2.5rem, 4vw, 4rem);
    align-items: center;
}
.contact-image {
    width: min(100%, 500px);
    justify-self: center;
    transform: translateY(0);
}
.contact-image::before {
    inset: -14px -12px 16px 18px;
    border-radius: 22px;
    transform: rotate(1.4deg);
    opacity: 0.82;
}
.contact-image img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 18px 44px rgba(0, 52, 102, 0.14);
}
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-image {
        width: min(100%, 620px);
    }
}

/* Ajuste 2026-07-14: pulido responsive movil H ADVANCE */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }
    .container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }
    .navbar {
        padding: 0.75rem 0;
    }
    .logo img {
        width: min(210px, 62vw);
        max-height: 40px !important;
    }
    .nav-links {
        top: 64px;
        height: calc(100vh - 64px);
        gap: 1.1rem;
        padding: 2rem 1.25rem;
        overflow-y: auto;
    }
    .nav-links a:not(.btn) {
        font-size: 0.86rem;
        letter-spacing: 0.08em;
    }
    .nav-links .nav-cta {
        width: min(100%, 280px);
        justify-content: center;
        text-align: center;
    }

    .hero {
        padding-top: 5.35rem;
        padding-bottom: 3.5rem;
    }
    .hero-container {
        gap: 2.25rem;
        text-align: left;
    }
    .hero-content h1 {
        font-size: clamp(2.28rem, 11vw, 3.05rem) !important;
        line-height: 1.06 !important;
    }
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
        font-size: 1rem;
        line-height: 1.68;
    }
    .hero-checkmarks {
        justify-content: flex-start;
        gap: 0.75rem 1rem;
    }
    .hero-form {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .hero-form input,
    .hero-form button {
        width: 100%;
    }
    .hero-image-wrapper {
        width: 100%;
        margin-top: 0.75rem;
    }
    .hero-bg-shape {
        inset: -14px -8px 12px 18px;
        width: auto;
    }
    .hero-image img {
        max-height: 360px;
        object-fit: cover;
    }

    .pain-section,
    .experience-section,
    .methodology-blocks,
    .cases-section,
    .contact-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .pain-container {
        gap: 2rem;
    }
    .pain-intro h2,
    .section-header h2,
    .experience-copy h2,
    .methodology-blocks h2,
    .cases-section .section-header h2,
    .contact-form-box h2,
    .footer-top-block h2 {
        font-size: clamp(2rem, 9vw, 2.55rem) !important;
        line-height: 1.08;
    }
    .pain-intro p,
    .section-header p,
    .experience-copy p,
    .methodology-blocks .container > p,
    .cases-section .section-header p {
        font-size: 0.98rem;
        line-height: 1.62;
    }
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .pain-item {
        min-height: auto;
        padding: 1.05rem;
    }
    .pain-closing {
        margin-top: 1.3rem;
        padding: 1rem;
    }

    .differential-section {
        padding-top: 4rem !important;
        padding-bottom: 4rem;
    }
    .differential-section .about-container {
        gap: 2.25rem;
    }
    .about-content h2,
    .human-copy h2 {
        font-size: clamp(2.15rem, 10vw, 2.8rem) !important;
        line-height: 1.08;
    }
    .differential-points {
        gap: 0.75rem;
    }
    .differential-points div {
        min-height: auto;
        padding: 0.85rem 0.95rem;
    }
    .insight-card {
        margin-top: 1rem;
        padding: 1.1rem;
    }
    .differential-visual {
        width: calc(100% - 0.35rem);
        margin: 0 auto;
    }
    .differential-visual .differential-frame,
    .human-photo::before,
    .contact-image::before {
        inset: -10px -8px 12px 12px;
        border-radius: 18px;
        transform: rotate(1deg);
    }

    .services-modern {
        padding: 4rem 0;
    }
    .services-list {
        grid-template-columns: 1fr !important;
        gap: 0.9rem;
    }
    .services-modern .service-pill {
        min-height: auto;
        padding: 1.05rem;
    }
    .services-modern .service-pill i {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 1.3rem;
    }

    .experience-container,
    .human-container,
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .experience-stats,
    .meth-grid,
    .cases-grid {
        grid-template-columns: 1fr !important;
    }
    .logo-marquee-track {
        gap: 1.25rem;
    }
    .logo-marquee-item {
        width: 112px;
        min-height: 48px;
    }
    .logo-marquee-item img {
        max-width: 102px;
        max-height: 36px;
    }
    .sector-logos-marquee .sector-logos-note {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .human-section {
        padding: 4rem 0;
    }
    .human-copy p {
        font-size: 0.98rem;
        line-height: 1.68;
    }
    .human-highlight {
        padding-left: 0.9rem;
        font-size: 0.98rem;
    }
    .human-photo {
        width: calc(100% - 0.35rem);
        aspect-ratio: 4 / 3;
        margin: 0 auto;
    }

    .case-card {
        min-height: auto;
        padding: 1.35rem;
    }
    .case-card h3 {
        font-size: 1.15rem;
    }
    .case-card li {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .contact-image {
        order: 0;
        width: calc(100% - 0.35rem);
        margin: 0 auto;
    }
    .contact-form-box {
        padding: 1.65rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    input,
    textarea {
        font-size: 16px;
    }

    .footer-top-block {
        padding: 3rem 0;
    }
    .footer-top-block .mt-4 {
        flex-direction: column;
        align-items: center;
    }
    .footer-top-block .btn {
        width: min(100%, 320px);
        text-align: center;
    }
    .footer-logo {
        max-width: 220px;
    }
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 2.12rem !important;
    }
    .hero-badge,
    .section-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }
    .about-content h2,
    .human-copy h2,
    .section-header h2,
    .methodology-blocks h2 {
        font-size: 2rem !important;
    }
    .contact-form-box {
        padding: 1.35rem;
    }
}

/* Ajuste 2026-07-14: corregir desborde experiencia en movil */
@media (max-width: 768px) {
    .experience-section,
    .experience-section * {
        max-width: 100%;
        box-sizing: border-box;
    }
    .experience-container {
        width: 100%;
        overflow: hidden;
    }
    .experience-copy,
    .experience-stats,
    .stat-card {
        min-width: 0;
    }
    .experience-copy h2,
    .experience-copy p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .experience-stats {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem;
    }
    .stat-card {
        width: 100%;
        min-height: auto;
        padding: 1.25rem 1.15rem;
        overflow: hidden;
    }
    .stat-card strong {
        font-size: clamp(2.2rem, 13vw, 3.05rem);
        line-height: 0.98;
        overflow-wrap: anywhere;
    }
    .stat-card span {
        max-width: 100%;
        font-size: clamp(1rem, 6.2vw, 1.42rem);
        line-height: 1.28;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .sector-logos-marquee {
        width: 100%;
        overflow: hidden;
    }
}
@media (max-width: 420px) {
    .stat-card {
        padding: 1.1rem 1rem;
    }
    .stat-card strong {
        font-size: clamp(2rem, 12vw, 2.55rem);
    }
    .stat-card span {
        font-size: clamp(0.98rem, 5.5vw, 1.18rem);
    }
}

/* Ajuste 2026-07-14: footer movil H ADVANCE */
@media (max-width: 768px) {
    .footer-wrapper,
    .footer-wrapper * {
        box-sizing: border-box;
        max-width: 100%;
    }

    .footer-top-block {
        padding: 2.6rem 0 2.4rem;
        overflow: hidden;
    }

    .footer-top-block .container,
    .footer-bottom-block .container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .footer-top-block h2 {
        max-width: 100%;
        font-size: clamp(1.6rem, 7.5vw, 2.05rem) !important;
        line-height: 1.14;
        margin: 0 auto 0.9rem;
        overflow-wrap: break-word;
    }

    .footer-top-block p {
        max-width: 100%;
        font-size: 0.96rem;
        line-height: 1.58;
    }

    .footer-top-block .mt-4 {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 0.85rem !important;
        margin-top: 1.35rem !important;
    }

    .footer-top-block .btn {
        width: 100% !important;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.25;
        padding: 0.95rem 1rem;
    }

    .footer-bottom-block {
        padding: 2.35rem 0 1.25rem;
        overflow: hidden;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.55rem !important;
        text-align: center !important;
        margin-bottom: 1.6rem;
    }

    .footer-brand {
        align-items: center !important;
        justify-content: center;
        text-align: center;
    }

    .footer-logo {
        width: min(100%, 225px) !important;
        max-height: 82px;
        margin: 0 auto 0.7rem;
        object-position: center;
    }

    .footer-desc {
        max-width: 280px;
        margin: 0.5rem auto 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.28rem;
    }

    .footer-links h4 {
        margin-bottom: 0.45rem;
        font-size: 0.95rem;
    }

    .footer-links a {
        display: block;
        width: auto;
        margin-bottom: 0.22rem;
        font-size: 0.95rem;
        line-height: 1.45;
        overflow-wrap: break-word;
    }

    .footer-divider {
        width: 100%;
        margin: 1.15rem 0;
    }

    .footer-legal {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
        text-align: center;
    }

    .footer-legal p {
        max-width: 280px;
        margin: 0 auto;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer-legal .social-icons {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .footer-top-block h2 {
        font-size: clamp(1.45rem, 8vw, 1.85rem) !important;
    }

    .footer-logo {
        width: min(100%, 205px) !important;
    }
}

/* Ajuste 2026-07-14: carrusel con los 14 logos */
.logo-marquee-track {
    animation-duration: 56s;
}
.logo-marquee-item img[src*="cadhu"],
.logo-marquee-item img[src*="grupo-triples"],
.logo-marquee-item img[src*="secretaria-economia"],
.logo-marquee-item img[src*="kalimori"] {
    max-width: 138px;
    max-height: 42px;
}
.logo-marquee-item img[src*="escuela-descodificacion"],
.logo-marquee-item img[src*="grupo-tallgrass"],
.logo-marquee-item img[src*="hebillas-herrajes"],
.logo-marquee-item img[src*="reserva-reyna"],
.logo-marquee-item img[src*="zapateria-nina"] {
    max-width: 66px;
    max-height: 50px;
}
.logo-marquee-item img[src*="cmic"] {
    max-width: 78px;
    max-height: 44px;
}
@media (max-width: 768px) {
    .logo-marquee-track {
        animation-duration: 46s;
    }
    .logo-marquee-item img[src*="escuela-descodificacion"],
    .logo-marquee-item img[src*="grupo-tallgrass"],
    .logo-marquee-item img[src*="hebillas-herrajes"],
    .logo-marquee-item img[src*="reserva-reyna"],
    .logo-marquee-item img[src*="zapateria-nina"] {
        max-width: 54px;
        max-height: 42px;
    }
}

/* Ajuste 2026-07-16: CTA WhatsApp, iconos y microinteracciones */
.hero-cta-only {
    max-width: 420px;
}
.hero-cta-only .btn {
    width: 100%;
    justify-content: center;
}
.pain-item {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}
.pain-item i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(166, 214, 8, 0.12);
    color: var(--color-accent);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}
.pain-item:hover {
    transform: translateY(-4px);
    border-color: rgba(166, 214, 8, 0.42);
    box-shadow: 0 18px 36px rgba(0, 20, 44, 0.18);
}
.pain-item:hover i {
    transform: scale(1.08) rotate(-6deg);
    background: var(--color-accent);
    color: var(--color-primary);
}
.methodology-blocks .meth-box,
.case-card,
.services-modern .service-pill {
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
    will-change: transform;
}
.methodology-blocks .meth-box:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 42px rgba(0, 52, 102, 0.14);
    border-color: rgba(0, 180, 230, 0.28);
}
.methodology-blocks .meth-box:hover .meth-icon {
    transform: translateY(-2px) scale(1.08);
    color: var(--color-primary);
}
.meth-icon {
    transition: transform 0.26s ease, color 0.26s ease;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(0, 52, 102, 0.16);
    border-color: rgba(0, 180, 230, 0.18);
}
.case-card:hover::before {
    opacity: 0.95;
}
.services-modern .service-pill:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 36px rgba(0, 52, 102, 0.13);
    border-color: rgba(0, 180, 230, 0.24);
    background: #ffffff;
}
.services-modern .service-pill:hover i {
    transform: scale(1.08) rotate(-4deg);
    background: var(--color-primary);
}
.services-modern .service-pill i {
    transition: transform 0.26s ease, background-color 0.26s ease;
}
.insight-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}
.insight-card i {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(166, 214, 8, 0.28);
    color: var(--color-primary);
    font-size: 1.15rem;
    line-height: 1;
}
.insight-card span {
    display: block;
}
@media (max-width: 768px) {
    .hero-cta-only {
        max-width: 100%;
    }
    .pain-item:hover,
    .methodology-blocks .meth-box:hover,
    .case-card:hover,
    .services-modern .service-pill:hover {
        transform: none;
    }
    .insight-card {
        gap: 0.75rem;
    }
}

/* Ajuste 2026-07-16: tooltips reversibles servicios */
.services-modern .services-list {
    overflow: visible;
}
.services-modern .service-pill[data-tooltip] {
    position: relative;
    cursor: default;
}
.services-modern .service-pill[data-tooltip]::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -11px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid rgba(0, 52, 102, 0.10);
    border-top: 1px solid rgba(0, 52, 102, 0.10);
    transform: translate(-50%, -6px) rotate(45deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 5;
}
.services-modern .service-pill[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    width: min(260px, 92vw);
    padding: 0.85rem 0.95rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 52, 102, 0.10);
    box-shadow: 0 18px 38px rgba(0, 52, 102, 0.15);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    transform: translate(-50%, 8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 6;
}
.services-modern .service-pill[data-tooltip]:hover::before,
.services-modern .service-pill[data-tooltip]:hover::after,
.services-modern .service-pill[data-tooltip]:focus-within::before,
.services-modern .service-pill[data-tooltip]:focus-within::after {
    opacity: 1;
    transform: translate(-50%, 0) rotate(45deg);
}
.services-modern .service-pill[data-tooltip]:hover::after,
.services-modern .service-pill[data-tooltip]:focus-within::after {
    transform: translate(-50%, 0);
}
@media (max-width: 768px) {
    .services-modern .service-pill[data-tooltip]::before,
    .services-modern .service-pill[data-tooltip]::after {
        display: none;
    }
}

/* Ajuste 2026-07-23: fotos integradas en diagnóstico y servicios */
.pain-photo {
    position: relative;
    width: min(100%, 420px);
    margin-top: 2rem;
    isolation: isolate;
}
.pain-photo::before {
    content: '';
    position: absolute;
    inset: -14px -14px 18px 20px;
    border-radius: 22px;
    background: var(--color-accent);
    opacity: 0.88;
    transform: rotate(-1.6deg);
    z-index: -1;
}
.pain-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.pain-photo:hover img {
    transform: translateY(-4px) scale(1.025);
    filter: brightness(1.04) contrast(1.02);
}
.services-visual-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 1060px;
    margin: 2.25rem auto 0;
    padding: 0 0.35rem;
    isolation: isolate;
}
.services-visual-row::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 18px;
    height: 42%;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(151, 218, 0, 0.85), rgba(0, 180, 230, 0.18));
    transform: rotate(-0.9deg);
    z-index: -1;
}
.services-photo-card {
    overflow: hidden;
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 18px 42px rgba(0, 52, 102, 0.12);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.services-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.services-photo-card figcaption {
    padding: 0.85rem 1rem 0.95rem;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}
.services-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(0, 52, 102, 0.16);
}
.services-photo-card:hover img {
    transform: scale(1.035);
    filter: brightness(1.04) contrast(1.02);
}
@media (max-width: 1024px) {
    .pain-photo { max-width: 540px; }
}
@media (max-width: 768px) {
    .pain-photo { margin-top: 1.5rem; width: 100%; }
    .services-visual-row { grid-template-columns: 1fr; margin-top: 1.5rem; }
    .services-visual-row::before { left: 1.5rem; right: 1.5rem; bottom: 12px; height: 55%; }
}
/* Ajuste 2026-07-23: armonizacion final fotos y separacion servicios */
.pain-container {
    align-items: center;
    gap: clamp(3.4rem, 5vw, 5.4rem);
}
.pain-intro h2 {
    margin-bottom: 1.25rem;
}
.pain-intro p {
    margin-bottom: 2.05rem;
}
.pain-closing {
    max-width: 440px;
    margin-top: 0;
    margin-bottom: 1.7rem;
}
.pain-photo {
    width: min(100%, 440px);
    margin-top: 0;
}
.pain-photo::before {
    inset: -16px -16px 20px 22px;
    border-radius: 24px;
}
.pain-grid {
    gap: clamp(1.15rem, 1.8vw, 1.45rem);
}
.services-modern {
    position: relative;
    border-top: 1px solid rgba(0, 52, 102, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.services-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1120px, calc(100% - 3rem));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(0, 180, 230, 0.24), rgba(166, 214, 8, 0.32), transparent);
}
.services-visual-row {
    max-width: 1100px;
    gap: clamp(1.25rem, 2.4vw, 2rem);
    margin-top: 2.75rem;
    padding: 0 0.65rem;
}
.services-visual-row::before {
    display: none;
}
.services-photo-card {
    position: relative;
    overflow: visible;
    isolation: isolate;
    border-radius: 18px;
}
.services-photo-card::before {
    content: '';
    position: absolute;
    inset: -14px -14px 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(166, 214, 8, 0.95), rgba(166, 214, 8, 0.55));
    transform: rotate(1.15deg);
    z-index: -1;
}
.services-photo-card:nth-child(2)::before {
    inset: -14px 20px 18px -14px;
    transform: rotate(-1.15deg);
}
.services-photo-card img {
    border-radius: 16px 16px 0 0;
    filter: brightness(1.02) contrast(1.02);
}
.services-photo-card figcaption {
    border-radius: 0 0 16px 16px;
    background: var(--color-white);
}
.contact-image {
    width: min(100%, 590px);
}
.contact-image::before {
    inset: -18px -16px 20px 22px;
    border-radius: 24px;
}
.contact-image img {
    aspect-ratio: 4 / 3;
    object-position: center;
}
@media (min-width: 1025px) {
    .contact-image {
        justify-self: center;
        transform: translateY(6px);
    }
}
@media (max-width: 1024px) {
    .pain-container {
        gap: 2.75rem;
    }
    .pain-intro p {
        margin-bottom: 1.5rem;
    }
    .services-visual-row {
        max-width: 720px;
    }
    .contact-image {
        width: min(100%, 640px);
    }
}
@media (max-width: 768px) {
    .pain-closing {
        margin-bottom: 1.25rem;
    }
    .pain-photo {
        width: calc(100% - 0.35rem);
    }
    .services-modern::before {
        width: calc(100% - 2rem);
    }
    .services-photo-card::before,
    .services-photo-card:nth-child(2)::before {
        inset: -10px -8px 12px 12px;
        transform: rotate(1deg);
    }
    .contact-image {
        width: calc(100% - 0.35rem);
    }
}

/* Correccion 2026-07-23: limpiar diagnostico y galeria servicios */
.pain-container {
    align-items: start;
    gap: clamp(4rem, 6vw, 6.4rem);
}
.pain-intro {
    max-width: 450px;
}
.pain-intro p {
    margin-bottom: 1.85rem;
}
.pain-closing {
    max-width: 420px;
    margin-bottom: 2.35rem;
}
.pain-photo {
    width: min(100%, 400px);
    margin-top: 0;
}
.pain-photo::before {
    inset: -10px -10px 16px 16px;
    opacity: 0.8;
    transform: rotate(1deg);
}
.pain-photo img {
    aspect-ratio: 4 / 3.05;
}
.services-visual-row {
    max-width: 1040px;
    gap: clamp(2rem, 3.4vw, 3rem);
    margin-top: 3.15rem;
    padding: 0 0.75rem;
}
.services-photo-card {
    background: var(--color-white);
    box-shadow: 0 16px 36px rgba(0, 52, 102, 0.10);
}
.services-photo-card::before {
    inset: auto auto -12px -12px;
    width: 46%;
    height: 36%;
    border-radius: 18px;
    opacity: 0.42;
    background: var(--color-accent);
    transform: none;
}
.services-photo-card:nth-child(2)::before {
    inset: auto -12px -12px auto;
    width: 46%;
    height: 36%;
    transform: none;
}
.services-photo-card img {
    border-radius: 16px 16px 0 0;
    filter: brightness(1) contrast(1.01);
}
.services-photo-card figcaption {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(0, 52, 102, 0.05);
}
.services-photo-card:hover {
    transform: translateY(-5px);
}
.services-photo-card:hover::before {
    opacity: 0.58;
}
@media (max-width: 1024px) {
    .pain-container {
        gap: 3rem;
    }
    .pain-photo {
        width: min(100%, 440px);
    }
    .services-visual-row {
        gap: 1.75rem;
    }
}
@media (max-width: 768px) {
    .pain-closing {
        margin-bottom: 1.8rem;
    }
    .pain-photo {
        width: 100%;
    }
    .services-visual-row {
        gap: 1.8rem;
    }
    .services-photo-card::before,
    .services-photo-card:nth-child(2)::before {
        inset: auto auto -10px -10px;
        width: 48%;
        height: 32%;
    }
    .services-photo-card:nth-child(2)::before {
        inset: auto -10px -10px auto;
    }
}

/* Ajuste 2026-07-23: hover uniforme para fotos reales */
.hero-image,
.pain-photo,
.differential-visual,
.human-photo,
.services-photo-card,
.contact-image {
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-image img,
.pain-photo img,
.differential-visual img,
.human-photo img,
.services-photo-card img,
.contact-image img {
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.hero-image:hover,
.pain-photo:hover,
.differential-visual:hover,
.human-photo:hover,
.services-photo-card:hover,
.contact-image:hover {
    transform: translateY(-5px);
}
.hero-image:hover img,
.pain-photo:hover img,
.differential-visual:hover img,
.human-photo:hover img,
.services-photo-card:hover img,
.contact-image:hover img {
    transform: scale(1.025);
    filter: brightness(1.035) contrast(1.02) saturate(1.02);
}
.pain-photo:hover::before,
.human-photo:hover::before,
.contact-image:hover::before,
.services-photo-card:hover::before {
    opacity: 0.68;
}
@media (max-width: 768px) {
    .hero-image:hover,
    .pain-photo:hover,
    .differential-visual:hover,
    .human-photo:hover,
    .services-photo-card:hover,
    .contact-image:hover {
        transform: none;
    }
    .hero-image:hover img,
    .pain-photo:hover img,
    .differential-visual:hover img,
    .human-photo:hover img,
    .services-photo-card:hover img,
    .contact-image:hover img {
        transform: none;
    }
}

/* Ajuste 2026-07-27: isotipo en menu y logo footer mas presente */
.logo .nav-isotipo {
    width: auto !important;
    height: 58px !important;
    max-height: 58px !important;
    object-fit: contain;
    display: block;
}
.footer-logo {
    width: 265px !important;
    max-width: min(100%, 265px) !important;
    height: auto !important;
}
.footer-brand {
    gap: 1rem;
}
.footer-desc {
    max-width: 260px;
}
@media (max-width: 980px) {
    .logo .nav-isotipo {
        height: 52px !important;
        max-height: 52px !important;
    }
    .footer-logo {
        width: 245px !important;
        max-width: min(100%, 245px) !important;
    }
}
@media (max-width: 560px) {
    .logo .nav-isotipo {
        height: 48px !important;
        max-height: 48px !important;
    }
    .footer-logo {
        width: 230px !important;
        max-width: min(100%, 230px) !important;
    }
}

/* Ajuste 2026-07-27: menu con logo tipografico sin isotipo */
.logo .nav-wordmark {
    width: min(260px, 30vw) !important;
    height: auto !important;
    max-height: 46px !important;
    object-fit: contain;
    display: block;
}
@media (max-width: 980px) {
    .logo .nav-wordmark {
        width: min(225px, 48vw) !important;
        max-height: 42px !important;
    }
}
@media (max-width: 560px) {
    .logo .nav-wordmark {
        width: min(205px, 60vw) !important;
        max-height: 38px !important;
    }
}
