/* =============================================================
   Rica Tentación · style.css
   v1 — solo hero. Sigue el patrón modular del proyecto referente.
   ============================================================= */

/* --- Tokens de marca ---------------------------------------- */
:root {
    /* Paleta */
    --rt-orange:    #e78a60;
    --rt-coral:     #ff5757;
    --rt-crimson:   #e37d90;
    --rt-black:     #000000;
    --rt-white:     #ffffff;
    --rt-gray-100:  #d9d9d6;

    /* Sombras cálidas */
    --rt-shadow-warm-sm: 0 6px 18px rgba(231, 138, 96, 0.18);
    --rt-shadow-warm-md: 0 14px 36px rgba(231, 138, 96, 0.28);
    --rt-shadow-warm-lg: 0 24px 60px rgba(255, 87, 87, 0.22);

    /* Tipografía */
    --rt-font-display: 'Vintage Goods', 'Playfair Display', Georgia, serif;
    --rt-font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Radii */
    --rt-radius-sm: 12px;
    --rt-radius-md: 18px;
    --rt-radius-lg: 28px;
    --rt-radius-pill: 999px;
}

/* TODO @font-face cuando el cliente entregue Vintage Goods en .woff2:
@font-face {
    font-family: 'Vintage Goods';
    src: url('../font/vintage-goods.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}
*/

/* --- Reset mínimo ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* Cinturón de seguridad: ninguna decoración (aurora, blobs, ::before/::after con
       offsets negativos en history/products/contact/about/footer) debe poder
       inducir scroll horizontal en móvil. */
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--rt-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--rt-black);
    background: var(--rt-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

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

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

/* Media flexible por defecto — evita que video/iframe rompan layout móvil. */
video, iframe, svg, picture { max-width: 100%; height: auto; }

/* Compatibilidad mobile-first con .container fluido al ancho del viewport.
   Bootstrap 5 ya lo hace, pero refuerza por si algún ancestro inyectara
   ancho fijo (algunos plugins jQuery lo hacen). */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 100%;
}

@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* Anchor navigation: cuando alguien abre /#products directamente, la sección no
   debe quedar tapada por el #header fixed-top. Mobile usa ~80px de header (sin
   topbar), desktop usa ~120px (header + topbar de 40px). */
section[id] { scroll-margin-top: 80px; }
@media (min-width: 992px) { section[id] { scroll-margin-top: 120px; } }
#hero { scroll-margin-top: 0; }

/* =============================================================
   TOPBAR
   ============================================================= */

#topbar {
    height: 40px;
    background: linear-gradient(135deg, var(--rt-orange) 0%, var(--rt-coral) 100%);
    color: var(--rt-white);
    font-size: 0.85rem;
    z-index: 1031; /* > navbar fixed-top (1030) */
    transition: opacity 0.3s ease, transform 0.3s ease, height 0.3s ease;
}

#topbar.topbar-scrolled {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.topbar__contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--rt-white);
    transition: opacity 0.2s ease;
}

.topbar__link:hover { color: var(--rt-white); opacity: 0.85; }

.topbar__link i { font-size: 1.1rem; }

.topbar__link--soft { opacity: 0.9; }

.topbar__socials { display: flex; gap: 0.6rem; align-items: center; }

.topbar__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: var(--rt-white);
    transition: background 0.2s ease, transform 0.2s ease;
}

.topbar__social:hover {
    background: var(--rt-white);
    color: var(--rt-coral);
    transform: translateY(-1px);
}

.topbar__social i { font-size: 1rem; }

/* =============================================================
   NAVBAR
   ============================================================= */

#header {
    top: 40px; /* deja espacio al topbar */
    background: transparent;
    transition: background 0.3s ease, top 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 0.25rem 0;
}

#header.header-scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 991.98px) {
    #header { top: 0; } /* sin topbar visible en mobile */
}

.navbar-rt {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* Padding lateral lo da el .container interno (Bootstrap 5 gutter).
       En mobile reforzamos un poco más con un padding en el .container. */
}

.navbar-rt > .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 576px) {
    .navbar-rt > .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1200px) {
    /* En desktop el container fluye al max-width estándar; reset a default BS5 */
    .navbar-rt > .container { padding-left: 0.75rem; padding-right: 0.75rem; }
}

.navbar-rt .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Logo real (JPG con fondo blanco) recortado a círculo.
   !important blindado contra el atributo height="56" inline del <img>
   y contra reglas externas (boxicons/aos) que pudieran reinyectar dimensiones. */
.navbar-rt .navbar-brand img {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(231, 138, 96, 0.35);
    border: 2px solid var(--rt-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.navbar-rt .navbar-brand:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 87, 87, 0.45);
}

@media (min-width: 576px) {
    .navbar-rt .navbar-brand img { width: 60px !important; height: 60px !important; max-width: 60px; }
}

@media (min-width: 992px) {
    .navbar-rt .navbar-brand img { width: 64px !important; height: 64px !important; max-width: 64px; }
}

.navbar-brand__lockup {
    font-family: var(--rt-font-display);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 60%, var(--rt-crimson) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.015em;
}

@media (min-width: 576px) {
    .navbar-brand__lockup { font-size: 1.75rem; }
}

@media (min-width: 992px) {
    .navbar-brand__lockup { font-size: 1.9rem; }
}

/* =============================================================
   RT EMBLEM (monograma circular — placeholder hasta que el cliente
   entregue el logo real en assets/img/logo.png)
   ============================================================= */

.rt-emblem {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 55%),
        linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 55%, var(--rt-crimson) 100%);
    color: var(--rt-white);
    box-shadow:
        inset 0 -3px 8px rgba(0, 0, 0, 0.18),
        0 6px 18px rgba(231, 138, 96, 0.45);
    position: relative;
    isolation: isolate;
}

