/* Sitio web público MEDInteraction360 — identidad del producto:
   petróleo oscuro + teal metálico, Manrope (texto) y Space Grotesk (títulos).
   Mobile first. Las clases que usa el JS (.is-open, .is-on, .is-match,
   .st-dock-on, [data-abrir-chat]) y el widget .mi-wc-* se conservan. */
:root {
    /* Marca */
    --petro: #0d2c35;
    --petro-2: #071a20;
    --cyan: #00a2c0;
    --teal: #00a290;
    --teal-dk: #008a7a;
    --mint: #2dd4bf;
    --mint-2: #5eead4;
    --metal: linear-gradient(135deg, #00a2c0 0%, #00a290 55%, #008a7a 100%);
    /* Botones: misma familia, más profunda para contraste AA con texto blanco */
    --metal-btn: linear-gradient(135deg, #00788f 0%, #007a6d 55%, #006b60 100%);
    --sheen: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%);
    --petro-bg: linear-gradient(150deg, #0d2c35 0%, #071a20 100%);
    /* Neutros */
    --ink: #0f172a;
    --muted: #5b6b7f;
    --link: #00756a;
    --bg: #f4f8f8;
    --card: #ffffff;
    --line: #e1eaea;
    --tint: #e6f6f3;
    --tint-2: #cdeee8;
    --focus: #007a8c;
    /* Forma */
    --r-sm: 12px;
    --r: 16px;
    --r-lg: 18px;
    --r-xl: 24px;
    --sh: 0 1px 2px rgba(7, 26, 32, .05), 0 8px 24px rgba(7, 26, 32, .06);
    --sh-hover: 0 2px 4px rgba(7, 26, 32, .06), 0 16px 36px rgba(7, 26, 32, .11);
    --head: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
    --nav-h: 68px;
    --gutter: 16px;
}

/* ── Base ────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--head); letter-spacing: -.02em; line-height: 1.12; font-weight: 700; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.st-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.st-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--petro); color: #fff; font-weight: 700; }
.st-skip:focus { top: 12px; }

.st-wrap { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.st-narrow { width: min(820px, 100% - var(--gutter) * 2); }

/* Secciones oscuras: foco y textos claros */
.st-buscador-in, .st-serv-head, .st-portal, .st-foot { --focus: var(--mint-2); }

/* ── Botones ─────────────────────────────────────────────────────────── */
.st-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--sheen), var(--metal-btn); color: #fff; font: 700 15px/1.2 'Manrope', sans-serif; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 16px rgba(0, 122, 109, .24); transition-property: transform, box-shadow, background-color, color, filter; transition-duration: .16s; transition-timing-function: ease-out; }
.st-btn:hover { filter: brightness(1.07); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px rgba(0, 122, 109, .32); transform: translateY(-1px); }
.st-btn:active { transform: scale(.97); }
.st-btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.st-btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.st-btn-outline { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.st-btn-outline:hover { background: var(--card); color: var(--link); box-shadow: inset 0 0 0 1.5px var(--teal), 0 6px 16px rgba(7, 26, 32, .06); filter: none; }
.st-btn-light { background: #fff; color: var(--petro); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.st-btn-light:hover { background: #effcf9; filter: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .24); }
.st-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.st-btn-ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px #fff; filter: none; }
.st-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--link); font-weight: 700; font-size: 15px; white-space: nowrap; }
.st-link i { transition: transform .16s ease-out; }
.st-link:hover { color: var(--petro); }
.st-link:hover i { transform: translateX(3px); }

.st-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--card); color: var(--link); font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--tint-2); }
.st-chip i { color: var(--teal); }
.st-chip-dark { background: rgba(45, 212, 191, .14); color: var(--mint-2); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .3); }
.st-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--link); font: 700 12.5px/1 'Manrope', sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.st-eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--metal); }
.st-eyebrow-light { color: var(--mint-2); }

/* Icono con placa de metal teal */
.st-ico { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--sheen), var(--metal); color: #fff; font-size: 20px; box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 6px 14px rgba(0, 138, 122, .22); }

