/*=====================================================
    COMPRAVENTA ANTONIO — ESTILOS COMPARTIDOS
    Se carga en todas las páginas, después del CSS propio
    de cada página (styles.css / joyeria.css).

    1.  Variables (identidad visual del logo)
    2.  Base y utilidades
    3.  Botones
    4.  Barra superior y redes sociales
    5.  Selector de idioma y banderas
    6.  Header / navegación
    7.  Encabezado de páginas internas (page-hero)
    8.  Encabezados de sección
    9.  Footer
    10. WhatsApp flotante
    11. Animaciones de aparición
    12. Responsive
=====================================================*/


/*=====================================
    1. VARIABLES
    Colores tomados del logo:
    azul #29166F · rojo #DA251C · blanco
======================================*/

:root {

    --color-primary: #29166F;
    --color-primary-dark: #1C0F4D;
    --color-primary-darker: #140A38;
    --color-primary-light: #3D2A94;
    --color-primary-soft: #EFEDF8;

    --color-secondary: #DA251C;
    --color-secondary-dark: #B51C14;
    --color-secondary-soft: #FDEDEC;
    --color-secondary-on-dark: #FF8C85;

    --color-white: #FFFFFF;
    --color-text: #1E2233;
    --color-text-muted: #5A6075;
    --color-bg-alt: #F5F6FA;
    --color-border: #E3E5EE;

    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1EB95A;

    --font-heading: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 4px 14px rgba(28, 15, 77, 0.07);
    --shadow-md: 0 12px 30px rgba(28, 15, 77, 0.12);
    --shadow-lg: 0 22px 50px rgba(28, 15, 77, 0.2);

    --transition: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    --section-space: clamp(64px, 8vw, 110px);
    --header-height: 84px;

    /* Franjas inspiradas en las líneas del logo */
    --stripes-light: repeating-linear-gradient(
        to bottom,
        var(--color-secondary) 0 4px,
        var(--color-white) 4px 7px
    );
}


/*=====================================
    2. BASE Y UTILIDADES
    (los CSS anteriores aplican Arial/Poppins con "*";
     aquí se unifica la tipografía)
======================================*/

* {
    font-family: var(--font-body);
}

html {
    scroll-padding-top: calc(var(--header-height) + 12px);
}

body.site {
    margin: 0;
    background: var(--color-white);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.site h1,
.site h2,
.site h3,
.site h4,
.site h5 {
    font-family: var(--font-heading);
    color: var(--color-text);
}

.site img {
    max-width: 100%;
}

/* Mismo ancho máximo de contenido en todas las páginas */
.site .container {
    max-width: 1200px;
}

.site a {
    transition: color var(--transition);
}

.site :focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

/* Los componentes (<site-header>, <site-footer>) no generan caja propia:
   así el header puede quedar fijo respecto a toda la página */
site-header,
site-footer {
    display: contents;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 12px;
    color: var(--color-white);
}

.site-section {
    padding: var(--section-space) 0;
}

.site-section--alt {
    background: var(--color-bg-alt);
}


/*=====================================
    3. BOTONES
======================================*/

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition),
                box-shadow var(--transition);
}

.btn-brand span {
    font-family: inherit;
}

.btn-brand:hover {
    transform: translateY(-2px);
}

.btn-brand--primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-brand--primary:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-brand--secondary {
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(218, 37, 28, 0.28);
}

.btn-brand--secondary:hover {
    background: var(--color-secondary-dark);
    color: var(--color-white);
    box-shadow: 0 12px 26px rgba(218, 37, 28, 0.38);
}

.btn-brand--whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
}

.btn-brand--whatsapp:hover {
    background: var(--color-whatsapp-dark);
    color: var(--color-white);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.35);
}

.btn-brand--outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-brand--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-brand--outline-light {
    border-color: rgba(255, 255, 255, 0.75);
    color: var(--color-white);
    background: transparent;
}

.btn-brand--outline-light:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-primary);
}

.btn-brand--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-brand--block {
    width: 100%;
}


/*=====================================
    4. BARRA SUPERIOR Y REDES SOCIALES
======================================*/

.site-topbar {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    position: relative;
    z-index: 1040;
}

.site-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
}