.rt-emblem::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.rt-emblem__mono {
    font-family: var(--rt-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

@media (min-width: 576px) {
    .rt-emblem { width: 50px; height: 50px; }
    .rt-emblem__mono { font-size: 1.2rem; }
}

/* Utilidad accesible para texto solo-screen-reader (BS5 no expone .sr-only) */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Hero: emblema mucho mayor, flotando arriba del título como sello de marca */
.hero-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* Variante hero con logo real (circular crop, halo cálido) */
.hero-brand--logo { margin-bottom: 1.5rem; }

.hero-brand__logo {
    /* Tamaño fluido: nunca más ancho que el viewport menos un cómodo padding.
       Evita que la sombra (80px de blur) + la rotación ±3deg de la animación
       saquen píxeles a la izquierda en pantallas estrechas (caso visto en captura
       de Movistar 4G — overflow visible en el borde izquierdo). */
    width: min(240px, 60vw);
    height: min(240px, 60vw);
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 4px solid var(--rt-white);
    box-shadow:
        0 30px 80px rgba(255, 87, 87, 0.42),
        0 12px 30px rgba(231, 138, 96, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    animation: rt-emblem-float 6s ease-in-out infinite;
    will-change: transform;
}

@media (min-width: 576px) {
    .hero-brand__logo { width: 220px; height: 220px; }
}

@media (min-width: 992px) {
    /* Reducido para que el hero completo (logo + subtítulo + ambos CTAs) entre
       en el primer viewport desktop sin necesidad de scroll. */
    .hero-brand__logo { width: 240px; height: 240px; border-width: 5px; }
}

@media (min-width: 1400px) {
    .hero-brand__logo { width: 260px; height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-brand__logo { animation: none; }
}

.rt-emblem--hero {
    width: 96px;
    height: 96px;
    box-shadow:
        inset 0 -5px 14px rgba(0, 0, 0, 0.2),
        0 18px 50px rgba(255, 87, 87, 0.5),
        0 4px 14px rgba(231, 138, 96, 0.45);
    animation: rt-emblem-float 6s ease-in-out infinite;
}

.rt-emblem--hero::after {
    inset: 6px;
    border-width: 2px;
}

.rt-emblem--hero .rt-emblem__mono {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .rt-emblem--hero { width: 120px; height: 120px; }
    .rt-emblem--hero .rt-emblem__mono { font-size: 3.1rem; }
}

@keyframes rt-emblem-float {
    0%, 100% { transform: translateY(0)    rotate(-3deg); }
    50%      { transform: translateY(-6px) rotate(3deg);  }
}

@media (prefers-reduced-motion: reduce) {
    .rt-emblem--hero { animation: none; }
}

/* Preloader: emblema grande como anchor visual antes del lockup */
.rt-emblem--loader {
    width: 72px;
    height: 72px;
    margin-bottom: 0.5rem;
    box-shadow:
        inset 0 -4px 10px rgba(0, 0, 0, 0.2),
        0 12px 36px rgba(255, 87, 87, 0.4);
    animation: rt-emblem-pulse 1.8s ease-in-out infinite;
}

.rt-emblem--loader .rt-emblem__mono { font-size: 1.95rem; }

/* Preloader: logo real recortado en círculo */
.preloader__logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 4px solid var(--rt-white);
    box-shadow:
        0 20px 50px rgba(255, 87, 87, 0.38),
        0 8px 20px rgba(231, 138, 96, 0.35);
    animation: rt-emblem-pulse 1.8s ease-in-out infinite;
}

@keyframes rt-emblem-pulse {
    0%, 100% { transform: scale(1);    }
    50%      { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .rt-emblem--loader,
    .preloader__logo { animation: none; }
}

.navbar-rt .navbar-toggler {
    border: 1.5px solid rgba(231, 138, 96, 0.35);
    border-radius: var(--rt-radius-sm);
    padding: 0.35rem 0.55rem;
    background: rgba(255, 255, 255, 0.85);
    color: var(--rt-orange);
}

.navbar-rt .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255, 87, 87, 0.25); }

.navbar-rt .navbar-toggler i { font-size: 1.6rem; line-height: 1; }

.navbar-rt .navbar-nav { gap: 0.35rem; align-items: center; }

.navbar-rt .nav-link {
    position: relative;
    font-weight: 500;
    color: var(--rt-black);
    padding: 0.55rem 0.95rem !important;
    border-radius: var(--rt-radius-pill);
    transition: color 0.2s ease, background 0.2s ease;
}

.navbar-rt .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.3rem;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--rt-coral), var(--rt-orange));
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.navbar-rt .nav-link:hover,
.navbar-rt .nav-link:focus-visible {
    color: var(--rt-crimson);
}

.navbar-rt .nav-item.active > .nav-link,
.navbar-rt .nav-link.active {
    color: var(--rt-coral);
}

.navbar-rt .nav-item.active > .nav-link::after,
.navbar-rt .nav-link.active::after {
    width: 60%;
}

.navbar-rt .dropdown-menu {
    border: none;
    border-radius: var(--rt-radius-md);
    box-shadow: var(--rt-shadow-warm-sm);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.navbar-rt .dropdown-item {
    border-radius: var(--rt-radius-sm);
    padding: 0.5rem 0.85rem;
    font-weight: 500;
}

.navbar-rt .dropdown-item:hover,
.navbar-rt .dropdown-item:focus {
    background: rgba(231, 138, 96, 0.12);
    color: var(--rt-coral);
}

@media (max-width: 991.98px) {
    .navbar-rt .navbar-collapse {
        flex-basis: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: var(--rt-radius-md);
        margin-top: 0.75rem;
        padding: 0.85rem 0.75rem;
        box-shadow: 0 12px 30px rgba(231, 138, 96, 0.18), 0 4px 10px rgba(0, 0, 0, 0.06);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    .navbar-rt .navbar-collapse.show { display: block; }
    .navbar-rt .navbar-nav {
        gap: 0.15rem;
        align-items: stretch;
        width: 100%;
    }
    .navbar-rt .nav-item { width: 100%; }
    .navbar-rt .nav-link {
        display: block;
        text-align: left;
        padding: 0.75rem 1rem !important;
    }
    .navbar-rt .nav-link::after { display: none; }
    .navbar-rt .nav-item.active > .nav-link,
    .navbar-rt .nav-link.active {
        background: rgba(255, 87, 87, 0.1);
    }
    .navbar-rt .dropdown-menu {
        position: static;
        margin-top: 0.25rem;
        box-shadow: none;
        border: 1px dashed rgba(231, 138, 96, 0.25);
    }
}

/* =============================================================
   HERO
   ============================================================= */

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--rt-black);
    background-color: #fff7f2; /* base cálida si no hay foto */
    isolation: isolate;
    /* Refuerzo del overflow inline declarado en banner.php por si el atributo style
       se sobreescribe en el futuro. La aurora usa inset:-10% + blobs de 55vw. */
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Overlay sutil cuando hay imagen de fondo (la imagen se setea inline) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.55) 60%, rgba(255, 247, 242, 0.95) 100%);
    z-index: 0;
    pointer-events: none;
}

