/**
 * Web pública — diseño C · Vital Moderna
 * ---------------------------------------------------------------------------
 * Sistema visual completo de las páginas públicas: tipografía, retícula,
 * encabezado, pie, portada y capa de armonización de las páginas interiores.
 *
 * Se carga DESPUÉS de dayenu-custom.css, que comparte con el panel de
 * administración y no puede modificarse. Esa hoja impone
 * `.home-page *{font-family:'Poppins'!important}` sobre los envoltorios de
 * página antiguos; la portada nueva usa `.fc-home` para quedar fuera de esa
 * regla y las páginas interiores se recuperan con mayor especificidad.
 *
 * Dos pieles, un mismo diseño: `.front-skin-dayenu` (Centro Médico Dayenú) y
 * `.front-skin-iomed` (demo de producto). Solo cambian los testigos de color y
 * el logotipo; ninguna regla de estructura depende de la piel.
 */

/* ═══ Tipografías locales (sin CDN) ══════════════════════════════════════ */
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/front-c/bricolage-grotesque.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/front-c/ibm-plex-sans.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/front-c/ibm-plex-mono.woff2') format('woff2');
}

/* ═══ Testigos comunes ═══════════════════════════════════════════════════ */
.fc-body {
    /* Radios en la proporción 4,5/16 del isotipo modular */
    --fc-r-xs: 8px;
    --fc-r-sm: 12px;
    --fc-r-md: 17px;
    --fc-r-lg: 26px;
    --fc-r-xl: 36px;

    --fc-shell: 1200px;
    --fc-pad: clamp(20px, 5vw, 44px);
    --fc-sect: clamp(60px, 8vw, 110px);

    /* Pilas con respaldo del sistema: la web pública ya no carga Poppins, así
       que si el woff2 no llega el texto cae en la fuente nativa, no en Times. */
    --fc-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --fc-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --fc-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    --fc-ease: cubic-bezier(.2, .8, .2, 1);

    /* Solape del héroe con la franja de datos: el relleno inferior del héroe y
       el margen negativo de la franja son el mismo valor y deben moverse
       juntos, o la franja se despega o se come el contenido del héroe. */
    --fc-hero-drop: clamp(112px, 12vw, 160px);
}

/* ── Piel Dayenú (por defecto) ──────────────────────────────────────────
   Paleta derivada del logotipo oficial: rosa #F599B0 y #E083B6, teal #3CA3AE.
   Todos los pares de texto miden ≥4,5:1 sobre su fondo real.               */
.front-skin-dayenu {
    --fc-ink: #07272B;
    --fc-ink-2: #0B3A40;
    --fc-ink-deep: #051D20;

    --fc-accent: #F599B0;
    --fc-accent-hi: #FBB9C9;
    --fc-accent-strong: #E083B6;
    --fc-accent-deep: #B14B82;

    --fc-struct: #2B757E;
    --fc-struct-deep: #226268;

    --fc-white: #FFFFFF;
    --fc-paper: #FBFCFC;
    --fc-mist: #F2F8F9;
    --fc-mist-alt: #FDF3F7;

    --fc-text: #06262A;
    --fc-text-soft: #4F7172;
    --fc-label: #4F7172;
    --fc-line: #DCE9EB;
    --fc-line-strong: #C3DBDE;

    --fc-on-dark: #EAF5F6;
    --fc-on-dark-soft: #9FC4C6;
    --fc-on-dark-mute: #86A5A7;
    --fc-line-dark: rgba(245, 153, 176, .22);

    --fc-metric-a: #2B757E;
    --fc-metric-b: #226268;
    --fc-halo: rgba(245, 153, 176, .38);
    --fc-glow-a: rgba(245, 153, 176, .18);
    --fc-glow-b: rgba(60, 163, 174, .26);
    --fc-shadow-accent: rgba(224, 131, 182, .55);
    --fc-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Crect x='24' y='24' width='24' height='24' rx='6.75' fill='none' stroke='%23F599B0' stroke-opacity='0.18'/%3E%3C/svg%3E");
}

/* ── Piel IOmed (demo de producto) ───────────────────────────────────── */
.front-skin-iomed {
    --fc-ink: #06231C;
    --fc-ink-2: #0B2E24;
    --fc-ink-deep: #041A15;

    --fc-accent: #3AD6A0;
    --fc-accent-hi: #5BE6B6;
    --fc-accent-strong: #0B8A6F;
    --fc-accent-deep: #096B57;

    --fc-struct: #096B57;
    --fc-struct-deep: #0B8A6F;

    --fc-white: #FFFFFF;
    --fc-paper: #FBFCFC;
    --fc-mist: #F2FAF7;
    --fc-mist-alt: #EDF7F2;

    --fc-text: #06231C;
    --fc-text-soft: #3D5C53;
    --fc-label: #56736A;
    --fc-line: #DCEBE4;
    --fc-line-strong: #C7E3D8;

    --fc-on-dark: #EAF6F1;
    --fc-on-dark-soft: #9FC4B8;
    --fc-on-dark-mute: #86A79A;
    --fc-line-dark: rgba(58, 214, 160, .16);

    --fc-metric-a: #0A8267;
    --fc-metric-b: #096B57;
    --fc-halo: rgba(58, 214, 160, .36);
    --fc-glow-a: rgba(58, 214, 160, .20);
    --fc-glow-b: rgba(11, 138, 111, .24);
    --fc-shadow-accent: rgba(58, 214, 160, .8);
    --fc-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Crect x='24' y='24' width='24' height='24' rx='6.75' fill='none' stroke='%233AD6A0' stroke-opacity='0.12'/%3E%3C/svg%3E");
}

/* ═══ Base ═══════════════════════════════════════════════════════════════ */
.fc-body {
    margin: 0;
    background: var(--fc-white);
    color: var(--fc-text);
    /* `!important` porque la hoja de tokens declara `body{font-family:…
       !important}` y sin la marca el cuerpo entero heredaba Poppins. */
    font-family: var(--fc-sans) !important;
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* `clip` y no `hidden`: `hidden` convierte al cuerpo en contenedor de
       desplazamiento y el encabezado adherente deja de adherirse. La linea
       previa es el respaldo para Safari anterior a 16, que no conoce `clip`. */
    overflow-x: hidden;
    overflow-x: clip;
}

/* Controles y avisos heredados. La hoja de tokens los marca uno a uno
   (`input, textarea, select, button, .btn, .alert, .badge, .dropdown-item,
   .form-control, .form-select, .modal`) con `!important`; se recuperan con la
   misma marca y mas especificidad. Los botones del sistema van en tipografia
   de titulares, y su selector de clase pesa mas que el de etiqueta. */
.fc-body input,
.fc-body textarea,
.fc-body select,
.fc-body button,
.fc-body .form-control,
.fc-body .form-select,
.fc-body .badge,
.fc-body .alert,
.fc-body .dropdown-item,
.fc-body .modal {
    font-family: var(--fc-sans) !important;
}
.fc-body .fc-btn,
.fc-body .btn {
    font-family: var(--fc-display) !important;
}

.fc-body :focus-visible {
    outline: 3px solid var(--fc-struct);
    outline-offset: 3px;
}
.fc-on-ink :focus-visible,
.fc-hd :focus-visible,
.fc-ft :focus-visible {
    outline-color: var(--fc-accent);
}

.fc-body .dayenu-main {
    display: block;
}

.fc-body .container {
    max-width: var(--fc-shell);
}

.fc-shell {
    width: 100%;
    max-width: var(--fc-shell);
    margin-inline: auto;
    padding-inline: var(--fc-pad);
}

