/* =============================================================================
   BOY OR GIRL — HOME V2
   -----------------------------------------------------------------------------
   Depende de: bog-tokens.css (cargado en index.html).

   Por qué el prefijo bh- en todas las clases:
   el contenedor .bog-home evita que este CSS afecte al resto del sitio, pero
   NO protege a la home del CSS global. app-style.css y Bootstrap 4 definen
   .btn (mayúsculas, 0.70rem, sombra), .lead (peso 300), h1-h6 (color #333,
   line-height en px), p (margin), a:hover (#000), :focus (outline:0 !important)
   y body (letter-spacing .5px). Por eso: clases propias + reset de abajo.

   Diseño adaptable con container queries: el ancho real del contenido es la
   ventana menos el menú lateral (250 px), así que las media queries de
   ventana se equivocaban entre ~900 y ~1150 px.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   0. Integración con el layout del sitio (Dashtreme)
   --------------------------------------------------------------------------- */
.content-wrapper.bh-flush {
    padding-left: 0;
    padding-right: 0;
    /* La topbar fija mide 60 px: el hero empieza justo debajo */
    padding-top: var(--bog-topbar-h, 60px);
    /* La franja inferior reservada para el footer fijo toma el color del
       cierre, así no aparece una banda blanca suelta */
    background: linear-gradient(to top, var(--bog-ink) 0, var(--bog-ink) 140px, transparent 140px);
}

/* ---------------------------------------------------------------------------
   1. Contenedor, tokens locales y reset defensivo
   --------------------------------------------------------------------------- */
.bog-home {
    container-type: inline-size;
    container-name: bh;
    --stage: var(--bog-green);
    --stage-soft: var(--bog-green-soft);
    display: block;
    font-family: var(--bog-font-body);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: normal;
    color: var(--bog-ink);
    background: var(--bog-paper);
    -webkit-font-smoothing: antialiased;
    text-align: left;
}

.bog-home *,
.bog-home *::before,
.bog-home *::after {
    box-sizing: border-box;
}

/* (0,1,0): gana a h1..h6, p, ul, table, blockquote y figure globales */
.bog-home :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, table, caption, th, td, summary, dl, dd) {
    margin: 0;
    color: inherit;
    letter-spacing: inherit;
    font-size: inherit;
    line-height: inherit;
}

.bog-home :where(ul, ol) {
    padding: 0;
    list-style: none;
}

/* (0,1,1): gana a `a {color:#000}` de app-style; los componentes (0,2,0) le ganan */
.bog-home a {
    color: inherit;
    text-decoration: none;
}

/* Misma especificidad que `a:hover` de app-style; este archivo carga después */
.bog-home a:where(:hover, :focus) {
    color: inherit;
}

.bog-home ::selection {
    background: var(--bog-pink-soft);
    color: var(--bog-ink);
}

/* app-style.css elimina el foco con !important en :focus y en a: se restituye */
.bog-home :focus-visible {
    outline: 3px solid var(--bog-focus) !important;
    outline-offset: 3px;
    border-radius: 6px;
}

.bog-home [hidden] {
    display: none !important;
}

.bog-home .bh-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------------------------
   2. Base de secciones
   --------------------------------------------------------------------------- */
.bog-home .bh-wrap {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.bog-home .bh-sec {
    padding-block: 4.5rem;
    scroll-margin-top: calc(var(--bog-topbar-h, 60px) + 1rem);
}

.bog-home .bh-sec--tint {
    background: var(--bog-tint);
}

.bog-home .bh-h2 {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.2rem + 2cqi, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--bog-ink);
}

.bog-home .bh-lead {
    color: var(--bog-muted);
    font-size: 1.075rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 62ch;
    margin-top: 0.6rem;
}

/* ---------------------------------------------------------------------------
   3. Íconos (sprite inline, ver _icons.html)
   --------------------------------------------------------------------------- */
.bog-home .bh-ic {
    width: 1.5rem;
    height: 1.5rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bog-home .bh-ic--xl {
    width: 2.25rem;
    height: 2.25rem;
}

.bog-home .bh-ic--fill {
    fill: currentColor;
    stroke: none;
}

.bog-home .bh-ic--chev {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--stage);
}

.bog-home .bh-ic--ok {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--bog-green);
    stroke-width: 2.4;
    vertical-align: middle;
}

