/* ==========================================================
   Sport Coffee — estilos del sitio
   Colores tomados del logotipo: rojo, vino, oliva y negro café.
   ========================================================== */

:root {
    --red: #cf261f;
    --red-700: #a91d17;
    --red-50: #fcebe9;
    --wine: #81221c;
    --wine-800: #5c1713;
    --wine-900: #370d0a;
    --espresso: #1a0e0c;
    --espresso-2: #26140f;
    --olive: #8f772d;
    --gold: #d6b45c;
    --gold-soft: #ecd9a2;
    --ink: #201b18;
    --text: #3b2f2a;
    --muted: #75665e;
    --cream: #fbf6ee;
    --sand: #f3e8d8;
    --white: #ffffff;
    --line: rgba(32, 27, 24, .12);

    --ff-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --ff-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
    --gutter: 24px;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 24px 60px -24px rgba(26, 14, 12, .45);
    --shadow-sm: 0 10px 30px -12px rgba(26, 14, 12, .25);
    --header-h: 88px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 100;
    padding: 10px 16px; background: var(--white); color: var(--ink);
    border-radius: 8px; font-weight: 700; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.center { text-align: center; }
.text-red { color: var(--red); }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Tipografía ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--ff-display); font-weight: 700; font-size: 1rem;
    letter-spacing: .16em; text-transform: uppercase; color: var(--red);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: ""; width: 30px; height: 5px; background: currentColor;
    transform: skewX(-24deg); border-radius: 1px;
}
.eyebrow--light { color: var(--gold); }
.eyebrow--gold { color: var(--gold); }

.h2 {
    font-family: var(--ff-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.3rem, 4.6vw, 3.75rem); line-height: .98; letter-spacing: .005em;
    color: var(--ink);
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.65; }

/* ---------- Botones (forma inclinada, estilo deportivo) ---------- */
.btn {
    --btn-bg: var(--red); --btn-fg: var(--white); --btn-border: transparent;
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; min-height: 54px;
    font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem;
    letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    color: var(--btn-fg); background: none; border: 0; cursor: pointer;
    transition: color .25s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--btn-bg); border: 2px solid var(--btn-border);
    border-radius: 8px; transform: skewX(-12deg);
    transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover::before { transform: skewX(-12deg) translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5); }

.btn--primary:hover { --btn-bg: var(--red-700); }
.btn--ghost { --btn-bg: transparent; --btn-border: rgba(255, 255, 255, .45); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-border: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--wine); }
.btn--light:hover { --btn-bg: var(--gold-soft); }
.btn--sm { padding: 10px 22px; min-height: 44px; font-size: 1rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem;
    letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--red);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Encabezado ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex-shrink: 0; align-self: flex-start; margin-top: 10px; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
/* Portada: el logo vive en grande dentro del hero; en el encabezado aparece al hacer scroll */
.page-inicio .site-header:not(.is-scrolled) .brand { opacity: 0; visibility: hidden; transform: translateY(-12px); }
.brand img {
    width: auto; height: 104px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
    transition: height .35s var(--ease);
}
.site-header.is-scrolled {
    --header-h: 72px;
    background: rgba(26, 14, 12, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.site-header.is-scrolled .brand { margin-top: 6px; }
.site-header.is-scrolled .brand img { height: 60px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 4px; }
.site-nav__list a {
    position: relative; display: block; padding: 8px 12px;
    font-family: var(--ff-display); font-weight: 600; font-size: 1.08rem;
    letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
    color: rgba(255, 255, 255, .82); transition: color .2s;
}
.site-nav__list a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px;
    background: var(--red); transform: skewX(-24deg) scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--white); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: skewX(-24deg) scaleX(1); }
.site-nav__contact { display: none; }

.nav-toggle {
    display: none; margin-left: auto; width: 48px; height: 48px; padding: 12px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle__bar { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--white);
    padding: calc(var(--header-h) + 24px) 0 112px;
    background:
        radial-gradient(900px 600px at 88% 8%, rgba(207, 38, 31, .38), transparent 62%),
        radial-gradient(700px 520px at -5% 105%, rgba(143, 119, 45, .22), transparent 60%),
        linear-gradient(180deg, var(--espresso) 0%, #230f0c 100%);
}
.hero::before { /* textura de puntos sutil */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__steam {
    position: absolute; right: -60px; top: -40px; width: 620px; height: auto;
    fill: none; stroke: var(--red); stroke-width: 26; stroke-linecap: round; opacity: .14;
    stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 3.2s var(--ease) .2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
.hero__logo {
    width: clamp(220px, 22vw, 310px); height: auto; margin: 0 0 14px -12px;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .45));
    animation: logo-in .9s var(--ease) both;
}
@keyframes logo-in { from { opacity: 0; transform: translateY(16px) rotate(-4deg) scale(.94); } to { opacity: 1; transform: none; } }
.hero__title {
    font-family: var(--ff-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.4rem, 3.9vw, 3.5rem); line-height: .92; letter-spacing: -.005em;
    margin-bottom: 18px;
}
.hero__title em {
    display: block; font-style: italic; color: var(--gold);
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 55%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    padding-right: .08em;
}
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero__lead strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-top: 28px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--gold); width: 18px; height: 18px; }

