/* ================================================
   GRUPO MÉDICO MJB — Estilos Mejorados 2026
   ================================================ */

:root {
    --primary: #0a66c2;
    --primary-hover: #084f96;
    --primary-light: #e8f1fb;
    --dark: #0f172a;
    --text: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f0f6ff;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --whatsapp: #25D366;
    --whatsapp-hover: #1eaa52;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(10,102,194,0.08);
    --shadow-md: 0 8px 30px rgba(10,102,194,0.12);
    --shadow-lg: 0 20px 60px rgba(10,102,194,0.15);
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Roboto', system-ui, sans-serif;
    --font-body: 'Roboto', system-ui, sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.bg-soft { background-color: var(--bg-light); }

/* ── SECTION HEADERS ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header--light { color: white; }
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-label--light {
    color: #93c5fd;
    background: rgba(147, 197, 253, 0.15);
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    color: var(--dark);
}
.section-header--light h2 { color: white; }
.section-sub { color: var(--text-gray); font-size: 1rem; }

/* ── NAVBAR ── */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 14px 0;
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(10, 102, 194, 0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-wrapper { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; }
.logo-text { font-size: 1.05rem; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.logo-text span { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 6px; }
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 7px 12px;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: var(--primary-light); color: var(--primary); }
.nav-active, .nav-active:hover { color: var(--primary) !important; background: var(--primary-light) !important; }
.nav-tele {
    color: #0891b2 !important;
    font-weight: 700 !important;
    border: 1.5px solid #7dd3fc !important;
    background: #e0f9ff !important;
}
.nav-tele:hover { background: #0891b2 !important; color: white !important; border-color: #0891b2 !important; }

.nav-right { display: flex; align-items: center; gap: 12px; }
.header-socials { display: flex; gap: 10px; }
.social-icon-img { height: 24px; width: auto; transition: transform var(--transition), opacity var(--transition); }
.social-icon-img:hover { transform: scale(1.15); opacity: 0.8; }

/* ── HAMBURGUESA ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MENÚ MÓVIL ── */
.mobile-menu {
    display: none;
    padding: 0 24px 16px;
    background: white;
    border-top: 1px solid var(--border-color);
}
.mobile-menu ul { list-style: none; }
.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--primary); }

/* ── BOTONES ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(10, 102, 194, 0.3);
}
.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    border-color: var(--whatsapp);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ── HERO ── */
.hero { padding: 80px 0 90px; }
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 7px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    border: 1px solid rgba(10, 102, 194, 0.2);
}
.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 18px;
}
.hero-text h1 .highlight { color: var(--primary); }
.hero-text p { font-size: 1.05rem; color: var(--text-gray); margin-bottom: 32px; }
.hero-text strong { color: var(--dark); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-img-wrapper { position: relative; }
.hero-img-wrapper::before {
    content: '';
    position: absolute;
    inset: -12px -12px 12px 12px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    z-index: 0;
}
.hero-img {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1;
    object-fit: cover;
    object-position: center 40%;
    max-height: 480px;
}

/* ── FONASA SECTION ── */
.fonasa-section { padding: 50px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.fonasa-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}
.fonasa-logo { height: 70px; width: auto; object-fit: contain; }
.fonasa-text h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.fonasa-text p { color: var(--text-gray); }

/* ── EQUIPO CARRUSEL ── */
.equipo-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    padding: 12px 0 24px;
    /* fade en los bordes */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.equipo-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

/* ── TEAM CARD ── */
.team-card {
    background: white;
    padding: 24px 20px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    width: 220px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card--featured { border: 2px solid var(--primary); background: var(--primary-light); }

.team-photo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--border-color);
    background: var(--bg-light);
}
.team-card--featured .team-photo-wrap {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}
.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Posición individual para mostrar el rostro */
.team-photo--monica   { object-position: center 18%; }
.team-photo--mildred  { object-position: center 8%;  }
.team-photo--bastian  { object-position: center 28%; }
.team-photo--castro   { object-position: center 8%;  }
.team-photo--castillo { object-position: center 55%; }
.team-photo--aimara   { object-position: center 12%; }
.team-photo--claudia  { object-position: center 15%; }