/* ── Navegación ──────────────────────────────────────────────────────── */
.st-nav-bar { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.st-nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.st-logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; }
.st-logo-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--sheen), var(--metal); color: #fff; font-size: 17px; box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 6px 14px rgba(0, 138, 122, .25); }
.st-logo-txt { min-width: 0; }
.st-logo-txt b { display: block; font: 700 18px/1.1 var(--head); color: var(--petro); letter-spacing: -.02em; }
.st-logo-txt em { font-style: normal; color: var(--teal-dk); }
.st-logo-txt small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--petro); font-size: 18px; cursor: pointer; transition: background-color .15s; }
.st-menu-btn:hover { background: var(--bg); }
.st-menu-btn[aria-expanded="true"] { background: var(--petro); color: #fff; border-color: var(--petro); }
.st-menu-btn[aria-expanded="true"] .fa-bars::before { content: '\f00d'; }
/* Menú móvil: panel desplegable */
.st-menu { display: none; position: absolute; left: 0; right: 0; top: calc(var(--nav-h) - 4px); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(7, 26, 32, .18); font-weight: 600; font-size: 16px; }
.st-menu.is-open { display: flex; animation: st-entra .18s ease-out; }
.st-menu a:not(.st-btn) { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); color: var(--ink); transition: color .15s, background-color .15s; }
.st-menu a:not(.st-btn):hover { background: var(--bg); color: var(--link); }
.st-menu a.is-on { color: var(--link); background: var(--tint); }
.st-menu .st-btn { margin-top: 8px; }
@keyframes st-entra { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── Portada ─────────────────────────────────────────────────────────── */
.st-hero { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 85% 30%, rgba(45, 212, 191, .16) 0, transparent 70%), linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.st-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; padding: 32px 0 108px; }
.st-hero h1 { font-size: clamp(36px, 9vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 16px; color: var(--petro); }
.st-hero h1 span { display: block; background: linear-gradient(120deg, #008aa4 0%, #00897a 60%, #00756a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-lead { color: var(--muted); font-size: 17px; max-width: 34em; }
.st-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.st-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 0; margin: 32px 0 0; }
.st-stats li { display: grid; grid-template-columns: 40px auto; column-gap: 12px; align-items: center; }
.st-stat-ico { grid-row: span 2; width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: #fff; color: var(--teal-dk); box-shadow: inset 0 0 0 1px var(--line), var(--sh); }
.st-stats b { font: 700 20px/1.1 var(--head); color: var(--petro); font-variant-numeric: tabular-nums; }
.st-stats small { color: var(--muted); font-size: 13px; font-weight: 600; }

.st-hero-media { position: relative; justify-self: center; width: min(420px, 100% - 24px); }
/* Placa metálica desplazada detrás de la foto */
.st-hero-media::before { content: ''; position: absolute; inset: 22px -14px -14px 22px; border-radius: 28px; background: var(--sheen), var(--metal); opacity: .9; }
.st-hero-foto { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint); box-shadow: 0 30px 60px rgba(7, 26, 32, .2); }
.st-hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }
.st-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: rgba(255, 255, 255, .96); border-radius: var(--r); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 16px 36px rgba(7, 26, 32, .16); border: 1px solid rgba(225, 234, 234, .9); }
.st-float b { display: block; color: var(--petro); font-size: 14px; line-height: 1.25; }
.st-float small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.st-float-ico { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; background: var(--sheen), var(--metal); color: #fff; }
.st-float-a { left: -12px; top: 12%; }
.st-float-b { right: -12px; bottom: 9%; }

/* ── Buscador (banda petróleo sobre la portada) ──────────────────────── */
.st-buscador { position: relative; z-index: 5; margin-top: -72px; }
.st-buscador-in { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 20px; border-radius: var(--r-xl); color: #fff; background: var(--sheen), radial-gradient(70% 90% at 100% 0%, rgba(0, 162, 192, .32), transparent 60%), var(--petro-bg); box-shadow: 0 30px 60px rgba(7, 26, 32, .28); border: 1px solid rgba(94, 234, 212, .12); }
.st-buscador-in::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--metal); }
.st-buscador .st-eyebrow { color: var(--mint-2); }
.st-buscador h2 { font-size: clamp(24px, 5vw, 32px); color: #fff; }
.st-buscador p { color: rgba(255, 255, 255, .78); margin: 8px 0 20px; }
.st-busca { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; min-height: 60px; background: #fff; border-radius: 999px; box-shadow: 0 0 0 4px rgba(94, 234, 212, .12); transition: box-shadow .16s; }
.st-busca:focus-within { box-shadow: 0 0 0 4px rgba(94, 234, 212, .55); }
.st-busca > i { color: var(--muted); font-size: 17px; }
.st-busca input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: none; font: 500 16px 'Manrope', sans-serif; color: var(--ink); background: transparent; padding: 8px 0; }
.st-busca input::placeholder { color: #6b7b8c; }
.st-busca .st-btn { min-height: 48px; padding: 10px 20px; }
.st-busca .st-btn:focus-visible { outline-color: var(--focus); }
.st-esp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.st-esp-tiles.is-pocas { display: flex; flex-wrap: wrap; justify-content: center; }
.st-esp-tiles.is-pocas .st-esp-tile { flex: 1 1 160px; max-width: 220px; }
.st-esp-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 14px 10px; border-radius: var(--r); text-align: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 700; line-height: 1.25; color: #fff; transition-property: background-color, border-color, transform; transition-duration: .16s; transition-timing-function: ease-out; }
.st-esp-tile i { font-size: 22px; color: var(--mint-2); }
.st-esp-tile:hover, .st-esp-tile.is-match { background: rgba(45, 212, 191, .16); border-color: var(--mint); transform: translateY(-2px); }
.st-esp-tile.is-match { box-shadow: inset 0 0 0 1px var(--mint); }

/* ── Secciones genéricas ─────────────────────────────────────────────── */
.st-sec { padding: 64px 0; }
.st-sec-soft { background: #fff; border-block: 1px solid var(--line); }
.st-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.st-head h2, .st-split h2, .st-serv-head h2, .st-portal h2 { font-size: clamp(28px, 6vw, 40px); color: var(--petro); }
.st-head p { color: var(--muted); margin-top: 8px; font-size: 17px; }
.st-head-center { align-items: center; text-align: center; }
.st-head-center .st-eyebrow { margin-bottom: 0; }

.st-grid { display: grid; gap: 16px; }
.st-g3, .st-g4 { grid-template-columns: minmax(0, 1fr); }

/* Por qué elegirnos */
.st-feat { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); transition-property: transform, box-shadow; transition-duration: .18s; transition-timing-function: ease-out; }
.st-feat:hover { transform: translateY(-3px); box-shadow: var(--sh-hover); }
.st-feat h3 { margin-top: 10px; font-size: 18px; color: var(--petro); }
.st-feat p { color: var(--muted); font-size: 15px; }

/* Banda con foto */
.st-split { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--r-xl); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); }
.st-split-txt { padding: 28px 22px 32px; }
.st-split-txt p { color: var(--muted); margin: 14px 0 24px; font-size: 16.5px; }
.st-split-media { position: relative; min-height: 240px; }
.st-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-float-badge { left: 16px; bottom: 16px; }