.hero__media { position: relative; padding: 10px 0 30px 20px; }
.hero__photo {
    position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
    clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
    box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, transparent 55%, rgba(26, 14, 12, .55));
}
.hero__card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; max-width: 240px;
    background: var(--white); color: var(--ink); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); font-size: .92rem; line-height: 1.3;
    animation: float 6s ease-in-out infinite;
}
.hero__card strong { display: block; font-family: var(--ff-display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.hero__card-icon {
    display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
    background: var(--red); color: var(--white); border-radius: 12px;
}
.hero__card-icon .icon { width: 22px; height: 22px; }
.hero__card-icon--gold { background: var(--espresso); color: var(--gold); --bean-seam: var(--espresso); }
.hero__card--hours { left: -6px; bottom: 22px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__badge { position: absolute; right: -8px; bottom: -6px; width: 132px; height: 132px; }
.hero__badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero__badge text { font-family: var(--ff-display); font-weight: 700; font-size: 11px; fill: var(--white); letter-spacing: .1em; }
.hero__badge img { position: absolute; inset: 30px; width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cinta de bebidas ---------- */
.ticker {
    position: relative; z-index: 3; margin-top: -58px; padding: 26px 0;
    background: linear-gradient(180deg, transparent 50%, var(--cream) 50%);
}
.ticker__band {
    width: 106%; margin-left: -3%; overflow: hidden;
    background: var(--red); transform: rotate(-2deg);
    box-shadow: 0 20px 40px -18px rgba(129, 34, 28, .7);
    border-block: 3px solid var(--espresso);
}
.ticker__track {
    display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0;
    animation: marquee 38s linear infinite;
}
.ticker__track span {
    font-family: var(--ff-display); font-weight: 800; font-style: italic;
    font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: uppercase; letter-spacing: .03em;
    color: var(--white); white-space: nowrap;
}
.ticker__bean { width: 22px; height: 22px; color: var(--espresso); --bean-seam: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 8.5vw, 116px); }
.section--cream { background: var(--cream); }
.ticker + .section { padding-top: clamp(56px, 7vw, 90px); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; }
.section-head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head--center .lead { margin-top: 18px; }

/* ---------- Ideal para (tarjetas con foto) ---------- */
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.use-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    border-radius: var(--radius); background: var(--espresso); color: var(--white);
    box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.use-card:hover { box-shadow: var(--shadow); }
.use-card__media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; }
.use-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.use-card__media::after {
    content: ""; position: absolute; inset: auto 0 0; height: 30%;
    background: linear-gradient(180deg, transparent, rgba(26, 14, 12, .55));
}
.use-card:hover .use-card__media img { transform: scale(1.06); }
.use-card__body { position: relative; flex: 1; padding: 22px 24px 26px; }
.use-card__body::before {
    content: ""; display: block; width: 40px; height: 5px; margin-bottom: 14px;
    background: var(--red); transform: skewX(-24deg); transition: width .4s var(--ease);
}
.use-card:hover .use-card__body::before { width: 80px; }
.use-card__num { font-family: var(--ff-display); font-weight: 800; font-style: italic; color: var(--gold); font-size: 1.05rem; letter-spacing: .1em; }
.use-card__title {
    font-family: var(--ff-display); font-weight: 800; text-transform: uppercase;
    font-size: 1.85rem; line-height: 1; margin: 6px 0 10px;
}
.use-card p { font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .8); }

/* ---------- Cifras ---------- */
.stats {
    position: relative; overflow: hidden; color: var(--white);
    background: linear-gradient(100deg, var(--wine-900), var(--wine) 55%, var(--red-700));
    padding-block: 54px;
}
.stats::before {
    content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
    background: repeating-linear-gradient(-66deg, transparent 0 46px, rgba(255, 255, 255, .5) 46px 48px);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .2); }
.stat__value {
    font-family: var(--ff-display); font-weight: 800; font-style: italic;
    font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: var(--white);
}
.stat__value span { font-size: .55em; margin-left: 4px; color: var(--gold); }
.stat__label { margin-top: 8px; font-size: .95rem; color: rgba(255, 255, 255, .8); line-height: 1.4; }

