/*
 * MGER Consorcio — hoja de estilo del tema
 *
 * Extraida del preview aprobado (vercel-deploy/index.html, 22-jun-2026),
 * donde vivia como un solo bloque <style> inline de 29,059 caracteres.
 * Generada por tools/extract-mger.py — no editar a mano el bloque portado;
 * los ajustes del tema van en mger-overrides.css.
 */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --noche: #0A0A0A;       /* negro carbón del hero */
    --noche-2: #141414;     /* negro suave */
    --marino: #1B3550;      /* azul marino MGER */
    --marino-dark: #122538; /* azul más profundo */
    --dorado: #B8946B;      /* dorado MGER */
    --dorado-suave: #D4B889;
    --crema: #F5F2EC;       /* off-white premium */
    --crema-2: #EAE5DA;     /* tono mate */
    --texto: #1A1A1A;
    --gris: #6B6B6B;
    --borde: rgba(184, 148, 107, 0.18);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--texto);
    background: var(--crema);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
.serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; }

/* ─────────────── HEADER ─────────────── */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 148, 107, 0.12);
}
nav {
    max-width: 1320px; margin: 0 auto;
    padding: 1rem 2.5rem;
    display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img {
    height: 44px; width: auto; display: block;
}
.brand-dark img { filter: brightness(0) invert(1); }
@media (max-width: 540px) { .brand img { height: 36px; } }
.nav-menu { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-menu a {
    color: rgba(255,255,255,0.75);
    text-decoration: none; font-weight: 500;
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    transition: color 0.25s ease; position: relative;
}
.nav-menu a:hover { color: var(--dorado); }
.cta-header {
    background: transparent; color: var(--dorado);
    padding: 0.65rem 1.4rem;
    border: 1px solid var(--dorado);
    text-decoration: none; font-weight: 500; font-size: 0.78rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    transition: all 0.3s ease;
}
.cta-header:hover { background: var(--dorado); color: var(--noche); }

/* ─────────────── HERO ─────────────── */
.hero {
    background-color: var(--noche);
    background-image:
        radial-gradient(circle at 70% 30%, rgba(184,148,107,0.18) 0%, transparent 55%),
        radial-gradient(circle at 30% 70%, rgba(27,53,80,0.5) 0%, transparent 55%),
        url('../img/hero-sala.jpg');
    background-size: cover; background-position: center;
    min-height: 95vh; position: relative; overflow: hidden;
    color: white;
    display: flex; align-items: center; justify-content: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.92) 70%, rgba(10,10,10,0.95) 100%);
}
.hero-inner {
    position: relative; z-index: 2;
    max-width: 1000px; margin: 0 auto;
    padding: 4rem 2.5rem; text-align: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.8rem;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.4em;
    text-transform: uppercase; color: var(--dorado);
    margin-bottom: 1.6rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
    content: ''; width: 32px; height: 1px; background: var(--dorado);
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500; line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}
.hero h1 em {
    color: var(--dorado);
    font-style: italic; font-weight: 400;
}
.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; font-weight: 300;
    color: rgba(255,255,255,0.78);
    max-width: 640px; margin: 0 auto 2.5rem;
    line-height: 1.65;
}
.hero-ctas {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 4rem;
}
.btn-primary {
    background: var(--dorado); color: var(--noche);
    padding: 1.05rem 2.2rem; border-radius: 0;
    text-decoration: none; font-weight: 600; font-size: 0.78rem;
    letter-spacing: 0.18em; text-transform: uppercase;
    transition: all 0.3s ease; display: inline-block;
    border: 1px solid var(--dorado);
}
.btn-primary:hover { background: var(--dorado-suave); border-color: var(--dorado-suave); }
.btn-ghost {
    background: transparent; color: white;
    padding: 1.05rem 2.2rem; border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none; font-weight: 500; font-size: 0.78rem;
    letter-spacing: 0.18em; text-transform: uppercase;
    transition: all 0.3s ease; display: inline-block;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.06); }

