/* ============================================================================
   SEP — Servicio de Emergencias Privado
   Sistema de diseño "clínico limpio" · hecho a mano · sin dependencias de build
   Reemplaza Bootstrap 3 + tema comprado para el sitio público (controller=site).
   Incluye una capa de compatibilidad con las clases que el markup/JS heredado
   sigue usando (grid, .form-control, .panel, .modal, .tooltip, etc.).
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------------- */
:root {
    /* --- Marca oficial · img/new-brand/SEP_paleta_colores.pdf ---------------
       Azul oscuro #1D2B7A · Azul claro #3A8CC8 · Rojo #E3242B · Blanco #FFFFFF
       El degradé de marca va en diagonal: oscuro arriba-izq → claro abajo-der.
       ---------------------------------------------------------------------- */
    --brand-ink: #1D2B7A;   /* azul oscuro oficial — texto "URGENCIAS", inicio del degradé */
    --brand-sky: #3A8CC8;   /* azul claro oficial  — final del degradé */
    --brand-red: #E3242B;   /* rojo oficial        — número de urgencias 445-4445 */

    /* Rampa derivada. 800 y 500 son los dos azules oficiales sin tocar;
       700 y 600 interpolan entre ellos; el resto son tintes y sombras. */
    --brand-950: #0E1540;
    --brand-900: #141E57;
    --brand-800: #1D2B7A;
    --brand-700: #274B94;
    --brand-600: #306BAE;
    --brand-500: #3A8CC8;
    --brand-400: #6BA9D6;
    --brand-300: #98C3E2;
    --brand-200: #C5DEF0;
    --brand-100: #E7F3FA;
    --brand-50:  #F4F8FD;

    /* Degradés de marca */
    --grad-brand:      linear-gradient(135deg, #1D2B7A 0%, #3A8CC8 100%);
    --grad-brand-deep: linear-gradient(140deg, #0E1540 0%, #1D2B7A 52%, #2E63A8 100%);
    --grad-brand-soft: linear-gradient(135deg, #E7F3FA 0%, #F4F8FD 100%);

    /* Acento emergencia / rojo de marca */
    --red-600: #E3242B;
    --red-700: #B81B21;
    --red-300: #F39A9D;
    --red-100: #FBDADB;
    --red-50:  #FEF2F2;

    /* Éxito (adhesión socios) */
    --green-600: #16A34A;
    --green-700: #11823C;

    /* Neutros (matiz índigo, de la familia del azul oscuro) */
    --ink:     #141B3A;
    --ink-2:   #3C4568;
    --muted:   #6C7596;
    --line:    #E2E6F2;
    --line-2:  #EFF2F9;
    --bg:      #F6F8FD;
    --surface: #FFFFFF;
    --surface-2:#EFF4FC;

    /* Tipografía */
    --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Radios */
    --r-xs: 6px;
    --r-sm: 10px;
    --r:    14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Sombras (tinte azul oscuro de marca) */
    --sh-sm: 0 1px 2px rgba(29,43,122,.06), 0 1px 3px rgba(29,43,122,.07);
    --sh:    0 4px 14px rgba(29,43,122,.08), 0 2px 4px rgba(29,43,122,.05);
    --sh-md: 0 14px 36px rgba(29,43,122,.13);
    --sh-lg: 0 28px 64px rgba(29,43,122,.20);

    /* Marca como textura (la cruz de cuadros del isotipo) */
    --mark:       url("../img/brand/sep-mark.png");
    --mark-white: url("../img/brand/sep-mark-white.png");
    --wordmark-white: url("../img/brand/sep-logo-white.png");

    /* Layout */
    --container: 1180px;
    --gutter: 15px;

    /* Transición base */
    --t: 200ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------------------------
   2. Reset / base
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
.img-responsive { display: block; max-width: 100%; height: auto; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand-700); }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
strong, b { font-weight: 700; }

::selection { background: var(--brand-200); color: var(--brand-900); }

:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; }

/* Wrappers del layout heredado (antes off-canvas) */
.offsetWrap { position: relative; width: 100%; overflow-x: clip; }
.offsetMaker { position: relative; width: 100%; }

/* ---------------------------------------------------------------------------
   3. Tipografía
   --------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--brand-900);
    line-height: 1.15;
    margin: 0 0 .6em;
    font-weight: 700;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .95rem; }

.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); color: var(--ink-2); line-height: 1.7; }

/* Kicker / eyebrow */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-head);
    font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand-600);
    margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--grad-brand); border-radius: 2px; }

/* ---------------------------------------------------------------------------
   4. Grid (compatibilidad BS3, motor flexbox)
   --------------------------------------------------------------------------- */
.container, .container-fluid {
    width: 100%;
    margin-inline: auto;
    padding-inline: 20px;
}
.container { max-width: var(--container); }

.row { display: flex; flex-wrap: wrap; margin-inline: calc(var(--gutter) * -1); }
[class*="col-xs-"], [class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"] {
    position: relative; width: 100%; min-height: 1px;
    padding-inline: var(--gutter);
}