/* ---------- Por qué Sport Coffee ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.why__media { position: relative; padding: 0 0 40px 0; }
.why__photo { aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__media::before {
    content: ""; position: absolute; left: -22px; top: 40px; bottom: 80px; width: 60%; z-index: -1;
    border-radius: var(--radius); background: var(--red); transform: skewY(-4deg);
}
.why__sticker {
    position: absolute; top: -34px; right: -26px; width: 130px;
    transform: rotate(10deg); filter: drop-shadow(0 14px 22px rgba(26, 14, 12, .35));
}
.why__note {
    position: absolute; right: -10px; bottom: 0; max-width: 280px;
    display: flex; gap: 14px; align-items: center; padding: 18px 20px;
    background: var(--espresso); color: rgba(255, 255, 255, .8); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); font-size: .93rem; line-height: 1.4;
}
.why__note .icon { width: 30px; height: 30px; color: var(--gold); }
.why__note strong { color: var(--white); }
.why__content .lead { margin-top: 20px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; margin-top: 44px; }
.feature { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.feature__icon {
    display: grid; place-items: center; width: 54px; height: 54px;
    background: var(--red-50); color: var(--red); border-radius: 14px;
    transition: background .3s, color .3s, transform .3s var(--ease);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature:hover .feature__icon { background: var(--red); color: var(--white); transform: rotate(-6deg); }
.feature__title {
    font-family: var(--ff-display); font-weight: 700; text-transform: uppercase;
    font-size: 1.32rem; line-height: 1.1; color: var(--ink); margin: 2px 0 6px; letter-spacing: .02em;
}
.feature p { font-size: .97rem; color: var(--muted); line-height: 1.55; }

/* ---------- Menú ---------- */
.menu-preview {
    position: relative; overflow: hidden; color: var(--white);
    background:
        radial-gradient(700px 400px at 50% 0%, rgba(207, 38, 31, .35), transparent 70%),
        linear-gradient(180deg, var(--wine-900), var(--espresso));
}
.menu-preview .h2 { color: var(--white); }
.menu-preview .lead { color: rgba(255, 255, 255, .72); }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 52px; align-items: stretch; }
.menu-card {
    position: relative; overflow: hidden; border-radius: 20px 20px 10px 10px;
    background: linear-gradient(180deg, var(--wine) 0%, var(--wine-800) 100%);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: transform .4s var(--ease);
}
.menu-card:hover { transform: translateY(-6px); }
.menu-card__head {
    display: flex; align-items: center; gap: 12px; padding: 20px 22px;
    background: var(--white); color: var(--wine);
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    padding-bottom: 30px;
}
.menu-card__head h3 { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 1.42rem; line-height: 1; letter-spacing: .01em; }
.menu-card__icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--wine); color: var(--white); }
.menu-card__icon .icon { width: 22px; height: 22px; }
.menu-card__body { padding: 14px 22px 104px; }
.menu-card__body ul { display: grid; gap: 2px; }
.menu-card__body li {
    display: flex; align-items: center; gap: 12px; padding: 9px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .16);
    font-weight: 500; letter-spacing: .01em;
}
.menu-card__bean { width: 16px; height: 16px; color: var(--gold); --bean-seam: var(--wine); flex-shrink: 0; }
.menu-card__group {
    margin: 14px 0 2px; font-family: var(--ff-display); font-weight: 700; font-style: italic;
    text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-size: 1.05rem;
}
.menu-card__logo { position: absolute; right: 20px; bottom: 16px; width: 66px; opacity: .92; transform: rotate(-8deg); }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
    position: relative; padding: 30px 26px 30px;
    background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step:not(:last-child)::after { /* flecha entre pasos */
    content: ""; position: absolute; top: 50px; right: -16px; z-index: 1; width: 12px; height: 12px;
    border-top: 3px solid var(--red); border-right: 3px solid var(--red); transform: rotate(45deg);
}
.step__num {
    display: block; font-family: var(--ff-display); font-weight: 800; font-style: italic;
    font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--red);
}
.step__title { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; color: var(--ink); margin: 14px 0 8px; line-height: 1.05; }
.step p { font-size: .96rem; color: var(--muted); line-height: 1.55; }

.infra {
    display: grid; grid-template-columns: 1.05fr .95fr; margin-top: 56px;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    background: var(--espresso);
}
.infra__photo { position: relative; min-height: 420px; }
.infra__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.infra__panel { padding: clamp(32px, 4.5vw, 56px); color: rgba(255, 255, 255, .78); }
.infra__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1; color: var(--white); margin-bottom: 22px; }
.infra__title--small { font-size: 1.35rem; margin: 30px 0 14px; color: var(--gold); letter-spacing: .04em; }
.infra__specs { display: grid; gap: 16px; }
.infra__specs li { display: flex; gap: 16px; align-items: center; }
.infra__specs strong { display: block; color: var(--white); font-size: 1.05rem; }
.infra__specs span { font-size: .93rem; }
.infra__icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: rgba(214, 180, 92, .14); color: var(--gold); }
.infra__icon .icon { width: 24px; height: 24px; }
.checklist { display: grid; gap: 10px; margin-bottom: 32px; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--red); color: var(--white); stroke-width: 3; }

