/* ==========================================================================
   MONARCA PASTELERÍA — ARQUITECTURA EDITORIAL "MAISON ROYALE" (v10)
   Estética inspirada en alta repostería europea (Ladurée / Pierre Hermé):
   - Líneas arquitectónicas finas, marcos con filete dorado interno y simetría
   - Cabecera simétrica de doble nivel con emblema central
   - Hero tipo Editorial Magazine + Bento Triptych compacto
   - Tarjetas de catálogo con índice numerado (N° 01) y línea punteada de menú
   ========================================================================== */

:root {
    --bg-main: #FAF7F2;
    --bg-alt: #F2ECE1;
    --bg-card: #FFFFFF;
    --text-primary: #1F0E08;
    --text-secondary: #432A1E;
    --text-muted: #765F52;

    --gold-primary: #C59B48;
    --gold-hover: #A67E2E;
    --gold-light: #F9F2E2;
    --gold-border: rgba(197, 155, 72, 0.35);

    --crimson-royal: #8B111E;
    --crimson-dark: #5E0A13;
    --choco-dark: #1F0E08;
    --choco-panel: #28130B;

    --black-accent: #1F0E08;
    --white-accent: #FFFFFF;
    --color-border: #E5D9C5;

    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-soft: 0 10px 30px rgba(31, 14, 8, 0.06);
    --shadow-hover: 0 16px 38px rgba(31, 14, 8, 0.12);
    --transition-smooth: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, .brand-font {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--choco-dark);
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 4.2rem 0;
}

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

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2.2rem;
}

.hidden, .loader {
    display: none !important;
}

/* ==========================================================================
   BOTONES ARQUITECTÓNICOS MAISON (RECTANGULARES CON FILETE FINO)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1.65rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, #CFA754 0%, #B0852F 100%);
    color: #FFFFFF;
    border-color: #C59B48;
    box-shadow: 0 6px 18px rgba(197, 155, 72, 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #B58B34 0%, #936D20 100%);
    transform: translateY(-2px);
}

.btn-black {
    background-color: var(--choco-dark);
    color: #FAF7F2;
    border: 1px solid var(--gold-primary);
}

.btn-black:hover {
    background-color: var(--crimson-royal);
    border-color: var(--crimson-royal);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--choco-dark);
    border: 1px solid var(--choco-dark);
}

.btn-outline:hover {
    background-color: var(--choco-dark);
    color: #FAF7F2;
    transform: translateY(-2px);
}

/* ==========================================================================
   CABECERA SIMÉTRICA DE DOBLE NIVEL (<monarca-navbar>)
   ========================================================================== */
monarca-navbar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.maison-topbar {
    background-color: var(--choco-dark);
    color: #E5D9C5;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(197, 155, 72, 0.3);
    height: 34px;
    display: flex;
    align-items: center;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-left i, .topbar-right i {
    color: var(--gold-primary);
}

.topbar-divider {
    color: rgba(197, 155, 72, 0.35);
}

.topbar-link:hover, .topbar-left a:hover {
    color: var(--gold-primary);
}

.navbar {
    width: 100%;
    height: 82px;
    background: rgba(250, 247, 242, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 74px;
    box-shadow: 0 8px 28px rgba(31, 14, 8, 0.08);
}

.nav-container-sym {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
}

.nav-wing {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-wing-left {
    justify-content: flex-start;
}

.nav-wing-right {
    justify-content: flex-end;
}

.nav-wing a:not(.btn-maison-cta) {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-wing a:not(.btn-maison-cta)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--crimson-royal);
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.nav-wing a:not(.btn-maison-cta):hover,
.nav-wing a:not(.btn-maison-cta).active {
    color: var(--crimson-royal);
}

.nav-wing a:not(.btn-maison-cta):hover::after,
.nav-wing a:not(.btn-maison-cta).active::after {
    width: 100%;
}

.nav-brand-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 1rem;
}

.nav-logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.nav-brand-center:hover .nav-logo-img {
    transform: scale(1.04);
}

.btn-maison-cta {
    padding: 0.55rem 1.15rem;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--crimson-royal);
    color: #FFFFFF !important;
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.btn-maison-cta:hover {
    background-color: var(--choco-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    justify-self: end;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--choco-dark);
}

.mobile-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-main);
    border-bottom: 2px solid var(--gold-primary);
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 14px 28px rgba(31, 14, 8, 0.12);
}