/* base (xs, siempre) */
.col-xs-12{width:100%}.col-xs-11{width:91.6667%}.col-xs-10{width:83.3333%}
.col-xs-9{width:75%}.col-xs-8{width:66.6667%}.col-xs-7{width:58.3333%}
.col-xs-6{width:50%}.col-xs-5{width:41.6667%}.col-xs-4{width:33.3333%}
.col-xs-3{width:25%}.col-xs-2{width:16.6667%}.col-xs-1{width:8.3333%}
.col-xs-offset-0{margin-left:0}

@media (min-width: 768px) {
    .col-sm-12{width:100%}.col-sm-11{width:91.6667%}.col-sm-10{width:83.3333%}
    .col-sm-9{width:75%}.col-sm-8{width:66.6667%}.col-sm-7{width:58.3333%}
    .col-sm-6{width:50%}.col-sm-5{width:41.6667%}.col-sm-4{width:33.3333%}
    .col-sm-3{width:25%}.col-sm-2{width:16.6667%}.col-sm-1{width:8.3333%}
    .col-sm-offset-6{margin-left:50%}.col-sm-offset-4{margin-left:33.3333%}
    .col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.6667%}
    .col-sm-offset-1{margin-left:8.3333%}.col-sm-offset-0{margin-left:0}
}
@media (min-width: 992px) {
    .col-md-12{width:100%}.col-md-11{width:91.6667%}.col-md-10{width:83.3333%}
    .col-md-9{width:75%}.col-md-8{width:66.6667%}.col-md-7{width:58.3333%}
    .col-md-6{width:50%}.col-md-5{width:41.6667%}.col-md-4{width:33.3333%}
    .col-md-3{width:25%}.col-md-2{width:16.6667%}.col-md-1{width:8.3333%}
    .col-md-offset-7{margin-left:58.3333%}.col-md-offset-6{margin-left:50%}
    .col-md-offset-4{margin-left:33.3333%}.col-md-offset-3{margin-left:25%}
    .col-md-offset-2{margin-left:16.6667%}.col-md-offset-1{margin-left:8.3333%}
    .col-md-offset-0{margin-left:0}
}
@media (min-width: 1200px) {
    .col-lg-12{width:100%}.col-lg-11{width:91.6667%}.col-lg-10{width:83.3333%}
    .col-lg-9{width:75%}.col-lg-8{width:66.6667%}.col-lg-7{width:58.3333%}
    .col-lg-6{width:50%}.col-lg-5{width:41.6667%}.col-lg-4{width:33.3333%}
    .col-lg-3{width:25%}.col-lg-2{width:16.6667%}.col-lg-1{width:8.3333%}
    .col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.6667%}
    .col-lg-offset-1{margin-left:8.3333%}.col-lg-offset-0{margin-left:0}
}

/* visibilidad responsive (BS3) */
.hidden-xs{}.hidden-sm{}.hidden-md{}.hidden-lg{}
@media (max-width:767px){ .hidden-xs{display:none!important} }
@media (min-width:768px) and (max-width:991px){ .hidden-sm{display:none!important} }
@media (min-width:992px) and (max-width:1199px){ .hidden-md{display:none!important} }
@media (min-width:1200px){ .hidden-lg{display:none!important} }

.clearfix::after{content:"";display:table;clear:both}
.pull-left{float:left}.pull-right{float:right}

/* ---------------------------------------------------------------------------
   5. Utilidades de texto y espaciado (las usa el markup heredado)
   --------------------------------------------------------------------------- */
