/* Variables de la paleta extraídas de la imagen (pasteles vibrantes) */
:root {
    --bg-clean: #FAFAFA;
    --panel-translucent: rgba(255, 255, 255, 0.75);
    --text-dark: #2C3E50;
    --text-white: #FFFFFF;
    
    /* Colores exactos de las tarjetas */
    --pastel-cyan: #46A3E5;
    --pastel-pink: #F562A4;
    --pastel-orange: #FF8C42;
    --pastel-yellow: #FFC048;
    --pastel-purple: #8C7AE6;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.1);
    --radius-main: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree', 'Nunito', sans-serif;
    background-color: var(--bg-clean);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================
   BLOQUES DE FONDO FLOTANTES
   ========================================== */
.floating-block {
    position: fixed;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.12;
    z-index: -10;
}
.b1 { width: 300px; height: 300px; background: var(--pastel-cyan); top: 15%; right: -5%; animation: floatSlow 8s ease-in-out infinite; }
.b2 { width: 400px; height: 400px; background: var(--pastel-pink); bottom: 10%; left: -10%; animation: floatSlow 12s ease-in-out infinite alternate; }
.b3 { width: 250px; height: 250px; background: var(--pastel-yellow); top: 60%; right: 15%; animation: floatSlow 10s ease-in-out infinite 2s; }

@keyframes floatSlow {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ==========================================
   HEADER Y MENÚ EDITORIAL — RENACER CON PROPÓSITO
   Inspiración: claridad, aire y jerarquía visual
   estilo Canva; adaptado a la identidad azul/amarillo.
   ========================================== */
:root {
    --navy-brand: #17345C;
    --blue-brand: #2679C8;
    --blue-soft: #EFF6FF;
    --yellow-brand: #FFC857;
    --menu-ink: #26364A;
    --menu-muted: #66758A;
    --menu-shadow: 0 22px 55px rgba(24, 43, 72, 0.13);
    --menu-border: rgba(31, 58, 92, 0.09);
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 84px;
    height: auto;
    padding: 12px clamp(22px, 5vw, 78px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    border-bottom: 1px solid var(--menu-border);
    box-shadow: 0 5px 24px rgba(23, 52, 92, 0.045);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    display: none !important;
}

.logo h1 {
    font-family: 'Fredoka', 'Figtree', sans-serif;
    font-size: clamp(1.3rem, 1.75vw, 1.72rem);
    font-weight: 600;
    letter-spacing: -0.65px;
    color: var(--navy-brand);
    line-height: 1.02;
}

.logo p {
    margin-top: 5px;
    font-family: 'Figtree', 'Nunito', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.1px;
    color: var(--blue-brand);
}

/* Navegación: texto más fino, aire y contraste */
.nav-principal {
    margin-left: auto;
}

.nav-principal .menu-lista {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1vw, 18px);
    list-style: none;
}

.menu-item {
    position: relative;
}

.menu-item > a,
.tiene-sub-nivel > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 7px;
    border: 0;
    border-radius: 0;
    color: var(--menu-ink);
    font-family: 'Figtree', 'Nunito', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    letter-spacing: 0.05px;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

/* Subrayado fino y amarillo al pasar el cursor */
.menu-item > a::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--yellow-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
}

.menu-item > a:hover,
.menu-item > a:focus-visible,
.menu-item.abierto > a,
.tiene-sub-nivel.abierto > a {
    color: var(--blue-brand);
    background: transparent;
    border-color: transparent;
    outline: none;
}

.menu-item > a:hover::after,
.menu-item > a:focus-visible::after,
.menu-item.abierto > a::after {
    transform: scaleX(1);
}

/* Ocultamos los iconos existentes; dibujamos solo una flecha CSS discreta */
.flecha,
.flecha-izq {
    display: none !important;
}

.menu-item.tiene-sub > a::before,
.menu-item:has(> .sub-menu) > a::before {
    content: "";
    order: 2;
    width: 6px;
    height: 6px;
    margin-left: 2px;
    margin-top: -3px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg);
    transition: transform 180ms ease;
}

.menu-item.abierto.tiene-sub > a::before,
.menu-item.abierto:has(> .sub-menu) > a::before {
    margin-top: 3px;
    transform: rotate(225deg);
}

/* Panel desplegable minimalista */
.sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -18px;
    min-width: 250px;
    max-width: min(330px, 88vw);
    padding: 10px;
    margin: 0;
    list-style: none;
    background: #FFFFFF;
    border: 1px solid var(--menu-border);
    border-radius: 16px;
    box-shadow: var(--menu-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transform-origin: top left;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 1010;
}

.sub-menu::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 28px;
    width: 9px;
    height: 9px;
    background: #fff;
    border-top: 1px solid var(--menu-border);
    border-left: 1px solid var(--menu-border);
    transform: rotate(45deg);
}

.sub-menu li {
    position: relative;
}

.sub-menu li + li {
    margin-top: 2px;
}

.sub-menu li > a,
.tiene-sub-nivel > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 12px 13px;
    border-radius: 9px;
    color: var(--menu-ink);
    font-family: 'Figtree', 'Nunito', sans-serif;
    font-size: 0.93rem;
    font-weight: 450;
    line-height: 1.35;
    text-decoration: none;
    white-space: normal;
    transition: background 160ms ease, color 160ms ease;
}