.mobile-drawer.open {
    display: flex;
}

.mobile-drawer a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   HERO EDITORIAL MAGAZINE + BENTO TRIPTYCH (COMPACTO Y DIFERENTE)
   ========================================================================== */
.hero-editorial {
    padding: 2.2rem 0 2.8rem;
    background:
        linear-gradient(180deg, #F5EFE4 0%, var(--bg-main) 100%);
    border-bottom: 1px solid var(--color-border);
}

.editorial-headline-box {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2rem;
}

.editorial-kicker-line {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--crimson-royal);
    margin-bottom: 0.75rem;
}

.editorial-kicker-line::before,
.editorial-kicker-line::after {
    content: '';
    width: 28px;
    height: 1px;
    background-color: var(--gold-primary);
}

.editorial-main-title {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    color: var(--choco-dark);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.editorial-main-title em {
    font-style: normal;
    color: var(--crimson-royal);
    font-weight: 700;
}

.editorial-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1.35rem;
}

.editorial-cta-row {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Bento Triptych: 3 Paneles Arquitectónicos Compactos (300px alto) */
.bento-triptych {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr 0.85fr;
    gap: 1.15rem;
    align-items: stretch;
}

/* Panel 1: Carrusel Editorial con Marco Dorado */
.bento-carousel-panel {
    position: relative;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--choco-dark);
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-soft);
}

.bento-carousel-panel::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 3;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-slide-bar {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    background: rgba(31, 14, 8, 0.86);
    backdrop-filter: blur(8px);
    padding: 0.7rem 1rem;
    border-left: 3px solid var(--gold-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FAF7F2;
}

.bento-slide-bar strong {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    display: block;
}

.bento-slide-bar span {
    font-size: 0.74rem;
    color: #DFC9A6;
}

.bento-slide-num {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    color: var(--gold-primary) !important;
    letter-spacing: 0.1em;
}

.carousel-control {
    position: absolute;
    top: 18px;
    width: 30px;
    height: 30px;
    background: rgba(31, 14, 8, 0.75);
    color: var(--gold-primary);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.carousel-control:hover {
    background: var(--gold-primary);
    color: var(--choco-dark);
}

.carousel-control.prev { right: 54px; }
.carousel-control.next { right: 18px; }

/* Panel 2: Tarjeta Arquitectónica Oscura (Sello Maison) */
.bento-manifesto-panel {
    height: 300px;
    background: linear-gradient(160deg, #1F0E08 0%, #351510 100%);
    color: #FAF7F2;
    padding: 1.5rem 1.35rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold-primary);
    outline: 1px solid rgba(197, 155, 72, 0.28);
    outline-offset: -7px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.manifesto-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-primary);
    border-bottom: 1px solid rgba(197, 155, 72, 0.25);
    padding-bottom: 0.65rem;
}

.bento-manifesto-panel h3 {
    color: #FAF7F2;
    font-size: 1.15rem;
    line-height: 1.3;
}

.manifesto-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    border-top: 1px solid rgba(197, 155, 72, 0.25);
    padding-top: 0.75rem;
}

.m-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--gold-primary);
}

.m-stat span {
    font-size: 0.7rem;
    color: #D7C6B0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Panel 3: Tarjeta Bespoke Couture */
.bento-couture-panel {
    position: relative;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: var(--choco-dark);
}

.bento-couture-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.5s ease;
}

.bento-couture-panel:hover img {
    transform: scale(1.05);
}

.couture-card-overlay {
    position: relative;
    z-index: 2;
    background: rgba(250, 247, 242, 0.94);
    padding: 0.9rem 1rem;
    border-top: 2px solid var(--crimson-royal);
}