/* ---------------------------------------------------------------------------
   4. Botones (bh-btn, NO .btn: app-style le fuerza mayúsculas y 0.70rem)
   --------------------------------------------------------------------------- */
.bog-home .bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--bog-font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.bog-home .bh-btn .bh-ic {
    width: 1.2rem;
    height: 1.2rem;
}

.bog-home .bh-btn--primary,
.bog-home .bh-btn--primary:hover,
.bog-home .bh-btn--primary:focus {
    color: #fff;
}

.bog-home .bh-btn--primary {
    background: var(--bog-pink);
}

.bog-home .bh-btn--primary:hover {
    background: var(--bog-pink-d);
}

.bog-home .bh-btn--ghost,
.bog-home .bh-btn--ghost:focus {
    border-color: var(--bog-ink);
    color: var(--bog-ink);
    background: transparent;
}

.bog-home .bh-btn--ghost:hover {
    background: var(--bog-ink);
    color: #fff;
}

.bog-home .bh-btn--dark,
.bog-home .bh-btn--dark:hover,
.bog-home .bh-btn--dark:focus {
    color: #fff;
}

.bog-home .bh-btn--dark {
    background: var(--bog-ink);
}

.bog-home .bh-btn--dark:hover {
    background: #000;
}

.bog-home .bh-btn--light {
    background: #fff;
    color: var(--stage);
    min-height: 44px;
    padding: 0.6rem 1.2rem;
}

.bog-home .bh-btn--sm {
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    font-size: 0.95rem;
}

/* ---------------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------------- */
.bog-home .bh-hero {
    position: relative;
    overflow: hidden;
    background: var(--bog-tint);
    padding: 4rem 0 7.5rem;
}

.bog-home .bh-hero::after {
    content: "";
    position: absolute;
    right: -6rem;
    top: -4rem;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    border: 36px solid var(--bog-pink-soft);
    pointer-events: none;
}

.bog-home .bh-hero .bh-wrap {
    position: relative;
    z-index: 1;
}

.bog-home .bh-hero__title {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: clamp(2.35rem, 1.4rem + 4.2cqi, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: 18ch;
    color: var(--bog-ink);
}

.bog-home .bh-hero__desc {
    font-size: clamp(1.05rem, 1rem + 0.3cqi, 1.2rem);
    color: var(--bog-muted);
    max-width: 58ch;
    margin-top: 1.25rem;
}

.bog-home .bh-hero__try {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.3;
    margin-top: 1.5rem;
}

.bog-home .bh-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* ---------------------------------------------------------------------------
   6. Etapas (pestañas)
   --------------------------------------------------------------------------- */
.bog-home .bh-stages {
    position: relative;
    z-index: 2;
    margin-top: -5rem;
    scroll-margin-top: calc(var(--bog-topbar-h, 60px) + 1rem);
}

.bog-home .bh-stages__card {
    background: #fff;
    border: 1px solid var(--bog-line);
    border-radius: var(--bog-radius-lg);
    box-shadow: 0 20px 50px -30px rgba(27, 35, 64, 0.35);
    padding: clamp(1.25rem, 1rem + 2cqi, 2.75rem);
}

.bog-home .bh-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.75rem;
    --progress-n: 0;
}

.bog-home .bh-track::before,
.bog-home .bh-track::after {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 16.66%;
    height: 4px;
    border-radius: 4px;
}

.bog-home .bh-track::before {
    right: 16.66%;
    background: var(--bog-line);
}

.bog-home .bh-track::after {
    width: calc((100% - 33.33%) * var(--progress-n));
    background: linear-gradient(90deg, var(--bog-green), var(--bog-pink) 50%, var(--bog-blue));
    transition: width 0.45s ease;
}

.bog-home .bh-stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0 0.25rem 0.9rem;
    background: none;
    border: 0;
    border-radius: 18px;
    font: inherit;
    color: var(--bog-muted);
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.bog-home .bh-stage[data-stage="buscando"] { --c: var(--bog-green); }
.bog-home .bh-stage[data-stage="trimestre1"] { --c: var(--bog-pink); }
.bog-home .bh-stage[data-stage="trimestre2"] { --c: var(--bog-blue); }

.bog-home .bh-stage__dot {
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 0.45rem;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--bog-line);
    transition: border-color 0.25s, background-color 0.25s, transform 0.25s;
}

.bog-home .bh-stage.is-past .bh-stage__dot,
.bog-home .bh-stage:hover .bh-stage__dot {
    border-color: var(--c);
}