.fc-body .dayenu-skip-link {
    background: var(--fc-accent);
    color: var(--fc-ink);
    font-family: var(--fc-display);
    font-weight: 600;
    border-radius: var(--fc-r-sm);
    box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5);
}
.fc-body .dayenu-skip-link:focus {
    color: var(--fc-ink);
    outline-color: var(--fc-ink);
}

/* ── Tipografía compartida ─────────────────────────────────────────────── */
/* Los encabezados llevan `!important` en toda la hoja: la de tokens declara
   `h1,…,h6{font-family:… !important}` y sin la marca ganaba ella. */
.fc-home h1, .fc-home h2, .fc-home h3, .fc-home h4,
.fc-hd .fc-brand__name, .fc-ft h2 {
    font-family: var(--fc-display) !important;
    font-optical-sizing: auto;
    margin: 0;
}

.fc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--fc-display);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--fc-accent-deep);
}
.fc-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--fc-accent-strong);
    flex: none;
}
.fc-on-ink .fc-kicker {
    color: var(--fc-accent);
}
.fc-on-ink .fc-kicker::before {
    background: var(--fc-accent);
}

.fc-h2 {
    font-family: var(--fc-display) !important;
    font-size: clamp(29px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.028em;
    color: var(--fc-text);
    text-wrap: balance;
    margin: 0;
}
.fc-on-ink .fc-h2 {
    color: #FFFFFF;
}

.fc-lead {
    font-size: clamp(15.5px, 1.3vw, 17px);
    line-height: 1.68;
    color: var(--fc-text-soft);
    max-width: 62ch;
    margin: 0;
}
.fc-on-ink .fc-lead {
    color: var(--fc-on-dark-soft);
}

.fc-brow {
    font-family: var(--fc-mono);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--fc-label);
    margin: 18px 0 9px;
}

.fc-sec-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

/* ── Iconos ─────────────────────────────────────────────────────────────
   Sprite propio (fronts/partials/icons.blade.php). El tamaño va en `em` para
   que cada contexto lo gobierne con su `font-size`, igual que hacían los
   glifos que sustituye; el color entra por `currentColor`, que es lo que
   permite a las dos pieles teñir el mismo dibujo con sus testigos.
   `dayenu-v2-tokens.css` impone familias tipográficas con !important, pero
   eso no alcanza a un SVG: aquí solo importa la métrica y el trazo.        */
.fc-ic {
    width: 1.1em;
    height: 1.1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* Asienta el icono sobre la línea base del texto que acompaña. */
    vertical-align: -.16em;
}
/* Dentro de una caja centrada (grid/flex) el ajuste de línea base sobra. */
.fc-fact__ic .fc-ic,
.fc-card__ic .fc-ic,
.fc-sub__btn .fc-ic,
.dayenu-service-card__icon .fc-ic,
.contact-icon-box .fc-ic {
    vertical-align: middle;
}
/* Cajas cuyo tamaño no puede salir del `font-size` heredado: se fija aquí para
   que el icono guarde siempre la misma proporción con su contenedor. */
.fc-fact__ic .fc-ic {
    width: 20px;
    height: 20px;
}
.fc-sub__btn .fc-ic {
    width: 19px;
    height: 19px;
}
.fc-body .dayenu-service-card__icon .fc-ic {
    width: 22px;
    height: 22px;
}
.fc-body .dayenu-services-eyebrow .fc-ic {
    width: 15px;
    height: 15px;
}
.fc-body .dayenu-services-empty > .fc-ic {
    width: 40px;
    height: 40px;
    color: var(--fc-struct);
}

/* ── Botones ───────────────────────────────────────────────────────────── */
.fc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--fc-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    padding: 15px 24px;
    border-radius: var(--fc-r-sm);
    border: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .28s var(--fc-ease), background-color .2s linear,
                border-color .2s linear, color .2s linear, box-shadow .28s var(--fc-ease);
}
.fc-btn--sm {
    padding: 10px 16px;
    font-size: 14px;
}
.fc-btn--primary {
    background: var(--fc-accent);
    color: var(--fc-ink);
    box-shadow: 0 12px 28px -18px var(--fc-shadow-accent);
}
.fc-btn--primary:hover,
.fc-btn--primary:focus {
    background: var(--fc-accent-hi);
    color: var(--fc-ink);
    transform: translateY(-2px);
}
.fc-btn--ghost {
    border-color: var(--fc-line-dark);
    color: var(--fc-on-dark);
    background: transparent;
}
.fc-btn--ghost:hover,
.fc-btn--ghost:focus {
    border-color: var(--fc-accent);
    color: var(--fc-accent);
    transform: translateY(-2px);
}
.fc-btn--ink {
    background: var(--fc-ink);
    color: var(--fc-on-dark);
}
.fc-btn--ink:hover,
.fc-btn--ink:focus {
    background: var(--fc-ink-2);
    color: #FFFFFF;
    transform: translateY(-2px);
}
.fc-btn--outline {
    background: var(--fc-white);
    border-color: var(--fc-line);
    color: var(--fc-text);
}
.fc-btn--outline:hover,
.fc-btn--outline:focus {
    border-color: var(--fc-struct);
    color: var(--fc-struct);
    transform: translateY(-2px);
}

/* ── Patrón modular de fondo ───────────────────────────────────────────── */
.fc-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: var(--fc-grid);
    -webkit-mask-image: radial-gradient(120% 90% at 50% 10%, #000 0%, transparent 78%);
    mask-image: radial-gradient(120% 90% at 50% 10%, #000 0%, transparent 78%);
}

/* ═══ Encabezado ═════════════════════════════════════════════════════════
   Deliberadamente NO usa la clase `header`: la hoja compartida con el panel
   le impone altura fija y `position:fixed!important`.                       */
.fc-hd {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: color-mix(in srgb, var(--fc-ink) 94%, transparent);
    border-bottom: 1px solid var(--fc-line-dark);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .fc-hd { background: var(--fc-ink); }
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .fc-hd {
        -webkit-backdrop-filter: blur(14px) saturate(1.3);
        backdrop-filter: blur(14px) saturate(1.3);
    }
}

.fc-hd__in {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 78px;
}

.fc-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: none;
    max-width: 62%;
}
/* El logotipo de Dayenú es un bloque vertical (símbolo sobre marca verbal).
   El recorte aísla el símbolo — filas 24..441 de un lienzo de 720 — para
   componer el bloque horizontal del diseño; depende de ese archivo concreto. */
.fc-brand__mark {
    display: block;
    position: relative;
    height: 42px;
    width: auto;
    max-width: 160px;
    flex: none;
    overflow: hidden;
}
.fc-brand__mark img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 160px;
    max-height: none;
    object-fit: contain;
    object-position: left center;
}
.front-skin-dayenu .fc-brand__mark {
    width: 42px;
}
.front-skin-dayenu .fc-brand__mark img {
    position: absolute;
    top: -2.4px;
    left: 50%;
    width: 72.5px;
    height: 72.5px;
    max-width: none;
    transform: translateX(-50%);
}
/* Logotipo propio del inquilino ('front_logo_dark'): el recorte anterior está
   calculado sobre el archivo de Dayenú y destrozaría cualquier otro. */
.front-skin-dayenu .fc-brand__mark--custom {
    width: auto;
}
.front-skin-dayenu .fc-brand__mark--custom img {
    position: static;
    width: auto;
    height: 42px;
    max-width: 160px;
    transform: none;
}
/* Placa clara: sin una versión para fondo oscuro, un logotipo cualquiera puede
   ser tinta sobre tinta. La placa garantiza que se lea, sea cual sea. */