.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}
.text-uppercase{text-transform:uppercase}
.text-bold,.text-semibold{font-weight:700}
.text-danger{color:var(--red-600)}
.text-muted{color:var(--muted)}
.color-blue{color:var(--brand-700)}
.color-white{color:#fff}
.bg-white{background:var(--surface)}

.no-pad{padding:0!important}

/* margen / padding 0..60 (step 5) — replica el tema viejo */
.mt-0{margin-top:0}.mt-5{margin-top:5px}.mt-10{margin-top:10px}.mt-15{margin-top:15px}.mt-20{margin-top:20px}.mt-25{margin-top:25px}.mt-30{margin-top:30px}.mt-35{margin-top:35px}.mt-40{margin-top:40px}.mt-45{margin-top:45px}.mt-50{margin-top:50px}.mt-55{margin-top:55px}.mt-60{margin-top:60px}
.mb-0{margin-bottom:0}.mb-5{margin-bottom:5px}.mb-10{margin-bottom:10px}.mb-15{margin-bottom:15px}.mb-20{margin-bottom:20px}.mb-25{margin-bottom:25px}.mb-30{margin-bottom:30px}.mb-35{margin-bottom:35px}.mb-40{margin-bottom:40px}.mb-45{margin-bottom:45px}.mb-50{margin-bottom:50px}.mb-55{margin-bottom:55px}.mb-60{margin-bottom:60px}
.pt-0{padding-top:0}.pt-5{padding-top:5px}.pt-10{padding-top:10px}.pt-15{padding-top:15px}.pt-20{padding-top:20px}.pt-25{padding-top:25px}.pt-30{padding-top:30px}.pt-35{padding-top:35px}.pt-40{padding-top:40px}.pt-45{padding-top:45px}.pt-50{padding-top:50px}.pt-55{padding-top:55px}.pt-60{padding-top:60px}
.pb-0{padding-bottom:0}.pb-5{padding-bottom:5px}.pb-10{padding-bottom:10px}.pb-15{padding-bottom:15px}.pb-20{padding-bottom:20px}.pb-25{padding-bottom:25px}.pb-30{padding-bottom:30px}.pb-35{padding-bottom:35px}.pb-40{padding-bottom:40px}.pb-45{padding-bottom:45px}.pb-50{padding-bottom:50px}.pb-55{padding-bottom:55px}.pb-60{padding-bottom:60px}

/* ---------------------------------------------------------------------------
   6. Botones
   --------------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--brand-600);
    --btn-fg: #fff;
    --btn-bg-h: var(--brand-700);
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    font-family: var(--font-head);
    font-weight: 600; font-size: .95rem; line-height: 1.2;
    padding: .72em 1.4em;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    background: var(--btn-bg);
    color: var(--btn-fg);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
    -webkit-appearance: none; appearance: none;
}
.btn:hover { background: var(--btn-bg-h); color: var(--btn-fg); box-shadow: var(--sh); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus { color: var(--btn-fg); }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-primary {
    --btn-bg: var(--brand-700); --btn-bg-h: var(--brand-800);
    background-image: var(--grad-brand);
    box-shadow: 0 1px 2px rgba(29,43,122,.22);
}
.btn-primary:hover { background-image: linear-gradient(135deg, #16215E 0%, #2E79B4 100%); }
.btn-success { --btn-bg: var(--green-600); --btn-bg-h: var(--green-700); }
.btn-danger  { --btn-bg: var(--red-600);  --btn-bg-h: var(--red-700); }
.btn-info    { --btn-bg: var(--brand-500);--btn-bg-h: var(--brand-600); }
.btn-warning { --btn-bg: #E8920C; --btn-bg-h: #c97c08; }
.btn-default {
    --btn-bg: #fff; --btn-fg: var(--brand-800); --btn-bg-h: var(--brand-50);
    border-color: var(--line);
}
.btn-default:hover { border-color: var(--brand-300); }
.btn-emergency {
    --btn-bg: var(--red-600); --btn-bg-h: var(--red-700);
    font-weight: 700; letter-spacing: .01em;
    box-shadow: 0 1px 2px rgba(184,27,33,.3);
}

.btn-lg { font-size: 1.05rem; padding: .9em 1.8em; border-radius: var(--r); }
.btn-sm { font-size: .85rem; padding: .5em 1em; }
.btn-xs { font-size: .75rem; padding: .3em .6em; gap: .3em; border-radius: var(--r-xs); }
.btn-block { display: flex; width: 100%; }

/* Botón "ghost" del tema */
.btn-ghost {
    --btn-bg: transparent; --btn-fg: var(--brand-700); --btn-bg-h: var(--brand-50);
    border-color: var(--brand-200);
}

/* ---------------------------------------------------------------------------
   7. Formularios
   --------------------------------------------------------------------------- */
.form-group { margin-bottom: 1.1rem; }

label, .control-label { display: inline-block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }

.form-control {
    display: block; width: 100%;
    font-family: var(--font-body); font-size: 1rem; line-height: 1.4;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: .7rem .9rem;
    min-height: 46px;
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
    -webkit-appearance: none; appearance: none;
}
.form-control::placeholder { color: #99A2C0; }
.form-control:hover { border-color: var(--brand-300); }
.form-control:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px var(--brand-100);
    background: #fff;
}
textarea.form-control { min-height: 120px; resize: vertical; }

/* select con caret propio */
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231466B0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.6rem;
    cursor: pointer;
}
select.form-control::-ms-expand { display: none; }

input[type="file"].form-control { padding: .55rem .9rem; min-height: 46px; line-height: 1.8; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand-600); }

.help-block { display: block; margin-top: .4rem; font-size: .82rem; color: var(--muted); }
.checkbox { margin: .4rem 0; }
.checkbox label { font-weight: 500; }

/* estado de error (lo aplica js/function.js sobre .form-group) */
.has-error .form-control { border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(220,38,71,.12); }
.has-error .control-label, .has-error label { color: var(--red-700); }

/* form-horizontal (socios) — cada .form-group se comporta como una .row */
.form-horizontal .form-group { display: flex; flex-wrap: wrap; align-items: center; margin-inline: calc(var(--gutter) * -1); }
.form-horizontal .form-group > .control-label { align-self: center; }
@media (min-width: 768px) {
    .form-horizontal .control-label { text-align: right; margin-bottom: 0; }
}