.bog-home .bh-stage[aria-selected="true"] .bh-stage__dot {
    border-color: var(--c);
    background: var(--c);
    transform: scale(1.12);
    box-shadow: 0 0 0 6px var(--bog-line);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent);
}

.bog-home .bh-stage__label {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: clamp(1rem, 0.9rem + 0.6cqi, 1.3rem);
    line-height: 1.15;
    color: var(--bog-ink);
}

.bog-home .bh-stage[aria-selected="true"] .bh-stage__label {
    color: var(--c);
}

.bog-home .bh-stage__sub {
    font-size: 0.85rem;
    line-height: 1.3;
}

.bog-home .bh-panel {
    margin-top: 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--bog-line);
}

.bog-home .bh-panel--buscando { --stage: var(--bog-green); --stage-soft: var(--bog-green-soft); }
.bog-home .bh-panel--trimestre1 { --stage: var(--bog-pink); --stage-soft: var(--bog-pink-soft); }
.bog-home .bh-panel--trimestre2 { --stage: var(--bog-blue); --stage-soft: var(--bog-blue-soft); }

.bog-home .bh-panel.is-entering {
    animation: bhIn 0.35s ease both;
}

@keyframes bhIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.bog-home .bh-panel__intro {
    font-size: 1.1rem;
    font-weight: 600;
    max-width: 60ch;
}

.bog-home .bh-panel__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.bog-home .bh-featured,
.bog-home .bh-featured:hover,
.bog-home .bh-featured:focus {
    color: #fff;
}

.bog-home .bh-featured {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.6rem;
    border-radius: 22px;
    background: var(--stage);
}

.bog-home .bh-featured__kicker {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.bog-home .bh-featured__title {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.1;
}

.bog-home .bh-featured__desc {
    flex: 1;
    opacity: 0.95;
}

.bog-home .bh-featured .bh-btn {
    margin-top: 0.9rem;
}

.bog-home .bh-featured:hover .bh-btn {
    background: var(--stage-soft);
}

.bog-home .bh-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-content: start;
}

.bog-home .bh-tool {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
    background: var(--stage-soft);
    color: var(--bog-ink);
    transition: border-color 0.2s;
}

.bog-home .bh-tool:hover,
.bog-home .bh-tool:focus {
    border-color: var(--stage);
    color: var(--bog-ink);
}

.bog-home .bh-tool > .bh-ic:first-child {
    color: var(--stage);
}

.bog-home .bh-tool__txt {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.bog-home .bh-tool__txt strong {
    font-weight: 700;
}

.bog-home .bh-tool__txt span {
    margin-top: 0.15rem;
    font-size: 0.9rem;
    color: var(--bog-muted);
}

/* ---------------------------------------------------------------------------
   7. Slider genérico (scroll-snap, sin librerías)
   --------------------------------------------------------------------------- */
.bog-home .bh-slider {
    --per: 1;
    --gap: 1rem;
    position: relative;
    margin-top: 1.75rem;
}

.bog-home .bh-slider--plans { --per: 2; }
.bog-home .bh-slider--wins { --per: 3; }
.bog-home .bh-slider--reviews { --per: 3; }

.bog-home .bh-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.bog-home .bh-slider__track::-webkit-scrollbar {
    display: none;
}

.bog-home .bh-slide {
    position: relative;
    min-width: 0;
    scroll-snap-align: start;
}

.bog-home .bh-slider__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

/* Si todo cabe, la barra no aporta nada */
.bog-home .bh-slider.is-static .bh-slider__bar {
    display: none;
}

.bog-home .bh-slider__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* Área táctil de 24 px con un punto visual pequeño */
.bog-home .bh-slider__dots button {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.bog-home .bh-slider__dots button::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: #857D99; /* 3.5:1 sobre tint y blanco (componente de interfaz) */
    transform: translate(-50%, -50%);
    transition: width 0.25s, background-color 0.25s;
}

.bog-home .bh-slider__dots button[aria-current="true"]::before {
    width: 1.3rem;
    background: var(--bog-pink);
}

.bog-home .bh-slider__nav {
    display: flex;
    gap: 0.5rem;
}

.bog-home .bh-slider__nav button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--bog-ink);
    background: #fff;
    color: var(--bog-ink);
    cursor: pointer;
}

.bog-home .bh-slider__nav button:disabled {
    opacity: 0.3;
    cursor: default;
}