/* --- Aurora animada (blobs) -------------------------------- */
.hero-aurora {
    position: absolute;
    inset: -10%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    filter: blur(80px) saturate(115%);
}

.hero-aurora__blob {
    position: absolute;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    opacity: 0.65;
    mix-blend-mode: multiply;
    will-change: transform;
}

.hero-aurora__blob--orange {
    background: var(--rt-orange);
    top: -10%;
    left: -10%;
    animation: rt-drift-a 18s ease-in-out infinite alternate;
}

.hero-aurora__blob--coral {
    background: var(--rt-coral);
    bottom: -15%;
    right: -10%;
    animation: rt-drift-b 22s ease-in-out infinite alternate;
}

.hero-aurora__blob--crimson {
    background: var(--rt-crimson);
    top: 30%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    opacity: 0.5;
    animation: rt-drift-c 26s ease-in-out infinite alternate;
}

@keyframes rt-drift-a {
    0%   { transform: translate(0, 0)        scale(1);   }
    100% { transform: translate(8vw, 6vh)    scale(1.15); }
}

@keyframes rt-drift-b {
    0%   { transform: translate(0, 0)        scale(1);   }
    100% { transform: translate(-6vw, -8vh)  scale(1.2); }
}

@keyframes rt-drift-c {
    0%   { transform: translate(0, 0)        scale(0.9); }
    100% { transform: translate(-4vw, 5vh)   scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-aurora__blob { animation: none; }
}

/* --- Contenedor hero --------------------------------------- */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 880px;
    padding: 5rem 1.25rem 2.5rem;
    margin-inline: auto;
}

.hero-eyebrow {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: 0.45rem 1rem;
    border-radius: var(--rt-radius-pill);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(231, 138, 96, 0.35);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--rt-orange);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--rt-font-display);
    font-weight: 700;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 1.02;
    margin: 0 0 1.25rem;
    color: var(--rt-black);
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 50%, var(--rt-crimson) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.5;
    margin: 0 auto 1.75rem;
    max-width: 620px;
    color: #2a2a2a;
}

/* --- CTAs --------------------------------------------------- */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.btn-rt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.95rem 1.75rem;
    border-radius: var(--rt-radius-pill);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
}

.btn-rt i { font-size: 1.25rem; transition: transform 0.25s ease; }

.btn-rt--primary {
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 100%);
    color: var(--rt-white);
    box-shadow: var(--rt-shadow-warm-md);
}

.btn-rt--primary:hover,
.btn-rt--primary:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--rt-shadow-warm-lg);
    color: var(--rt-white);
}

.btn-rt--primary:hover i { transform: translateX(4px); }

.btn-rt--ghost {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--rt-black);
}

.btn-rt--ghost:hover,
.btn-rt--ghost:focus-visible {
    transform: translateY(-3px);
    background: var(--rt-white);
    border-color: var(--rt-crimson);
    color: var(--rt-crimson);
}

.btn-rt:focus-visible {
    outline: 3px solid var(--rt-crimson);
    outline-offset: 3px;
}

/* --- Breakpoints ------------------------------------------- */
@media (max-width: 768px) {
    .hero-container { padding: 5rem 1rem 3.5rem; }
    .btn-rt { padding: 0.85rem 1.4rem; font-size: 0.95rem; }
}

/* Phones muy estrechos (≤360px iPhone SE 1st, Galaxy Fold cerrado, etc.):
   reducimos padding a 0.75rem y achicamos sombra del logo para que el sello
   no roce los bordes (visto en captura Movistar — viewport ~360px). */
@media (max-width: 375px) {
    .hero-container { padding: 4.5rem 0.75rem 3rem; }
    .hero-brand__logo {
        box-shadow:
            0 20px 50px rgba(255, 87, 87, 0.35),
            0 8px 20px rgba(231, 138, 96, 0.4);
    }
    .btn-rt { padding: 0.8rem 1.25rem; font-size: 0.9rem; }
    .hero-actions { gap: 0.6rem; }
}

@media (min-width: 1200px) {
    .hero-container { padding: 6rem 1.25rem 3rem; }
}

/* =============================================================
   SECCIÓN UTILITIES
   ============================================================= */

.section-bg {
    background: linear-gradient(180deg, var(--rt-white) 0%, #fff7f2 100%);
}

/* =============================================================
   NUESTRA HISTORIA
   ============================================================= */

.history {
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.history::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 87, 87, 0.18), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

.history::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(227, 125, 144, 0.16), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

.history .container { position: relative; z-index: 1; }

.history__grid { gap: 3rem 0; }

/* --- Texto ---- */
.history__eyebrow {
    display: inline-block;
    margin: 0 0 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--rt-radius-pill);
    background: rgba(231, 138, 96, 0.12);
    color: var(--rt-orange);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.history__title {
    font-family: var(--rt-font-display);
    font-weight: 700;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    margin: 0 0 1.5rem;
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 60%, var(--rt-crimson) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}

.history__body { margin: 0 0 1.5rem; }

.history__paragraph {
    margin: 0 0 1rem;
    color: #2a2a2a;
    font-size: 1.02rem;
    line-height: 1.7;
}

.history__paragraph--lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--rt-black);
}

.history__paragraph:last-child {
    font-style: italic;
    color: var(--rt-crimson);
    font-weight: 500;
}

/* --- Valores chips --- */
.history__values {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.history__value {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: var(--rt-radius-pill);
    background: var(--rt-white);
    border: 1.5px solid rgba(231, 138, 96, 0.25);
    color: var(--rt-black);
    font-weight: 500;
    font-size: 0.92rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.history__value:hover {
    transform: translateY(-2px);
    box-shadow: var(--rt-shadow-warm-sm);
    border-color: var(--rt-crimson);
}

.history__value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rt-coral), var(--rt-orange));
    color: var(--rt-white);
}

.history__value-icon i { font-size: 1rem; }

/* --- Visual / imagen --- */
.history__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.history__figure {
    margin: 0;
    width: 100%;
    border-radius: var(--rt-radius-lg);
    overflow: hidden;
    box-shadow: var(--rt-shadow-warm-md);
}