/* Hero metrics strip */
.hero-metrics {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; max-width: 920px; margin: 0 auto;
    border-top: 1px solid rgba(184,148,107,0.2);
    border-bottom: 1px solid rgba(184,148,107,0.2);
    padding: 1.8rem 0;
}
.hero-metric { text-align: center; padding: 0 1rem;
    border-right: 1px solid rgba(184,148,107,0.15);
}
.hero-metric:last-child { border-right: none; }
.hero-metric-n {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; font-weight: 500;
    color: var(--dorado); line-height: 1;
    margin-bottom: 0.3rem;
}
.hero-metric-l {
    font-size: 0.66rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: rgba(255,255,255,0.55);
}

/* ─────────────── SECTION COMMON ─────────────── */
section { padding: 7rem 2.5rem; }
.container { max-width: 1320px; margin: 0 auto; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 0.7rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--dorado);
    margin-bottom: 1.2rem;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--dorado); }
.section-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 500; line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    color: var(--marino);
}
.section-h2.on-dark { color: white; }
.section-h2 em { color: var(--dorado); font-style: italic; }
.section-lead {
    font-size: 1.08rem; color: var(--gris); max-width: 680px;
    line-height: 1.75;
}
.section-lead.on-dark { color: rgba(255,255,255,0.75); }

/* ─────────────── ABOUT ─────────────── */
.about { background: var(--crema); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { color: var(--gris); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.2rem; }
.about-content p strong { color: var(--marino); font-weight: 600; }
.about-bullets { list-style: none; margin-top: 1.4rem; }
.about-bullets li {
    position: relative; padding: 0.55rem 0 0.55rem 2rem;
    color: var(--texto); font-size: 1rem; line-height: 1.55;
    border-bottom: 1px solid var(--borde);
}
.about-bullets li::before {
    content: ''; position: absolute; left: 0; top: 1.1rem;
    width: 18px; height: 1px; background: var(--dorado);
}
.about-bullets li::after {
    content: ''; position: absolute; left: 5px; top: 0.95rem;
    width: 6px; height: 6px;
    background: var(--dorado);
    transform: rotate(45deg);
}

/* ─────────────── VALORES ─────────────── */
.valores { background: var(--crema); }
.valores-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.valores-head .section-eyebrow { justify-content: center; display: inline-flex; }
.valores-grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border: 1px solid var(--borde);
    background: var(--borde);
}
.valor-card {
    background: white;
    padding: 2.6rem 1.4rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    display: flex; flex-direction: column; align-items: center;
}
.valor-card:hover {
    background: var(--marino);
    color: white;
    transform: translateY(-4px);
}
.valor-icon {
    width: 56px; height: 56px;
    border: 1px solid var(--dorado);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
    transition: all 0.35s ease;
}
.valor-icon svg {
    width: 24px; height: 24px;
    stroke: var(--dorado); fill: none; stroke-width: 1.4;
    stroke-linecap: round; stroke-linejoin: round;
    transition: stroke 0.35s ease;
}
.valor-card:hover .valor-icon { background: var(--dorado); }
.valor-card:hover .valor-icon svg { stroke: var(--marino); }
.valor-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem; font-weight: 500;
    color: var(--marino);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}
.valor-card:hover .valor-name { color: white; }
.about-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--borde);
    border: 1px solid var(--borde);
}
.stat-card {
    background: white; padding: 2.8rem 2rem;
    text-align: left; position: relative;
    transition: background 0.3s ease;
}
.stat-card:hover { background: var(--crema-2); }
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem; font-weight: 500;
    color: var(--marino); line-height: 1;
    letter-spacing: -0.02em;
    display: flex; align-items: baseline; gap: 0.3rem;
}
.stat-num small {
    font-size: 1.5rem; color: var(--dorado);
}
.stat-label {
    margin-top: 0.6rem;
    font-size: 0.72rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--gris); font-weight: 600;
}
.stat-desc {
    margin-top: 0.5rem;
    font-size: 0.92rem; color: var(--gris); line-height: 1.5;
}