/* ---------- Lo más reciente ---------- */
.news {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center;
    padding: clamp(20px, 2.5vw, 28px); border-radius: calc(var(--radius) + 8px);
    background: var(--cream); border: 1px solid var(--line);
}
.news__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.news__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news:hover .news__photo img { transform: scale(1.03); }
.news__content { padding-right: clamp(0px, 2vw, 24px); }
.news__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--ink); margin-bottom: 16px; }
.news__content > p:not(.eyebrow) { color: var(--muted); }
.news__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .93rem; font-weight: 500; color: var(--ink); }
.news__meta li { display: inline-flex; align-items: center; gap: 8px; }
.news__meta .icon { color: var(--red); width: 18px; height: 18px; }

/* ---------- Llamada a la acción ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: var(--white); padding-block: clamp(90px, 11vw, 140px); }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(129, 34, 28, .97) 0%, rgba(55, 13, 10, .93) 50%, rgba(26, 14, 12, .78) 100%);
}
.cta__inner { max-width: 880px; }
.cta__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; }
.cta__lead { margin-top: 20px; font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 600px; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 40px; }
.contact-chip {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px;
    border-radius: 999px; text-decoration: none; line-height: 1.2; font-size: .95rem;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
    transition: background .25s, border-color .25s;
}
.contact-chip strong { display: block; font-size: 1rem; }
.contact-chip:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.contact-chip__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #25d366; }
.contact-chip__icon .icon { width: 22px; height: 22px; color: var(--white); }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--espresso); color: rgba(255, 255, 255, .66); padding: 80px 0 28px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.4fr; gap: 40px; }
.site-footer__brand img { width: 96px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 320px; }
.site-footer__tagline { margin-top: 14px; font-family: var(--ff-display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.site-footer__title { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 1.05rem; color: var(--white); margin-bottom: 18px; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.site-footer__contacts { display: grid; gap: 18px; }
.site-footer__contacts li { display: grid; gap: 4px; }
.site-footer__contacts strong { color: var(--white); font-weight: 500; }
.site-footer__contacts a, .site-footer__contacts .site-footer__city { display: flex; align-items: center; gap: 8px; word-break: break-word; }
.site-footer__contacts .icon { width: 16px; height: 16px; color: var(--gold); }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem;
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 40;
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: var(--white); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
    transition: transform .25s var(--ease);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
    animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Animación al hacer scroll ---------- */
.js [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero__steam { stroke-dashoffset: 0; }
    html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1200px) {
    .menu-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
}

@media (max-width: 1140px) {
    .site-nav__list a { padding: 8px 9px; font-size: 1rem; }
    .site-nav { gap: 18px; }
}