.team-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px;
    line-height: 1.3;
}
.role {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 8px;
}
.team-desc { font-size: 0.82rem; color: var(--text-gray); line-height: 1.5; }

/* ── SUCURSALES ── */
.grid-sucursales { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.branch-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.branch-card.visible { opacity: 1; transform: translateY(0); }
.branch-card:hover { box-shadow: var(--shadow-md); }

.branch-img-wrapper { position: relative; overflow: hidden; }
.branch-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.branch-card:hover .branch-img { transform: scale(1.04); }
.branch-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}
.branch-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.branch-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.address, .phone-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
}
.address i, .phone-text i { color: var(--primary); flex-shrink: 0; }
.phone-text a { color: var(--text-gray); transition: color var(--transition); }
.phone-text a:hover { color: var(--primary); }

/* ── HORARIOS ── */
.bg-primary-dark { background: var(--dark); color: white; }
.horarios-table {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    margin-top: 32px;
    overflow: hidden;
}
.h-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}
.h-row--last { border-bottom: none; }
.h-row:hover { background: rgba(255,255,255,0.04); }
.h-day { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.h-day i { color: #60a5fa; }
.h-time { color: #93c5fd; font-weight: 500; }
.h-closed { color: #ef4444 !important; }
.horarios-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.82rem;
    color: #64748b;
}
.horarios-note i { margin-right: 6px; }

/* ── CONTACTO ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.contact-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.contact-card.visible { opacity: 1; transform: translateY(0); }
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.icon-box-custom {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    margin-bottom: 4px;
}
.custom-icon { max-width: 44px; max-height: 44px; object-fit: contain; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.contact-desc { font-size: 0.85rem; color: var(--text-gray); }

/* ── FOOTER ── */
.footer-main { background: var(--dark); color: #94a3b8; padding: 70px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-logo { color: white !important; font-size: 1.1rem; margin-bottom: 10px; }
.footer-logo span { color: #60a5fa; }
.footer-tagline { font-size: 0.88rem; margin-bottom: 20px; color: #64748b; }
.footer-col h4 { color: white; margin-bottom: 18px; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col p { font-size: 0.88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-col p i { color: #60a5fa; }
.footer-social-icons { display: flex; gap: 12px; }
.footer-social-icons .social-icon-img { height: 28px; filter: brightness(0.8); transition: filter var(--transition); }
.footer-social-icons .social-icon-img:hover { filter: brightness(1.2); }
.footer-link { color: #94a3b8; transition: color var(--transition); }
.footer-link:hover { color: #60a5fa; }
.footer-bottom {
    background: #020617;
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #475569;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── ANIMACIONES ── */
.animate-fadeup {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.7s ease forwards 0.1s;
}
.animate-fadein {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.3s;
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* ── RESEÑAS ── */
.resenas-section { padding-bottom: 20px; background: var(--dark); }
.resenas-section .section-header { margin-bottom: 32px; }
.resenas-section .section-header h2 { color: white; }
.resenas-section .section-label { background: rgba(255,255,255,0.1); color: #93c5fd; }
.resenas-section .section-sub { color: #94a3b8; }

.resenas-rating-global {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}
.rating-numero {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}
.rating-info { display: flex; flex-direction: column; gap: 6px; }
.estrellas-global { display: flex; gap: 4px; }
.estrellas-global i { color: #facc15; font-size: 1.3rem; }
.rating-info p { color: #94a3b8; font-size: 0.88rem; margin: 0; }
.resenas-google-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.resenas-google-link:hover { opacity: 0.75; }
.google-logo { height: 14px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }

/* CARRUSEL */
.resenas-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 8px 0 40px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.resenas-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

/* CARD RESEÑA */
.resena-card {
    width: 300px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.resena-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
.resena-card--highlight {
    background: rgba(10,102,194,0.2);
    border-color: rgba(10,102,194,0.4);
}
.resena-card--highlight:hover { background: rgba(10,102,194,0.28); }

.resena-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.resena-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}
.resena-header div { display: flex; flex-direction: column; gap: 2px; }
.resena-header strong { font-size: 0.9rem; color: white; font-weight: 700; }
.resena-header span { font-size: 0.75rem; color: #64748b; }

.resena-estrellas { display: flex; gap: 3px; }
.resena-estrellas i { color: #facc15; font-size: 0.85rem; }

.resena-card p {
    font-size: 0.87rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* ── FAQ ── */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item.open { border-color: var(--primary); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--dark);
    transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-light); }
.faq-item.open .faq-question { background: var(--primary-light); color: var(--primary); }

.faq-icon {
    font-size: 0.8rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 26px;
}
.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 26px 22px;
}
.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.75;
    margin: 0;
}
.faq-answer ul {
    margin: 10px 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.faq-answer ul li {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.6;
}
.faq-answer strong { color: var(--dark); }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

    .hero-container,
    .grid-sucursales { grid-template-columns: 1fr; gap: 36px; }

    .hero-img-wrapper::before { display: none; }
    .hero-img { max-height: 320px; }

    .nav-links, .header-socials { display: none; }
    .hamburger { display: flex; }
    .mobile-menu.open { display: block; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }

    .fonasa-inner { flex-direction: column; gap: 20px; }

    .horarios-table { font-size: 0.9rem; }
    .h-row { padding: 14px 18px; flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 480px) {
    .grid-equipo { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* ── MISIÓN, VISIÓN Y VALORES ── */
.mvv-section { padding: 80px 0; }
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mvv-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow var(--transition), transform var(--transition);
}
.mvv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mvv-card--mision { border-top: 3px solid var(--primary); }
.mvv-card--valores { border-top: 3px solid #dc2626; }
.mvv-card--vision  { border-top: 3px solid #16a34a; }
.mvv-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.mvv-card--mision .mvv-icon { background: #eff6ff; color: var(--primary); }
.mvv-card--valores .mvv-icon { background: #fff1f2; color: #dc2626; }
.mvv-card--vision  .mvv-icon { background: #f0fdf4; color: #16a34a; }
.mvv-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--dark); margin: 0; }
.mvv-card p  { color: var(--text-gray); font-size: 0.92rem; line-height: 1.75; margin: 0; }
.mvv-valores-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.mvv-valores-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}
.mvv-valores-list li i { color: #dc2626; font-size: 0.82rem; flex-shrink: 0; }
@media (max-width: 900px) { .mvv-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ── BOTÓN FLOTANTE WHATSAPP ── */
@keyframes pulse-green {
    0%   { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.45); }
    70%  { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    animation: pulse-green 2.5s infinite;
    transition: transform var(--transition);
}
.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    animation: none;
    box-shadow: 0 10px 30px rgba(37,211,102,0.55);
    color: white;
}
.whatsapp-float i { font-size: 1.3rem; }
.whatsapp-float-logo { width: 26px; height: 26px; object-fit: contain; filter: brightness(0) invert(1); }
.whatsapp-float-label { white-space: nowrap; }
@media (max-width: 768px) {
    .whatsapp-float { padding: 16px; border-radius: 50%; bottom: 20px; right: 20px; }
    .whatsapp-float-label { display: none; }
}

/* ── MAPA EMBEBIDO SUCURSALES ── */
.map-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 200px;
    flex-shrink: 0;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── FORMULARIO DE CONTACTO ── */
.contact-card--form { align-items: flex-start !important; text-align: left !important; }
.contact-card--form h3 { text-align: left; }
.contact-card--form .contact-desc { text-align: left; }
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-gray); }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    background: white;
    outline: none;
    resize: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,102,194,0.12);
}
.contact-card--form .btn { width: 100%; justify-content: center; }

/* ── LIMPIEZAS INLINE ── */
.faq-answer p + p { margin-top: 10px; }
.footer-country { margin-top: 8px !important; color: #94a3b8 !important; }