.sub-menu li > a:hover,
.sub-menu li > a:focus-visible,
.tiene-sub-nivel.abierto > a {
    background: #F4F8FD;
    color: var(--blue-brand);
    outline: none;
}

/* Estado abierto: discreto y fluido */
.menu-item.abierto > .sub-menu,
.tiene-sub-nivel.abierto > .segundo-nivel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Segundo nivel en escritorio */
.tiene-sub-nivel {
    position: relative;
}

.segundo-nivel {
    top: -8px;
    left: calc(100% + 9px);
    transform: translateX(7px);
}

.segundo-nivel::before {
    top: 18px;
    left: -5px;
    transform: rotate(-45deg);
}

.tiene-sub-nivel > a::after {
    content: "";
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(-45deg);
}

/* Botón móvil: limpio, ligero y acorde con la identidad azul */
.hamburger-btn {
    display: none;
    position: relative;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(38, 121, 200, .18);
    border-radius: 15px;
    background: #fff;
    color: var(--navy-brand);
    box-shadow: 0 4px 14px rgba(23, 52, 92, .06);
    cursor: pointer;
    z-index: 1002;
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.hamburger-btn:hover,
.hamburger-btn.activo {
    background: var(--blue-soft);
    border-color: rgba(38, 121, 200, .4);
    box-shadow: 0 5px 18px rgba(38, 121, 200, .1);
}
.hamburger-btn:focus-visible {
    outline: 3px solid var(--yellow-brand);
    outline-offset: 3px;
}
.hamburger-btn span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 3px;
    background: currentColor;
    transform-origin: center;
    transition: top .25s ease, transform .25s ease, opacity .18s ease;
}
.hamburger-btn span:nth-child(1) { top: 15px; }
.hamburger-btn span:nth-child(2) { top: 22px; }
.hamburger-btn span:nth-child(3) { top: 29px; }
.hamburger-btn.activo span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger-btn.activo span:nth-child(2) { opacity: 0; }
.hamburger-btn.activo span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ==========================================
   SECCIONES PRINCIPALES Y TARJETAS AMBIENT
   ========================================== */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-section {
    margin-bottom: 60px;
}
.robot-card-ambient {
    background: var(--pastel-orange);
    color: var(--text-white);
    padding: 50px 40px;
    border-radius: var(--radius-main);
    text-align: center;
    box-shadow: var(--shadow-card);
    max-width: 750px;
    margin: 0 auto 30px;
    animation: ambientFloat 5s ease-in-out infinite;
}
.card-icon {
    font-size: 45px;
    margin-bottom: 15px;
}
.robot-card-ambient h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.robot-card-ambient p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    opacity: 0.9;
}
.hero-subtitle {
    text-align: center;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    line-height: 1.6;
}

@keyframes ambientFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Secciones de Contenido Comunes */
.panel-section {
    margin-bottom: 60px;
}
.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--pastel-pink);
    border-radius: 2px;
}

/* ==========================================
   BLOG GRID
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.blog-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    border-top: 6px solid var(--pastel-cyan);
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}
.border-pink { border-top-color: var(--pastel-pink); }
.blog-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: rgba(44, 62, 80, 0.7);
    background: #F4F6F8;
    padding: 4px 10px;
    border-radius: 20px;
}
.blog-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
}
.blog-card p {
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.5;
    margin-bottom: 20px;
}
.btn-read {
    text-decoration: none;
    color: var(--pastel-cyan);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==========================================
   TESTIMONIOS INTERACTIVOS (3D FLIP CARDS)
   ========================================== */
.testimonios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.flip-card {
    background: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px; /* Habilita el entorno 3D */
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: var(--radius-main);
    box-shadow: var(--shadow-card);
}

/* Control del giro mediante clase agregada por JS */
.flip-card.girada .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden; /* Oculta el reverso durante el giro */
    border-radius: var(--radius-main);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Estilo frontal (Letra limpia en mayúsculas idéntica a la imagen) */
.flip-card-front {
    color: var(--text-white);
}
.icon-card-inside {
    font-size: 38px;
    margin-bottom: 10px;
}
.flip-card-front h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
}
.click-hint {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* Estilo trasero */
.flip-card-back {
    background: white;
    color: var(--text-dark);
    transform: rotateY(180deg);
    border: 2px solid #EAEAEA;
}
.flip-card-back p {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 15px;
}
.flip-card-back strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pastel-cyan);
}

/* Colores de las tarjetas basados en la imagen */
.bg-yellow { background: var(--pastel-yellow); }
.bg-pink { background: var(--pastel-pink); }
.bg-cyan { background: var(--pastel-cyan); }

/* ==========================================
   FOOTER
   ========================================== */