@media (max-width: 1060px) {
    .nav-toggle { display: flex; position: relative; z-index: 2; }
    .site-nav {
        position: fixed; inset: 0; z-index: 1;
        flex-direction: column; align-items: stretch; justify-content: center; gap: 28px;
        padding: 110px 32px 40px; overflow-y: auto;
        background:
            radial-gradient(500px 400px at 100% 0%, rgba(207, 38, 31, .35), transparent 70%),
            var(--espresso);
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    }
    .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .nav-open { overflow: hidden; }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__list a { font-size: 2rem; font-weight: 800; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-nav__list a::after { left: 0; right: auto; width: 60px; bottom: 6px; }
    .site-nav__cta { align-self: flex-start; }
    .site-nav__contact { display: grid; gap: 12px; color: rgba(255, 255, 255, .75); font-size: .95rem; }
    .site-nav__contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
    .site-nav__contact .icon { color: #25d366; width: 20px; height: 20px; }
    .brand { position: relative; z-index: 2; }
    .nav-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

    .use-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2)::after { display: none; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --header-h: 76px; }
    .brand img { height: 84px; }
    .hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 130px; }
    .hero__grid, .why, .infra, .news, .section-head--split { grid-template-columns: 1fr; }
    .hero__media { max-width: 560px; width: 100%; margin-inline: auto; }
    .hero__steam { width: 420px; right: -120px; }
    .why__media { max-width: 520px; width: 100%; margin-inline: auto; }
    .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
    .stat:nth-child(3) { border-left: 0; }
    .infra__photo { min-height: 300px; }
    .news__content { padding: 0 8px 12px; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; }
    body { font-size: 1rem; }
    .site-header.is-scrolled .brand img { height: 52px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero { padding-bottom: 96px; }
    .hero__media { padding: 10px 0 56px 0; }
    .hero__card { max-width: 210px; padding: 12px 14px; }
    .hero__card strong { font-size: 1.15rem; }
    .hero__card--hours { left: 0; bottom: -4px; }
    .hero__logo { width: 200px; margin-left: -6px; }
    .hero__badge { width: 100px; height: 100px; right: -4px; bottom: -10px; }
    .hero__badge img { inset: 22px; width: 56px; height: 56px; }
    .use-grid { grid-template-columns: 1fr; }
    .menu-grid { grid-template-columns: 1fr; max-width: 480px; }
    .steps { grid-template-columns: 1fr; }
    .step::after { display: none; }
    .features { grid-template-columns: 1fr; }
    .stat { padding: 8px 12px; }
    .why__sticker { width: 96px; right: -4px; top: -26px; }
    .why__note { right: 8px; left: 8px; max-width: none; }
    .why__media::before { left: -10px; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .cta__actions .btn { flex: 1 1 100%; }
    .contact-chip { flex: 1 1 100%; }
    .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ---------- Encabezado simple (páginas internas / 404) ---------- */
.hero--simple { padding-bottom: clamp(80px, 10vw, 120px); min-height: 70vh; display: flex; align-items: center; }
.hero--simple .hero__title { max-width: 900px; }

/* ==========================================================
   Páginas internas
   ========================================================== */

.text-gold { color: var(--gold); }

/* ---------- Encabezado de página ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; color: var(--white);
    min-height: 560px; display: flex; align-items: center;
    padding: calc(var(--header-h) + 72px) 0 96px;
    background:
        radial-gradient(800px 500px at 0% 100%, rgba(143, 119, 45, .2), transparent 60%),
        radial-gradient(700px 500px at 45% 0%, rgba(207, 38, 31, .3), transparent 65%),
        linear-gradient(180deg, var(--espresso) 0%, #230f0c 100%);
    border-bottom: 6px solid var(--red);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 22px 22px;
}
.page-hero .hero__steam { right: auto; left: -200px; top: 10px; width: 540px; z-index: -1; opacity: .1; }
.page-hero__media {
    position: absolute; inset: 0 0 0 auto; width: 52%; z-index: -1;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26, 14, 12, .8) 0%, rgba(26, 14, 12, 0) 28%),
                linear-gradient(90deg, rgba(26, 14, 12, .75) 0%, rgba(26, 14, 12, .15) 45%, rgba(26, 14, 12, .05) 100%),
                linear-gradient(0deg, rgba(26, 14, 12, .45), transparent 40%);
}
.page-hero__inner > * { max-width: 620px; }
.page-hero__title {
    font-family: var(--ff-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.7rem, 5.4vw, 4.7rem); line-height: .92;
}
.page-hero__title em {
    display: block; font-style: italic; padding-right: .08em;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 55%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .8); max-width: 560px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.breadcrumb a { text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: var(--gold); }

/* ---------- Bloques generales ---------- */
.section--dark {
    color: rgba(255, 255, 255, .78);
    background:
        radial-gradient(700px 420px at 100% 0%, rgba(207, 38, 31, .28), transparent 70%),
        linear-gradient(180deg, var(--espresso), #241009);
}
.section--dark .h2 { color: var(--white); }
.section--dark .lead { color: rgba(255, 255, 255, .7); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--center { align-items: center; }
.split__content .lead { margin-top: 18px; }
.split__media { position: relative; isolation: isolate; }
.prose { margin-top: 22px; color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--ink); }

.framed-photo { position: relative; aspect-ratio: 4 / 4.2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.framed-photo img { width: 100%; height: 100%; object-fit: cover; }
.framed-photo--wide { aspect-ratio: 16 / 11; }
.split__media::before {
    content: ""; position: absolute; right: -18px; bottom: -18px; width: 55%; height: 60%; z-index: -1;
    border-radius: var(--radius); background: var(--red); transform: skewX(-6deg);
}
.framed-photo__sticker { position: absolute; top: -30px; left: -24px; width: 120px; transform: rotate(-10deg); filter: drop-shadow(0 14px 22px rgba(26, 14, 12, .35)); }

.checklist--dark { margin: 26px 0 0; color: var(--ink); font-weight: 500; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.tag {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
    background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: .95rem; color: var(--ink);
}
.tag .icon { color: var(--red); width: 18px; height: 18px; }

/* ---------- Nosotros ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.pillar { padding: clamp(28px, 4vw, 44px); background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.pillar--dark { background: var(--espresso); border-color: transparent; color: rgba(255, 255, 255, .82); }
.pillar__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: var(--red); color: var(--white); }
.pillar__icon .icon { width: 28px; height: 28px; }
.pillar__text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.pillar--dark .pillar__text { color: rgba(255, 255, 255, .85); }
.pillar--dark strong { color: var(--gold); }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { position: relative; padding: 28px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-card__num { position: absolute; top: 18px; right: 22px; font-family: var(--ff-display); font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(207, 38, 31, .35); }
.value-card__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; color: var(--ink); margin: 18px 0 8px; }
.value-card p { color: var(--muted); font-size: .97rem; line-height: 1.55; }

.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scheme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.diff-card {
    padding: 30px 26px; border-radius: var(--radius);
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
    transition: background .3s, border-color .3s, transform .35s var(--ease);
}
.diff-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(214, 180, 92, .4); transform: translateY(-4px); }
.diff-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(214, 180, 92, .14); color: var(--gold); }
.diff-card__icon .icon { width: 26px; height: 26px; }
.diff-card__title { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1.08; color: var(--white); margin: 20px 0 8px; }
.diff-card p { font-size: .96rem; line-height: 1.55; }

.brand-band { padding-block: clamp(64px, 8vw, 100px); background: var(--white); }
.brand-band__inner { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 56px); text-align: left; }
.brand-band__inner img { width: clamp(110px, 14vw, 170px); transform: rotate(-6deg); filter: drop-shadow(0 16px 26px rgba(26, 14, 12, .3)); }
.brand-band__quote { font-family: var(--ff-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(2.2rem, 5.5vw, 4.4rem); line-height: .95; color: var(--red); }
.brand-band__sub { margin-top: 12px; font-size: 1.15rem; color: var(--muted); }

/* ---------- Servicios ---------- */
.included-band { background: var(--wine); color: var(--white); }
.included-band__inner { display: flex; align-items: center; gap: 18px 32px; padding-block: 22px; flex-wrap: wrap; }
.included-band__title { font-family: var(--ff-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .02em; color: var(--gold); }
.included-band__list { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.included-band__list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .97rem; }
.included-band__list .icon { color: var(--gold); width: 20px; height: 20px; }

.service-list { display: grid; gap: clamp(64px, 8vw, 104px); }
.service-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; scroll-margin-top: 110px; }
.service-row--reverse .service-row__photo { order: 2; }
.service-row__photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-row__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-row:hover .service-row__photo img { transform: scale(1.04); }
.service-row__num {
    position: absolute; left: 22px; bottom: 10px; font-family: var(--ff-display); font-weight: 800; font-style: italic;
    font-size: 5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .9);
    text-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}
.service-row__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: .98; color: var(--ink); margin-bottom: 16px; }
.service-row__content > p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Instituciones ---------- */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.model-card { padding: 30px 26px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.model-card .feature__title { margin-top: 20px; }
.model-card p { color: var(--muted); font-size: .97rem; line-height: 1.55; }
.benefit-list { display: grid; gap: 26px; margin-top: 34px; }
.infra__btn { margin-top: 32px; }

.audience { margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.audience__title { font-family: var(--ff-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.5rem; color: var(--gold); }
.audience__list { display: flex; flex-wrap: wrap; gap: 10px; }
.audience__list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; color: var(--white); }
.audience__list .icon { color: var(--gold); width: 18px; height: 18px; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq-layout .lead { margin: 18px 0 28px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 22px; cursor: pointer; list-style: none;
    font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--red-50); color: var(--red); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq__toggle .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq__item p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Menú ---------- */
.menu-nav { position: sticky; top: 72px; z-index: 30; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.menu-nav__inner { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.menu-nav__inner::-webkit-scrollbar { display: none; }
.menu-nav__link {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; flex-shrink: 0;
    font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.02rem;
    text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); transition: background .2s, color .2s, border-color .2s;
}
.menu-nav__link .icon { width: 18px; height: 18px; color: var(--red); transition: color .2s; }
.menu-nav__link:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.menu-nav__link:hover .icon { color: var(--white); }

.menu-page { padding-top: clamp(56px, 7vw, 88px); }
.menu-section { scroll-margin-top: 150px; }
.menu-section + .menu-section { margin-top: clamp(56px, 7vw, 88px); }
.menu-section__head { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 3px solid var(--ink); }
.menu-section__num { font-family: var(--ff-display); font-weight: 800; font-style: italic; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--red); }
.menu-section__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wine); color: var(--white); }
.menu-section__icon .icon { width: 28px; height: 28px; }
.menu-section__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: var(--ink); }
.menu-section__head p { color: var(--muted); margin-top: 4px; }
.menu-section__group { margin: 28px 0 0; font-family: var(--ff-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .1em; font-size: 1.2rem; color: var(--red); }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.menu-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px dashed rgba(32, 27, 24, .18); }
.menu-item__bean { width: 20px; height: 20px; margin-top: 4px; color: var(--wine); --bean-seam: var(--white); flex-shrink: 0; }
.menu-item__name { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; line-height: 1.1; color: var(--ink); letter-spacing: .02em; }
.menu-item p { color: var(--muted); font-size: .97rem; margin-top: 2px; }

.note {
    display: flex; align-items: center; gap: 22px; margin-top: clamp(56px, 7vw, 80px);
    padding: 28px 32px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line);
}
.note__icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: var(--red); color: var(--white); }
.note__icon .icon { width: 28px; height: 28px; }
.note__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; color: var(--ink); margin-bottom: 4px; }
.note p { color: var(--muted); }
.note .btn { margin-left: auto; flex-shrink: 0; }

/* ---------- Galería ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip {
    padding: 10px 22px; border-radius: 999px; cursor: pointer;
    font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.02rem;
    color: var(--ink); background: var(--white); border: 1.5px solid var(--line); transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.gallery__item--featured { grid-column: span 2; grid-row: span 2; }
.gallery__item[hidden] { display: none; }
.gallery__link { position: relative; display: block; height: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow-sm); }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__link:hover img { transform: scale(1.05); }
.gallery__caption {
    position: absolute; inset: auto 0 0; padding: 40px 18px 16px; font-size: .92rem; font-weight: 500; color: var(--white);
    background: linear-gradient(0deg, rgba(26, 14, 12, .88), transparent); opacity: 0; transform: translateY(8px);
    transition: opacity .3s, transform .3s var(--ease);
}
.gallery__link:hover .gallery__caption, .gallery__link:focus-visible .gallery__caption { opacity: 1; transform: none; }
@media (hover: none) { .gallery__caption { opacity: 1; transform: none; } }

.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 8, 7, .95); color: var(--white); }
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox__figure { grid-column: 2; display: grid; justify-items: center; gap: 14px; padding: 24px 0; }
.lightbox__img { max-width: 100%; max-height: 82vh; width: auto; object-fit: contain; border-radius: 10px; }
.lightbox__caption { text-align: center; color: rgba(255, 255, 255, .8); }
.lightbox__close, .lightbox__nav {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: var(--white); transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__nav { justify-self: center; }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }
.lightbox .icon { width: 24px; height: 24px; }

/* ---------- Contacto y formularios ---------- */
.contact-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-form-card { padding: clamp(26px, 4vw, 48px); background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-sm); scroll-margin-top: 100px; }
.contact-form-card__title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.contact-form-card__intro { margin: 10px 0 26px; color: var(--muted); font-size: .95rem; }
.req { color: var(--red); }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .93rem; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
    background: #fffdf9; border: 1.5px solid #e3d8ca; border-radius: 12px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf261f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgba(207, 38, 31, .12); }