.history__figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* --- Composición decorativa cuando NO hay foto --- */
.history__artwork {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.history__shape {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.history__shape--lg {
    inset: 8% 8% 8% 8%;
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 55%, var(--rt-crimson) 100%);
    box-shadow: var(--rt-shadow-warm-lg);
    animation: rt-pulse 6s ease-in-out infinite alternate;
}

.history__shape--md {
    width: 35%;
    height: 35%;
    top: -2%;
    right: -2%;
    background: var(--rt-crimson);
    opacity: 0.85;
    animation: rt-float 7s ease-in-out infinite alternate;
}

.history__shape--sm {
    width: 22%;
    height: 22%;
    bottom: 4%;
    left: 2%;
    background: var(--rt-white);
    border: 3px solid var(--rt-orange);
    animation: rt-float 9s ease-in-out infinite alternate-reverse;
}

.history__icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 40%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-white);
    font-size: clamp(4rem, 12vw, 7rem);
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.history__sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--rt-white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
    opacity: 0.9;
    animation: rt-twinkle 2.4s ease-in-out infinite;
}

.history__sparkle--1 { top: 12%;  left: 18%; animation-delay: 0s;   }
.history__sparkle--2 { top: 28%;  right: 12%; animation-delay: 0.8s; width: 7px; height: 7px; }
.history__sparkle--3 { bottom: 22%; right: 22%; animation-delay: 1.4s; width: 6px; height: 6px; }

@keyframes rt-pulse {
    0%   { transform: scale(1);    }
    100% { transform: scale(1.04); }
}

@keyframes rt-float {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(8px, -10px); }
}

@keyframes rt-twinkle {
    0%, 100% { transform: scale(1);   opacity: 0.9; }
    50%      { transform: scale(1.5); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
    .history__shape--lg,
    .history__shape--md,
    .history__shape--sm,
    .history__sparkle { animation: none; }
}

/* --- Pull quote --- */
.history__quote {
    position: relative;
    margin: 0;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    background: var(--rt-white);
    border-radius: var(--rt-radius-md);
    border-left: 4px solid var(--rt-coral);
    box-shadow: var(--rt-shadow-warm-sm);
    width: 100%;
    max-width: 460px;
}

.history__quote p {
    margin: 0 0 0.5rem;
    font-family: var(--rt-font-display);
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--rt-black);
    font-style: italic;
}

.history__quote cite {
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rt-crimson);
    letter-spacing: 0.04em;
}

.history__quote-icon {
    position: absolute;
    top: 1.1rem;
    left: 1rem;
    font-size: 1.5rem;
    color: var(--rt-orange);
}

/* --- Responsive history --- */
@media (max-width: 991.98px) {
    .history { padding: 4.5rem 0 4rem; }
    .history__visual { order: -1; } /* visual primero en mobile para enganchar */
    .history__artwork { max-width: 320px; }
}

@media (max-width: 575.98px) {
    .history { padding: 3.5rem 0 3rem; }
    .history__values { gap: 0.5rem; }
    .history__value { font-size: 0.85rem; padding: 0.45rem 0.85rem; }
}

/* =============================================================
   SECTION HEAD (reutilizable)
   ============================================================= */

.section-head { max-width: 720px; margin: 0 auto 3rem; }

.section-head__eyebrow {
    display: inline-block;
    margin: 0 0 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--rt-radius-pill);
    background: rgba(231, 138, 96, 0.12);
    color: var(--rt-orange);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-head__title {
    font-family: var(--rt-font-display);
    font-weight: 700;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 60%, var(--rt-crimson) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}

.section-head__description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* =============================================================
   PRODUCTOS
   ============================================================= */

.products {
    padding: 6rem 0 5rem;
    position: relative;
    background: #fffaf6;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 138, 96, 0.15), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.products .container { position: relative; z-index: 1; }

/* --- Filtros (chips) --- */
.products__filters {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.products__filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--rt-radius-pill);
    background: var(--rt-white);
    border: 1.5px solid rgba(231, 138, 96, 0.25);
    color: var(--rt-black);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.products__filter i { font-size: 1.1rem; transition: transform 0.25s ease; }

.products__filter:hover {
    transform: translateY(-2px);
    border-color: var(--rt-crimson);
    color: var(--rt-crimson);
    box-shadow: var(--rt-shadow-warm-sm);
}

.products__filter:focus-visible {
    outline: 3px solid var(--rt-crimson);
    outline-offset: 3px;
}

.products__filter.is-active {
    background: linear-gradient(135deg, var(--rt-coral), var(--rt-orange));
    border-color: transparent;
    color: var(--rt-white);
    box-shadow: var(--rt-shadow-warm-md);
}

.products__filter.is-active i { color: var(--rt-white); }

/* --- Grid (mobile-first: 1 col por defecto, robusto incluso a 280px) --- */
.products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .products__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (min-width: 992px) {
    .products__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1400px) {
    .products__grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Card --- */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--rt-white);
    border-radius: var(--rt-radius-lg);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(217, 217, 214, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}

.product-card[hidden] { display: none !important; }

.product-card.is-leaving {
    opacity: 0;
    transform: scale(0.96);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rt-shadow-warm-md);
    border-color: rgba(231, 138, 96, 0.5);
}

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7f2, #ffeae0);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img { transform: scale(1.06); }

/* Placeholder con ícono por categoría */
.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-white);
    font-size: 4.5rem;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__placeholder { transform: scale(1.08); }

.product-card__placeholder--tortas    { background: linear-gradient(135deg, var(--rt-coral)   0%, var(--rt-orange)  100%); }
.product-card__placeholder--postres   { background: linear-gradient(135deg, var(--rt-orange)  0%, var(--rt-crimson) 100%); }
.product-card__placeholder--papeleria { background: linear-gradient(135deg, var(--rt-crimson) 0%, var(--rt-coral)   100%); }

.product-card__badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.3rem 0.7rem;
    border-radius: var(--rt-radius-pill);
    background: var(--rt-white);
    color: var(--rt-crimson);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-card__body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.product-card__name {
    font-family: var(--rt-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--rt-black);
    margin: 0;
}

.product-card__description {
    margin: 0;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.5;
    flex: 1;
}