footer {
    width: 100%;
    height: 70px;
    background: white;
    border-top: 1px solid #EAEAEA;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

@keyframes pulseGlow {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Ajustes de contenido para tabletas y móviles */
@media (max-width: 768px) {
    .robot-card-ambient h2 {
        font-size: 2rem;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        height: auto;
        padding: 20px;
        text-align: center;
    }
}

/* ==========================================
   MENÚ RESPONSIVE
   ========================================== */
@media (min-width: 769px) {
    .nav-principal {
        display: block;
    }
}

@media (max-width: 1020px) and (min-width: 769px) {
    header {
        padding-left: 24px;
        padding-right: 24px;
        gap: 16px;
    }

    .nav-principal .menu-lista {
        gap: 7px;
    }

    .menu-item > a {
        padding: 10px 5px;
        font-size: 0.9rem;
    }

    .logo h1 {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    header {
        min-height: 76px;
        height: auto;
        padding: 12px 18px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        gap: 0;
    }

    .logo h1 {
        font-size: 1.35rem;
    }

    .logo p {
        font-size: 0.58rem;
        letter-spacing: 1.35px;
    }

    .hamburger-btn {
        display: block;
        margin-left: auto;
    }

    .nav-principal {
        display: none;
        width: 100%;
        flex-basis: 100%;
        padding: 12px 0 5px;
        border-top: 1px solid var(--menu-border);
        margin-top: 4px;
    }

    .nav-principal.activo {
        display: block;
        animation: menuReveal 220ms ease both;
    }

    .nav-principal .menu-lista {
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        margin-top: 0;
    }

    .menu-item > a,
    .sub-menu li > a,
    .tiene-sub-nivel > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 45px;
        padding: 12px 13px;
        border-radius: 10px;
        white-space: normal;
    }

    .menu-item > a {
        font-size: 0.97rem;
        font-weight: 500;
    }

    .menu-item > a::after {
        display: none;
    }

    .menu-item.tiene-sub > a::before,
    .menu-item:has(> .sub-menu) > a::before {
        margin-left: auto;
        transform: rotate(45deg);
    }

    .menu-item.abierto.tiene-sub > a::before,
    .menu-item.abierto:has(> .sub-menu) > a::before {
        margin-top: 3px;
        transform: rotate(225deg);
    }

    .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        max-width: none;
        padding: 5px 0 5px 12px;
        margin: 2px 0 5px;
        border: 0;
        border-left: 2px solid var(--yellow-brand);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
        background: transparent;
        transition: none;
    }

    .sub-menu::before {
        display: none;
    }

    .menu-item.abierto > .sub-menu,
    .tiene-sub-nivel.abierto > .segundo-nivel {
        display: block;
        animation: menuReveal 180ms ease both;
    }

    .sub-menu li > a,
    .tiene-sub-nivel > a {
        min-height: 41px;
        font-size: 0.91rem;
        font-weight: 450;
    }

    .segundo-nivel {
        position: static;
        display: none;
        padding-left: 10px;
        margin-left: 8px;
        border-left-color: rgba(38, 121, 200, 0.35);
    }

    .tiene-sub-nivel > a::after {
        transform: rotate(45deg);
    }

    .tiene-sub-nivel.abierto > a::after {
        transform: rotate(225deg);
    }

    .robot-card-ambient h2 {
        font-size: 2rem;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        height: auto;
        padding: 20px;
        text-align: center;
    }
}

@keyframes menuReveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Ajustes de navegación minimalista inspirada en Canva */
.nav-principal .menu-lista { gap: clamp(14px, 1.8vw, 30px); }
.menu-item > a { font-weight: 600; }
.menu-item > a::after { background: var(--blue-brand); }
.menu-item > a:focus-visible, .sub-menu a:focus-visible, .hamburger-btn:focus-visible {
  outline: 2px solid var(--blue-brand);
  outline-offset: 3px;
}
@media (max-width: 768px) {
  .nav-principal .menu-lista { gap: 3px; }
  .nav-principal { max-height: calc(100dvh - 90px); overflow-y: auto; }
}

/* MEGA MENÚ: diseño editorial inspirado en Canva */
.nav-trigger { appearance:none; background:none; border:0; cursor:pointer; font:inherit; color:var(--menu-ink); display:flex; align-items:center; gap:10px; min-height:44px; padding:10px 7px; font-size:.96rem; }
.nav-trigger:hover,.nav-trigger:focus-visible,.menu-item.abierto .nav-trigger { color:var(--blue-brand); }
.chevron { display:inline-block; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); transition:transform .2s; margin-top:-4px; }
.menu-item.abierto > .nav-trigger .chevron,.tiene-sub-nivel.abierto .sub-trigger .chevron { transform:rotate(225deg); margin-top:3px; }
.mega-menu { position:absolute; top:calc(100% + 14px); right:-110px; width:min(810px,calc(100vw - 48px)); padding:25px; background:#fff; border:1px solid var(--menu-border); border-radius:20px; box-shadow:var(--menu-shadow); opacity:0; visibility:hidden; pointer-events:none; transform:translateY(8px); transition:opacity .2s,transform .2s,visibility .2s; z-index:1020; }
.menu-item.abierto > .mega-menu { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
.mega-heading { display:flex; flex-direction:column; gap:5px; padding:0 4px 18px; border-bottom:1px solid #edf0f5; }
.mega-eyebrow { font-size:.69rem; font-weight:800; letter-spacing:1.8px; color:var(--blue-brand); }
.mega-heading strong { font-size:1.2rem; color:var(--navy-brand); }
.mega-grid { display:grid; grid-template-columns:1fr 1fr 1.15fr; gap:20px; padding-top:18px; }
.mega-column { display:flex; flex-direction:column; align-items:stretch; gap:3px; }
.mega-column h3 { font-size:.79rem; letter-spacing:.4px; color:#738093; margin:4px 10px 12px; }
.mega-column a,.sub-trigger { display:flex; justify-content:space-between; align-items:center; width:100%; padding:10px 12px; border:0; background:none; text-align:left; border-radius:9px; font:inherit; font-size:.91rem; color:var(--menu-ink); text-decoration:none; cursor:pointer; }
.mega-column a:hover,.sub-trigger:hover,.mega-column a:focus-visible,.sub-trigger:focus-visible { background:#f0f6ff; color:var(--blue-brand); }
.mega-nested { list-style:none; padding-left:13px; border-left:2px solid #e8eff9; margin:3px 0 7px 13px; }
.mega-nested a { font-size:.85rem; padding:8px 10px; }
.mega-feature { display:flex; flex-direction:column; justify-content:center; gap:14px; padding:23px; background:linear-gradient(135deg,#edf6ff,#fff7e6); border-radius:15px; }
.mega-feature span { font-size:.68rem; letter-spacing:1px; font-weight:700; color:var(--blue-brand); }
.mega-feature strong { font-family:'Fredoka',sans-serif; font-size:1.5rem; line-height:1.15; color:var(--navy-brand); }
.mega-feature p { font-size:.87rem; line-height:1.5; color:#536277; }
.nav-trigger:focus-visible,.sub-trigger:focus-visible { outline:2px solid var(--blue-brand); outline-offset:2px; }
@media(max-width:768px) {
 .nav-trigger { width:100%; justify-content:space-between; padding:12px 13px; min-height:45px; font-size:.97rem; }
 .mega-menu { position:static; display:none; width:100%; padding:13px; margin:5px 0 8px; border:0; border-left:2px solid var(--yellow-brand); border-radius:0; box-shadow:none; opacity:1; visibility:visible; pointer-events:auto; transform:none; transition:none; }
 .menu-item.abierto > .mega-menu { display:block; }
 .mega-grid { grid-template-columns:1fr; gap:16px; }
 .mega-heading strong { font-size:1rem; }
 .mega-feature { padding:16px; }
 .mega-feature strong { font-size:1.2rem; }
 .mega-nested { display:none; }
 .tiene-sub-nivel.abierto .mega-nested { display:block; }
}
@media(min-width:769px) and (max-width:1050px) { .mega-menu { right:-45px; width:min(720px,calc(100vw - 48px)); } }

/* RENACER · Panel móvil elegante */
@media (max-width: 768px) {
  header { position: sticky; isolation: isolate; }
  .nav-principal {
    flex-basis: 100%;
    width: 100%;
    margin: 6px 0 0;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(38,121,200,.12);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(23,52,92,.12);
    max-height: min(72dvh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-principal.activo { animation: renacerPanel .25s cubic-bezier(.2,.8,.2,1) both; }
  .nav-principal .menu-lista { gap: 4px; }
  .menu-item > a, .nav-trigger {
    color: var(--navy-brand);
    border-radius: 12px;
    padding: 13px 15px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
  }
  .menu-item > a:hover, .menu-item > a:focus-visible,
  .nav-trigger:hover, .nav-trigger:focus-visible,
  .menu-item.abierto > .nav-trigger { background: #eff6ff; color: var(--blue-brand); }
  .menu-item + .menu-item { border-top: 1px solid #f0f3f8; padding-top: 4px; }
  .mega-menu {
    margin: 5px 0 10px;
    padding: 16px 12px;
    border: 1px solid #e8eff8;
    border-radius: 14px;
    background: #fbfdff;
  }
  .mega-heading { padding: 2px 6px 13px; }
  .mega-grid { gap: 15px; padding-top: 14px; }
  .mega-column h3 { margin: 3px 10px 8px; }
  .mega-column a, .sub-trigger { min-height: 43px; border-radius: 10px; }
  .mega-feature { background: linear-gradient(135deg,#edf6ff,#fff6df); border-radius: 12px; }
  .hamburger-btn { box-shadow: 0 3px 10px rgba(23,52,92,.07); }
}
@keyframes renacerPanel {
  from { opacity: 0; transform: translateY(-10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-principal.activo { animation: none; }
}


/* RENACER · Encabezado compacto al desplazarse */
header {
  transition: padding .28s ease, min-height .28s ease,
              box-shadow .28s ease, background-color .28s ease;
}
header .logo h1, header .logo p {
  transition: font-size .28s ease, letter-spacing .28s ease, margin .28s ease;
}
header.header-compact {
  min-height: 66px;
  padding-top: 7px;
  padding-bottom: 7px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 28px rgba(23,52,92,.11);
}
header.header-compact .logo h1 { font-size: 1.26rem; }
header.header-compact .logo p { font-size: .56rem; letter-spacing: 1.6px; margin-top: 3px; }
@media (max-width: 768px) {
  header.header-compact { min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
  header.header-compact .logo h1 { font-size: 1.19rem; }
  header.header-compact .logo p { font-size: .54rem; letter-spacing: 1.1px; }
  /* El panel sigue siendo utilizable en pantallas pequeñas. */
  header.header-compact .nav-principal { max-height: min(72dvh, 620px); }
}
@media (prefers-reduced-motion: reduce) {
  header, header .logo h1, header .logo p { transition: none; }
}

/* Hero editorial con slider de fotografías */
.hero-modern{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);align-items:center;gap:clamp(28px,5vw,78px);padding:clamp(24px,4vw,58px) 0 50px;margin-bottom:70px;min-height:580px}
.hero-copy{position:relative;z-index:1;padding:15px 0}
.hero-kicker{display:inline-flex;align-items:center;gap:10px;color:#2679c8;font:800 .74rem 'Nunito',sans-serif;letter-spacing:1.5px;line-height:1.6}
.kicker-sparkle{font-size:1.5rem;color:#eab34b}
.hero-copy h2{font-family:'Fredoka',sans-serif;font-weight:500;font-size:clamp(2.65rem,4.5vw,4.6rem);line-height:1.12;letter-spacing:-1.8px;color:#17345c;margin:23px 0 17px}
.hero-copy h2 em{font-style:normal;color:#2679c8}
.hero-verse{font-size:.79rem;letter-spacing:2.5px;font-weight:800;color:#b18329;margin-bottom:22px}
.hero-description{max-width:480px;font-size:1.08rem;line-height:1.8;color:#53657a;margin-bottom:28px}
.hero-cta{display:inline-flex;align-items:center;gap:24px;background:#2679c8;color:white;text-decoration:none;font-weight:800;padding:15px 22px;border-radius:14px;box-shadow:0 12px 25px rgba(38,121,200,.18);transition:transform .2s,background .2s}
.hero-cta:hover,.hero-cta:focus-visible{background:#17345c;transform:translateY(-2px)}
.hero-note{margin-top:32px;color:#6b7b8f;font-size:.85rem}.hero-note span{color:#f1b94e;font-size:1.25rem;margin-right:7px}
.hero-gallery{position:relative;min-width:0;padding:20px 15px 24px 10px}.gallery-blob{position:absolute;inset:4% -1% 1% 4%;background:linear-gradient(145deg,#fff1cc,#e6f4ff 70%);border-radius:43% 57% 55% 45%;transform:rotate(-7deg)}
.slider-frame{position:relative;overflow:hidden;border-radius:28px;height:clamp(400px,42vw,530px);box-shadow:0 24px 65px rgba(24,52,92,.17);background:#e7edf5;isolation:isolate}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .85s ease,visibility .85s;pointer-events:none;margin:0}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:1}
.hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block;transform:scale(1.055);transition:transform 5.8s ease}
.hero-slide.is-active img{transform:scale(1)}
.hero-slide::after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(12,27,48,.57));pointer-events:none}
.hero-slide figcaption{position:absolute;bottom:68px;left:28px;right:28px;z-index:2;color:white;font-family:'Fredoka',sans-serif;font-size:1.35rem;text-shadow:0 1px 5px rgba(0,0,0,.15)}
.slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);border:1px solid rgba(255,255,255,.65);width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.88);color:#17345c;font-size:1.25rem;cursor:pointer;display:grid;place-items:center;transition:background .2s,transform .2s}
.slider-arrow:hover{background:white;transform:translateY(-50%) scale(1.08)}.slider-prev{left:14px}.slider-next{right:14px}
.slider-pagination{position:absolute;bottom:24px;left:0;right:0;display:flex;justify-content:center;gap:9px;z-index:5}
.slider-dot{width:9px;height:9px;border:0;border-radius:30px;background:rgba(255,255,255,.58);cursor:pointer;transition:width .3s,background .3s;padding:0}
.slider-dot.is-active{width:29px;background:#fff}
.gallery-badge{position:absolute;right:-7px;top:0;z-index:6;background:#fff;border-radius:15px;box-shadow:0 12px 35px rgba(23,52,92,.12);padding:13px 17px;font-weight:800;color:#17345c;font-size:.86rem;transform:rotate(5deg)}.gallery-badge span{color:#e8ad36;margin-right:5px}
.slider-arrow:focus-visible,.slider-dot:focus-visible{outline:3px solid #ffc857;outline-offset:3px}
@media(max-width:900px){.hero-modern{gap:26px}.hero-copy h2{font-size:clamp(2.3rem,5vw,3.5rem)}.slider-frame{height:450px}}
@media(max-width:768px){.hero-modern{grid-template-columns:1fr;padding-top:26px;gap:18px;margin-bottom:45px}.hero-copy{text-align:center}.hero-copy h2{font-size:clamp(2.45rem,9vw,3.6rem);margin:16px 0}.hero-description{margin-left:auto;margin-right:auto}.hero-note{margin-top:22px}.hero-gallery{padding:18px 9px 12px}.slider-frame{height:clamp(340px,85vw,510px)}.gallery-badge{right:0}.hero-slide figcaption{font-size:1.15rem}}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-slide img,.slider-dot{transition:none!important}.hero-slide img{transform:none!important}}

/* Colección: editorial, luminosa y coherente con el encabezado */
.collection-section { margin: 0 0 76px; scroll-margin-top: 115px; }
.collection-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }
.collection-eyebrow { color:var(--blue-brand); font-size:.74rem; font-weight:800; letter-spacing:.16em; }
.collection-heading h2 { font-family:'Fredoka',sans-serif; color:var(--navy-brand); font-size:clamp(2rem,3.6vw,3.3rem); font-weight:600; line-height:1.14; margin:9px 0 12px; }
.collection-heading h2 em { font-style:normal; color:var(--blue-brand); }
.collection-heading p { color:#65758b; line-height:1.65; max-width:550px; }
.collection-top-link { color:var(--blue-brand); font-weight:700; white-space:nowrap; text-decoration:none; padding-bottom:7px; }
.collection-top-link:hover { text-decoration:underline; }
.collection-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; scroll-margin-top:115px; }
.collection-card { background:#fff; border:1px solid #eaf0f6; border-radius:22px; overflow:hidden; box-shadow:0 12px 36px rgba(23,52,92,.055); transition:transform .25s ease,box-shadow .25s ease; }
.collection-card:hover { transform:translateY(-5px); box-shadow:0 18px 42px rgba(23,52,92,.12); }
.collection-card a { color:inherit; text-decoration:none; display:block; height:100%; }
.collection-card a:focus-visible { outline:3px solid var(--blue-brand); outline-offset:-3px; border-radius:22px; }
.collection-photo { position:relative; aspect-ratio:4/3; overflow:hidden; background:#eff6ff; }
.collection-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.collection-card:hover img { transform:scale(1.045); }
.collection-number { position:absolute; top:14px; right:14px; background:rgba(255,255,255,.94); color:var(--navy-brand); padding:7px 10px; border-radius:100px; font-size:.72rem; font-weight:700; }
.collection-card-copy { padding:22px 22px 24px; }
.collection-card-copy > span:first-child { font-size:.68rem; letter-spacing:.13em; font-weight:800; color:var(--blue-brand); }
.collection-card-copy h3 { font-family:'Fredoka',sans-serif; font-size:1.3rem; font-weight:500; color:var(--navy-brand); margin:9px 0 16px; }
.collection-card-link { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #edf1f6; padding-top:15px; font-size:.9rem; font-weight:700; color:var(--blue-brand); }
.collection-card-link b { font-size:1.25rem; font-weight:500; }
@media(max-width:900px) { .collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .collection-heading { align-items:start; flex-direction:column; gap:12px; } .collection-grid { grid-template-columns:1fr; gap:18px; } .collection-photo { aspect-ratio: 5/3; } .collection-card-copy { padding:18px; } }
@media(prefers-reduced-motion:reduce) { .collection-card,.collection-photo img { transition:none; } }

/* Catálogo horizontal: compacto, estilo escaparate */
.catalog-section{margin:0 0 78px;scroll-margin-top:110px}
.catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.catalog-heading h2{font-family:'Nunito',sans-serif;font-size:clamp(1.45rem,2.6vw,2rem);font-weight:800;letter-spacing:-.045em;color:#17345c;margin-top:6px}
.catalog-see-all{font-size:.9rem;color:#17345c;text-decoration:none;font-weight:800;white-space:nowrap;padding-bottom:5px}
.catalog-see-all:hover{text-decoration:underline;color:#2679c8}
.catalog-slider{position:relative}
.catalog-track{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 2px 14px}
.catalog-track::-webkit-scrollbar{display:none}
.catalog-card{flex:0 0 clamp(166px,19%,218px);min-width:0;scroll-snap-align:start}
.catalog-card a{display:block;color:inherit;text-decoration:none}
.catalog-card a:focus-visible{outline:3px solid #2679c8;outline-offset:3px;border-radius:14px}
.catalog-image{aspect-ratio:1/1;overflow:hidden;border-radius:15px;background:#f0f3fc}
.catalog-tone-2{background:#edf7f3}.catalog-tone-3{background:#fcf1ed}.catalog-tone-4{background:#f7f1ff}.catalog-tone-5{background:#eef6fc}.catalog-tone-6{background:#fff5eb}
.catalog-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.catalog-card a:hover img{transform:scale(1.045)}
.catalog-card h3{font-size:.91rem;line-height:1.35;font-weight:800;color:#23344a;margin:11px 0 4px}
.catalog-card p{font-size:.78rem;color:#69788b;line-height:1.35}
.catalog-arrow{position:absolute;top:calc((clamp(166px,19vw,218px) - 44px)/2);z-index:3;display:grid;place-items:center;width:44px;height:44px;border:1px solid #e2e7ef;border-radius:50%;background:#fff;box-shadow:0 4px 14px #17345c22;font-size:2rem;line-height:1;color:#17345c;cursor:pointer;transition:background .2s,transform .2s}
.catalog-arrow:hover{background:#edf6ff;transform:scale(1.05)}
.catalog-arrow:focus-visible{outline:3px solid #2679c8;outline-offset:2px}
.catalog-prev{left:-19px}.catalog-next{right:-19px}
.catalog-arrow:disabled{opacity:.35;cursor:default;transform:none}
@media(max-width:768px){.catalog-card{flex-basis:clamp(155px,43vw,205px)}.catalog-track{gap:14px}.catalog-arrow{top:74px}.catalog-prev{left:-10px}.catalog-next{right:-10px}}
@media(prefers-reduced-motion:reduce){.catalog-track{scroll-behavior:auto}.catalog-image img,.catalog-arrow{transition:none}}

/* FOOTER PROFESIONAL — override de estilos anteriores */
.site-footer {height:auto; width:100%; display:block; padding:0; opacity:1; text-align:left; background:#102b4b; color:#f7fbff; border-top:0; font-family:'Nunito',sans-serif;}
.site-footer .footer-shell {max-width:1280px; margin:0 auto; padding:70px clamp(22px,5vw,64px) 0;}
.site-footer .footer-main {display:grid; grid-template-columns:1.45fr .75fr .85fr 1.2fr; gap:clamp(25px,3vw,55px); align-items:start;}
.site-footer .footer-logo {display:inline-flex; flex-direction:column; gap:3px; color:#fff; font-family:'Fredoka',sans-serif; font-size:1.75rem; font-weight:600; line-height:1; text-decoration:none; letter-spacing:.02em;}
.site-footer .footer-logo span {color:#f6c966; font:700 .68rem 'Nunito',sans-serif; letter-spacing:.18em; text-transform:uppercase; margin-top:8px;}
.site-footer .footer-brand p,.site-footer .footer-message p {font-size:.94rem; line-height:1.75; color:#c3d2e3; margin:23px 0; max-width:290px;}
.site-footer .footer-social {display:flex; gap:11px; margin-top:24px;}
.site-footer .footer-social a {display:grid; place-items:center; width:43px; height:43px; border:1px solid #47617d; border-radius:13px; background:#1b3a5b; color:white; transition:background .2s,transform .2s,border-color .2s;}
.site-footer .footer-social a:hover {background:#2d6193; border-color:#f6c966; transform:translateY(-3px);}
.site-footer .footer-social svg {width:21px;height:21px;}
.site-footer .footer-links {display:flex;flex-direction:column;align-items:flex-start;gap:15px;}
.site-footer .footer-links h2 {font-size:1rem; font-weight:800; color:#fff; margin:4px 0 9px;}
.site-footer .footer-links a {font-size:.92rem;color:#c3d2e3;text-decoration:none;transition:color .2s;}
.site-footer .footer-links a:hover {color:#f6c966;}
.site-footer .footer-kicker {color:#f6c966;letter-spacing:.16em;font-size:.69rem;font-weight:800;}
.site-footer .footer-message h2 {font-family:'Fredoka',sans-serif;font-size:1.75rem;line-height:1.15;color:white;margin:13px 0 0;}
.site-footer .footer-message p {margin:15px 0 21px;}
.site-footer .footer-cta {display:inline-flex;align-items:center;gap:14px;background:#f6c966;color:#153252;padding:13px 18px;border-radius:12px;text-decoration:none;font-size:.88rem;font-weight:800;transition:transform .2s,background .2s;}
.site-footer .footer-cta:hover {background:#ffe09a;transform:translateY(-2px);}
.site-footer .footer-bottom {display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:58px;padding:22px 0;border-top:1px solid #36516c;color:#9fb4ca;font-size:.79rem;}
.site-footer a:focus-visible {outline:3px solid #f6c966;outline-offset:4px;}
@media(max-width:950px){.site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 30px;}}
@media(max-width:560px){.site-footer .footer-shell{padding:48px 24px 0;}.site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 18px;}.site-footer .footer-brand,.site-footer .footer-message{grid-column:1/-1;}.site-footer .footer-bottom{margin-top:42px;flex-direction:column;gap:8px;}.site-footer .footer-message h2{font-size:1.55rem;}}
@media(prefers-reduced-motion:reduce){.site-footer *{transition:none!important;}}

/* Hero: paleta inspirada en las tarjetas de promesas */
.hero-copy .hero-kicker{color:#137FD1}
.hero-copy .kicker-sparkle{color:#F04BA4}
.hero-copy h2{color:#2454B8}
.hero-copy h2 em{background:linear-gradient(105deg,#E63F99 10%,#8655D7 90%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.hero-copy .hero-verse{color:#A44A1B}
.hero-copy .hero-description{color:#526681}
.hero-copy .hero-note{color:#526681}
.hero-copy .hero-note span{color:#F04BA4}
.hero-copy .hero-cta{background:#D9348B;box-shadow:0 12px 25px rgba(217,52,139,.2)}
.hero-copy .hero-cta:hover,.hero-copy .hero-cta:focus-visible{background:#AA216A}


/* Unificación visual: blog y testimonios. Las reglas .flip-card originales no se modifican. */
.editorial-section{margin:0 0 88px;scroll-margin-top:120px}
.editorial-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}
.editorial-eyebrow{display:inline-block;font-size:.73rem;font-weight:800;letter-spacing:.16em;color:#1689e8;margin-bottom:9px}
.editorial-title{font-family:'Fredoka',sans-serif;font-size:clamp(2rem,3.6vw,3.3rem);font-weight:600;line-height:1.12;color:#2454b8;margin:0 0 12px}
.editorial-title em{font-style:normal;color:#d9348b}
.editorial-heading p{font-family:'Nunito',sans-serif;color:#526681;line-height:1.7;max-width:590px;font-size:1rem}
.editorial-deco{display:grid;place-items:center;flex:none;width:68px;height:68px;border-radius:22px;background:#e6f5ff;color:#1689e8;font-size:2.2rem;transform:rotate(-9deg)}
.editorial-deco-pink{background:#ffebf6;color:#e63f99;transform:rotate(8deg)}
.blog-section .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.blog-section .blog-card{padding:0;overflow:hidden;border:1px solid #e7eaf4;border-radius:24px;box-shadow:0 12px 34px rgba(28,60,104,.07);background:#fff;transition:transform .25s,box-shadow .25s}
.blog-section .blog-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(28,60,104,.12)}
.blog-art{height:170px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;isolation:isolate}
.blog-art::before,.blog-art::after{content:'';position:absolute;border-radius:50%;z-index:-1;opacity:.7}
.blog-art::before{width:240px;height:240px;left:-55px;top:-125px;background:#fff8}
.blog-art::after{width:170px;height:170px;right:-35px;bottom:-105px;background:#fff8}
.blog-art-blue{background:linear-gradient(125deg,#b7e8ff,#b8caff 70%,#d6c7ff)}
.blog-art-pink{background:linear-gradient(125deg,#ffd1e8,#f6b4e5 60%,#ffe1ae)}
.blog-art span{font-family:'Fredoka',sans-serif;font-size:clamp(2.1rem,4vw,3.2rem);letter-spacing:.06em;color:#2454b8}
.blog-art-pink span{color:#a52b78}
.blog-art i{position:absolute;right:16%;top:20%;font-style:normal;font-size:2.3rem;color:#fff}
.blog-content{padding:25px 28px 29px}
.blog-section .blog-tag{display:inline-flex;background:#eef6ff;color:#2454b8;padding:7px 12px;font-size:.72rem;letter-spacing:.09em}
.blog-section .border-pink .blog-tag{background:#fff0f7;color:#a52b78}
.blog-section .blog-card h3{font-family:'Fredoka',sans-serif;color:#17345c;font-size:1.55rem;font-weight:600;margin:17px 0 10px}
.blog-section .blog-card p{font-family:'Nunito',sans-serif;color:#526681;opacity:1;line-height:1.7;margin-bottom:18px}
.blog-section .btn-read{display:inline-flex;gap:10px;align-items:center;color:#a52b78;font-weight:800;font-size:.88rem}
.stories-section{padding:34px 30px 38px;border-radius:30px;background:linear-gradient(135deg,#f3f9ff 0%,#fff5fa 100%);border:1px solid #edf0f9}
.stories-section .editorial-heading{margin-bottom:32px}
.stories-section .testimonios-container{gap:24px}
@media(max-width:768px){.editorial-section{margin-bottom:58px}.editorial-heading{align-items:flex-start}.editorial-deco{width:47px;height:47px;border-radius:15px;font-size:1.55rem}.blog-section .blog-grid{grid-template-columns:1fr}.stories-section{padding:27px 17px 30px;border-radius:22px}.stories-section .testimonios-container{gap:20px}}
@media(prefers-reduced-motion:reduce){.blog-section .blog-card{transition:none}}

/* Identidad de marca: monograma original + nombre, sin alterar las demás secciones */
header .brand-lockup {display:inline-flex; align-items:center; gap:12px; text-decoration:none; min-width:0;}
header .brand-symbol {display:block; width:56px; height:56px; object-fit:contain; flex:none; transition:width .28s ease,height .28s ease;}
header .brand-wordmark {display:flex; flex-direction:column; gap:3px; line-height:1;}
header .brand-wordmark strong {font:600 clamp(1.22rem,1.8vw,1.7rem)/1.05 'Fredoka',sans-serif; color:#17345c; letter-spacing:-.5px;}
header .brand-wordmark small {font:700 .65rem/1.2 'Nunito',sans-serif; letter-spacing:1.8px; text-transform:uppercase; color:#8060aa;}
header.header-compact .brand-symbol {width:43px;height:43px;}
header.header-compact .brand-wordmark strong {font-size:1.25rem;}
.site-footer .footer-brand-lockup {display:inline-flex;flex-direction:row;align-items:center;gap:12px;}
.site-footer .footer-brand-lockup img {width:62px;height:62px;object-fit:contain;flex:none;}
.site-footer .footer-brand-name {display:flex;flex-direction:column;font:600 1.65rem/1 'Fredoka',sans-serif;color:white;letter-spacing:.02em;}
.site-footer .footer-brand-name small {margin-top:7px;font:700 .68rem/1.2 'Nunito',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#d9c2f3;}
@media(max-width:768px){header .brand-symbol{width:45px;height:45px;}header .brand-lockup{gap:8px;}header .brand-wordmark strong{font-size:1.23rem;}header .brand-wordmark small{font-size:.56rem;letter-spacing:1.15px;}header.header-compact .brand-symbol{width:39px;height:39px;}}
@media(prefers-reduced-motion:reduce){header .brand-symbol{transition:none;}}