.couture-card-overlay span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--crimson-royal);
    margin-bottom: 0.2rem;
}

.couture-card-overlay h3 {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
}

.couture-card-overlay em {
    font-style: normal;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--choco-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   BARRA ARQUITECTÓNICA DE RASTREO DE FOLIO & ESPECIALIDADES
   ========================================================================== */
.concierge-ribbon {
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.concierge-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ribbon-pillars {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.ribbon-pillar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--choco-dark);
}

.ribbon-pillar-item span.roman {
    font-family: var(--font-heading);
    color: var(--crimson-royal);
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    background: var(--gold-light);
    border: 1px solid var(--gold-border);
}

.ribbon-folio-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ribbon-folio-input {
    padding: 0.52rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.8rem;
    width: 210px;
    background: var(--bg-main);
}

.ribbon-folio-btn {
    padding: 0.54rem 1rem;
    background: var(--choco-dark);
    color: #FAF7F2;
    border: 1px solid var(--gold-primary);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.ribbon-folio-btn:hover {
    background: var(--crimson-royal);
}

/* ==========================================================================
   ENCABEZADOS DE SECCIÓN Y MASTHEAD DE PÁGINAS SECUNDARIAS
   ========================================================================== */
.section-header-editorial {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    margin-bottom: 2.4rem;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.section-header-editorial .left-col {
    border-left: 3px solid var(--crimson-royal);
    padding-left: 1rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--crimson-royal);
    margin-bottom: 0.35rem;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.4rem;
}

.section-header h2,
.section-header-editorial h2 {
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

.section-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Masthead Editorial para páginas secundarias (diferente a La Estrella) */
.page-header,
.catalog-header {
    padding: 2.2rem 0;
    background: linear-gradient(90deg, #1F0E08 0%, #341510 60%, #4A1219 100%);
    color: #FAF7F2;
    border-bottom: 2px solid var(--gold-primary);
    text-align: left;
}

.page-header .container,
.catalog-header .container {
    border-left: 3px solid var(--gold-primary);
    padding-left: 1.5rem;
}

.page-header .section-eyebrow,
.catalog-header .section-eyebrow {
    color: var(--gold-primary);
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0.35rem;
}

.page-header h1,
.catalog-header h1 {
    color: #FAF7F2;
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    margin-bottom: 0.35rem;
}

.page-header p,
.catalog-header p {
    color: #DFC9A6;
    font-size: 0.9rem;
    max-width: 620px;
    margin: 0;
}

/* ==========================================================================
   TARJETAS EDITORIALES DE MENÚ DE ALTA REPOSTERÍA (.card-editorial)
   ========================================================================== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.75rem;
}

.card-editorial, .card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.card-editorial:hover, .card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-hover);
}

.editorial-img-frame, .card-image-wrap {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: var(--choco-dark);
}

.editorial-img-frame::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(197, 155, 72, 0.4);
    pointer-events: none;
    z-index: 2;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.card-editorial:hover .card-image,
.card:hover .card-image {
    transform: scale(1.05);
}

.editorial-index {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: var(--choco-dark);
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    border: 1px solid var(--gold-primary);
}

.editorial-body, .card-content {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.editorial-kicker {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--crimson-royal);
    margin-bottom: 0.4rem;
}

.editorial-title-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.editorial-title {
    font-size: 1.12rem;
    color: var(--choco-dark);
}

.editorial-dots {
    flex: 1;
    border-bottom: 1px dotted #C8B598;
    min-width: 16px;
}

.editorial-price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--choco-dark);
    white-space: nowrap;
}

.editorial-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.15rem;
    flex-grow: 1;
}

.editorial-link-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--choco-dark);
    transition: color 0.2s ease;
}

.card-editorial:hover .editorial-link-bar {
    color: var(--crimson-royal);
}

/* Filtros Editoriales (coleccion.html) */
.filters {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.15rem;
    border: 1px solid var(--color-border);
    background: #FFFFFF;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--choco-dark);
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

/* ==========================================================================
   SECCIÓN SAVOIR-FAIRE: LIBRO MAYOR NUMERADO (LEDGER) + RETRATO ENMARCADO
   ========================================================================== */
.savoir-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.ledger-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}

.ledger-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}

.ledger-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--crimson-royal);
    padding-top: 2px;
}

.ledger-row h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.ledger-row p {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.savoir-portrait-frame {
    position: relative;
    background: #FFFFFF;
    padding: 12px;
    border: 1px solid var(--gold-primary);
    box-shadow: var(--shadow-soft);
}

.savoir-portrait-frame img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.savoir-seal {
    margin-top: 10px;
    padding: 0.65rem 1rem;
    background: var(--choco-dark);
    color: var(--gold-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==========================================================================
   ATELIER CONCIERGE BANNER
   ========================================================================== */
.royal-banner {
    background: linear-gradient(135deg, #1F0E08 0%, #3A1412 100%);
    padding: 2.4rem 2.5rem;
    color: #FAF7F2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid var(--gold-primary);
    outline: 1px solid rgba(197, 155, 72, 0.3);
    outline-offset: -8px;
}

.royal-banner h2 {
    color: #FAF7F2;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    margin-bottom: 0.4rem;
}

.royal-banner p {
    color: #DFC9A6;
    font-size: 0.9rem;
    max-width: 540px;
}

.royal-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* ==========================================================================
   AUTENTICACIÓN Y PERFIL
   ========================================================================== */
.auth-page {
    min-height: calc(100vh - 116px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    padding: 3rem 1.25rem;
}

.auth-box {
    background: #FFFFFF;
    padding: 2.2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--gold-primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.6rem;
}

.auth-header img {
    height: 62px;
    margin: 0 auto 0.75rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.72rem 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    background-color: #FFFFFF;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.auth-toggle {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.auth-toggle a {
    color: var(--crimson-royal);
    font-weight: 600;
    cursor: pointer;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
}

/* ==========================================================================
   PIE DE PÁGINA EDITORIAL (<monarca-footer>)
   ========================================================================== */
.site-footer {
    background-color: var(--choco-dark);
    color: #E5D9C5;
    padding: 3.5rem 0 1.8rem;
    border-top: 3px solid var(--gold-primary);
}

.footer-editorial-top {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 3rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid rgba(197, 155, 72, 0.22);
}

.footer-logo-badge {
    display: inline-flex;
    background: #FAF7F2;
    padding: 0.45rem 1rem;
    border: 1px solid var(--gold-primary);
    margin-bottom: 0.9rem;
}

.footer-logo-img {
    height: 46px;
    width: auto;
}

.footer-desc {
    font-size: 0.83rem;
    color: #C7B6A2;
    line-height: 1.6;
}

.footer-ledger-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.footer-heading {
    color: var(--gold-primary);
    font-size: 0.82rem;
    margin-bottom: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(197, 155, 72, 0.2);
    padding-bottom: 0.45rem;
}

.footer-links, .footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.83rem;
}

.footer-links a {
    color: #D7C6B0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-contact li {
    color: #D7C6B0;
}

.footer-contact span {
    color: var(--gold-primary);
    font-weight: 600;
}

.footer-bottom {
    padding-top: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: #9E8C78;
}

.footer-social-minimal {
    display: flex;
    gap: 0.65rem;
    color: var(--gold-primary);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 990;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.68rem 1.15rem;
    background: var(--choco-dark);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(31, 14, 8, 0.3);
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background: var(--crimson-royal);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .bento-triptych,
    .savoir-grid,
    .profile-grid,
    .footer-editorial-top {
        grid-template-columns: 1fr;
    }

    .royal-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 820px) {
    .topbar-left span:not(:first-child),
    .topbar-left a {
        display: none;
    }

    .nav-wing {
        display: none;
    }

    .nav-container-sym {
        grid-template-columns: 1fr auto;
    }

    .nav-brand-center {
        justify-content: flex-start;
        padding-left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-ledger-grid {
        grid-template-columns: 1fr;
    }
}
