/* Marco visual compartido con la portada */
body.site-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f172a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
body.site-page .font-display,
body.site-page .font-mono {
    font-family: inherit;
}
/* La portada conserva su HTML propio, pero comparte exactamente la misma cabecera. */
body.site-page > .topbar,
body.site-page > .site-header {
    font-family: inherit;
}
body.site-page > .topbar .container,
body.site-page > .site-header .container {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}
body.site-page > .topbar { padding: 8px 0; }
body.site-page > .site-header { padding: 14px 0; }
body.site-page > .site-header .brand-logo img { width: 195px; max-height: 52px; }
body.site-page > .site-header .main-nav { gap: 24px; font-size: 14px; }
body.site-page > .site-header .btn-header-wa { white-space: nowrap; }
@media (max-width: 1024px) {
    body.site-page > .site-header .main-nav { gap: 14px; font-size: 13px; }
    body.site-page > .site-header .btn-header-wa { padding-inline: 14px; }
}
body.site-page h1,
body.site-page h2,
body.site-page h3,
body.site-page h4,
body.site-page h5,
body.site-page h6 {
    letter-spacing: -0.018em;
}
/* Radios coherentes con las tarjetas de Inicio */
body.site-page .rounded-3xl { border-radius: 28px; }
body.site-page .rounded-2xl { border-radius: 20px; }
body.site-page .rounded-xl { border-radius: 14px; }
body.site-page .rounded-lg { border-radius: 8px; }