.bog-home .bh-slider__nav .bh-ic {
    width: 1.1rem;
    height: 1.1rem;
}

.bog-home .bh-slider__prev .bh-ic {
    transform: rotate(180deg);
}

/* ---------------------------------------------------------------------------
   8. Gratis y Premium
   --------------------------------------------------------------------------- */
.bog-home .bh-plan {
    height: 100%;
    padding: 1.25rem 1.25rem 0.5rem;
    border-radius: var(--bog-radius);
    border: 1px solid var(--bog-line);
    background: #fff;
}

.bog-home .bh-plan__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.bog-home .bh-plan__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    background: var(--c);
    color: #fff;
}

.bog-home .bh-plan__title {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.1;
}

.bog-home .bh-plan__head p {
    font-size: 0.85rem;
    color: var(--bog-muted);
}

.bog-home .bh-cmp {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.bog-home .bh-cmp th,
.bog-home .bh-cmp td {
    padding: 0.62rem 0.4rem;
    border-top: 1px solid var(--bog-line);
    text-align: center;
    vertical-align: middle;
    white-space: normal;
}

.bog-home .bh-cmp thead th {
    padding-block: 0.3rem;
    border-top: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bog-muted);
}

.bog-home .bh-cmp thead th.is-premium {
    color: var(--bog-pink-d);
}

.bog-home .bh-cmp tbody th {
    width: 56%;
    text-align: left;
    font-weight: 600;
}

.bog-home .bh-cmp td {
    width: 22%;
}

.bog-home .bh-cmp td.is-premium {
    background: var(--bog-pink-soft);
}

.bog-home .bh-cmp .is-no {
    color: #6F7489;
}

.bog-home .bh-cmp .is-txt {
    font-size: 0.82rem;
    color: var(--bog-muted);
}

.bog-home .is-premium .bh-ic--ok {
    color: var(--bog-pink);
}

/* Lista de beneficios (se usa mientras la tabla no esté verificada) */
.bog-home .bh-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.bog-home .bh-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--bog-line);
    background: #fff;
    font-weight: 600;
    line-height: 1.35;
}

.bog-home .bh-perks .bh-ic--ok {
    color: var(--bog-pink);
    margin-top: 0.05rem;
}

.bog-home .bh-pricebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    background: var(--bog-ink);
    color: #fff;
}

.bog-home .bh-price {
    font-family: var(--bog-font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.bog-home .bh-price small {
    font-family: var(--bog-font-body);
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.bog-home .bh-pricebar__notes {
    flex: 1;
    min-width: 14rem;
    font-size: 0.92rem;
    opacity: 0.9;
}

.bog-home .bh-pricebar__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.bog-home .bh-pricebar__status .bh-ic--ok {
    color: #6EE7B7; /* 10:1 sobre el fondo tinta */
}

/* ---------------------------------------------------------------------------
   9. Apps
   --------------------------------------------------------------------------- */
.bog-home .bh-apps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.bog-home .bh-app {
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    gap: 1rem 1.25rem;
    padding: 1.75rem;
    border-radius: 24px;
    border: 1px solid var(--bog-line);
    background: #fff;
}

.bog-home .bh-app__icon {
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 18px;
    color: #fff;
}

.bog-home .bh-app--fert .bh-app__icon { background: var(--bog-green); }
.bog-home .bh-app--preg .bh-app__icon { background: var(--bog-blue); }

.bog-home .bh-app__title {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.45rem;
    line-height: 1.15;
}

.bog-home .bh-app__desc {
    margin-top: 0.35rem;
    color: var(--bog-muted);
}

.bog-home .bh-app__stores {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.bog-home .bh-app__note {
    grid-column: 1 / -1;
    font-size: 0.82rem;
    color: var(--bog-muted);
}

/* ---------------------------------------------------------------------------
   10. Misión y logros
   --------------------------------------------------------------------------- */
.bog-home .bh-mission {
    max-width: 34ch;
    margin-top: 0.75rem;
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 1.1rem + 1.3cqi, 2rem);
    line-height: 1.25;
}

.bog-home .bh-subtitle {
    margin-top: 2.5rem;
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.2;
}

.bog-home .bh-win {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--bog-radius);
    border-left: 5px solid var(--c);
    background: var(--bog-tint);
}

.bog-home .bh-win__where {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ct, var(--c));
}

.bog-home .bh-win__title {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.15;
}

.bog-home .bh-win p {
    flex: 1;
    font-size: 0.95rem;
    color: var(--bog-muted);
}

.bog-home .bh-win a,
.bog-home .bh-win a:hover {
    color: var(--bog-pink-d);
}

.bog-home .bh-win a {
    align-self: flex-start;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   11. Opiniones
   --------------------------------------------------------------------------- */
.bog-home .bh-review {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--bog-radius);
    border: 1px solid var(--bog-line);
    background: #fff;
}

.bog-home .bh-review__tool {
    align-self: flex-start;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: var(--bog-pink-soft);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bog-pink-d);
}