.field [aria-invalid="true"] { border-color: var(--red-700); background: #fff7f6; }
.field__error { margin-top: 6px; font-size: .87rem; font-weight: 500; color: var(--red-700); }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--text) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--red); }
.check a { color: var(--red); font-weight: 700; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 28px; }

.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; margin-bottom: 24px; border-radius: 14px; border: 1px solid; }
.alert p { margin: 0; }
.alert__icon .icon { width: 26px; height: 26px; }
.alert--success { background: #eef8f0; border-color: #bfe3c6; color: #1d5b2a; padding: 28px; }
.alert--error { background: #fdeeec; border-color: #f4c3bd; color: #8a1c15; }
.alert__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; line-height: 1.05; margin-bottom: 6px; }
.alert code { font-size: .88em; background: rgba(0, 0, 0, .06); padding: 1px 5px; border-radius: 4px; }

.contact-aside { display: grid; gap: 18px; }
.contact-aside__title { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; color: var(--ink); }
.person-card { padding: 24px 26px; border-radius: var(--radius); background: var(--espresso); color: rgba(255, 255, 255, .8); }
.person-card__name { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; color: var(--white); margin-bottom: 14px; letter-spacing: .02em; }
.person-card__links { display: grid; gap: 10px; }
.person-card__links a { display: flex; align-items: center; gap: 10px; text-decoration: none; word-break: break-word; transition: color .2s; }
.person-card__links a:hover { color: var(--white); }
.person-card__links .icon { width: 18px; height: 18px; color: var(--gold); }
.person-card__wa { font-weight: 700; color: var(--white); }
.person-card__links .person-card__wa .icon { color: #25d366; }
.contact-aside__info { display: grid; gap: 16px; padding: 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.contact-aside__info p { display: flex; gap: 12px; color: var(--muted); font-size: .95rem; }
.contact-aside__info strong { display: block; color: var(--ink); }
.contact-aside__info .icon { color: var(--red); width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Aviso de privacidad ---------- */
.legal { max-width: 820px; }
.legal__updated { color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.legal h2 { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1.1; color: var(--ink); margin: 42px 0 12px; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 24px; margin: 12px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--red); font-weight: 500; }

/* ---------- Panel de administración ---------- */
body.admin { background: var(--cream); }
.admin-login {
    min-height: 100vh; display: grid; place-items: center; padding: 24px;
    background: radial-gradient(700px 500px at 80% 0%, rgba(207, 38, 31, .35), transparent 65%), var(--espresso);
}
.admin-login__card { width: min(420px, 100%); padding: 40px 34px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.admin-login__card > img { width: 84px; margin: 0 auto 14px; }
.admin-login__title { text-align: center; font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; color: var(--ink); margin-bottom: 24px; }
.admin-login .form { display: grid; gap: 18px; }
.admin-login .form__submit { margin-top: 6px; width: 100%; }
.admin-login__back { display: block; margin-top: 22px; text-align: center; color: var(--muted); font-size: .92rem; text-decoration: none; }

.admin-bar { background: var(--espresso); color: var(--white); padding-block: 12px; }
.admin-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-bar__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.admin-bar__brand img { width: auto; height: 46px; }
.admin-bar__actions { display: flex; align-items: center; gap: 16px; font-size: .93rem; }
.admin-bar__actions a { color: rgba(255, 255, 255, .8); }
.admin-bar__actions button {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer; font: inherit;
    color: var(--white); background: transparent; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px;
}
.admin-bar__actions button:hover { background: rgba(255, 255, 255, .1); }
.admin-bar .icon { width: 18px; height: 18px; }

.admin-main { padding-block: 40px 80px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.admin-head__title { display: flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 2.4rem; color: var(--ink); }
.admin-head__title .icon { color: var(--red); width: 34px; height: 34px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.admin-tabs a span { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--sand); font-size: .82rem; text-align: center; }
.admin-tabs a[aria-current] { background: var(--red); border-color: var(--red); color: var(--white); }
.admin-tabs a[aria-current] span { background: rgba(255, 255, 255, .25); }

.admin-list { display: grid; gap: 16px; }
.request { padding: 24px 26px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); scroll-margin-top: 20px; }
.request--new { border-left: 5px solid var(--red); }
.request__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.request__badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.request__badge--nueva { background: var(--red-50); color: var(--red-700); }
.request__badge--atendida { background: #e7f5ea; color: #1d5b2a; }
.request__name { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; color: var(--ink); margin-top: 8px; }
.request__company { color: var(--muted); }
.request__date { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.request__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 0; }
.request__meta dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.request__meta dd { margin: 2px 0 0; font-weight: 500; color: var(--ink); }
.request__message { margin: 16px 0; padding: 16px 18px; border-radius: 12px; background: var(--cream); color: var(--text); }
.request__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.request__actions form { margin-left: auto; }
.request__link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .92rem; color: var(--ink); word-break: break-all; }
.request__link:hover { border-color: var(--ink); }
.request__link .icon { width: 17px; height: 17px; color: var(--red); }
.request__link--wa .icon { color: #1fa855; }
.request__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 700; font-size: .92rem; color: var(--white); background: var(--red); }
.request__toggle:hover { background: var(--red-700); }
.request__toggle--undo { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.request__toggle--undo:hover { background: var(--sand); }
.request__toggle .icon { width: 17px; height: 17px; }
.admin-empty { display: grid; justify-items: center; gap: 12px; padding: 64px 20px; text-align: center; color: var(--muted); background: var(--white); border-radius: 18px; border: 1px dashed var(--line); }
.admin-empty .icon { width: 48px; height: 48px; color: var(--line); }
.admin-pages { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.admin-pages a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; text-decoration: none; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.admin-pages a[aria-current] { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Responsivo (páginas internas) ---------- */
@media (max-width: 1060px) {
    .value-grid, .diff-grid, .model-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-aside { grid-template-columns: 1fr 1fr; }
    .contact-aside__title { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .page-hero { min-height: 0; padding-top: calc(var(--header-h) + 56px); padding-bottom: 72px; }
    .page-hero__media { width: 100%; clip-path: none; opacity: .4; }
    .page-hero__media::after { background: linear-gradient(90deg, rgba(26, 14, 12, .9), rgba(26, 14, 12, .5)); }
    .split, .service-row, .pillars, .faq-layout { grid-template-columns: 1fr; }
    .split__media { max-width: 560px; width: 100%; margin-inline: auto; }
    .service-row--reverse .service-row__photo { order: 0; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .scheme-grid { grid-template-columns: 1fr; }
    .menu-nav { top: 72px; }
    .brand-band__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
    .value-grid, .diff-grid, .model-grid { grid-template-columns: 1fr; }
    .menu-items, .form__grid, .contact-aside { grid-template-columns: 1fr; }
    .menu-section__head { grid-template-columns: auto 1fr; }
    .menu-section__num { display: none; }
    .note { flex-direction: column; align-items: flex-start; }
    .note .btn { margin-left: 0; }
    .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 12px; }
    .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
    .lightbox__nav--prev, .lightbox__nav--next { grid-row: 2; grid-column: auto; margin-bottom: 16px; }
    .request__head { flex-direction: column; }
    .request__meta { grid-template-columns: 1fr; }
    .request__actions form { margin-left: 0; width: 100%; }
    .request__toggle { width: 100%; justify-content: center; }
    .admin-bar__brand span { display: none; }
    .framed-photo__sticker { width: 90px; left: -6px; }
    .split__media::before { right: -8px; }
    .included-band__inner { flex-direction: column; align-items: flex-start; }
}