/* ─────────────── EMPRESAS ─────────────── */
.empresas {
    background: var(--noche);
    background-image:
        radial-gradient(circle at 80% 20%, rgba(27,53,80,0.4) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(184,148,107,0.08) 0%, transparent 50%);
    color: white;
}
.empresas-head {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: end; margin-bottom: 4rem;
}
.empresas-grid {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    justify-content: center;
}
.empresa-card.featured-center {
    flex-basis: 100%; max-width: 100%;
    padding: 3rem 2.8rem;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.2rem;
    align-items: center;
    background: linear-gradient(125deg, rgba(184,148,107,0.07) 0%, rgba(27,53,80,0.14) 60%, rgba(255,255,255,0.02) 100%);
    border-color: rgba(184,148,107,0.22);
}
.empresa-card.featured-center .empresa-logo { height: 92px; margin-bottom: 1.8rem; }
.empresa-card.featured-center .empresa-logo img { max-height: 92px; max-width: 280px; }
.empresa-card.featured-center h3 { font-size: 2.1rem; }
.empresa-card.featured-center .empresa-desc { font-size: 1.03rem; }
.clientes-block {
    border-left: 1px solid rgba(184,148,107,0.18);
    padding-left: 2.8rem;
}
.clientes-block-label {
    font-size: 0.7rem; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--dorado);
    margin-bottom: 1.6rem; font-weight: 500;
}
/* Tira de logos de clientes MODD — logos sueltos sobre el fondo de la tarjeta.
   Antes era un solo JPG recortado del slide, con la foto de fondo incrustada. */
/* Retícula de 5 columnas, igual que el diseño original: cada logo se ajusta
   dentro de una celda del mismo ancho. */
.clientes-logos {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.9rem 1.1rem;
    align-items: center; justify-items: center;
}
.clientes-logos li {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 42px;
}
.clientes-logos img {
    max-width: 100%; width: auto; height: auto;
    object-fit: contain; display: block;
    opacity: 0.9;
    transition: opacity 0.25s ease;
}
.clientes-logos li:hover img { opacity: 1; }

/* Alto por logo. Las proporciones van de 0.92 a 10.5, así que un alto común
   deforma la fila: los casi cuadrados dominan y los alargados se pierden. */
.cl-comex img          { max-height: 32px; }
.cl-unibien img        { max-height: 42px; }
.cl-daniela-correa img { max-height: 34px; }
.cl-jorge-hilton img   { max-height: 39px; }
.cl-cosmetis img       { max-height: 36px; }
.cl-snowball img       { max-height: 29px; }
.cl-homo-vivens img    { max-height: 12px; }
.cl-mger img           { max-height: 31px; }
.cl-kid-party-hub img  { max-height: 42px; }
.cl-color-make img     { max-height: 38px; }
@media (max-width: 980px) {
    .empresa-card.featured-center { grid-template-columns: 1fr; gap: 2rem; padding: 2.2rem; }
    .clientes-block { border-left: none; padding-left: 0; border-top: 1px solid rgba(184,148,107,0.18); padding-top: 2rem; }
    .clientes-logos { grid-template-columns: repeat(3, 1fr); gap: 1.8rem 1rem; }
}
@media (max-width: 480px) {
    .clientes-logos { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 0.9rem; }
}
.empresa-card {
    flex: 1 1 320px;
    max-width: calc((100% - 3rem) / 3);
    box-sizing: border-box;
    background: linear-gradient(155deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem 2.2rem;
    transition: all 0.4s cubic-bezier(.2,.8,.2,1);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.empresa-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--dorado);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.empresa-card:hover {
    background: linear-gradient(155deg, rgba(184,148,107,0.06) 0%, rgba(27,53,80,0.1) 100%);
    border-color: rgba(184,148,107,0.3);
    transform: translateY(-4px);
}
.empresa-card:hover::before { transform: scaleX(1); }

.empresa-logo {
    height: 64px; margin-bottom: 1.4rem;
    display: flex; align-items: center;
}
.empresa-logo img {
    max-height: 64px; max-width: 200px;
    object-fit: contain;
}
.empresa-tag {
    font-size: 0.68rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--dorado);
    font-weight: 600; margin-bottom: 0.8rem;
}
.empresa-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.85rem; font-weight: 500;
    margin-bottom: 0.6rem; line-height: 1.2;
    letter-spacing: -0.01em;
}
.empresa-desc {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem; line-height: 1.65;
    margin-bottom: 1.4rem; flex-grow: 1;
}
.empresa-services {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-bottom: 1.4rem;
}
.empresa-chip {
    font-size: 0.72rem; padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.78);
}
.empresa-link {
    color: var(--dorado); text-decoration: none;
    font-size: 0.74rem; letter-spacing: 0.22em;
    text-transform: uppercase; font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: gap 0.3s ease;
    margin-top: auto;
}
.empresa-link::after {
    content: '→'; transition: transform 0.3s ease;
}
.empresa-card:hover .empresa-link::after { transform: translateX(4px); }