.fc-brand__mark--plate {
    background: #FFFFFF;
    border-radius: var(--fc-r-xs);
    padding: 4px 7px;
    box-sizing: content-box;
}
.fc-brand__name {
    font-family: var(--fc-display);
    font-weight: 700;
    font-size: 16px;
    min-width: 0;
    text-wrap: balance;
    letter-spacing: -.022em;
    line-height: 1.15;
    color: #FFFFFF;
}

.fc-hd__nav {
    margin-left: auto;
    padding: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.fc-burger {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fc-line-dark);
    border-radius: var(--fc-r-sm);
    background: transparent;
    padding: 0;
    box-shadow: none;
}
.fc-burger:focus {
    box-shadow: none;
}
.fc-burger__bars,
.fc-burger__bars::before,
.fc-burger__bars::after {
    display: block;
    width: 18px;
    height: 2.4px;
    border-radius: 2px;
    background: var(--fc-on-dark);
    transition: background-color .2s linear;
}
.fc-burger__bars {
    position: relative;
}
.fc-burger__bars::before,
.fc-burger__bars::after {
    content: "";
    position: absolute;
    left: 0;
}
.fc-burger__bars::before { top: -6.5px; }
.fc-burger__bars::after { top: 6.5px; }
.fc-burger[aria-expanded="true"] {
    background: var(--fc-line-dark);
    border-color: var(--fc-accent);
}
.fc-burger[aria-expanded="true"] .fc-burger__bars,
.fc-burger[aria-expanded="true"] .fc-burger__bars::before,
.fc-burger[aria-expanded="true"] .fc-burger__bars::after {
    background: var(--fc-accent);
}

.fc-hd__panel {
    flex-grow: 0;
    justify-content: flex-end;
    gap: 10px;
}

.fc-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Se estiliza por la clase propia `.fc-nav__link`, no por la cadena de
   envoltorios de Bootstrap: el marcado del menú puede cambiar, la clase no. */
.fc-hd .fc-nav__link {
    position: relative;
    display: block;
    white-space: nowrap;
    font-family: var(--fc-display) !important;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--fc-on-dark-soft);
    -webkit-text-fill-color: var(--fc-on-dark-soft);
    background: none;
    text-decoration: none;
    padding: 9px 9px;
    border-radius: var(--fc-r-xs);
    transition: color .2s linear, background-color .2s linear;
}
.fc-hd .fc-nav__link:hover,
.fc-hd .fc-nav__link:focus {
    color: var(--fc-on-dark);
    -webkit-text-fill-color: var(--fc-on-dark);
    background: rgba(255, 255, 255, .07);
}
.fc-hd .fc-nav__link.active {
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    background: none;
}
.fc-hd .fc-nav__link.active:hover {
    background: rgba(255, 255, 255, .07);
}
.fc-hd .fc-nav__link.active::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 2px;
    height: 2px;
    border-radius: 1px;
    background: var(--fc-accent);
}

.fc-hd .fc-lang__menu {
    background: var(--fc-ink-2);
    border: 1px solid var(--fc-line-dark);
    border-radius: var(--fc-r-md);
    padding: 8px;
    min-width: 190px;
    box-shadow: 0 26px 44px -26px rgba(0, 0, 0, .8);
}
.fc-hd .fc-lang__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fc-hd .fc-lang__menu .languageSelection {
    border-radius: var(--fc-r-xs);
    padding: 8px 6px !important;
    cursor: pointer;
    transition: background-color .18s linear;
}
.fc-hd .fc-lang__menu .languageSelection:hover,
.fc-hd .fc-lang__menu .languageSelection.active {
    background: rgba(255, 255, 255, .08);
}
.fc-hd .fc-lang__menu .languageSelection a {
    display: flex;
    align-items: center;
    width: 100%;
}
.fc-hd .fc-lang__menu .language-color {
    font-family: var(--fc-sans);
    font-size: 14px;
    color: var(--fc-on-dark) !important;
    -webkit-text-fill-color: var(--fc-on-dark) !important;
    background: none !important;
}
.fc-hd .fc-lang__menu .languageSelection.active .language-color,
.fc-hd .fc-lang__menu .languageSelection:hover .language-color {
    color: var(--fc-accent) !important;
    -webkit-text-fill-color: var(--fc-accent) !important;
}
.fc-hd .fc-lang__menu .languageSelection.language-padding,
.fc-hd .fc-lang__menu .languageSelection.language-padding:hover {
    background: transparent;
    -webkit-text-fill-color: currentColor;
}
.fc-hd .fc-lang__menu .languageSelection.language-padding:hover,
.fc-hd .fc-lang__menu .languageSelection.language-padding.active {
    background: rgba(255, 255, 255, .08);
}

.fc-hd__act {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    margin-left: 6px;
}

/* ═══ Portada ════════════════════════════════════════════════════════════ */
.fc-home {
    font-family: var(--fc-sans);
}
.fc-home img {
    max-width: 100%;
    display: block;
}
.fc-home figure {
    margin: 0;
}
.fc-home ul,
.fc-home ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.fc-hero {
    position: relative;
    background: var(--fc-ink);
    color: var(--fc-on-dark);
    overflow: hidden;
    padding-block: clamp(44px, 6vw, 78px) var(--fc-hero-drop);
}
.fc-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(760px 520px at 84% 4%, var(--fc-glow-a), transparent 68%),
                radial-gradient(620px 480px at 2% 94%, var(--fc-glow-b), transparent 70%);
}
.fc-hero__in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: clamp(34px, 4.4vw, 62px);
    align-items: center;
}
.fc-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.fc-hero__h1 {
    font-family: var(--fc-display) !important;
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.036em;
    color: #FFFFFF;
    text-wrap: balance;
    overflow-wrap: break-word;
    margin: 0;
}
/* Un CMS sin tope puede traer un párrafo entero como "titular". */
.fc-hero__h1--long {
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.18;
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
}
/* Titulares largos del CMS: el texto no se recorta, se le baja la escala. */
.fc-hero__h1.is-long {
    font-size: clamp(28px, 3.3vw, 41px);
    line-height: 1.06;
    letter-spacing: -.028em;
}
.fc-hero__h1 span {
    display: block;
    font-size: clamp(18px, 2.1vw, 26px);
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: -.017em;
    color: var(--fc-on-dark);
    margin-top: 18px;
    max-width: 24ch;
}
.fc-hero__lead {
    font-size: clamp(15.5px, 1.3vw, 17px);
    line-height: 1.66;
    color: var(--fc-on-dark-soft);
    max-width: 48ch;
    margin: 0;
}
.fc-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}
.fc-home .fc-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 34px;
    margin-top: 14px;
    padding-top: 24px;
    border-top: 1px solid var(--fc-line-dark);
    width: 100%;
}
.fc-hero__trust b {
    display: block;
    font-family: var(--fc-display);
    font-weight: 800;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--fc-accent);
    font-variant-numeric: tabular-nums;
}
.fc-hero__trust span {
    display: block;
    font-family: var(--fc-mono);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--fc-on-dark-soft);
    margin-top: 7px;
}