.bog-home .bh-review__stars {
    color: var(--bog-amber-text);
    letter-spacing: 0.1em;
}

.bog-home .bh-review blockquote {
    font-size: 1.02rem;
    line-height: 1.55;
}

.bog-home .bh-review figcaption {
    margin-top: auto;
    font-size: 0.88rem;
    color: var(--bog-muted);
}

.bog-home .bh-review figcaption b {
    color: var(--bog-ink);
}

.bog-home .bh-review figcaption a,
.bog-home .bh-review figcaption a:hover {
    color: var(--bog-pink-d);
}

.bog-home .bh-review figcaption a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bog-home .bh-review--ask {
    justify-content: center;
    border: 2px dashed #CFC7DC;
    background: transparent;
}

.bog-home .bh-review--ask strong {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}

.bog-home .bh-review--ask p {
    font-size: 0.95rem;
    color: var(--bog-muted);
}

.bog-home .bh-review--ask .bh-btn {
    align-self: flex-start;
}

.bog-home .bh-reviews-foot {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--bog-muted);
}

/* ---------------------------------------------------------------------------
   12. Preguntas frecuentes
   --------------------------------------------------------------------------- */
.bog-home .bh-faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    align-items: start;
    gap: 1.25rem;
    margin-top: 2rem;
}

.bog-home .bh-cluster {
    padding: 1.4rem 1.4rem 0.6rem;
    border-radius: var(--bog-radius);
    border: 1px solid var(--bog-line);
    border-top: 5px solid var(--bog-pink);
    background: #fff;
}

.bog-home .bh-cluster--fertilidad { border-top-color: var(--bog-green); }
.bog-home .bh-cluster--embarazo { border-top-color: var(--bog-blue); }
.bog-home .bh-cluster--comunidad { border-top-color: var(--bog-violet); }
.bog-home .bh-cluster--bebe { border-top-color: var(--bog-amber); }
.bog-home .bh-cluster--premium { border-top-color: var(--bog-ink); }

.bog-home .bh-cluster__title {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.2;
}

.bog-home .bh-cluster__sub {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--bog-muted);
}

.bog-home .bh-q {
    border-top: 1px solid var(--bog-line);
}

.bog-home .bh-q summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    list-style: none;
    font-weight: 600;
    cursor: pointer;
}

.bog-home .bh-q summary::-webkit-details-marker {
    display: none;
}

.bog-home .bh-q summary i {
    position: relative;
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--bog-pink-soft);
}

.bog-home .bh-q summary i::before,
.bog-home .bh-q summary i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.7rem;
    height: 2px;
    background: var(--bog-pink-d);
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
}

.bog-home .bh-q summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.bog-home .bh-q[open] summary i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.bog-home .bh-q p {
    padding: 0 0 1rem;
    color: var(--bog-muted);
}

.bog-home .bh-reviewed {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1rem;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--bog-line);
    background: #fff;
    font-size: 0.93rem;
}

.bog-home .bh-reviewed a,
.bog-home .bh-reviewed a:hover {
    color: var(--bog-pink-d);
}

.bog-home .bh-reviewed a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   13. Urgencias y aviso legal
   --------------------------------------------------------------------------- */
.bog-home .bh-urgent {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.5rem;
    border-radius: var(--bog-radius);
    border: 2px solid var(--bog-danger);
    background: var(--bog-danger-soft);
}

.bog-home .bh-urgent .bh-ic--alert {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--bog-danger);
    stroke-width: 2;
}

.bog-home .bh-urgent__title {
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--bog-danger);
}

.bog-home .bh-urgent ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.bog-home .bh-urgent li {
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #F4C7C3;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.bog-home .bh-urgent__call {
    margin-top: 0.9rem;
    font-weight: 700;
}