/* ─────────────── PRESENCIA ─────────────── */
.presencia { background: var(--marino); color: white; }
.presencia-grid {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: center;
}
.ciudades-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.ciudad-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.8rem 1.6rem;
    transition: all 0.3s ease;
    position: relative;
}
.ciudad-card.corporativo {
    border: 1px solid var(--dorado);
    background: rgba(184,148,107,0.08);
}
.ciudad-card.corporativo::before {
    content: 'CORPORATIVO';
    position: absolute; top: -0.55rem; left: 1.4rem;
    background: var(--dorado); color: var(--noche);
    font-size: 0.6rem; padding: 0.2rem 0.7rem;
    letter-spacing: 0.2em; font-weight: 700;
}
.ciudad-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--dorado);
}
.ciudad-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.92rem; color: var(--dorado);
    letter-spacing: 0.3em; margin-bottom: 0.5rem;
}
.ciudad-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 500;
    margin-bottom: 0.3rem; line-height: 1.1;
}
.ciudad-card p {
    color: rgba(255,255,255,0.6); font-size: 0.85rem;
}

/* ─────────────── CONTACTO ─────────────── */
.contacto { background: var(--crema); }
.contacto-grid {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem;
    align-items: start;
}
.contacto-info h2 { color: var(--marino); }
.contacto-info p { color: var(--gris); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.contacto-detail {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--borde);
}
.contacto-detail:last-child { border-bottom: none; }
.contacto-icon {
    width: 44px; height: 44px;
    border: 1px solid var(--dorado);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contacto-icon svg { width: 18px; height: 18px; stroke: var(--dorado); fill: none; stroke-width: 1.5; }
.contacto-detail-label {
    font-size: 0.66rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--dorado);
    font-weight: 600; margin-bottom: 0.2rem;
}
.contacto-detail-value {
    font-size: 0.98rem; color: var(--marino); font-weight: 500;
}
.form {
    background: white;
    border: 1px solid var(--borde);
    padding: 3rem 2.6rem;
}
.form-group { margin-bottom: 1.3rem; }
.form-group label {
    display: block;
    font-size: 0.68rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--gris); font-weight: 600;
    margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 0.95rem 1.1rem;
    border: 1px solid var(--borde);
    background: var(--crema);
    font-family: 'Inter', sans-serif; font-size: 0.95rem;
    color: var(--texto);
    transition: all 0.25s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--dorado);
    background: white;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
    width: 100%; background: var(--marino); color: white;
    padding: 1.1rem; border: none;
    font-family: 'Inter', sans-serif; font-weight: 600;
    font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s ease;
}
.form-submit:hover { background: var(--noche); }

/* Mapa */
.map-wrap {
    margin-top: 3rem;
    border: 1px solid var(--borde);
    overflow: hidden;
    background: var(--noche);
    position: relative;
}
.map-head {
    background: var(--marino); color: white;
    padding: 1rem 1.4rem;
    display: flex; align-items: center; gap: 0.8rem;
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
    font-weight: 600;
}
.map-head::before {
    content: ''; width: 8px; height: 8px;
    background: var(--dorado);
    border-radius: 50%;
}
.map-head a {
    color: var(--dorado); text-decoration: none;
    margin-left: auto; font-size: 0.7rem; letter-spacing: 0.15em;
    border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.map-head a:hover { border-color: var(--dorado); }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ─────────────── FOOTER ─────────────── */
footer {
    background: var(--noche); color: white;
    border-top: 1px solid var(--dorado);
    padding: 5rem 2.5rem 2rem;
}
.footer-grid {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand .brand img { height: 56px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.93rem; line-height: 1.7; margin-top: 1.2rem; max-width: 320px; }
.footer-col h4 {
    font-size: 0.7rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--dorado);
    font-weight: 600; margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
    color: rgba(255,255,255,0.7); text-decoration: none;
    font-size: 0.9rem; transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--dorado); }