.fc-hero__side {
    position: relative;
    width: 100%;
    max-width: 470px;
    justify-self: end;
}
.fc-hero__pic {
    border-radius: var(--fc-r-xl);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--fc-ink-2);
    box-shadow: 0 34px 64px -36px rgba(0, 0, 0, .8);
}
.fc-hero__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Widget de reserva ─────────────────────────────────────────────────── */
.fc-book {
    position: relative;
    z-index: 2;
    width: calc(100% - 26px);
    margin: -54px auto 0;
    background: var(--fc-white);
    border-radius: var(--fc-r-xl);
    padding: clamp(20px, 2.2vw, 26px);
    box-shadow: 0 42px 80px -34px rgba(0, 0, 0, .7),
                0 0 0 1px rgba(255, 255, 255, .08),
                0 0 58px -12px var(--fc-halo);
}
.fc-book__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fc-book__title {
    font-family: var(--fc-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -.024em;
    color: var(--fc-text);
    line-height: 1.2;
}
.fc-book__badge {
    font-family: var(--fc-mono);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fc-accent-deep);
    background: var(--fc-mist-alt);
    border: 1px solid var(--fc-line);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.fc-home .fc-stepper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 18px;
}
.fc-stepper__i {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}
.fc-stepper__bar {
    height: 4px;
    border-radius: 2px;
    background: var(--fc-line);
}
.fc-stepper__i.is-now .fc-stepper__bar {
    background: var(--fc-accent-strong);
}
.fc-stepper__l {
    font-family: var(--fc-mono);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--fc-label);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fc-stepper__i.is-now .fc-stepper__l {
    color: var(--fc-accent-deep);
}

.fc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.fc-chip {
    display: inline-flex;
    align-items: center;
    font-family: var(--fc-display);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: -.01em;
    color: var(--fc-text);
    background: var(--fc-paper);
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-r-sm);
    padding: 8px 13px;
    text-decoration: none;
    transition: transform .22s var(--fc-ease), border-color .18s linear, color .18s linear;
}
.fc-chip:hover,
.fc-chip:focus {
    border-color: var(--fc-struct);
    color: var(--fc-struct);
    transform: translateY(-2px);
}

.fc-book__foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--fc-line);
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.fc-book__foot .fc-btn {
    width: 100%;
}
.fc-book__note {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--fc-text-soft);
    margin: 0;
}
.fc-book__note i,
.fc-book__note .fc-ic {
    color: var(--fc-struct);
    flex: none;
}

/* ── Franja de datos ───────────────────────────────────────────────────── */
.fc-facts {
    position: relative;
    z-index: 5;
    /* Sube la franja sobre el hero: mismo token que el padding inferior del hero. */
    margin-top: calc(var(--fc-hero-drop) * -1 + 32px);
}
.fc-facts__card {
    background: var(--fc-white);
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-r-lg);
    box-shadow: 0 30px 60px -40px rgba(6, 35, 28, .45);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    overflow: hidden;
}
.fc-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    border-left: 1px solid var(--fc-line);
}
.fc-fact:first-child {
    border-left: 0;
}
.fc-fact__ic {
    width: 42px;
    height: 42px;
    border-radius: var(--fc-r-sm);
    background: var(--fc-mist);
    color: var(--fc-struct);
    display: grid;
    place-items: center;
    flex: none;
    transition: background-color .25s linear, color .25s linear;
}
.fc-fact:hover .fc-fact__ic {
    background: var(--fc-ink);
    color: var(--fc-accent);
}
.fc-fact__l {
    display: block;
    font-family: var(--fc-mono);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--fc-label);
}
.fc-fact__v {
    display: block;
    font-family: var(--fc-display);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -.015em;
    color: var(--fc-text);
    line-height: 1.4;
    margin-top: 4px;
    text-wrap: pretty;
}
.fc-fact__v a {
    color: inherit;
    text-decoration: none;
    font-family: var(--fc-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.fc-fact__v a:hover {
    color: var(--fc-struct);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Acerca de ─────────────────────────────────────────────────────────── */
.fc-about {
    background: var(--fc-white);
    padding-block: clamp(54px, 7vw, 92px) var(--fc-sect);
}
.fc-about__in {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 4.6vw, 68px);
    align-items: center;
}
.fc-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.16fr .84fr;
    gap: 14px;
    aspect-ratio: 1 / 1.05;
}
.fc-mosaic--nometric {
    grid-template-rows: 1.1fr .9fr;
}
.fc-mosaic--nometric .fc-tile:last-child {
    grid-column: 1 / -1;
}
.fc-tile {
    position: relative;
    border-radius: var(--fc-r-lg);
    overflow: hidden;
    background: var(--fc-mist);
}
.fc-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--fc-ease);
}
.fc-tile:hover img {
    transform: scale(1.045);
}
.fc-tile--metric {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 22px;
    color: #FFFFFF;
    background-image: linear-gradient(155deg, var(--fc-metric-a), var(--fc-metric-b) 62%);
}
.fc-tile--metric b {
    font-family: var(--fc-display);
    font-weight: 800;
    font-size: clamp(40px, 5vw, 58px);
    line-height: .9;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
}
.fc-tile--metric span {
    font-size: 13.5px;
    line-height: 1.35;
    margin-top: 10px;
}

.fc-about__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.fc-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.fc-checks li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--fc-line);
    background: var(--fc-paper);
    border-radius: var(--fc-r-sm);
    padding: 10px 14px;
    font-family: var(--fc-display);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -.01em;
    color: var(--fc-text);
    transition: border-color .2s linear, transform .25s var(--fc-ease);
}
.fc-checks li:hover {
    border-color: var(--fc-struct);
    transform: translateY(-2px);
}
.fc-checks i,
.fc-checks .fc-ic {
    color: var(--fc-struct);
    font-size: 13px;
}

/* ── Cómo funciona ─────────────────────────────────────────────────────── */
.fc-proceso {
    background: var(--fc-mist);
    padding-block: var(--fc-sect);
}
.fc-home .fc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 42px;
}
.fc-step {
    position: relative;
    background: var(--fc-white);
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-r-lg);
    padding: 26px 24px 28px;
    transition: transform .32s var(--fc-ease), box-shadow .32s var(--fc-ease), border-color .2s linear;
}
.fc-step:hover {
    transform: translateY(-5px);
    border-color: var(--fc-line-strong);
    box-shadow: 0 26px 46px -30px rgba(6, 35, 28, .4);
}
.fc-step__n {
    width: 52px;
    height: 52px;
    border-radius: var(--fc-r-md);
    background: var(--fc-ink);
    color: var(--fc-accent);
    display: grid;
    place-items: center;
    font-family: var(--fc-display);
    font-weight: 700;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    transition: background-color .3s linear, color .3s linear;
}
.fc-step:hover .fc-step__n {
    background: var(--fc-accent);
    color: var(--fc-ink);
}
.fc-step h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.022em;
    margin-top: 20px;
    color: var(--fc-text);
}
.fc-step p {
    margin: 9px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--fc-text-soft);
}

/* ── Cuadro médico ─────────────────────────────────────────────────────── */
.fc-cuadro {
    background: var(--fc-white);
    padding-block: var(--fc-sect);
}
.fc-home .fc-medicos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}
.fc-medico {
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-r-lg);
    background: var(--fc-white);
    overflow: hidden;
    transition: transform .32s var(--fc-ease), box-shadow .32s var(--fc-ease), border-color .2s linear;
}
.fc-medico:hover {
    transform: translateY(-6px);
    border-color: var(--fc-line-strong);
    box-shadow: 0 30px 52px -34px rgba(6, 35, 28, .42);
}
.fc-medico > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 22px 26px;
    text-decoration: none;
    color: inherit;
}
.fc-medico__pic {
    width: 88px;
    height: 88px;
    border-radius: var(--fc-r-md);
    overflow: hidden;
    background: var(--fc-mist);
    border: 1px solid var(--fc-line);
}
.fc-medico__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fc-medico h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.022em;
    margin-top: 18px;
    color: var(--fc-text);
}
.fc-medico p {
    margin: 7px 0 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fc-text-soft);
}
/* La llamada se ancla abajo para que las tarjetas de una misma fila la
   alineen aunque el nombre o la especialidad ocupen dos líneas. */