.product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: var(--rt-radius-pill);
    background: rgba(37, 211, 102, 0.08);
    color: #1faa55;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1.5px solid rgba(37, 211, 102, 0.3);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.product-card__cta i { font-size: 1.2rem; }

.product-card__cta:hover,
.product-card__cta:focus-visible {
    background: #25d366;
    color: var(--rt-white);
    border-color: #25d366;
    transform: translateY(-2px);
}

.product-card__cta:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.4);
    outline-offset: 2px;
}

/* --- Empty state --- */
.products__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 2rem 0 0;
    padding: 2rem;
    color: #888;
    font-size: 1rem;
    text-align: center;
}

.products__empty i { font-size: 1.4rem; color: var(--rt-orange); }

@media (max-width: 575.98px) {
    .products { padding: 4rem 0 3.5rem; }
    .products__filters { gap: 0.4rem; }
    .products__filter { font-size: 0.85rem; padding: 0.5rem 0.85rem; }
    .product-card__name { font-size: 1.1rem; }
}

/* =============================================================
   TESTIMONIOS
   ============================================================= */

.testimonials {
    position: relative;
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, #2a0a14 0%, #4a1424 50%, #1a0810 100%);
    color: var(--rt-white);
    overflow: hidden;
    isolation: isolate;
}

/* Aurora cálida sobre el fondo oscuro */
.testimonials__bg {
    position: absolute;
    inset: -10%;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 87, 87, 0.35), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(227, 125, 144, 0.32), transparent 55%),
        radial-gradient(circle at 50% 90%, rgba(231, 138, 96, 0.28), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
}

.testimonials .container { position: relative; z-index: 1; }

/* --- Section head variant claro sobre fondo oscuro --- */
.section-head__eyebrow--light {
    background: rgba(255, 255, 255, 0.14);
    color: var(--rt-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.section-head__title--light {
    background: linear-gradient(135deg, #ffe0d4 0%, var(--rt-white) 60%, #ffd1d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-head__description--light {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Card --- */
.testimonial-card {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--rt-radius-lg);
    padding: 2.25rem 1.75rem 1.75rem;
    margin: 0.5rem 0.5rem 0.75rem;
    color: var(--rt-white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(231, 138, 96, 0.55);
    box-shadow: 0 22px 50px rgba(255, 87, 87, 0.22);
}

.testimonial-card__quote {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    font-size: 2.2rem;
    color: rgba(231, 138, 96, 0.55);
}

.testimonial-card__rating {
    display: flex;
    gap: 2px;
    margin: 0 0 0.85rem;
    color: var(--rt-orange);
    font-size: 1.05rem;
}

.testimonial-card__rating i { line-height: 1; }

.testimonial-card__comment {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.testimonial-card__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rt-coral), var(--rt-orange));
    color: var(--rt-white);
    font-family: var(--rt-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.testimonial-card__meta { line-height: 1.3; }

.testimonial-card__name {
    margin: 0;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--rt-white);
}

.testimonial-card__occasion {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Owl overrides --- */
.testimonials__carousel .owl-dots {
    margin-top: 1.5rem !important;
    text-align: center;
}

.testimonials__carousel .owl-dots .owl-dot {
    outline: none;
}

.testimonials__carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.3) !important;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
    border-radius: 999px;
    display: block;
}

.testimonials__carousel .owl-dots .owl-dot:hover span {
    background: rgba(255, 255, 255, 0.55) !important;
}

.testimonials__carousel .owl-dots .owl-dot.active span {
    background: linear-gradient(90deg, var(--rt-coral), var(--rt-orange)) !important;
    width: 28px;
}

@media (max-width: 575.98px) {
    .testimonials { padding: 4rem 0 3.5rem; }
    /* En móvil eliminamos el margin lateral que sumado al margin:24 de Owl
       hacía la card sobresalir del stage. */
    .testimonial-card { padding: 1.75rem 1.4rem 1.4rem; margin: 0.25rem 0 0.5rem; }
    .testimonial-card__comment { font-size: 0.95rem; }
    .testimonial-card__quote { font-size: 1.8rem; top: 0.85rem; right: 1rem; }
}

/* =============================================================
   QUIÉNES SOMOS
   ============================================================= */

.about {
    padding: 6rem 0 5rem;
    position: relative;
    background: var(--rt-white);
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 87, 87, 0.06), transparent 65%);
    pointer-events: none;
}

.about .container { position: relative; z-index: 1; }

.about__intro { gap: 3rem 0; margin-bottom: 3rem; }

/* --- Visual (foto del equipo o composición) --- */
.about__visual {
    display: flex;
    justify-content: center;
}

.about__figure {
    margin: 0;
    width: 100%;
    max-width: 420px;
    border-radius: var(--rt-radius-lg);
    overflow: hidden;
    box-shadow: var(--rt-shadow-warm-md);
}

.about__figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* Mosaico decorativo (4 azulejos en gradient) */
.about__artwork {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.about__art-tile {
    border-radius: var(--rt-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-white);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    box-shadow: var(--rt-shadow-warm-sm);
    transition: transform 0.4s ease;
    will-change: transform;
}

.about__art-tile:hover { transform: translateY(-4px) rotate(-2deg); }

.about__art-tile--1 {
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 100%);
    transform: rotate(-3deg);
}

.about__art-tile--2 {
    background: linear-gradient(135deg, var(--rt-orange) 0%, var(--rt-crimson) 100%);
    transform: rotate(2deg);
    margin-top: 1.5rem;
}

.about__art-tile--3 {
    background: linear-gradient(135deg, var(--rt-crimson) 0%, var(--rt-coral) 100%);
    transform: rotate(2deg);
    margin-bottom: 1.5rem;
}

.about__art-tile--4 {
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-crimson) 100%);
    transform: rotate(-2deg);
}

/* --- Pilares (cards) --- */
.about__pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.5rem;
    background: var(--rt-white);
    border-radius: var(--rt-radius-md);
    border: 1px solid rgba(217, 217, 214, 0.7);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
    transform: translateX(4px);
    box-shadow: var(--rt-shadow-warm-sm);
    border-color: rgba(231, 138, 96, 0.45);
}

.pillar-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--rt-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rt-coral), var(--rt-orange));
    color: var(--rt-white);
    box-shadow: var(--rt-shadow-warm-sm);
}