/* Componentes comunes: misma lectura visual aunque el contenido pertenezca a otra sección. */
body.site-page .impeccable-panel {
    border-radius: 22px !important;
    border-color: #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
body.site-page .impeccable-grid {
    background-image: none !important;
}
/* Todos los primeros bloques hablan el mismo idioma visual que Inicio. */
body.site-page .site-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1527 0%, #131f38 68%, #1b2b4d 100%) !important;
    border-bottom-color: #1b2b4d !important;
    color: #fff;
}
body.site-page .site-hero::before {
    content: "";
    position: absolute;
    width: 680px;
    height: 360px;
    top: -170px;
    right: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,106,40,.18), rgba(255,106,40,0) 70%);
    pointer-events: none;
}
body.site-page .site-hero > .mx-auto,
body.site-page .site-hero > .relative.mx-auto {
    position: relative;
    z-index: 1;
}
body.site-page .site-hero h1 { color: #fff !important; }
body.site-page .site-hero h1 + p { color: #cbd5e1 !important; }
body.site-page .site-hero > .mx-auto > .grid > .lg\\:col-span-7 > p strong,
body.site-page .site-hero > .mx-auto > p strong { color: #f8fafc !important; }
body.site-page .site-hero .metric-val { color: #fff !important; }
body.site-page .site-hero .metric-val + div { color: rgba(255,255,255,.72) !important; }
body.site-page .site-hero nav,
body.site-page .site-hero nav a,
body.site-page .site-hero nav span { color: #cbd5e1 !important; }
body.site-page a[class*="bg-brand-600"],
body.site-page button[class*="bg-brand-600"],
body.site-page a[class*="bg-amber-600"],
body.site-page button[class*="bg-amber-600"],
body.site-page a[class*="bg-blue-600"],
body.site-page button[class*="bg-blue-600"],
body.site-page a[class*="from-blue-600"],
body.site-page button[class*="from-blue-600"],
body.site-page a[class*="from-indigo-600"],
body.site-page button[class*="from-indigo-600"] {
    background: #ff6a28 !important;
    background-image: none !important;
    border-color: #ff6a28 !important;
    border-radius: 12px !important;
}
body.site-page a[class*="bg-brand-600"]:hover,
body.site-page button[class*="bg-brand-600"]:hover,
body.site-page a[class*="bg-amber-600"]:hover,
body.site-page button[class*="bg-amber-600"]:hover,
body.site-page a[class*="bg-blue-600"]:hover,
body.site-page button[class*="bg-blue-600"]:hover {
    background: #e85514 !important;
}
body.site-page a[class*="bg-emerald-600"],
body.site-page button[class*="bg-emerald-600"] {
    border-radius: 12px !important;
}
body.site-page span[class*="rounded-md"][class*="font-mono"],
body.site-page div[class*="rounded-md"][class*="font-mono"] {
    border-radius: 999px !important;
    letter-spacing: .04em;
}

.site-shell-topbar {
    background: #080f1d;
    color: #94a3b8;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #1a2744;
}
.site-shell-container {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}
.site-shell-topbar .site-shell-container,
.site-shell-header .site-shell-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.site-shell-topbar-left,
.site-shell-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.site-shell-topbar-left { min-width: 0; }
.site-shell-topbar-stores { color: #cbd5e1; display: flex; gap: 10px; }
.site-shell-topbar-phone { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.site-shell-topbar-phone:hover { color: #ff6a28; }
.site-shell-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}
.site-shell-brand img { width: 195px; height: auto; max-height: 52px; object-fit: contain; }
.site-shell-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; color: #334155; }
.site-shell-nav a:hover { color: #ff6a28; }
.site-shell-actions { display: flex; align-items: center; gap: 14px; }
.site-shell-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #ff6a28;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.site-shell-wa:hover { background: #e85514; color: #fff; }
.site-shell-mobile-toggle { display: none; color: #0f172a; width: 30px; height: 30px; }
.site-shell-mobile-toggle svg { width: 24px; height: 24px; }
.site-shell-mobile-nav { display: none; }
@media (max-width: 1024px) {
    .site-shell-nav { gap: 14px; font-size: 13px; }
    .site-shell-wa { padding-inline: 14px; }
}
@media (max-width: 768px) {
    .site-shell-topbar { display: none; }
    .site-shell-nav, .site-shell-actions { display: none; }
    .site-shell-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-shell-header .site-shell-container { min-height: 48px; }
    .site-shell-brand img { width: 165px; max-height: 46px; }
    .site-shell-mobile-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        padding: 12px 20px 20px;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 16px 30px rgba(15,23,42,.12);
    }
    .site-shell-mobile-nav.is-open { display: grid; gap: 4px; }
    .site-shell-mobile-nav a { padding: 11px 12px; border-radius: 8px; font-weight: 600; color: #334155; }
    .site-shell-mobile-nav a:hover { background: #fff4ed; color: #e85514; }
    .site-shell-mobile-nav .site-shell-wa { text-align: center; justify-content: center; margin-top: 8px; color: #fff; }
}

/* Pie de página único: se usa tanto en Inicio como en las páginas interiores. */
.site-footer-unified {
    background: #0c1527;
    color: #cbd5e1;
    border-top: 1px solid #1b2b4d;
}
.site-footer-unified__inner {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
    padding: 58px 0 24px;
}
.site-footer-unified__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.7fr) repeat(2, minmax(150px, 1fr)) minmax(230px, 1.25fr);
    gap: 42px;
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(148,163,184,.18);
}
.site-footer-unified__brand { max-width: 360px; }
.site-footer-unified__logo {
    width: 210px;
    height: auto;
    filter: brightness(0) invert(1);
}
.site-footer-unified__brand p {
    margin: 22px 0 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}
.site-footer-unified__social { display: flex; gap: 10px; margin-top: 20px; }
.site-footer-unified__social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: #131f38;
    border: 1px solid #1b2b4d;
    border-radius: 10px;
    transition: .2s ease;
}
.site-footer-unified__social a:hover { color: #fff; background: #ff6a28; border-color: #ff6a28; }
.site-footer-unified__social svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer-unified__column { display: flex; flex-direction: column; gap: 10px; }
.site-footer-unified__column h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.site-footer-unified__column a {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.45;
    transition: color .2s ease;
}
.site-footer-unified__column a:hover { color: #ff8b55; }
.site-footer-unified__stores { gap: 14px; }
.site-footer-unified__store { display: grid; gap: 2px; }
.site-footer-unified__store strong { color: #fff; font-size: 14px; }
.site-footer-unified__store span { color: #64748b; font-size: 12px; }
.site-footer-unified__store a { font-size: 12px; }
.site-footer-unified__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    color: #64748b;
    font-size: 12px;
}
.site-footer-unified__bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer-unified__bottom a:hover { color: #fff; }
@media (max-width: 980px) {
    .site-footer-unified__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
    .site-footer-unified__brand { max-width: none; }
}
@media (max-width: 620px) {
    .site-footer-unified__inner { width: min(100% - 32px, 1220px); padding-top: 44px; }
    .site-footer-unified__grid { grid-template-columns: 1fr; gap: 28px; }
    .site-footer-unified__bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