.fc-medico__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    font-family: var(--fc-mono);
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--fc-struct);
    transition: color .2s linear, gap .3s var(--fc-ease);
}
.fc-medico__cta .fc-ic {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
.fc-medico:hover .fc-medico__cta {
    color: var(--fc-accent-deep);
    gap: 12px;
}

/* ── Agendar cita ──────────────────────────────────────────────────────── */
.fc-reserva {
    position: relative;
    background: var(--fc-ink);
    color: var(--fc-on-dark);
    overflow: hidden;
    padding-block: var(--fc-sect);
}
.fc-reserva .fc-grid-bg {
    -webkit-mask-image: radial-gradient(100% 100% at 78% 50%, #000 0%, transparent 72%);
    mask-image: radial-gradient(100% 100% at 78% 50%, #000 0%, transparent 72%);
}
.fc-reserva__in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: clamp(34px, 5vw, 68px);
    align-items: center;
}
.fc-reserva__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.fc-home .fc-miniflow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 2px;
}
.fc-mini {
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--fc-line-dark);
    border-radius: var(--fc-r-md);
    padding: 18px 16px;
    transition: transform .3s var(--fc-ease), background-color .25s linear, border-color .25s linear;
}
.fc-mini:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .08);
    border-color: var(--fc-accent);
}
.fc-mini i,
.fc-mini .fc-ic {
    color: var(--fc-accent);
    font-size: 20px;
}
.fc-mini b {
    display: block;
    font-family: var(--fc-display);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -.012em;
    color: var(--fc-on-dark);
    margin-top: 14px;
    line-height: 1.25;
}
.fc-reserva__pic {
    position: relative;
    border-radius: var(--fc-r-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--fc-ink-2);
    border: 1px solid var(--fc-line-dark);
    box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9);
}
.fc-reserva__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Motivo modular. En la piel de IOmed las cuatro esquinas se retiran y las
   cinco piezas restantes componen su isotipo, la Cruz Modular; en la piel de
   Dayenú la retícula queda completa y neutra: la marca de IOmed no aparece. */
.fc-modular {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: clamp(9px, 1.1vw, 15px);
    width: min(100%, 400px);
    aspect-ratio: 1;
    justify-self: center;
}
.fc-modular span {
    border-radius: var(--fc-r-lg);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--fc-line-dark);
    transition: transform .4s var(--fc-ease), background-color .3s linear;
}
.fc-modular span:nth-child(3),
.fc-modular span:nth-child(7) {
    background: rgba(255, 255, 255, .11);
}
.fc-modular span:nth-child(5) {
    background: var(--fc-accent);
    border-color: var(--fc-accent);
}
.fc-modular span:nth-child(2),
.fc-modular span:nth-child(8) {
    background: var(--fc-struct-deep);
    border-color: var(--fc-struct-deep);
}
.fc-modular:hover span:nth-child(5) {
    transform: scale(1.06);
}
.front-skin-iomed .fc-modular span:nth-child(1),
.front-skin-iomed .fc-modular span:nth-child(3),
.front-skin-iomed .fc-modular span:nth-child(7),
.front-skin-iomed .fc-modular span:nth-child(9) {
    display: none;
}
.front-skin-iomed .fc-modular span:nth-child(2),
.front-skin-iomed .fc-modular span:nth-child(8) {
    background: rgba(255, 255, 255, .06);
    border-color: var(--fc-line-dark);
}
.front-skin-iomed .fc-modular span:nth-child(2) { grid-area: 1 / 2; }
.front-skin-iomed .fc-modular span:nth-child(4) { grid-area: 2 / 1; }
.front-skin-iomed .fc-modular span:nth-child(5) { grid-area: 2 / 2; }
.front-skin-iomed .fc-modular span:nth-child(6) { grid-area: 2 / 3; }
.front-skin-iomed .fc-modular span:nth-child(8) { grid-area: 3 / 2; }

/* ── Servicios ─────────────────────────────────────────────────────────── */
.fc-serv {
    background: var(--fc-white);
    padding-block: var(--fc-sect);
}
.fc-serv__head {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 32px;
    align-items: end;
}
.fc-serv__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.fc-seal {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--fc-line);
    background: var(--fc-mist);
    border-radius: 999px;
    padding: 9px 16px 9px 11px;
    font-size: 13.5px;
    color: var(--fc-text-soft);
}
.fc-seal b {
    font-family: var(--fc-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--fc-text);
}
.fc-seal__d {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    flex: none;
    background:
        linear-gradient(var(--fc-accent), var(--fc-accent)) 4px 4px / 6px 6px no-repeat,
        linear-gradient(var(--fc-struct), var(--fc-struct)) 14px 4px / 6px 6px no-repeat,
        linear-gradient(var(--fc-struct), var(--fc-struct)) 4px 14px / 6px 6px no-repeat,
        linear-gradient(var(--fc-accent), var(--fc-accent)) 14px 14px / 6px 6px no-repeat,
        var(--fc-ink);
}

.fc-home .fc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 42px;
}
.fc-card {
    position: relative;
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-r-lg);
    background: var(--fc-white);
    overflow: hidden;
    transition: transform .32s var(--fc-ease), box-shadow .32s var(--fc-ease), border-color .2s linear;
}
.fc-card::before {
    content: "";
    position: absolute;
    inset: auto -30% -46% auto;
    width: 180px;
    height: 180px;
    border-radius: 52px;
    background: var(--fc-mist);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .4s linear, transform .5s var(--fc-ease);
}
.fc-card:hover {
    transform: translateY(-6px);
    border-color: var(--fc-line-strong);
    box-shadow: 0 30px 52px -34px rgba(6, 35, 28, .42);
}
.fc-card:hover::before {
    opacity: 1;
    transform: scale(1);
}
.fc-card > a {
    position: relative;
    display: block;
    padding: 26px 24px 28px;
    text-decoration: none;
    color: inherit;
}
.fc-card__ic {
    width: 50px;
    height: 50px;
    border-radius: var(--fc-r-md);
    background: var(--fc-mist);
    color: var(--fc-struct);
    display: grid;
    place-items: center;
    font-size: 20px;
    transition: background-color .3s linear, color .3s linear;
}
.fc-card:hover .fc-card__ic {
    background: var(--fc-ink);
    color: var(--fc-accent);
}
.fc-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.022em;
    margin-top: 18px;
    color: var(--fc-text);
}
.fc-card p {
    margin: 8px 0 0;
    font-family: var(--fc-mono);
    font-size: 12.5px;
    letter-spacing: .02em;
    color: var(--fc-text-soft);
}

/* ── Testimonios (parcial compartido: solo se reviste) ─────────────────── */
.fc-body .testimonial-section {
    background: var(--fc-mist) !important;
    padding-block: var(--fc-sect) !important;
}
.fc-home .testimonial-section .text-center {
    text-align: left !important;
}
.fc-home .testimonial-section .testimonial-block {
    max-width: none;
    margin: 40px 0 56px;
}
.fc-body .testimonial-section h5.top-heading {
    font-family: var(--fc-display);
    font-weight: 600;
    font-size: 11.5px !important;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--fc-accent-deep) !important;
    -webkit-text-fill-color: var(--fc-accent-deep) !important;
    background: none !important;
}
.fc-body .testimonial-section h2 {
    font-family: var(--fc-display);
    font-size: clamp(29px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.028em;
    color: var(--fc-text);
}
.fc-body .quotation-mark {
    display: none;
}
.fc-body .testimonial-section__testimonial-card {
    background: var(--fc-white);
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-r-xl) !important;
    padding: clamp(26px, 3.2vw, 42px);
    margin-inline: 4px;
}
.fc-body .testimonial-section__testimonial-card .paragraph {
    font-family: var(--fc-display);
    font-weight: 500;
    font-size: clamp(19px, 2.2vw, 27px) !important;
    line-height: 1.32;
    letter-spacing: -.024em;
    color: var(--fc-text) !important;
    text-wrap: pretty;
}
.fc-body .testimonial-section .image-mini img {
    width: 48px;
    height: 48px;
    border-radius: var(--fc-r-sm);
    object-fit: cover;
}
.fc-body .testimonial-section .profile-name {
    font-family: var(--fc-display);
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: -.015em;
    color: var(--fc-text);
}
.fc-body .testimonial-section .profile-info {
    color: var(--fc-text-soft);
    font-size: 13.5px !important;
}