.pillar-card__icon i { font-size: 1.8rem; }

.pillar-card:nth-child(2) .pillar-card__icon {
    background: linear-gradient(135deg, var(--rt-orange), var(--rt-crimson));
}

.pillar-card:nth-child(3) .pillar-card__icon {
    background: linear-gradient(135deg, var(--rt-crimson), var(--rt-coral));
}

.pillar-card__body { flex: 1; }

.pillar-card__title {
    font-family: var(--rt-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0 0 0.45rem;
    color: var(--rt-black);
}

.pillar-card__description {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.55;
}

/* --- Strip de valores --- */
.about__values {
    list-style: none;
    padding: 1.5rem;
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    background: linear-gradient(135deg, rgba(231, 138, 96, 0.06), rgba(255, 87, 87, 0.06));
    border-radius: var(--rt-radius-lg);
    border: 1px dashed rgba(231, 138, 96, 0.3);
}

.about__value {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--rt-radius-pill);
    background: var(--rt-white);
    color: var(--rt-black);
    font-weight: 500;
    font-size: 0.92rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, color 0.25s ease;
}

.about__value i {
    font-size: 1.15rem;
    color: var(--rt-coral);
    transition: color 0.25s ease;
}

.about__value:hover {
    transform: translateY(-2px);
    color: var(--rt-crimson);
}

.about__value:hover i { color: var(--rt-crimson); }

@media (max-width: 991.98px) {
    .about__visual { margin-bottom: 1rem; }
    .about__artwork { max-width: 320px; }
}

@media (max-width: 575.98px) {
    .about { padding: 4rem 0 3.5rem; }
    .about__artwork { max-width: 260px; gap: 0.75rem; }
    /* Anulamos los márgenes decorativos que en grid 2x2 estrecho generan
       desequilibrios y se ven recortados — el rotate ya da el toque. */
    .about__art-tile--2 { margin-top: 0; }
    .about__art-tile--3 { margin-bottom: 0; }
    .pillar-card { padding: 1.15rem; gap: 0.9rem; }
    .pillar-card__icon { width: 48px; height: 48px; }
    .pillar-card__icon i { font-size: 1.5rem; }
    .about__values { padding: 1rem; gap: 0.5rem; }
    .about__value { font-size: 0.85rem; padding: 0.45rem 0.85rem; }
}

/* =============================================================
   EXTRAS (Otras cosas a vender)
   ============================================================= */

.extras {
    padding: 6rem 0 5rem;
    background: linear-gradient(180deg, var(--rt-white) 0%, #fff7f2 100%);
    position: relative;
}

.extras::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -50px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 138, 96, 0.14), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}

.extras .container { position: relative; z-index: 1; }

/* Wrapper del carrusel — padding decrece en pantallas grandes para que las
   tarjetas ocupen más ancho y las flechas queden más afuera. */
.extras__carousel-wrap {
    position: relative;
    padding: 0 3rem;
}

@media (max-width: 575.98px) {
    .extras__carousel-wrap { padding: 0; }
}

@media (min-width: 992px) {
    .extras__carousel-wrap { padding: 0 1rem; }
}

@media (min-width: 1200px) {
    .extras__carousel-wrap { padding: 0; }
}

/* --- Card --- */
.extra-card {
    display: flex;
    flex-direction: column;
    background: var(--rt-white);
    border-radius: var(--rt-radius-lg);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(217, 217, 214, 0.6);
    margin: 0.5rem 0 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.extra-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rt-shadow-warm-md);
    border-color: rgba(231, 138, 96, 0.5);
}

.extra-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.extra-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.extra-card:hover .extra-card__media img { transform: scale(1.06); }

.extra-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-white);
    font-size: 4rem;
    transition: transform 0.5s ease;
}

.extra-card:hover .extra-card__placeholder { transform: scale(1.08); }

/* Variantes de tono — cada tarjeta toma uno distinto para evitar monotonía */
.extra-card--coral   .extra-card__placeholder { background: linear-gradient(135deg, var(--rt-coral)   0%, var(--rt-orange)  100%); }
.extra-card--orange  .extra-card__placeholder { background: linear-gradient(135deg, var(--rt-orange)  0%, var(--rt-crimson) 100%); }
.extra-card--crimson .extra-card__placeholder { background: linear-gradient(135deg, var(--rt-crimson) 0%, var(--rt-coral)   100%); }

.extra-card__tagline {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--rt-radius-pill);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--rt-coral);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.extra-card__body {
    padding: 1.25rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.extra-card__name {
    font-family: var(--rt-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--rt-black);
}

.extra-card__description {
    margin: 0;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.5;
    flex: 1;
}

.extra-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: var(--rt-radius-pill);
    background: transparent;
    color: var(--rt-coral);
    font-weight: 600;
    font-size: 0.92rem;
    border: 1.5px solid var(--rt-coral);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.extra-card__cta i { font-size: 1.2rem; transition: transform 0.25s ease; }

.extra-card__cta:hover,
.extra-card__cta:focus-visible {
    background: linear-gradient(135deg, var(--rt-coral), var(--rt-orange));
    color: var(--rt-white);
    border-color: transparent;
    transform: translateY(-1px);
}

.extra-card__cta:hover i { transform: translateX(3px); }

@media (max-width: 575.98px) {
    .extras { padding: 4rem 0 3.5rem; }
    .extra-card__name { font-size: 1.1rem; }
}

/* --- Owl nav (flechas prev/next custom) ----------------------- */
.extras__carousel .owl-nav {
    margin: 0;
    position: static;
}

.extras__carousel .owl-nav button.owl-prev,
.extras__carousel .owl-nav button.owl-next {
    position: absolute;
    top: calc(50% - 2rem); /* centrado sobre el media de la card, no sobre el body */
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rt-white) !important;
    color: var(--rt-coral) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(231, 138, 96, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    line-height: 1;
    padding: 0 !important;
    margin: 0 !important;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    z-index: 4;
}

.extras__carousel .owl-nav button.owl-prev { left: -8px; }
.extras__carousel .owl-nav button.owl-next { right: -8px; }

/* En pantallas grandes las flechas se alejan del carrusel para dar aire */
@media (min-width: 992px) {
    .extras__carousel .owl-nav button.owl-prev { left: -32px; }
    .extras__carousel .owl-nav button.owl-next { right: -32px; }
}

@media (min-width: 1400px) {
    .extras__carousel .owl-nav button.owl-prev { left: -48px; }
    .extras__carousel .owl-nav button.owl-next { right: -48px; }
}

.extras__carousel .owl-nav button.owl-prev i,
.extras__carousel .owl-nav button.owl-next i {
    display: block;
    font-size: inherit;
    line-height: 1;
    transition: transform 0.3s ease;
}

.extras__carousel .owl-nav button.owl-prev:hover,
.extras__carousel .owl-nav button.owl-next:hover {
    background: linear-gradient(135deg, var(--rt-coral), var(--rt-orange)) !important;
    color: var(--rt-white) !important;
    box-shadow: 0 16px 40px rgba(255, 87, 87, 0.4), 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-50%) scale(1.06);
}