.bog-home .bh-legal {
    max-width: 80ch;
    padding-top: 1.75rem;
    font-size: 0.92rem;
    color: var(--bog-muted);
}

.bog-home .bh-legal p + p {
    margin-top: 0.6rem;
}

.bog-home .bh-legal strong {
    color: var(--bog-ink);
}

.bog-home .bh-legal a,
.bog-home .bh-legal a:hover {
    color: var(--bog-ink);
}

.bog-home .bh-legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   14. Cierre
   --------------------------------------------------------------------------- */
.bog-home .bh-closing {
    padding-block: 5rem;
    background: var(--bog-ink);
    color: #fff;
    text-align: center;
}

.bog-home .bh-closing blockquote {
    max-width: 24ch;
    margin-inline: auto;
    font-family: var(--bog-font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 1.2rem + 3cqi, 3.1rem);
    line-height: 1.12;
    color: #fff;
}

.bog-home .bh-closing cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    opacity: 0.75;
}

.bog-home .bh-closing .bh-btn {
    margin-top: 2rem;
}

/* ---------------------------------------------------------------------------
   15. Adaptable — container queries (ancho real del contenido)
   --------------------------------------------------------------------------- */
@container bh (max-width: 56.25rem) {
    .bog-home .bh-panel__grid,
    .bog-home .bh-apps {
        grid-template-columns: 1fr;
    }
    .bog-home .bh-perks {
        grid-template-columns: 1fr 1fr;
    }
    .bog-home .bh-slider--plans,
    .bog-home .bh-slider--wins,
    .bog-home .bh-slider--reviews {
        --per: 1.6;
    }
}

@container bh (max-width: 37.5rem) {
    .bog-home .bh-sec { padding-block: 3.25rem; }
    .bog-home .bh-hero { padding: 2.5rem 0 6.5rem; }
    .bog-home .bh-hero::after { width: 14rem; height: 14rem; border-width: 22px; right: -5rem; top: -3rem; }
    .bog-home .bh-hero__cta .bh-btn { flex: 1 1 100%; }
    .bog-home .bh-tools,
    .bog-home .bh-perks { grid-template-columns: 1fr; }
    .bog-home .bh-stage__sub { display: none; }
    .bog-home .bh-stage__dot { width: 2.2rem; height: 2.2rem; }
    .bog-home .bh-track::before,
    .bog-home .bh-track::after { top: 1.1rem; }
    .bog-home .bh-featured__title { font-size: 1.5rem; }
    .bog-home .bh-app { padding: 1.35rem; }
    .bog-home .bh-urgent { flex-direction: column; }
    .bog-home .bh-slider--plans,
    .bog-home .bh-slider--wins,
    .bog-home .bh-slider--reviews { --per: 1.08; --gap: 0.75rem; }
    .bog-home .bh-plan { padding: 1rem 0.85rem 0.35rem; }
    .bog-home .bh-cmp { font-size: 0.86rem; }
    .bog-home .bh-cmp tbody th { width: 60%; }
    .bog-home .bh-cmp td { width: 20%; }
    .bog-home .bh-mission { font-size: 1.3rem; }
}

/* Navegadores sin container queries (Safari < 16): se usa el ancho de ventana */
@supports not (container-type: inline-size) {
    @media (max-width: 1150px) {
        .bog-home .bh-panel__grid,
        .bog-home .bh-apps { grid-template-columns: 1fr; }
        .bog-home .bh-perks { grid-template-columns: 1fr 1fr; }
        .bog-home .bh-slider--plans,
        .bog-home .bh-slider--wins,
        .bog-home .bh-slider--reviews { --per: 1.6; }
    }
    @media (max-width: 600px) {
        .bog-home .bh-sec { padding-block: 3.25rem; }
        .bog-home .bh-hero { padding: 2.5rem 0 6.5rem; }
        .bog-home .bh-hero__cta .bh-btn { flex: 1 1 100%; }
        .bog-home .bh-tools,
        .bog-home .bh-perks { grid-template-columns: 1fr; }
        .bog-home .bh-stage__sub { display: none; }
        .bog-home .bh-urgent { flex-direction: column; }
        .bog-home .bh-slider--plans,
        .bog-home .bh-slider--wins,
        .bog-home .bh-slider--reviews { --per: 1.08; --gap: 0.75rem; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .bog-home *,
    .bog-home *::before,
    .bog-home *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