/* Flechas y puntos del carrusel (los proveía la hoja de aterrizaje retirada) */
.fc-body .slick-prev,
.fc-body .slick-next {
    width: 42px;
    height: 42px;
    border-radius: var(--fc-r-sm);
    background: var(--fc-ink);
    z-index: 2;
    transition: background-color .2s linear, transform .25s var(--fc-ease);
}
.fc-body .slick-prev:hover,
.fc-body .slick-next:hover {
    background: var(--fc-ink-2);
    transform: translateY(-50%) scale(1.05);
}
.fc-body .slick-prev::before,
.fc-body .slick-next::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 15px;
    color: var(--fc-accent);
    opacity: 1;
}
.fc-body .slick-prev::before { content: "\f053"; }
.fc-body .slick-next::before { content: "\f054"; }
.fc-body .slick-prev { left: -8px; }
.fc-body .slick-next { right: -8px; }
.fc-body .slick-dots li button::before {
    font-size: 9px;
    color: var(--fc-struct);
    opacity: .32;
}
.fc-body .slick-dots li.slick-active button::before {
    color: var(--fc-accent-deep);
    opacity: 1;
}

/* ═══ Pie ════════════════════════════════════════════════════════════════ */
.fc-ft {
    background: var(--fc-ink-deep);
    color: var(--fc-on-dark-soft);
    padding-block: clamp(48px, 6vw, 76px) 0;
    font-family: var(--fc-sans);
}
.fc-ft__grid {
    display: grid;
    grid-template-columns: 1fr 1.02fr .78fr 1.4fr;
    gap: clamp(24px, 2.8vw, 40px);
}
.fc-ft__name {
    display: block;
    font-family: var(--fc-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -.022em;
    color: #FFFFFF;
}
.fc-ft__tagline {
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 34ch;
    margin: 14px 0 0;
}
.fc-ft__title {
    font-family: var(--fc-display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
}
.fc-ft__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
}
.fc-ft__item {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    line-height: 1.5;
}
.fc-ft__item i {
    flex: none;
    color: var(--fc-accent);
    margin-top: 4px;
    width: 17px;
    text-align: center;
}
.fc-ft__item .fc-ic {
    color: var(--fc-accent);
    margin-top: 2px;
    width: 18px;
    height: 18px;
}
/* dayenu-custom.css impone footer a{color:…!important}: aquí se contrarresta. */
.fc-ft a {
    color: var(--fc-on-dark-soft) !important;
    text-decoration: none;
    transition: color .18s linear;
}
.fc-ft a:hover,
.fc-ft a:focus {
    color: var(--fc-accent) !important;
}
.fc-ft__list--links a.is-current {
    color: #FFFFFF !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.fc-ft__mono {
    font-family: var(--fc-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--fc-on-dark) !important;
}
.fc-ft__bar {
    margin: clamp(38px, 5vw, 60px) 0 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding-block: 24px;
    text-align: center;
    font-size: 13px;
}

.fc-ft__subscribe {
    margin-top: 20px;
}
.fc-sub__row {
    display: flex;
    gap: 8px;
}
.fc-sub__input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--fc-line-dark);
    border-radius: var(--fc-r-sm);
    padding: 13px 14px;
    color: var(--fc-on-dark);
    font-family: var(--fc-sans);
    font-size: 14px;
}
.fc-sub__input::placeholder {
    color: var(--fc-on-dark-mute);
}
.fc-sub__input:focus {
    outline: 2px solid var(--fc-accent);
    outline-offset: 1px;
    border-color: transparent;
}
.fc-sub__btn {
    width: 50px;
    flex: none;
    border: 0;
    border-radius: var(--fc-r-sm);
    background: var(--fc-accent);
    color: var(--fc-ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color .2s linear, transform .25s var(--fc-ease);
}
.fc-sub__btn:hover {
    background: var(--fc-accent-hi);
    transform: translateY(-2px);
}
.fc-ft .subscribeForm-message:not(:empty) {
    margin-bottom: 10px;
}
.fc-ft .subscribeForm-message .alert {
    border-radius: var(--fc-r-sm);
    font-size: 13.5px;
    padding: 9px 12px;
    margin: 0;
}
/* La paleta de .alert es de fondo claro; sobre el pie oscuro se recolorea a AA. */
.fc-ft .subscribeForm-message .alert-danger {
    color: #FECACA !important;
    background: rgba(220, 38, 38, .18) !important;
    border-color: rgba(254, 202, 202, .4) !important;
}
.fc-ft .subscribeForm-message .alert-success {
    color: #BBF7D0 !important;
    background: rgba(22, 163, 74, .18) !important;
    border-color: rgba(187, 247, 208, .4) !important;
}

/* ═══ Flotantes y avisos ═════════════════════════════════════════════════ */
.fc-body .wa-float-btn {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: var(--fc-struct-deep);
    box-shadow: 0 16px 34px -12px rgba(6, 35, 28, .6);
    transition: transform .3s var(--fc-ease), background-color .2s linear;
}
.fc-body .wa-float-btn:hover {
    background: var(--fc-ink);
    transform: translateY(-3px) scale(1.04);
}
.fc-body .wa-float-btn i {
    font-size: 27px;
    color: #FFFFFF;
}

.fc-body .dayenu-flash .alert {
    font-family: var(--fc-sans);
    border-radius: var(--fc-r-md) !important;
    font-size: 15px;
}

/* ═══ Páginas interiores ═════════════════════════════════════════════════
   Mismo lenguaje visual sin tocar sus plantillas. La hoja heredada declara
   `font-family:'Poppins'!important` sobre `.about-page *` y equivalentes: se
   recupera con un selector más específico y la misma marca de importancia.  */
.fc-body .about-page,
.fc-body .contact-page,
.fc-body .our-team-page,
.fc-body .our-faqs-page,
.fc-body .about-page *,
.fc-body .contact-page *,
.fc-body .our-team-page *,
.fc-body .our-faqs-page * {
    font-family: var(--fc-sans) !important;
}
.fc-body .about-page h1, .fc-body .about-page h2, .fc-body .about-page h3, .fc-body .about-page h4, .fc-body .about-page h5,
.fc-body .contact-page h1, .fc-body .contact-page h2, .fc-body .contact-page h3, .fc-body .contact-page h4, .fc-body .contact-page h5,
.fc-body .our-team-page h1, .fc-body .our-team-page h2, .fc-body .our-team-page h3, .fc-body .our-team-page h4, .fc-body .our-team-page h5,
.fc-body .our-faqs-page h1, .fc-body .our-faqs-page h2, .fc-body .our-faqs-page h3, .fc-body .our-faqs-page h4, .fc-body .our-faqs-page h5,
.fc-body .dayenu-services-marketplace h1, .fc-body .dayenu-services-marketplace h2, .fc-body .dayenu-services-marketplace h3,
.fc-body .smart-booking-section h1, .fc-body .smart-booking-section h2, .fc-body .smart-booking-section h3,
.fc-body .content-wrap h1, .fc-body .content-wrap h2, .fc-body .content-wrap h3,
.fc-body .error-404 h3 {
    font-family: var(--fc-display) !important;
    letter-spacing: -.024em !important;
    color: var(--fc-text) !important;
    -webkit-text-fill-color: var(--fc-text) !important;
}

/* Cabecera de página interior: banda de tinta con miga de pan */
.fc-body .hero-content-section {
    background: var(--fc-ink) !important;
    padding-block: clamp(46px, 6vw, 74px) clamp(46px, 6vw, 74px) !important;
    position: relative;
    overflow: hidden;
}
.fc-body .hero-content-section > .container {
    position: relative;
    padding-top: 0 !important;
}
.fc-body .hero-content-section h1 {
    font-family: var(--fc-display) !important;
    font-size: clamp(32px, 4.6vw, 54px) !important;
    font-weight: 800 !important;
    line-height: 1.02 !important;
    letter-spacing: -.034em !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}
.fc-body .hero-content-section .breadcrumb {
    background: transparent;
    margin-top: 14px;
    font-family: var(--fc-mono);
    font-size: 11.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.fc-body .hero-content-section .breadcrumb .breadcrumb-item,
.fc-body .hero-content-section .breadcrumb .breadcrumb-item a,
.fc-body .hero-content-section .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--fc-on-dark-soft) !important;
    -webkit-text-fill-color: var(--fc-on-dark-soft) !important;
    background: none !important;
    text-decoration: none;
}
.fc-body .hero-content-section .breadcrumb .breadcrumb-item.active {
    color: var(--fc-accent) !important;
    -webkit-text-fill-color: var(--fc-accent) !important;
}
.fc-body .hero-content-section .breadcrumb .breadcrumb-item a:hover {
    color: var(--fc-accent) !important;
    -webkit-text-fill-color: var(--fc-accent) !important;
}