.extras__carousel .owl-nav button.owl-prev:hover i { transform: translateX(-3px); }
.extras__carousel .owl-nav button.owl-next:hover i { transform: translateX(3px); }

.extras__carousel .owl-nav button.owl-prev:focus-visible,
.extras__carousel .owl-nav button.owl-next:focus-visible {
    outline: 3px solid var(--rt-crimson);
    outline-offset: 3px;
}

.extras__carousel .owl-nav button.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 575.98px) {
    /* En móvil las flechas se solapan con la imagen de la card; el carrusel sigue
       siendo navegable por swipe + dots, así que ocultamos los botones. */
    .extras__carousel .owl-nav { display: none; }
}

/* --- Owl dots (mismo lenguaje que Testimonios) --- */
.extras__carousel .owl-dots {
    margin-top: 1.25rem !important;
    text-align: center;
}

.extras__carousel .owl-dots .owl-dot { outline: none; }

.extras__carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(231, 138, 96, 0.25) !important;
    transition: background 0.25s ease, width 0.25s ease;
    border-radius: 999px;
    display: block;
}

.extras__carousel .owl-dots .owl-dot:hover span {
    background: rgba(231, 138, 96, 0.55) !important;
}

.extras__carousel .owl-dots .owl-dot.active span {
    background: linear-gradient(90deg, var(--rt-coral), var(--rt-orange)) !important;
    width: 28px;
}

/* =============================================================
   CONTACTO
   ============================================================= */

.contact {
    padding: 6rem 0 5rem;
    position: relative;
    background: linear-gradient(180deg, #fffaf6 0%, var(--rt-white) 100%);
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 125, 144, 0.18), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.contact .container { position: relative; z-index: 1; }

.contact__split { gap: 2rem 0; }

/* --- Panel info --- */
.contact__panel-card {
    position: relative;
    height: 100%;
    padding: 2rem;
    border-radius: var(--rt-radius-lg);
    background: linear-gradient(135deg, #2a0a14 0%, #4a1424 50%, #1a0810 100%);
    color: var(--rt-white);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.contact__panel-card::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 87, 87, 0.35), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(231, 138, 96, 0.28), transparent 60%);
    filter: blur(30px);
    z-index: -1;
}

.contact__panel-title {
    font-family: var(--rt-font-display);
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    background: linear-gradient(135deg, #ffe0d4, var(--rt-white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact__panel-subtitle {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    font-size: 0.95rem;
}

/* --- WhatsApp CTA prominente --- */
.contact__cta-wa {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: var(--rt-radius-md);
    background: #25d366;
    color: var(--rt-white);
    margin-bottom: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.contact__cta-wa > i:first-child { font-size: 2rem; flex-shrink: 0; }

.contact__cta-wa span { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }

.contact__cta-wa strong { font-size: 1rem; font-weight: 700; }

.contact__cta-wa small { font-size: 0.85rem; opacity: 0.9; }

.contact__cta-wa-arrow { font-size: 1.5rem; transition: transform 0.25s ease; }

.contact__cta-wa:hover,
.contact__cta-wa:focus-visible {
    transform: translateY(-2px);
    background: #1eb858;
    color: var(--rt-white);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.contact__cta-wa:hover .contact__cta-wa-arrow { transform: translateX(4px); }

.contact__cta-wa--pending {
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    box-shadow: none;
    cursor: default;
}

/* --- Info list --- */
.contact__info {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact__info-item > i {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--rt-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: var(--rt-orange);
    font-size: 1.2rem;
}

.contact__info-label {
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.contact__info-value {
    margin: 0;
    color: var(--rt-white);
    font-size: 0.98rem;
    font-weight: 500;
    word-break: break-word;
}

a.contact__info-value { transition: color 0.2s ease; }

a.contact__info-value:hover { color: #ffd1d8; }

/* --- Socials --- */
.contact__socials {
    display: flex;
    gap: 0.6rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact__social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--rt-white);
    transition: background 0.25s ease, transform 0.25s ease;
}

.contact__social i { font-size: 1.25rem; }

.contact__social:hover {
    background: var(--rt-white);
    color: var(--rt-coral);
    transform: translateY(-2px);
}

/* --- Form --- */
.contact__form-wrap { display: flex; }

.contact__form {
    width: 100%;
    padding: 2rem;
    border-radius: var(--rt-radius-lg);
    background: var(--rt-white);
    border: 1px solid rgba(217, 217, 214, 0.7);
    box-shadow: 0 12px 36px rgba(231, 138, 96, 0.12);
    display: flex;
    flex-direction: column;
}

.contact__form .form-control {
    border-radius: var(--rt-radius-sm);
    border: 1.5px solid rgba(217, 217, 214, 0.8);
    background: var(--rt-white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact__form .form-control:focus {
    border-color: var(--rt-orange);
    box-shadow: 0 0 0 4px rgba(231, 138, 96, 0.15);
}

.contact__form .form-floating > label {
    color: #888;
}

.contact__form .form-floating > .form-control:focus ~ label,
.contact__form .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--rt-orange);
}

.contact__textarea { min-height: 150px; resize: vertical; }

/* Mensajes de estado (loading / sent / error) -- inicialmente ocultos */
.contact__form-status {
    margin: 0 0 1rem;
}

.contact__form-status > div {
    display: none;
    padding: 0.85rem 1rem;
    border-radius: var(--rt-radius-md);
    font-size: 0.92rem;
    margin: 0.5rem 0 0;
}

.contact__form-status .loading {
    background: rgba(231, 138, 96, 0.1);
    color: var(--rt-orange);
    text-align: center;
}

.contact__form-status .sent-message {
    background: rgba(37, 211, 102, 0.1);
    color: #1faa55;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact__form-status .error-message {
    background: rgba(255, 87, 87, 0.08);
    color: var(--rt-coral);
    border: 1px solid rgba(255, 87, 87, 0.3);
}

/* --- Actions --- */
.contact__form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact__form-actions .btn-rt {
    border: none;
    cursor: pointer;
    align-self: stretch;
    justify-content: center;
}

@media (min-width: 576px) {
    .contact__form-actions .btn-rt { align-self: flex-start; }
}

.contact__form-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: #777;
    font-size: 0.82rem;
}

.contact__form-hint i { font-size: 1rem; color: var(--rt-orange); }

@media (max-width: 991.98px) {
    .contact__panel-card { margin-bottom: 0; }
}

@media (max-width: 575.98px) {
    .contact { padding: 4rem 0 3.5rem; }
    .contact__panel-card,
    .contact__form { padding: 1.5rem; }
    .contact__panel-title { font-size: 1.5rem; }
    .contact__cta-wa { padding: 0.85rem 1rem; }
}

/* =============================================================
   FOOTER
   ============================================================= */

.footer {
    position: relative;
    padding: 4.5rem 0 1.5rem;
    background: linear-gradient(135deg, #1a0810 0%, #2a0a14 50%, #1a0810 100%);
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    isolation: isolate;
}

.footer__bg {
    position: absolute;
    inset: -10%;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 100%, rgba(231, 138, 96, 0.22), transparent 55%),
        radial-gradient(circle at 85% 0%, rgba(227, 125, 144, 0.18), transparent 55%);
    filter: blur(40px);
    pointer-events: none;
}

/* Mobile-first: 1 columna por defecto, escala a 2 en sm y 3 (brand 1.5fr) en lg. */
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 576px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer__col--brand { grid-column: 1 / -1; }
}

@media (min-width: 992px) {
    .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
    .footer__col--brand { grid-column: auto; }
}

/* --- Col marca --- */
.footer__brand-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 0.75rem;
}

.footer__brand-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 18px rgba(231, 138, 96, 0.4);
}

.footer__brand {
    font-family: var(--rt-font-display);
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 60%, var(--rt-crimson) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.footer__description {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 360px;
}

.footer__socials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.55rem;
}

.footer__social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--rt-white);
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__social i { font-size: 1.2rem; }