.site-topbar__info,
.site-topbar__actions {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.site-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.site-topbar__item:hover {
    color: var(--color-white);
}

/* La dirección abre Google Maps */
a.site-topbar__item--location:hover span:last-child,
a.site-topbar__item--location:focus-visible span:last-child {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* La dirección abre Google Maps */
a.site-topbar__item--location:hover span:last-child,
a.site-topbar__item--location:focus-visible span:last-child {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-topbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-size: 0.85rem;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition),
                transform var(--transition), color var(--transition);
}

.social-link:hover,
.social-link:focus-visible {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Versión sobre fondo claro */
.social-links--light .social-link {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
    border-color: var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.social-links--light .social-link:hover,
.social-links--light .social-link:focus-visible {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}


/*=====================================
    5. SELECTOR DE IDIOMA Y BANDERAS
======================================*/

.flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

/* República Dominicana (español) */
.flag--do {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23fff'/%3E%3Crect width='13' height='8' fill='%23002D62'/%3E%3Crect x='17' width='13' height='8' fill='%23CE1126'/%3E%3Crect y='12' width='13' height='8' fill='%23CE1126'/%3E%3Crect x='17' y='12' width='13' height='8' fill='%23002D62'/%3E%3C/svg%3E");
}

.flag--us {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7410 3900'%3E%3Crect width='7410' height='3900' fill='%23b22234'/%3E%3Cpath d='M0 450H7410M0 1050H7410M0 1650H7410M0 2250H7410M0 2850H7410M0 3450H7410' stroke='%23fff' stroke-width='300'/%3E%3Crect width='2964' height='2100' fill='%233c3b6e'/%3E%3C/svg%3E");
}

.lang-switch {
    position: relative;
}

.lang-switch__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.lang-switch__button:hover,
.lang-switch__button[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-switch__chevron {
    font-size: 0.6rem;
    transition: transform var(--transition);
}

.lang-switch__button[aria-expanded="true"] .lang-switch__chevron {
    transform: rotate(180deg);
}

.lang-switch__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    animation: menu-in 0.18s ease-out;
}

.lang-switch__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
}

.lang-switch__option:hover,
.lang-switch__option:focus-visible {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    outline: none;
}

.lang-switch__option[aria-checked="true"] {
    font-weight: 700;
    color: var(--color-primary);
}

/* Palomita del idioma elegido (dibujada con bordes, sin caracteres) */
.lang-switch__option[aria-checked="true"]::after {
    content: "";
    width: 6px;
    height: 11px;
    margin: 0 4px 3px auto;
    border: solid var(--color-secondary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Versión dentro del header (fondo blanco, solo en móvil) */

.lang-switch--header {
    display: none;
}

.lang-switch--header .lang-switch__button {
    border-color: var(--color-border);
    color: var(--color-text);
}

.lang-switch--header .lang-switch__button:hover,
.lang-switch--header .lang-switch__button[aria-expanded="true"] {
    background: var(--color-primary-soft);
    border-color: var(--color-primary);
}

.lang-switch--header .lang-switch__menu {
    left: 0;
    right: auto;
}

@keyframes menu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}


/*=====================================
    6. HEADER / NAVEGACIÓN
======================================*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(28, 15, 77, 0.1);
}

.site-nav.navbar {
    padding: 12px 0;
    transition: padding var(--transition);
}

.site-header.is-scrolled .site-nav.navbar {
    padding: 6px 0;
}

.site-nav__brand {
    padding: 0;
    margin-right: 24px;
}

.site-nav__brand img {
    height: 56px;
    width: auto;
    transition: height var(--transition), transform var(--transition);
}

.site-header.is-scrolled .site-nav__brand img {
    height: 46px;
}

.site-nav__brand:hover img {
    transform: scale(1.04);
}

.site-nav .site-nav__list {
    gap: 4px;
    margin: 0 auto;
}

.site-nav__link {
    position: relative;
    display: block;
    padding: 10px 14px;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--color-primary);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
    transform: scaleX(1);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-nav__toggler.navbar-toggler {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: none;
}

.site-nav__toggler span {
    font-family: inherit;
}

.site-nav__toggler:hover,
.site-nav__toggler[aria-expanded="true"] {
    background: var(--color-primary-soft);
    border-color: var(--color-primary);
}


/*=====================================
    7. ENCABEZADO DE PÁGINAS INTERNAS
======================================*/

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
    color: var(--color-white);
    text-align: center;
    background:
        radial-gradient(circle at 85% 15%, rgba(218, 37, 28, 0.3), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(61, 42, 148, 0.8), transparent 50%),
        linear-gradient(125deg, var(--color-primary-darker) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(var(--color-white) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    background: var(--stripes-light);
}

.page-hero .container {
    position: relative;
    max-width: 860px;
}

.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
}

.page-hero__eyebrow i {
    color: #FFB4AF;
}

.site .page-hero__title {
    margin: 20px 0 14px;
    color: var(--color-white);
    font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-hero__lead {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.breadcrumb-site {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-site a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb-site a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.breadcrumb-site li + li::before {
    content: "›";
    margin-right: 8px;
    color: #FFB4AF;
}


/*=====================================
    8. ENCABEZADOS DE SECCIÓN
======================================*/

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(36px, 5vw, 56px);
    text-align: center;
}

.section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--color-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-head__eyebrow::before,
.section-head__eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.site .section-head__title {
    margin: 0 0 14px;
    color: var(--color-primary);
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-head__lead {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}


/*=====================================
    9. FOOTER
======================================*/

.site-footer {
    position: relative;
    padding: 90px 0 26px;
    background: var(--color-primary-darker);
    color: rgba(255, 255, 255, 0.78);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: repeating-linear-gradient(
        to bottom,
        var(--color-secondary) 0 3px,
        var(--color-primary-darker) 3px 6px
    );
}

.site-footer__logo {
    max-width: 200px;
    max-height: 110px;
    width: auto;
    margin-bottom: 18px;
}

.site-footer__logo--light-bg {
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--color-white);
}

.site .site-footer__title {
    margin-bottom: 12px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.site .site-footer__heading {
    margin-bottom: 22px;
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 700;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.site-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__list li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__list i {
    width: 18px;
    margin-top: 5px;
    color: var(--color-secondary-on-dark);
    flex-shrink: 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--color-white);
}

.site-footer__links a {
    display: inline-block;
    transition: color var(--transition), padding var(--transition);
}

.site-footer__links a:hover {
    padding-left: 6px;
}

.site-footer .social-links {
    margin-top: 22px;
    gap: 12px;
}

.site-footer .social-link {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

.site-footer__bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__bottom p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.7);
}


/*=====================================
    10. WHATSAPP FLOTANTE
======================================*/

.wa-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: var(--color-white);
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition);
}

.wa-float:hover,
.wa-float:focus-visible {
    transform: scale(1.08);
    color: var(--color-white);
}

.wa-float span {
    position: absolute;
    right: 76px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.wa-float:hover span,
.wa-float:focus-visible span {
    opacity: 1;
    visibility: visible;
}


/*=====================================
    11. ANIMACIONES DE APARICIÓN
    Solo se ocultan si JavaScript está activo (clase js-reveal)
======================================*/

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Escalonado en grillas */
.row > .reveal:nth-child(2) { transition-delay: 0.08s; }
.row > .reveal:nth-child(3) { transition-delay: 0.16s; }
.row > .reveal:nth-child(4) { transition-delay: 0.24s; }
.row > .reveal:nth-child(5) { transition-delay: 0.32s; }
.row > .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js-reveal .reveal {
        opacity: 1;
        transform: none;
    }
}


/*=====================================
    12. RESPONSIVE
======================================*/

/* ≤ 1199px */
@media (max-width: 1199.98px) {

    .site-nav__brand {
        margin-right: 12px;
    }

    .site-nav .site-nav__list {
        gap: 0;
    }

    .site-nav__link {
        padding: 10px 8px;
        font-size: 0.88rem;
    }

    .site-nav__link::after {
        left: 8px;
        right: 8px;
    }
}

/* ≤ 991px: menú colapsable */
@media (max-width: 991.98px) {

    :root {
        --header-height: 72px;
    }

    .site-topbar__item--location {
        display: none;
    }

    .site-nav__brand img {
        height: 48px;
    }

    .site-nav__toggler.navbar-toggler {
        display: inline-flex;
    }

    .site-nav .navbar-collapse {
        margin-top: 12px;
        padding: 12px 0 18px;
        border-top: 1px solid var(--color-border);
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .site-nav .site-nav__list {
        margin: 0;
        gap: 0;
    }

    .site-nav__link {
        padding: 13px 4px;
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .site-nav__link::after {
        left: 0;
        right: auto;
        top: 50%;
        bottom: auto;
        width: 4px;
        height: 60%;
        transform: translateY(-50%) scaleY(0);
    }

    .site-nav__link:hover::after,
    .site-nav__link.is-active::after {
        transform: translateY(-50%) scaleY(1);
    }

    .site-nav__link:hover,
    .site-nav__link.is-active {
        padding-left: 14px;
    }

    .site-nav__actions {
        justify-content: space-between;
        margin-top: 16px;
    }

    /* En móvil el idioma está en la barra superior y también dentro del menú */
    .lang-switch--header {
        display: block;
    }
}

/* ≤ 767px */
@media (max-width: 767.98px) {

    .site-topbar__item--hours {
        display: none;
    }

    .wa-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
        right: 16px;
        bottom: 16px;
    }

    .wa-float span {
        display: none;
    }
}

/* ≤ 575px */
@media (max-width: 575.98px) {

    .site-topbar__inner {
        gap: 10px;
    }

    .site-topbar__actions {
        gap: 10px;
    }

    .site-topbar .social-links {
        gap: 6px;
    }

    .site-topbar .social-link {
        width: 28px;
        height: 28px;
    }

    .site-nav__brand {
        margin-right: 8px;
    }

    .site-nav__brand img {
        height: 42px;
    }

    .site-nav__toggler.navbar-toggler {
        padding: 8px 14px;
    }

    .site-nav__actions {
        flex-wrap: wrap;
    }

    .section-head__eyebrow::before,
    .section-head__eyebrow::after {
        width: 16px;
    }

    .page-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-hero__actions .btn-brand {
        width: 100%;
    }
}

/* ≤ 479px */
@media (max-width: 479.98px) {

    .site-topbar__item span[data-phone-text] {
        font-size: 0.8rem;
    }

    .lang-switch__button {
        padding: 5px 9px;
        gap: 6px;
    }
}