/* Espaciado: sin encabezado fijo, los 100 px de reserva ya no hacen falta */
.fc-body .p-t-100 { padding-top: clamp(48px, 6vw, 78px) !important; }
.fc-body .p-b-100 { padding-bottom: clamp(48px, 6vw, 78px) !important; }
.fc-body .p-t-30 { padding-top: 0 !important; }
.fc-body .mt-100 { margin-top: clamp(36px, 5vw, 64px) !important; }

/* Superficies y botones heredados */
.fc-body .bg-secondary:not(.badge):not(.btn) {
    background-color: var(--fc-mist) !important;
}
.fc-body .btn-primary {
    font-family: var(--fc-display) !important;
    font-weight: 600 !important;
    border-radius: var(--fc-r-sm) !important;
    border-color: var(--fc-ink) !important;
    background: var(--fc-ink) !important;
    color: var(--fc-on-dark) !important;
    box-shadow: none !important;
}
.fc-body .btn-primary:hover,
.fc-body .btn-primary:focus {
    background: var(--fc-ink-2) !important;
    border-color: var(--fc-ink-2) !important;
    color: #FFFFFF !important;
}
.fc-body .btn-outline-primary {
    font-family: var(--fc-display) !important;
    font-weight: 600 !important;
    border-radius: var(--fc-r-sm) !important;
    border-color: var(--fc-line) !important;
    color: var(--fc-struct) !important;
    background: var(--fc-white) !important;
}
.fc-body .btn-outline-primary:hover,
.fc-body .btn-outline-primary:focus {
    border-color: var(--fc-struct) !important;
    background: var(--fc-mist) !important;
    color: var(--fc-struct) !important;
}
.fc-body .about-page .top-heading,
.fc-body .contact-page .top-heading,
.fc-body .our-team-page .top-heading,
.fc-body .our-faqs-page .top-heading,
.fc-body .dayenu-services-eyebrow,
.fc-body .dayenu-services-heading > div > span {
    font-family: var(--fc-display) !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    letter-spacing: .19em !important;
    text-transform: uppercase;
    color: var(--fc-accent-deep) !important;
    -webkit-text-fill-color: var(--fc-accent-deep) !important;
}
.fc-body .about-page .card,
.fc-body .contact-page .card,
.fc-body .our-team-page .card,
.fc-body .our-faqs-page .card {
    border: 1px solid var(--fc-line) !important;
    border-radius: var(--fc-r-lg) !important;
    box-shadow: none !important;
}
.fc-body .rounded-20 {
    border-radius: var(--fc-r-lg) !important;
}
.fc-body .about-page .number-big,
.fc-body .about-page .card-number {
    font-family: var(--fc-display) !important;
    font-weight: 800 !important;
    letter-spacing: -.04em !important;
    color: var(--fc-struct) !important;
    -webkit-text-fill-color: var(--fc-struct) !important;
}
.fc-body .paragraph {
    color: var(--fc-text-soft) !important;
}
.fc-body .text-primary:not(.btn) {
    color: var(--fc-struct) !important;
    -webkit-text-fill-color: var(--fc-struct) !important;
}
.fc-body .bg-primary:not(.badge):not(.btn) {
    background-color: var(--fc-ink) !important;
    background-image: none !important;
}
.fc-body .contact-page .contact-icon-box,
.fc-body .about-page .about-appointment-btn {
    border-radius: var(--fc-r-md) !important;
}
.fc-body .our-faqs-page .accordion-item {
    border: 1px solid var(--fc-line) !important;
    border-radius: var(--fc-r-md) !important;
    overflow: hidden;
    margin-bottom: 12px;
}
.fc-body .our-faqs-page .accordion-button {
    font-family: var(--fc-display) !important;
    font-weight: 600 !important;
    color: var(--fc-text) !important;
}
.fc-body .our-faqs-page .accordion-button:not(.collapsed) {
    background: var(--fc-mist) !important;
    color: var(--fc-struct) !important;
    box-shadow: none !important;
}

/* Texto sobre superficies de tinta heredadas (`bg-primary`) */
.fc-body .about-page .bg-primary:not(.badge):not(.btn),
.fc-body .about-page .bg-primary:not(.badge):not(.btn) *,
.fc-body .contact-page .bg-primary:not(.badge):not(.btn),
.fc-body .contact-page .bg-primary:not(.badge):not(.btn) *,
.fc-body .our-team-page .bg-primary:not(.badge):not(.btn),
.fc-body .our-team-page .bg-primary:not(.badge):not(.btn) *,
.fc-body .our-faqs-page .bg-primary:not(.badge):not(.btn),
.fc-body .our-faqs-page .bg-primary:not(.badge):not(.btn) * {
    color: var(--fc-on-dark) !important;
    -webkit-text-fill-color: var(--fc-on-dark) !important;
}
.fc-body .contact-page .contect-information .footer-info__footer-icon,
.fc-body .contact-page .contect-information i {
    color: var(--fc-accent) !important;
    -webkit-text-fill-color: var(--fc-accent) !important;
}

/* Lista de ventajas de «Acerca de»: mismas fichas que la portada */
.fc-body .about-page .about-section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.fc-body .about-page .about-section ul li {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--fc-line);
    background: var(--fc-paper);
    border-radius: var(--fc-r-sm);
    padding: 10px 14px !important;
    font-family: var(--fc-display) !important;
    font-weight: 500;
    font-size: 14px;
    color: var(--fc-text);
    margin: 0;
}
.fc-body .about-page .about-section ul li::before {
    content: "" !important;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--fc-struct);
    margin-right: 9px;
    display: inline-block !important;
}

/* Catálogo de servicios */
.fc-body .dayenu-services-hero {
    background: var(--fc-ink) !important;
    padding-block: clamp(46px, 6vw, 78px) clamp(48px, 6vw, 82px) !important;
}
.fc-body .dayenu-services-hero h1 {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}
.fc-body .dayenu-services-hero > .container > .row > div > p,
.fc-body .dayenu-services-hero .dayenu-services-actions + p {
    color: var(--fc-on-dark-soft) !important;
    -webkit-text-fill-color: var(--fc-on-dark-soft) !important;
}
/* La hoja heredada deja .btn-primary sin fondo sobre este héroe oscuro:
   aquí los botones se pintan con los testigos de la piel. */