.footer__social:hover {
    background: linear-gradient(135deg, var(--rt-coral), var(--rt-orange));
    border-color: transparent;
    color: var(--rt-white);
    transform: translateY(-2px);
}

/* --- Col title genérico --- */
.footer__col-title {
    font-family: var(--rt-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rt-white);
    margin: 0 0 1.25rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer__col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--rt-coral), var(--rt-orange));
}

/* --- Nav links --- */
.footer__nav,
.footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer__nav-link i {
    font-size: 1.1rem;
    color: var(--rt-orange);
    transition: transform 0.25s ease;
}

.footer__nav-link:hover {
    color: var(--rt-white);
    transform: translateX(3px);
}

.footer__nav-link:hover i { transform: translateX(2px); }

/* --- Contact items --- */
.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.footer__contact-item > i {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: var(--rt-orange);
}

.footer__contact-item a {
    color: inherit;
    transition: color 0.25s ease;
    word-break: break-word;
}

.footer__contact-item a:hover { color: var(--rt-white); }

/* --- Bottom --- */
.footer__bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer__copy,
.footer__made-with {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.footer__made-with {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer__made-with i {
    color: var(--rt-coral);
    font-size: 0.95rem;
    animation: rt-heartbeat 1.8s ease-in-out infinite;
}

@keyframes rt-heartbeat {
    0%, 100% { transform: scale(1);    }
    20%      { transform: scale(1.18); }
    40%      { transform: scale(0.95); }
    60%      { transform: scale(1.1);  }
}

@media (prefers-reduced-motion: reduce) {
    .footer__made-with i { animation: none; }
}

/* =============================================================
   WHATSAPP FLOTANTE
   ============================================================= */

.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 58px;
    padding: 0 1rem 0 0;
    border-radius: var(--rt-radius-pill);
    background: #25d366;
    color: var(--rt-white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #1eb858;
    color: var(--rt-white);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    position: relative;
    z-index: 2;
}

.whatsapp-float__label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.95rem;
    transition: max-width 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
    max-width: 160px;
    opacity: 1;
    padding-right: 0.35rem;
}

.whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: var(--rt-radius-pill);
    background: rgba(37, 211, 102, 0.55);
    z-index: 1;
    animation: rt-wa-pulse 2.4s ease-out infinite;
}

@keyframes rt-wa-pulse {
    0%   { transform: scale(1);    opacity: 0.55; }
    80%  { transform: scale(1.55); opacity: 0;    }
    100% { transform: scale(1.55); opacity: 0;    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float__pulse { animation: none; opacity: 0; }
}

@media (max-width: 575.98px) {
    .whatsapp-float { right: 1rem; bottom: 1rem; height: 52px; padding-right: 0; }
    .whatsapp-float__icon { width: 52px; height: 52px; font-size: 1.65rem; }
    .whatsapp-float__label { display: none; }
}

/* =============================================================
   PRELOADER
   ============================================================= */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #fff7f2 0%, #ffeae0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.preloader__lockup {
    font-family: var(--rt-font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--rt-coral) 0%, var(--rt-orange) 60%, var(--rt-crimson) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}

.preloader__dots {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.preloader__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rt-orange);
    animation: rt-preloader-dot 1.2s ease-in-out infinite;
}

.preloader__dots .preloader__dot:nth-child(1) { background: var(--rt-coral);   animation-delay: 0s;    }
.preloader__dots .preloader__dot:nth-child(2) { background: var(--rt-orange);  animation-delay: 0.18s; }
.preloader__dots .preloader__dot:nth-child(3) { background: var(--rt-crimson); animation-delay: 0.36s; }

@keyframes rt-preloader-dot {
    0%, 100% { transform: translateY(0);     opacity: 0.4; }
    50%      { transform: translateY(-10px); opacity: 1;   }
}

@media (prefers-reduced-motion: reduce) {
    .preloader__dot { animation: none; }
}