.footer-bottom {
    max-width: 1320px; margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-credit {
    font-size: 0.78rem; color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
}
.footer-credit a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-credit a:hover { color: var(--dorado); }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .about-grid, .presencia-grid, .contacto-grid, .empresas-head {
        grid-template-columns: 1fr; gap: 3rem;
    }
    .empresa-card { max-width: calc((100% - 1.5rem) / 2); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .valores-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    nav { padding: 0.85rem 1.2rem; gap: 0.8rem; }
    .cta-header { display: none; }
    .brand img { height: 36px; }
    .hero-inner { padding: 2.5rem 1rem; max-width: 100%; }
    .hero h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); word-wrap: break-word; overflow-wrap: break-word; }
    .hero-eyebrow { display: block !important; font-size: 0.55rem; letter-spacing: 0.18em; text-align: center; line-height: 1.6; padding: 0 0.5rem; word-spacing: 0.1em; }
    .hero-eyebrow::before, .hero-eyebrow::after { display: none; }
    .section-eyebrow { font-size: 0.65rem; letter-spacing: 0.2em; flex-wrap: wrap; }
    .hero-sub { font-size: 0.92rem; padding: 0 0.3rem; }
    .hero-metrics { grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(184,148,107,0.15); margin: 0; }
    .hero-metric { border-right: none; padding: 0.9rem 0.4rem; background: var(--noche); }
    section { padding: 3rem 1.2rem; }
    .section-h2 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.01em; }
    .about-content h2 { margin-bottom: 1rem; }
    .about-content p { font-size: 0.88rem; line-height: 1.55; margin-bottom: 0.8rem; }
    .about-bullets { margin-top: 1rem; }
    .about-bullets li { font-size: 0.84rem; line-height: 1.4; padding: 0.45rem 0 0.45rem 1.6rem; }
    .about-bullets li::before { width: 14px; top: 1rem; }
    .about-bullets li::after { left: 4px; top: 0.85rem; width: 5px; height: 5px; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 1.4rem 1.1rem; }
    .stat-num { font-size: 2.4rem; }
    .stat-num small { font-size: 1rem; }
    .stat-label { font-size: 0.62rem; letter-spacing: 0.18em; margin-top: 0.35rem; }
    .stat-desc { font-size: 0.82rem; line-height: 1.45; margin-top: 0.35rem; }
    .empresa-card { max-width: 100%; flex-basis: 100%; }
    .ciudades-list { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
    .ciudad-card { padding: 1.1rem 0.9rem; }
    .ciudad-card.corporativo::before { left: 0.6rem; top: -0.4rem; font-size: 0.5rem; letter-spacing: 0.14em; padding: 0.15rem 0.5rem; }
    .ciudad-num { font-size: 0.78rem; margin-bottom: 0.3rem; letter-spacing: 0.22em; }
    .ciudad-card h4 { font-size: 1.3rem; }
    .ciudad-card p { font-size: 0.75rem; line-height: 1.35; }
    .valores-grid { grid-template-columns: repeat(2, 1fr); }
    .valor-card { padding: 1.8rem 1rem; }
    .valor-icon { width: 44px; height: 44px; margin-bottom: 1rem; }
    .valor-icon svg { width: 20px; height: 20px; }
    .valor-name { font-size: 0.92rem; }
    .map-wrap { max-width: 100%; box-sizing: border-box; }
    .map-head { flex-wrap: wrap; padding: 0.85rem 1rem; font-size: 0.7rem; gap: 0.5rem; letter-spacing: 0.12em; }
    .map-head a { margin-left: 0; font-size: 0.62rem; }
    .map-wrap iframe { height: 260px; width: 100%; max-width: 100%; }
    .section-lead { font-size: 0.95rem; line-height: 1.65; }
    .contacto-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .contacto-info h2, .contacto-info > p, .contacto-info > .section-eyebrow { grid-column: 1 / -1; }
    .contacto-info p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.5rem; }
    .contacto-detail {
        flex-direction: column; align-items: flex-start;
        gap: 0.55rem; padding: 0.95rem 0.85rem;
        border: 1px solid var(--borde); border-bottom: 1px solid var(--borde);
        background: white;
    }
    .contacto-icon { width: 36px !important; height: 36px !important; }
    .contacto-icon svg { width: 16px !important; height: 16px !important; }
    .contacto-detail-label { font-size: 0.58rem !important; letter-spacing: 0.18em !important; }
    .contacto-detail-value { font-size: 0.85rem !important; word-break: break-word; line-height: 1.4; }
    .form { padding: 2rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