.fc-body .dayenu-services-hero .btn-primary {
    background: var(--fc-accent) !important;
    border-color: var(--fc-accent) !important;
    color: var(--fc-ink) !important;
    -webkit-text-fill-color: var(--fc-ink) !important;
}
.fc-body .dayenu-services-hero .btn-primary:hover,
.fc-body .dayenu-services-hero .btn-primary:focus {
    background: var(--fc-accent-strong) !important;
    border-color: var(--fc-accent-strong) !important;
    color: var(--fc-ink) !important;
    -webkit-text-fill-color: var(--fc-ink) !important;
}
.fc-body .dayenu-services-hero .btn-outline-primary {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .45) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}
.fc-body .dayenu-services-hero .btn-outline-primary:hover,
.fc-body .dayenu-services-hero .btn-outline-primary:focus {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: var(--fc-ink) !important;
    -webkit-text-fill-color: var(--fc-ink) !important;
}
.fc-body .dayenu-category-filter {
    flex-wrap: wrap;
    overflow-x: visible;
}
.fc-body .dayenu-category-pill {
    font-family: var(--fc-display) !important;
    font-weight: 500;
    border-radius: 999px !important;
    border: 1px solid var(--fc-line) !important;
    background: var(--fc-white) !important;
    color: var(--fc-text) !important;
}
.fc-body .dayenu-category-pill.active {
    background: var(--fc-ink) !important;
    border-color: var(--fc-ink) !important;
    color: var(--fc-accent) !important;
}
.fc-body .dayenu-service-card {
    border: 1px solid var(--fc-line) !important;
    border-radius: var(--fc-r-lg) !important;
    box-shadow: none !important;
}
.fc-body .dayenu-service-price {
    font-family: var(--fc-mono) !important;
    font-variant-numeric: tabular-nums;
    color: var(--fc-text) !important;
}
.fc-body .dayenu-service-card__category,
.fc-body .dayenu-service-card__type {
    font-family: var(--fc-mono) !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 10px !important;
}

/* Asistente de reserva: solo color y tipografía, nunca su retícula */
.fc-body .smart-booking-section .sb-step-label,
.fc-body .smart-booking-section .sb-panel-title {
    font-family: var(--fc-display) !important;
}
.fc-body .smart-booking-section .sb-doctor-card,
.fc-body .smart-booking-section .sb-calendar-container {
    border-radius: var(--fc-r-md) !important;
}

/* Registro de paciente y textos legales */
.fc-body .dashboard-card {
    border: 1px solid var(--fc-line);
    border-radius: var(--fc-r-lg);
    background: var(--fc-white);
    box-shadow: 0 30px 60px -44px rgba(6, 35, 28, .4);
}
.fc-body .dashboard-card h1,
.fc-body .dashboard-card h2,
.fc-body .dashboard-card h3 {
    font-family: var(--fc-display) !important;
    font-weight: 700 !important;
    letter-spacing: -.026em !important;
    color: var(--fc-text) !important;
    -webkit-text-fill-color: var(--fc-text) !important;
}
.fc-body .dashboard-card a,
.fc-body .content-wrap a {
    color: var(--fc-struct) !important;
    -webkit-text-fill-color: var(--fc-struct) !important;
    text-underline-offset: 3px;
}
.fc-body .dashboard-card a:hover,
.fc-body .content-wrap a:hover {
    color: var(--fc-accent-deep) !important;
    -webkit-text-fill-color: var(--fc-accent-deep) !important;
}
.fc-body .content-wrap,
.fc-body .error-404 {
    color: var(--fc-text);
}
.fc-body .content-wrap p,
.fc-body .content-wrap li {
    color: var(--fc-text-soft);
}
.fc-body .form-label {
    font-family: var(--fc-display) !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    color: var(--fc-text) !important;
}
.fc-body .error-404 {
    text-align: center;
}
.fc-body .error-404 img {
    max-width: 320px;
    margin: 0 auto 28px;
}
.fc-body .error-404 .error-text {
    font-family: var(--fc-display) !important;
    font-size: clamp(24px, 3.4vw, 34px) !important;
    font-weight: 700 !important;
}

/* ═══ Adaptación ═════════════════════════════════════════════════════════ */
@media (max-width: 1199.98px) {
    .fc-home .fc-medicos { grid-template-columns: repeat(3, 1fr); }
    header.fc-hd .navbar .fc-hd__panel {
        position: absolute;
        max-width: none;
        width: 100%;
        border-radius: 0;
        margin: 0;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--fc-ink);
        border-bottom: 1px solid var(--fc-line-dark);
        padding: 12px var(--fc-pad) 22px;
        box-shadow: 0 26px 40px -26px rgba(0, 0, 0, .85);
    }
    .fc-hd__nav {
        position: static;
    }
    header.fc-hd .navbar .navbar-nav.fc-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .fc-hd .fc-nav__link {
        padding: 13px 4px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
        border-radius: 0;
    }
    .fc-hd .fc-nav__link.active::after {
        left: 4px;
        right: auto;
        width: 26px;
        bottom: 6px;
    }
    .fc-hd .fc-lang__menu {
        width: 100%;
    }
    .fc-hd__act {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 14px 0 0;
    }
    .fc-hd__act .fc-btn {
        width: 100%;
        padding-block: 13px;
    }
}

@media (max-width: 991.98px) {
    .fc-hero__in,
    .fc-about__in,
    .fc-reserva__in {
        grid-template-columns: minmax(0, 1fr);
    }
    .fc-hero__in { gap: 42px; }
    .fc-hero__side {
        justify-self: start;
        max-width: 520px;
    }
    .fc-mosaic { aspect-ratio: 1 / .74; }
    .fc-serv__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .fc-ft { padding-bottom: 86px; }
}

@media (max-width: 860px) {
    .fc-home .fc-steps { grid-template-columns: 1fr; }
    .fc-home .fc-cards { grid-template-columns: 1fr 1fr; }
    .fc-home .fc-medicos { grid-template-columns: 1fr 1fr; }
    .fc-ft__grid { grid-template-columns: 1fr 1fr; }
    .fc-home .fc-miniflow { grid-template-columns: 1fr; }
    .fc-mini { display: flex; align-items: center; gap: 14px; }
    .fc-mini b { margin-top: 0; }
    .fc-fact { border-left: 0; border-top: 1px solid var(--fc-line); }
}

@media (max-width: 600px) {
    .fc-body { font-size: 16px; }
    .fc-hd__in { min-height: 68px; }
    .fc-brand__name { font-size: 15px; }
    .fc-facts { margin-top: calc(var(--fc-hero-drop) * -1 + 24px); }
    .fc-home .fc-cards { grid-template-columns: 1fr; }
    .fc-home .fc-medicos { grid-template-columns: 1fr; }
    .fc-ft__grid { grid-template-columns: 1fr; }
    .fc-mosaic { aspect-ratio: 1 / 1.1; gap: 10px; }
    .fc-hero__cta .fc-btn { flex: 1 1 100%; }
    .fc-home .fc-hero__trust { gap: 14px 26px; }
    .fc-book { width: 100%; margin-top: -42px; }
    .fc-home .fc-stepper { grid-template-columns: repeat(5, 1fr); gap: 5px; }
    .fc-stepper__l { font-size: 9.5px; letter-spacing: 0; }
    .fc-ft { padding-bottom: 78px; }
    .fc-body .wa-float-btn { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    .fc-body *,
    .fc-body *::before,
    .fc-body *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .001ms !important;
        transition-delay: 0s !important;
    }
}