/* Especialidades: grilla flexible y centrada (1, 2, 3… se ven intencionales) */
.st-esp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.st-esp-card { flex: 1 1 100%; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); text-align: left; font: inherit; color: inherit; cursor: pointer; transition-property: transform, border-color, box-shadow; transition-duration: .16s; transition-timing-function: ease-out; }
.st-esp-card:hover { transform: translateY(-2px); border-color: #9fded2; box-shadow: var(--sh-hover); }
.st-esp-card .st-ico { width: 44px; height: 44px; font-size: 18px; }
.st-esp-card-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-esp-card b { color: var(--petro); font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.st-esp-card small { color: var(--link); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.st-esp-card small i { font-size: 11px; transition: transform .16s ease-out; }
.st-esp-card:hover small i { transform: translateX(3px); }
.st-esp-card-ayuda { background: var(--tint); border-style: dashed; border-color: #9fded2; box-shadow: none; }
.st-esp-card-ayuda .st-ico { background: #fff; color: var(--teal-dk); box-shadow: inset 0 0 0 1px var(--tint-2); }
/* Pocas especialidades: tarjetas destacadas, más grandes y centradas */
.st-esp-grid.is-pocas .st-esp-card { flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; }
.st-esp-grid.is-pocas .st-esp-card-txt { align-items: center; }
.st-esp-grid.is-pocas .st-ico { width: 60px; height: 60px; font-size: 24px; border-radius: 18px; }
.st-esp-grid.is-pocas b { font-size: 19px; font-family: var(--head); }
.st-vacio { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: 36px 24px; text-align: center; border-radius: var(--r-xl); background: var(--card); border: 1px dashed #9fded2; }
.st-vacio p { color: var(--muted); }
.st-vacio b { color: var(--petro); display: block; }

/* Servicios */
.st-serv-head { position: relative; overflow: hidden; padding: 32px 22px; border-radius: var(--r-xl) var(--r-xl) 0 0; color: #fff; background: var(--sheen), linear-gradient(90deg, rgba(7, 26, 32, .96) 0%, rgba(13, 44, 53, .9) 55%, rgba(13, 44, 53, .55) 100%), url('img/servicios.jpg') center / cover no-repeat; }
.st-serv-head h2 { color: #fff; margin: 14px 0 10px; max-width: 560px; }
.st-serv-head p { color: rgba(255, 255, 255, .8); max-width: 520px; margin-bottom: 22px; }
.st-serv-grid { padding: 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--bg); }
.st-serv { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; transition-property: transform, box-shadow, border-color; transition-duration: .16s; transition-timing-function: ease-out; }
.st-serv .st-ico { grid-row: span 2; align-self: start; }
.st-serv:hover { transform: translateY(-2px); box-shadow: var(--sh-hover); border-color: #9fded2; }
.st-serv b { color: var(--petro); font-size: 16.5px; }
.st-serv p { color: var(--muted); font-size: 14.5px; }

/* Pasos */
.st-pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; counter-reset: paso; }
.st-pasos li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); }
.st-paso-n { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sheen), var(--metal); color: #fff; font: 700 22px/1 var(--head); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 5px var(--tint), 0 8px 18px rgba(0, 138, 122, .3); }
.st-pasos h3 { font-size: 18px; color: var(--petro); margin: 4px 0 6px; }
.st-pasos p { color: var(--muted); font-size: 15px; }
.st-pasos-cta { display: flex; justify-content: center; margin-top: 28px; }

/* Preguntas */
.st-faq { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; transition: border-color .16s, background-color .16s; }
.st-faq[open] { background: #fff; border-color: #9fded2; box-shadow: var(--sh); }
.st-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 14px 18px; cursor: pointer; font-weight: 700; font-size: 16.5px; color: var(--petro); list-style: none; border-radius: var(--r); }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: '+'; display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--teal-dk); font-size: 20px; line-height: 1; transition: transform .2s ease-out, background-color .16s; }
.st-faq[open] summary::after { content: '+'; transform: rotate(45deg); background: var(--teal-dk); color: #fff; }
.st-faq summary:hover { color: var(--link); }
.st-faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

/* Llamado final: portal (banda petróleo con metal) */
.st-portal { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; margin-block: 64px; border-radius: var(--r-xl); color: #fff; background: var(--sheen), radial-gradient(60% 90% at 0% 100%, rgba(0, 162, 144, .38), transparent 60%), var(--petro-bg); box-shadow: 0 30px 60px rgba(7, 26, 32, .22); }
.st-portal::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--metal); }
.st-portal-txt { padding: 36px 22px; }
.st-portal h2 { color: #fff; }
.st-portal p { color: rgba(255, 255, 255, .82); margin-top: 12px; max-width: 520px; font-size: 17px; }
.st-portal .st-cta .st-btn { flex: 1 1 100%; }
.st-portal img { display: none; }

/* Pie */
.st-foot { background: var(--petro-2); color: rgba(255, 255, 255, .74); padding: 56px 0 0; font-size: 15px; }
.st-foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 36px; }
.st-foot h3 { color: #fff; font: 700 15px/1.3 var(--head); margin-bottom: 10px; letter-spacing: 0; }
.st-foot a:not(.st-btn):not(.st-logo) { display: flex; align-items: center; min-height: 40px; }
.st-foot a:not(.st-btn):not(.st-logo):hover { color: var(--mint-2); }
.st-foot p { margin: 12px 0; }
.st-logo-foot .st-logo-txt b { color: #fff; }
.st-logo-foot .st-logo-txt em { color: var(--mint); }
.st-logo-foot .st-logo-txt small { color: rgba(255, 255, 255, .6); }
.st-foot-legal { display: flex; flex-direction: column; gap: 6px; padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.st-foot-legal i { color: #fbbf24; }

/* Botón fijo de agendar (celulares) */
.st-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(7, 26, 32, .08); transform: translateY(110%); visibility: hidden; transition: transform .22s ease-out, visibility 0s linear .22s; }
.st-dock .st-btn { flex: 1; }
body.st-dock-on .st-dock { transform: none; visibility: visible; transition: transform .22s ease-out, visibility 0s; }
body.st-dock-on .st-foot { padding-bottom: 76px; }

/* ── Chat web (widget de ../Omnicanal/webchat.js): solo estilos ─────────
   El widget inyecta su <style> después de esta hoja; se sube especificidad. */
html body .mi-wc-btn { right: var(--gutter); bottom: 20px; width: 58px; height: 58px; background: var(--sheen), var(--metal); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 10px 26px rgba(0, 122, 109, .38); transition: transform .16s ease-out, bottom .22s ease-out; }
html body .mi-wc-btn:hover { background: var(--sheen), var(--metal-btn); transform: translateY(-2px); }
html body .mi-wc-btn:focus-visible { outline: 3px solid var(--petro); outline-offset: 3px; }
html body .mi-wc { right: var(--gutter); border-radius: var(--r-lg); box-shadow: 0 24px 56px rgba(7, 26, 32, .3); color: var(--ink); }
html body .mi-wc-head { background: var(--sheen), var(--petro-bg); font-family: var(--head); }
html body .mi-wc-head::after { content: none; }
html body .mi-wc-body { background: var(--bg); }
html body .mi-wc-yo { background: var(--metal-btn); color: #fff; }
html body .mi-wc-ellos { border-color: var(--line); }
html body .mi-wc-form button, html body .mi-wc-send button { background: var(--metal-btn); min-height: 44px; border-radius: 10px; }

/* ── Tablet / escritorio ─────────────────────────────────────────────── */
@media (min-width: 560px) {
    .st-esp-card { flex: 1 1 240px; max-width: 360px; }
    .st-esp-grid.is-pocas .st-esp-card { flex: 0 1 300px; max-width: 340px; }
    .st-esp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .st-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st-portal .st-cta .st-btn { flex: 0 1 auto; }
    .st-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st-foot-legal { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
}
@media (min-width: 720px) {
    :root { --gutter: 24px; }
    .st-sec { padding: 88px 0; }
    .st-head { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
    .st-head-center { flex-direction: column; align-items: center; }
    .st-buscador-in { padding: 36px; }
    .st-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .st-split-media { min-height: 380px; }
    .st-split-txt { padding: 48px; align-self: center; }
    .st-serv-head { padding: 48px; }
    .st-serv-grid { padding: 20px; }
    .st-portal-txt { padding: 52px 48px; }
    .st-pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .st-pasos li { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
    .st-paso-n { grid-row: auto; margin-bottom: 16px; }
    /* Línea que une los pasos */
    .st-pasos li:not(:last-child)::after { content: ''; position: absolute; top: 54px; left: calc(24px + 52px + 12px); right: -16px; height: 2px; background: linear-gradient(90deg, var(--tint-2), transparent); }
}
@media (min-width: 961px) {
    :root { --nav-h: 76px; }
    .st-menu-btn { display: none; }
    .st-menu { display: flex; position: static; flex-direction: row; align-items: center; gap: 2px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 15px; }
    .st-menu a:not(.st-btn) { min-height: 40px; padding: 8px 14px; border-radius: 999px; color: var(--muted); }
    .st-menu a.is-on { color: var(--link); background: var(--tint); }
    .st-menu .st-btn { margin: 0 0 0 10px; }
    .st-hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; min-height: 600px; padding: 48px 0 128px; }
    .st-hero-media { justify-self: end; }
    .st-float-a { left: -40px; }
    .st-float-b { right: -24px; }
    .st-buscador-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 40px 44px; }
    .st-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .st-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .st-esp-card { flex: 0 1 calc((100% - 14px * 3) / 4); max-width: none; }
    .st-esp-grid.is-pocas .st-esp-card { flex: 0 1 300px; }
    .st-portal { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); margin-block: 96px; }
    .st-portal img { display: block; align-self: stretch; width: 100%; height: 100%; max-height: 380px; object-fit: cover; object-position: center 20%; }
    .st-foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
}

/* ── Celulares: dock de agendar y chat por encima ────────────────────── */
@media (max-width: 719px) {
    .st-cta .st-btn { flex: 1 1 100%; }
    body.st-dock-on .mi-wc-btn { bottom: 86px; }
    body.st-dock-on .mi-wc { bottom: 156px; max-height: calc(100vh - 190px); }
}
@media (min-width: 720px) {
    .st-dock { display: none; }
    body.st-dock-on .st-foot { padding-bottom: 0; }
}
@media (max-width: 380px) {
    .st-logo-txt small { display: none; }
    .st-hero h1 { font-size: 34px; }
    .st-float { padding: 8px 10px 8px 8px; gap: 8px; }
    .st-float-ico { width: 32px; height: 32px; font-size: 14px; }
    .st-float b { font-size: 13px; }
    .st-busca { padding-left: 14px; }
    .st-busca .st-btn { padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .st-btn:hover, .st-btn:active, .st-feat:hover, .st-serv:hover, .st-esp-card:hover, .st-esp-tile:hover, .st-esp-tile.is-match { transform: none; }
}