/* ---------------------------------------------------------------------------
   8. Paneles (BS3)
   --------------------------------------------------------------------------- */
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh);
    margin-bottom: 1.5rem;
    overflow: clip;
}
.panel-default { border-color: var(--line); }
.panel-heading {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--line-2);
    font-weight: 600;
    color: var(--brand-900);
    background: var(--surface-2);
}
.panel-title { margin: 0; font-size: 1.15rem; }
.panel-body { padding: 1.5rem; }
.panel-footer {
    padding: 1.1rem 1.5rem;
    border-top: 1px solid var(--line-2);
    background: var(--surface-2);
}

/* ---------------------------------------------------------------------------
   9. Alertas (BS3)
   --------------------------------------------------------------------------- */
.alert {
    position: relative;
    padding: 1rem 1.2rem;
    border: 1px solid transparent;
    border-radius: var(--r);
    border-left-width: 4px;
    margin-bottom: 1.2rem;
    font-size: .95rem;
}
.alert ul { margin: 0; padding-left: 1.2rem; }
.alert p:last-child { margin-bottom: 0; }
.alert-success { background: #ECFDF3; border-color: #ABEFC6; border-left-color: var(--green-600); color: #08713A; }
.alert-danger  { background: #FEF2F2; border-color: #FBDADB; border-left-color: var(--red-600);   color: #8E1116; }
.alert-info    { background: var(--brand-50); border-color: var(--brand-200); border-left-color: var(--brand-500); color: var(--brand-800); }
.alert-warning { background: #FFF8EB; border-color: #FCE3B0; border-left-color: #E8920C; color: #8A5A06; }

/* ---------------------------------------------------------------------------
   10. Tablas (BS3)
   --------------------------------------------------------------------------- */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.table th, .table td { padding: .85rem 1rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.table thead th { font-family: var(--font-head); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1.5px solid var(--line); }
.table-striped tbody tr:nth-child(odd) { background: var(--brand-50); }
.table tbody tr { transition: background var(--t); }
.table tbody tr:hover { background: var(--brand-100); }

/* ---------------------------------------------------------------------------
   11. Modales (compatibles con bootstrap.min.js v3)
   --------------------------------------------------------------------------- */
.modal {
    display: none;
    position: fixed; inset: 0;
    z-index: 1050;
    overflow: hidden auto;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
.modal.in { display: block; }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 1040; background: #0E1540; }
.modal-backdrop.fade { opacity: 0; transition: opacity var(--t); }
.modal-backdrop.in { opacity: .55; }

.modal-dialog {
    position: relative;
    width: auto; max-width: 540px;
    margin: 6vh auto;
    padding: 0 14px;
}
.modal-sm .modal-dialog, .modal-xs .modal-dialog { max-width: 420px; }
.modal-lg .modal-dialog { max-width: 880px; }

.modal.fade .modal-dialog { transform: translateY(-30px); transition: transform var(--t); }
.modal.in .modal-dialog { transform: translateY(0); }

.modal-content {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    overflow: clip;
}
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line-2); font-size: 1.1rem; color: var(--brand-900); }
.modal-header strong { font-family: var(--font-head); }
.modal-body { padding: 1.5rem; }
.modal-footer { padding: 1.1rem 1.5rem; border-top: 1px solid var(--line-2); background: var(--surface-2); }

/* ---------------------------------------------------------------------------
   12. Tooltips (errores — bootstrap.min.js)
   --------------------------------------------------------------------------- */
.tooltip {
    position: absolute; z-index: 1070; display: block;
    font-family: var(--font-body); font-size: .82rem; line-height: 1.3;
    opacity: 0;
}
.tooltip.in { opacity: 1; }
.tooltip-inner {
    display: inline-block;
    max-width: 240px;
    padding: .45rem .7rem;
    background: var(--red-600);
    color: #fff;
    font-weight: 600;
    border-radius: var(--r-xs);
    box-shadow: var(--sh);
    text-align: center;
}
.tooltip-arrow { position: absolute; width: 0; height: 0; border: 6px solid transparent; }
.tooltip.bottom .tooltip-arrow { top: -6px; left: 50%; margin-left: -6px; border-bottom-color: var(--red-600); border-top: 0; }
.tooltip.top .tooltip-arrow    { bottom: -6px; left: 50%; margin-left: -6px; border-top-color: var(--red-600); border-bottom: 0; }
.tooltip.left .tooltip-arrow   { right: -6px; top: 50%; margin-top: -6px; border-left-color: var(--red-600); border-right: 0; }
.tooltip.right .tooltip-arrow  { left: -6px; top: 50%; margin-top: -6px; border-right-color: var(--red-600); border-left: 0; }

/* ---------------------------------------------------------------------------
   13. jQuery UI datepicker (reskin — turnos #fec inline)
   --------------------------------------------------------------------------- */
.ui-datepicker {
    width: 100% !important;
    max-width: 340px;
    margin: 0 auto;
    padding: .6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh);
    font-family: var(--font-body);
}
.ui-datepicker .ui-datepicker-header {
    position: relative;
    background: transparent; border: 0;
    padding: .5rem .25rem 1rem;
}
.ui-datepicker .ui-datepicker-title { font-family: var(--font-head); font-weight: 700; color: var(--brand-900); text-align: center; text-transform: capitalize; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    position: absolute; top: .35rem; width: 34px; height: 34px;
    border-radius: var(--r-sm); cursor: pointer; background: var(--brand-50);
    transition: background var(--t);
}
.ui-datepicker .ui-datepicker-prev { left: .25rem; }
.ui-datepicker .ui-datepicker-next { right: .25rem; }
.ui-datepicker .ui-datepicker-prev:hover, .ui-datepicker .ui-datepicker-next:hover { background: var(--brand-100); }
.ui-datepicker .ui-datepicker-prev .ui-icon, .ui-datepicker .ui-datepicker-next .ui-icon { display: none; }
.ui-datepicker .ui-datepicker-prev::after, .ui-datepicker .ui-datepicker-next::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 9px; height: 9px; border: 2px solid var(--brand-700); border-left: 0; border-bottom: 0;
}
.ui-datepicker .ui-datepicker-prev::after { transform: translate(-30%,-50%) rotate(-135deg); }
.ui-datepicker .ui-datepicker-next::after { transform: translate(-70%,-50%) rotate(45deg); }
.ui-datepicker table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ui-datepicker th { padding: .4rem 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 600; }
.ui-datepicker td { padding: 2px; }
.ui-datepicker td .ui-state-default {
    display: block; text-align: center; padding: .5rem 0;
    border-radius: var(--r-sm); border: 0; background: transparent;
    color: var(--ink); text-decoration: none; font-weight: 500;
    transition: background var(--t), color var(--t);
}
.ui-datepicker td .ui-state-default:hover { background: var(--brand-100); color: var(--brand-800); }
.ui-datepicker td .ui-state-active, .ui-datepicker td .ui-state-highlight {
    background: var(--brand-600); color: #fff; box-shadow: var(--sh-sm);
}
.ui-datepicker td.ui-state-disabled { opacity: .35; }
.ui-datepicker td.ui-datepicker-unselectable .ui-state-default { color: #C3C9DE; }

/* ---------------------------------------------------------------------------
   14. Topbar (barra de utilidades)
   --------------------------------------------------------------------------- */
.topbar {
    background: var(--brand-900);
    color: #CBD8F2;
    font-size: .82rem;
}
.topbar__inner {
    max-width: var(--container); margin-inline: auto; padding: .5rem 20px;
    display: flex; align-items: center; justify-content: flex-end; gap: 1.4rem; flex-wrap: wrap;
}
.topbar a { color: #CBD8F2; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; }
.topbar .fa { color: var(--brand-400); }
.topbar__emerg { color: #fff; font-weight: 600; }
.topbar__emerg strong { color: #FFC2BE; }
.topbar__sep { width: 1px; height: 16px; background: rgba(255,255,255,.18); }
@media (max-width: 600px) { .topbar { display: none; } }

/* ---------------------------------------------------------------------------
   15. Header / nav principal
   --------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--t), background var(--t);
}
/* Filete de marca bajo el header */
.site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--grad-brand);
    opacity: 0; transition: opacity var(--t);
}
.site-header.is-stuck::after { opacity: 1; }
.site-header.is-stuck { box-shadow: var(--sh); background: rgba(255,255,255,.96); }
.site-header__inner {
    max-width: var(--container); margin-inline: auto; padding: .65rem 20px;
    display: flex; align-items: center; gap: 1.2rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; display: block; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.main-nav a.navlink {
    font-family: var(--font-head); font-weight: 600; font-size: .94rem;
    color: var(--brand-900);
    padding: .55rem .85rem; border-radius: var(--r-sm);
    position: relative;
    transition: color var(--t), background var(--t);
}
.main-nav a.navlink:hover { background: var(--brand-50); color: var(--brand-700); }
.main-nav a.navlink.active { color: var(--brand-700); }
.main-nav a.navlink.active::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px;
    background: var(--grad-brand); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: .5rem; margin-left: .4rem; }

.nav-toggle {
    display: none; margin-left: auto;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--surface); color: var(--brand-800); cursor: pointer;
    align-items: center; justify-content: center; font-size: 1.3rem;
}

@media (max-width: 991px) {
    /* backdrop-filter crea containing-block para descendientes fixed:
       en mobile lo sacamos para que el panel off-canvas se posicione
       respecto al viewport (si no, queda recortado a la altura del header). */
    .site-header, .site-header.is-stuck {
        -webkit-backdrop-filter: none; backdrop-filter: none;
        background: #fff;
    }
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
        flex-direction: column; align-items: stretch; gap: .2rem;
        background: var(--surface); box-shadow: var(--sh-lg);
        padding: 5.5rem 1.2rem 2rem; margin: 0;
        transform: translateX(100%); transition: transform 280ms cubic-bezier(.4,0,.2,1);
        overflow-y: auto; z-index: 1001;
    }
    .site-header.nav-open .main-nav { transform: translateX(0); }
    .main-nav a.navlink { font-size: 1.05rem; padding: .85rem 1rem; }
    .main-nav a.navlink.active::after { display: none; }
    .main-nav a.navlink.active { background: var(--brand-50); }
    .header-cta { flex-direction: column; align-items: stretch; margin: .8rem 0 0; }
    .header-cta .btn { width: 100%; }
    .nav-scrim {
        position: fixed; inset: 0; background: rgba(14,21,64,.5);
        opacity: 0; visibility: hidden; transition: opacity var(--t); z-index: 1000;
    }
    .site-header.nav-open .nav-scrim { opacity: 1; visibility: visible; }
}

/* ---------------------------------------------------------------------------
   16. Secciones genéricas
   --------------------------------------------------------------------------- */
section { position: relative; }
.section { padding: clamp(3rem, 2rem + 4vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; }
.section--alt { background: var(--surface); }
.section--brand { background: var(--grad-brand-deep); color: #fff; }
.section--brand h1,.section--brand h2,.section--brand h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 0 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------------------------------------------------------------------------
   17. Hero (home)
   --------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--brand-800); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(120% 90% at 12% 30%, rgba(29,43,122,.94) 0%, rgba(29,43,122,.66) 45%, rgba(29,43,122,.26) 100%),
        linear-gradient(135deg, rgba(14,21,64,.80) 0%, rgba(29,43,122,.42) 48%, rgba(58,140,200,.32) 100%);
}
.hero__inner {
    position: relative; z-index: 2;
    max-width: var(--container); margin-inline: auto; padding: clamp(3.5rem,2rem + 8vw,7rem) 20px clamp(3.5rem,2rem + 6vw,6rem);
}
.hero__content { max-width: 640px; }
.hero .eyebrow { color: var(--brand-300); }
.hero .eyebrow::before { background: var(--brand-400); }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero p { color: #DDE6F8; font-size: clamp(1.05rem,1rem + .5vw,1.25rem); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero__trust .num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1; }
.hero__trust .lbl { font-size: .82rem; color: #AFC0E4; margin-top: .3rem; }

/* Banda de emergencia bajo el hero */
.emerg-strip {
    background: var(--red-600); color: #fff;
    position: relative; overflow: hidden;
}
.emerg-strip::before {
    content: ""; position: absolute; inset: 0;
    background: var(--mark-white) left 28px center / auto 44px no-repeat;
    opacity: .11; pointer-events: none;
}
.emerg-strip__inner {
    max-width: var(--container); margin-inline: auto; padding: .9rem 20px;
    display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
    font-weight: 600; text-align: center;
}
.emerg-strip a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.emerg-strip .phone { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; }

/* ---------------------------------------------------------------------------
   18. Tarjetas de servicio / features
   --------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.svc-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    box-shadow: var(--sh-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    overflow: hidden;
}
.svc-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--grad-brand);
    transform: scaleY(0); transform-origin: top; transition: transform var(--t);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card__icon {
    width: 54px; height: 54px; border-radius: var(--r);
    display: grid; place-items: center; margin-bottom: 1.1rem;
    background: var(--grad-brand-soft); color: var(--brand-700); font-size: 1.4rem;
    border: 1px solid var(--brand-100);
}
.svc-card:hover .svc-card__icon { background: var(--grad-brand); color: #fff; border-color: transparent; }
.svc-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.svc-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* listado de especialidades / chips */
.chip-list { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.chip-list li {
    background: var(--brand-50); color: var(--brand-800);
    border: 1px solid var(--brand-100);
    padding: .45rem .9rem; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500;
}

/* lista con check */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .35rem 0 .35rem 2rem; color: var(--ink-2); }
.check-list li::before {
    content: "\f00c"; font-family: "FontAwesome"; font-size: .8rem;
    position: absolute; left: 0; top: .55rem;
    width: 1.3rem; height: 1.3rem; border-radius: 50%;
    background: var(--brand-100); color: var(--brand-700);
    display: grid; place-items: center;
}

/* ---------------------------------------------------------------------------
   19. Banda de stats
   --------------------------------------------------------------------------- */
.stat-band { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem,1.5rem + 1.5vw,2.8rem); color: var(--brand-700); line-height: 1; }
.stat .lbl { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.section--brand .stat .num { color: #fff; }
.section--brand .stat .lbl { color: #AFC0E4; }

/* ---------------------------------------------------------------------------
   20. CTA band
   --------------------------------------------------------------------------- */
.cta {
    background: var(--grad-brand-deep);
    border-radius: var(--r-xl);
    padding: clamp(2.6rem,2rem + 3vw,4rem) clamp(1.6rem,1rem + 3vw,3.5rem);
    color: #fff; text-align: center;
    box-shadow: var(--sh-md);
    position: relative; overflow: hidden;
}
.cta > *:last-child { margin-bottom: 0; }
.cta::after {
    content:""; position:absolute; right:0; top:0; bottom:0; width:260px;
    pointer-events:none;
    background: var(--mark-white) right 40px center / auto 50% no-repeat;
    opacity:.10;
}
@media (max-width: 767px) { .cta::after { display: none; } }
.cta h2 { color: #fff; }
.cta p { color: #DDE6F8; max-width: 560px; margin-inline: auto; }
.cta .hero__actions, .cta .cta-actions { justify-content: center; display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.cta .btn-default { --btn-fg: var(--brand-800); }

/* ---------------------------------------------------------------------------
   21. Cabecera de página interna (.head + breadcrumb)
   --------------------------------------------------------------------------- */
.head {
    background: var(--grad-brand-deep);
    color: #fff;
    position: relative; overflow: hidden;
}
.head::after {
    content:""; position:absolute; right:0; top:0; bottom:0; width:300px;
    pointer-events:none;
    background: var(--mark-white) right 48px center / auto 60% no-repeat;
    opacity:.13;
}
@media (max-width: 767px) { .head::after { display: none; } }
.head .container { position: relative; z-index: 1; }
.head h3 { color: #fff; margin: .4rem 0 0; font-size: clamp(1.6rem,1.2rem + 1.6vw,2.3rem); }
.bread-crumb { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; font-size: .88rem; }
.bread-crumb li { display: inline-flex; align-items: center; color: #BFCDEE; }
.bread-crumb li:not(:last-child)::after { content: "›"; margin: 0 .5rem; color: #7582B5; }
.bread-crumb a { color: #BFCDEE; }
.bread-crumb a:hover { color: #fff; }
.bread-crumb li:last-child { color: #fff; font-weight: 600; }

/* secciones con fondo claro para contenido */
.style-res { padding: clamp(3.5rem,3rem + 2vw,5.5rem) 0; }
.contenido { max-width: var(--container); margin-inline: auto; padding: clamp(2.5rem,2rem + 2vw,4rem) 20px; }

/* tarjeta de contenido (blog-post heredado) */
.blog-post {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh);
    overflow: hidden;
}
.blog-post .pad, .pad { padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); }
.blog-post h6.color-blue { display: flex; align-items: flex-start; gap: .6rem; }

/* ---------------------------------------------------------------------------
   22. Botones de horario (turnos.js inyecta .btn-hora)
   --------------------------------------------------------------------------- */
.div-hor { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn-hora {
    font-family: var(--font-head); font-weight: 600; font-size: .9rem;
    padding: .55rem .2rem; min-width: 74px;
    border: 1.5px solid var(--brand-200);
    background: var(--surface); color: var(--brand-800);
    border-radius: var(--r-sm); cursor: pointer;
    transition: all var(--t);
}
.btn-hora:hover { border-color: var(--brand-500); background: var(--brand-50); }
.btn-hora.hor-active { background: var(--grad-brand); border-color: var(--brand-700); color: #fff; box-shadow: var(--sh-sm); }

/* contacto */
.contact-box {
    background: var(--brand-700); color: #fff;
    border-radius: var(--r-lg); padding: 1.6rem; margin-bottom: 1.2rem;
    box-shadow: var(--sh);
}
.contact-box h5 { color: #fff; margin-bottom: .6rem; }
.contact-box.bg-blue1 { background: var(--grad-brand-deep); }
.contact-box.bg-blue3 { background: var(--grad-brand); }
.map-embed { width: 100%; border: 0; display: block; border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }

/* ---------------------------------------------------------------------------
   23. Footer
   --------------------------------------------------------------------------- */
.site-footer {
    background: var(--brand-950); color: #AFC0E4;
    margin-top: clamp(3rem,2rem + 3vw,5rem);
    padding-top: clamp(3.5rem,3rem + 3vw,5.5rem);
    position: relative; overflow: hidden;
    border-top: 3px solid transparent;
    border-image: var(--grad-brand) 1;
}
.site-footer::before {
    content: ""; position: absolute; right: 48px; top: 36px;
    width: 120px; height: 190px; pointer-events: none;
    background: var(--mark-white) center / contain no-repeat;
    opacity: .06;
}
@media (max-width: 991px) { .site-footer::before { display: none; } }
.site-footer > * { position: relative; }
.site-footer a { color: #CBD8F2; }
.site-footer a:hover { color: #fff; }
.footer-grid {
    max-width: var(--container); margin-inline: auto; padding: 0 20px clamp(2.5rem,2rem + 2vw,3.5rem);
    display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr;
}
.site-footer h5 { color: #fff; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-brand img { height: 46px; width: auto; display: block; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .65rem; display: flex; align-items: flex-start; gap: .6rem; }
.footer-list .fa { color: var(--brand-400); margin-top: .25rem; }
.footer-emerg {
    background: var(--red-600);
    border: 0; border-radius: var(--r);
    padding: 1rem 1.2rem; color: #fff;
    box-shadow: 0 10px 28px rgba(227,36,43,.32);
}
.footer-emerg .phone { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-socials a {
    width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff; transition: background var(--t), transform var(--t);
}
.footer-socials a:hover { background: var(--grad-brand); transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.3rem 20px; text-align: center; font-size: .85rem; color: #8E9BC8;
    max-width: var(--container); margin-inline: auto;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------------------------------------------------------------------------
   24. Motion (reveal on scroll, sep-theme.js agrega .is-in)
   --------------------------------------------------------------------------- */
/* Solo ocultamos si el JS está activo (.sep-js en <html>); sin JS, todo visible. */
@media (prefers-reduced-motion: no-preference) {
    .sep-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
    .sep-js .reveal.is-in { opacity: 1; transform: none; }
    .sep-js .reveal[data-delay="1"] { transition-delay: .08s; }
    .sep-js .reveal[data-delay="2"] { transition-delay: .16s; }
    .sep-js .reveal[data-delay="3"] { transition-delay: .24s; }
}

/* spinner heredado (fa-spin) ya viene de font-awesome */

/* ---------------------------------------------------------------------------
   25. Ajustes responsive finales
   --------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .hero__trust { gap: 1.1rem; }
    .modal-dialog { margin: 4vh auto; }
}

/* ---------------------------------------------------------------------------
   26. Piezas de marca (img/brand/ — extraídas de img/new-brand/)
   --------------------------------------------------------------------------- */

/* Logo: el lockup nuevo tiene las letras caladas, así que sobre fondo claro va
   la versión a color y sobre fondo oscuro la versión en blanco. */
.brand img, .footer-brand img { image-rendering: -webkit-optimize-contrast; }

/* Chapa redonda "URGENCIAS 445-4445" — flota sobre el hero */
.brand-badge {
    display: block; width: 100%; height: auto;
    filter: drop-shadow(0 18px 40px rgba(14,21,64,.45));
}
.hero__badge {
    position: absolute; right: 20px; top: 50%; translate: 0 -50%;
    width: clamp(170px, 17vw, 240px); z-index: 3;
    animation: sep-float 7s ease-in-out infinite;
}
@keyframes sep-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-14px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) { .hero__badge { animation: none; } }
@media (max-width: 1100px) { .hero__badge { display: none; } }

/* Banda "Usted está protegido por SEP" */
.protected-band {
    display: flex; align-items: center; justify-content: center;
    gap: clamp(1.2rem, 1rem + 2vw, 3rem); flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
    box-shadow: var(--sh);
    max-width: 920px; margin-inline: auto;
}
.protected-band__art { width: clamp(220px, 26vw, 320px); flex: 0 0 auto; }
.protected-band__art img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.protected-band__txt { max-width: 46ch; }
.protected-band__txt h3 { margin-bottom: .5rem; }
.protected-band__txt p { color: var(--ink-2); margin: 0; }

/* Lockup vertical SEP + URGENCIAS + teléfono */
.brand-lockup { display: block; margin-inline: auto; width: clamp(200px, 24vw, 280px); height: auto; }

/* Marca de agua del isotipo, para fondos de marca */
.has-mark { position: relative; overflow: hidden; }
.has-mark > * { position: relative; z-index: 1; }
.has-mark::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    right: 0; top: 0; bottom: 0; width: 280px;
    background: var(--mark-white) right 40px center / auto 55% no-repeat;
    opacity: .10;
}

/* Tarjeta de urgencias con el rojo oficial */
.urgencia-card {
    background: var(--red-600); color: #fff;
    border-radius: var(--r-lg); padding: clamp(1.4rem,1rem + 2vw,2.2rem);
    box-shadow: 0 14px 36px rgba(227,36,43,.28);
    text-align: center; position: relative; overflow: hidden;
}
.urgencia-card h3, .urgencia-card h4 { color: #fff; }
.urgencia-card .phone {
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); line-height: 1;
    color: #fff; display: inline-block; letter-spacing: .01em;
}
.urgencia-card .phone:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.urgencia-card .lbl {
    text-transform: uppercase; letter-spacing: .16em; font-size: .8rem;
    font-weight: 600; color: #FFD9D7; margin-bottom: .4rem;
}

/* El número de urgencias siempre en el rojo de marca sobre fondo claro */
.tel-urgencia { color: var(--red-600); font-weight: 800; font-family: var(--font-head); }
.tel-urgencia:hover { color: var(--red-700); }

/* Saltos de línea sólo en pantallas anchas (titulares del hero) */
@media (max-width: 640px) { br.br-lg { display: none; } }
