/* ============================================================
   DULCE - Panadería & Pastelería Artesanal
   Warm Artisan Bakery Theme - Honey, Warm Cream & Cacao
   ============================================================ */

:root {
    /* Warm Artisan Bakery Palette */
    --bg-primary: #FAF6F0;       /* Soft Warm Cream / Fresh Dough Ivory */
    --bg-secondary: #F3ECE1;     /* Warm Toasted Almond / Sand */
    --bg-card: #FFFFFF;          /* Pure Crisp White Card */
    --bg-glass: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(212, 140, 41, 0.22);

    /* Warm Chocolate / Cacao Dark Accent Section */
    --bg-dark-accent: #22140D;   /* Deep Artisan Cacao Chocolate */
    --bg-dark-card: #321E14;     /* Dark Cacao Card */

    /* Gold / Honey / Caramel Accents */
    --gold: #D48C29;             /* Golden Honey Amber */
    --gold-light: #F5D6A0;       /* Soft Honey Cream */
    --gold-dark: #A86514;        /* Deep Toasted Caramel */
    --gold-glow: rgba(212, 140, 41, 0.35);

    /* Warm Berry / Strawberry Pastry Accent */
    --pastry-accent: #D9534F;    /* Fresh Berry Red / Glaze Accent */

    /* Text Colors */
    --text-dark: #2C2018;        /* Deep Warm Charcoal Espresso */
    --text-body: #4A3C33;        /* Warm Coffee Brown */
    --text-muted: #7E6E64;       /* Warm Muted Toast */
    --text-white: #FFFFFF;
    --text-light: #FAF6F0;

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Misc */
    --radius: 18px;
    --radius-sm: 12px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 10px 30px rgba(74, 44, 29, 0.08);
    --shadow-hover: 0 20px 45px rgba(212, 140, 41, 0.22);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    letter-spacing: 0.03em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.w-full { width: 100%; }

/* ==================== PRELOADER ==================== */
.bakeria-intro {
    position: fixed;
    inset: 0;
    z-index: 100001;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(45deg, rgba(85, 8, 27, 0.28) 25%, transparent 25%, transparent 75%, rgba(85, 8, 27, 0.28) 75%),
        linear-gradient(45deg, rgba(85, 8, 27, 0.28) 25%, transparent 25%, transparent 75%, rgba(85, 8, 27, 0.28) 75%),
        #b5163d;
    background-position: 0 0, 24px 24px;
    background-size: 48px 48px;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.bakeria-intro[hidden] {
    display: none;
}

.bakeria-intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-play-btn {
    position: absolute;
    bottom: 13%;
    z-index: 8;
    min-width: 220px;
    padding: 11px 28px;
    border: 4px solid #20320e;
    border-radius: 999px;
    background: linear-gradient(#61ed28, #20a806);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    text-shadow: 1px 2px 0 #34701b;
    cursor: pointer;
    box-shadow: 0 5px 0 #276d12, 0 9px 18px rgba(40, 5, 15, 0.4);
}

.intro-play-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.game-menu-screen,
.training-screen {
    position: fixed;
    inset: 0;
    z-index: 100000;
    overflow: auto;
    padding: 28px 7% 40px;
    background: #090909;
    color: #fff;
}

.game-menu-topbar {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto 28px;
    padding: 9px 12px;
    border: 3px solid #333;
    background: linear-gradient(#222, #090909);
}

.game-menu-topbar h2 {
    flex: 1;
    color: #eee;
    font-size: clamp(1.3rem, 4vw, 2.8rem);
    text-align: center;
    text-shadow: 2px 3px #444;
}

.game-back-btn {
    border: 2px solid #440b14;
    border-radius: 999px;
    padding: 8px 16px;
    background: linear-gradient(#ee3943, #a80919);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.save-slots,
.character-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 230px));
    justify-content: center;
    gap: 26px;
}

.save-slot,
.character-option {
    display: flex;
    min-height: 340px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 18px 14px 16px;
    border: 5px solid #e5e5e5;
    background: repeating-linear-gradient(0deg, #fff 0 45px, #ffd7d7 46px 75px);
    color: #555;
    cursor: pointer;
    box-shadow: 0 8px 0 #555;
}

.save-slot strong,
.character-option strong { color: #d88678; font-size: 1.1rem; }
.save-slot span { margin-top: 20px; font-size: 1.3rem; }
.save-slot em,
.character-option em { width: 100%; padding: 8px; border-radius: 999px; background: linear-gradient(#67ef2a, #27a707); color: #fff; font-style: normal; font-weight: 800; }

.character-option { min-height: 380px; }
.character-option img { width: 150px; height: 220px; object-fit: cover; object-position: center top; border-radius: 45% 45% 8% 8%; }

.game-help-bubble,
.training-message { max-width: 520px; margin: 45px auto 0; padding: 16px 25px; border: 4px solid #aaa; border-radius: 999px; background: #fff; color: #222; text-align: center; }

.training-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #272727; }
.training-backdrop { position: absolute; inset: 0 0 84px; background: linear-gradient(90deg, rgba(255,255,255,.85) 0 22%, transparent 22% 78%, rgba(255,255,255,.7) 78%), repeating-linear-gradient(0deg, #d3d3d3 0 48px, #ececec 49px 96px); opacity: .9; }
.training-backdrop::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 37%; background: repeating-linear-gradient(135deg, #383838 0 28px, #2d2d2d 29px 56px); border-top: 10px solid #b61950; }
.training-character { position: absolute; bottom: 86px; z-index: 2; width: clamp(125px, 18vw, 220px); height: clamp(220px, 34vw, 390px); overflow: hidden; border: 5px solid #202020; border-radius: 48% 48% 8% 8%; background: #d19770; box-shadow: 0 10px 0 rgba(0,0,0,.25); }
.training-character img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(1.08) contrast(1.04); }
.training-character-chef { left: 13%; transform: rotate(-3deg); animation: chefMove 3.2s ease-in-out infinite; }
.training-character-coach { right: 14%; transform: rotate(3deg); animation: coachMove 3.8s ease-in-out 0.3s infinite; }
.training-ticket { position: absolute; top: 10%; right: 5%; z-index: 4; display: flex; width: 150px; min-height: 220px; flex-direction: column; align-items: center; gap: 8px; padding: 13px; border: 4px solid #333; background: repeating-linear-gradient(0deg, #fff 0 42px, #ffdcdc 43px 68px); color: #555; box-shadow: 5px 6px 0 rgba(0,0,0,.35); }
.training-ticket b { align-self: flex-start; color: #db7e87; font-size: 1.7rem; }
.training-ticket span { font-size: 3rem; }
.training-ticket strong { color: #bb5a50; }
.training-ticket small { color: #777; }
.training-message { position: relative; z-index: 5; display: flex; flex-direction: column; gap: 6px; max-width: 560px; margin: 0; font-size: 1.1rem; }
.training-message strong { color: #db3158; }
.training-stations { position: absolute; right: 0; bottom: 0; left: 0; z-index: 6; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 13px; background: #0b0b0b; border-top: 4px solid #111; }
.training-stations span { padding: 12px 16px; border-radius: 999px; background: #238ad2; color: #fff; font-weight: 800; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.training-stations span:nth-child(1) { background: #2cad23; }
.training-stations span:nth-child(3) { background: #e46d22; }
.training-stations span:nth-child(4) { background: #d8275a; }
.training-start-btn { position: relative; z-index: 7; margin-top: 210px; }

@keyframes chefMove {
    0%, 100% { transform: translate(0, 0) rotate(-3deg); }
    35% { transform: translate(8px, -7px) rotate(1deg); }
    70% { transform: translate(16px, 0) rotate(4deg); }
}

@keyframes coachMove {
    0%, 100% { transform: translate(0, 0) rotate(3deg); }
    40% { transform: translate(-8px, -6px) rotate(-2deg); }
    75% { transform: translate(-14px, 0) rotate(-4deg); }
}

.game-menu-screen[hidden], .training-screen[hidden] { display: none; }

.game-mode {
    background: #171717;
}

.game-mode .navbar,
.game-mode .hero,
.game-mode .footer,
.game-mode .floating-whatsapp,
.game-mode .floating-cart,
.game-mode .cart-trigger,
.game-mode #cartTrigger,
.game-mode .section-game > .container > div:not(.bakery-rush-wrapper) {
    display: none !important;
}

.game-mode .section-game {
    min-height: 100vh;
    padding: 0;
    background: #171717;
}

.game-mode .section-game > .container {
    width: 100%;
    max-width: none;
}

.game-mode .bakery-rush-wrapper {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 12px 18px 18px;
    border: 0;
    border-radius: 0;
    background: repeating-linear-gradient(90deg, #343434 0 40px, #2d2d2d 41px 80px);
    box-shadow: none;
}

.game-mode .rush-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 8px;
    padding: 5px 10px;
    border: 3px solid #111;
    background: linear-gradient(#242424, #0b0b0b);
}

.game-mode .rush-header .section-label { color: #ffd34d; }
.game-mode .rush-header h2 { color: #f4f4f4; font-size: clamp(1.1rem, 3vw, 2rem); }

.game-mode .bakery-rush-wrapper { position: relative; overflow: hidden; }
.walking-cast { display: none; position: absolute; right: 0; bottom: 2px; left: 0; z-index: 8; height: 92px; pointer-events: none; overflow: hidden; }
.game-mode .walking-cast { display: block; }
.walking-character { position: absolute; bottom: 0; width: 58px; height: 84px; animation: characterWalk 13s linear infinite; }
.walking-character img { width: 54px; height: 72px; object-fit: cover; object-position: center top; border: 3px solid #fff; border-radius: 48% 48% 12% 12%; box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.walking-character span { position: absolute; right: -4px; bottom: 4px; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #fff; font-size: .8rem; }
.walking-character-one { left: -80px; animation-delay: -2s; }
.walking-character-two { left: -180px; animation-delay: -7s; animation-duration: 16s; }
.walking-character-three { left: -280px; animation-delay: -11s; animation-duration: 19s; }

.game-mode .bakery-rush-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.13), transparent 34%), linear-gradient(115deg, transparent 42%, rgba(255,255,255,.07) 50%, transparent 58%);
    background-size: 100% 100%, 260% 100%;
    animation: bakeryLightSweep 8s ease-in-out infinite;
}

.game-mode .bakery-rush-wrapper > * { position: relative; z-index: 2; }
.reference-game-scene { display: none; }
.game-mode .rush-sidebar { animation: ticketFloat 3.2s ease-in-out infinite !important; }
.game-mode .rush-order-card { animation: ticketPaper 4s ease-in-out infinite !important; }
.game-mode .rush-customer-avatar { animation: customerIdle 2.8s ease-in-out infinite, characterBlink 5s steps(1) infinite !important; }
.game-mode .baked-item { animation: cakeBounce 2.4s ease-in-out infinite !important; }
.game-mode .counter-lamp { animation: lampGlow 1.6s ease-in-out infinite !important; }
.game-mode .station-tab { animation: buttonPulse 2.8s ease-in-out infinite !important; }
.game-mode .station-tab:nth-child(2) { animation-delay: .25s; }
.game-mode .station-tab:nth-child(3) { animation-delay: .5s; }
.game-mode .station-tab:nth-child(4) { animation-delay: .75s; }
.game-mode .station-btn { animation: ingredientShine 3.5s ease-in-out infinite !important; }

@keyframes bakeryLightSweep {
    0%, 100% { background-position: 0 0, -120% 0; opacity: .65; }
    50% { background-position: 0 0, 120% 0; opacity: 1; }
}

@keyframes ticketFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-4px) rotate(.4deg); }
}

@keyframes ticketPaper {
    0%, 92%, 100% { transform: rotate(0); }
    94% { transform: rotate(-1deg); }
    97% { transform: rotate(1deg); }
}

@keyframes cakeBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

@keyframes lampGlow {
    0%, 100% { opacity: .65; box-shadow: 0 0 0 8px rgba(249,198,61,.12), 0 0 14px #f9c63d; }
    50% { opacity: 1; box-shadow: 0 0 0 13px rgba(249,198,61,.2), 0 0 30px #f9c63d; }
}

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

@keyframes ingredientShine {
    0%, 85%, 100% { filter: brightness(1); }
    90% { filter: brightness(1.22); }
}

@keyframes characterBlink {
    0%, 47%, 53%, 100% { filter: saturate(1.08) brightness(1); }
    50% { filter: saturate(1.08) brightness(.8); }
}

@keyframes characterWalk {
    0% { transform: translateX(0) translateY(0) rotate(-3deg); }
    12% { transform: translateX(12vw) translateY(-5px) rotate(3deg); }
    25% { transform: translateX(25vw) translateY(0) rotate(-3deg); }
    38% { transform: translateX(38vw) translateY(-5px) rotate(3deg); }
    50% { transform: translateX(50vw) translateY(0) rotate(-3deg); }
    62% { transform: translateX(62vw) translateY(-5px) rotate(3deg); }
    75% { transform: translateX(75vw) translateY(0) rotate(-3deg); }
    88% { transform: translateX(88vw) translateY(-5px) rotate(3deg); }
    100% { transform: translateX(110vw) translateY(0) rotate(3deg); }
}

.game-mode .rush-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 285px);
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 14px;
}

.game-mode .rush-sidebar {
    order: 2;
    padding: 18px;
    border: 3px solid #111;
    background: #f7f7f7;
}

.game-mode .rush-main { gap: 10px; }
.game-mode .rush-customer-stage { min-height: 155px; border: 3px solid #111; border-radius: 0; background: linear-gradient(180deg, #ddd 0 70%, #333 70% 100%); }
.game-mode .oven-window { min-height: 165px; border: 3px solid #111; border-radius: 0; background: repeating-linear-gradient(0deg, #3a3a3a 0 40px, #303030 41px 80px); }
.game-mode .bakeria-station-tabs { order: 5; border: 3px solid #111; border-radius: 0; background: #080808; }
.game-mode .station-tab { border-radius: 999px; background: #b71946; color: #fff; text-shadow: 1px 1px #511027; }
.game-mode .station-tab:nth-child(2) { background: #1e8bd1; }
.game-mode .station-tab:nth-child(3) { background: #e77625; }
.game-mode .station-tab:nth-child(4) { background: #d52d5d; }
.game-mode .station-tab.active { filter: brightness(1.25); box-shadow: inset 0 0 0 3px #fff; }
.game-mode .station-grid { order: 4; padding: 12px 16px; background: #f1f1f1; border: 3px solid #111; }
.game-mode .station-block h4, .game-mode .station-instruction { color: #252525; }
.game-mode .rush-actions { order: 6; }

.game-mode .rush-order-card { padding: 12px; border: 3px solid #333; background: repeating-linear-gradient(0deg, #fff 0 45px, #ffdcdc 46px 76px); }
.game-mode .rush-panel h3 { color: #d43a5d; }
.game-mode .rush-mini-order { border-color: #e28d99; background: #fff; }
.game-mode .meter-box { border: 2px solid #222; border-radius: 4px; background: #ececec; }
.game-mode .rush-status-row { padding: 0 8px; }

@media (max-width: 860px) {
    .game-mode .rush-layout { grid-template-columns: 1fr; }
    .game-mode .rush-sidebar { order: 2; }
}

/* Compact game board layout: character scene, ticket panel, station bar. */
.game-mode .section-game {
    display: grid;
    place-items: center;
    padding: 0;
    background: #050505;
}

.game-mode .bakery-rush-wrapper {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    min-height: 0;
    padding: 0;
    border: 4px solid #161616;
    background: #262626;
}

.game-mode .rush-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 12;
    max-width: none;
    margin: 0;
    border-width: 0 0 3px;
}

.game-mode .rush-header h2 { font-size: clamp(1rem, 3vw, 1.7rem); }
.game-mode .rush-layout { position: absolute; inset: 47px 0 0; display: block; max-width: none; margin: 0; }
.game-mode .rush-main { position: absolute; inset: 0; display: flex; gap: 0; }
.game-mode .rush-sidebar { position: absolute; top: 8px; right: 8px; bottom: 58px; z-index: 10; width: 180px; overflow: auto; padding: 10px; border: 3px solid #202020; }
.game-mode .rush-panel h3 { margin-bottom: 7px; font-size: .8rem; }
.game-mode .rush-order-card { padding: 7px; }
.game-mode .rush-order-card p { margin-bottom: 5px; font-size: .72rem; }
.game-mode .rush-ticket-meta { margin-bottom: 5px; padding: 5px; font-size: .55rem; }
.game-mode .customer-tag { margin-bottom: 5px; padding: 3px 5px; font-size: .7rem; }
.game-mode .rush-queue { gap: 5px; }
.game-mode .rush-mini-order { padding: 5px; font-size: .68rem; }
.game-mode .rush-mini-customer img { width: 23px; height: 23px; }
.game-mode .oven-stage { position: absolute; inset: 0 190px 0 0; display: block; }
.game-mode .rush-customer-stage { position: absolute; top: 0; right: 0; bottom: 42%; left: 0; min-height: 0; border-width: 0 0 3px; }
.game-mode .rush-customer-stage { justify-content: center; background: linear-gradient(90deg, #393939 0 18%, transparent 18% 82%, #e8e8e8 82%), repeating-linear-gradient(0deg, #333 0 48px, #3d3d3d 49px 96px); }
.game-mode .rush-customer-stage::before { content: 'DULCE'; position: absolute; bottom: 0; left: 0; width: 115px; height: 78%; padding-top: 20px; background: linear-gradient(90deg, #0fbd22, #078a19); color: #fff; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; text-align: center; box-shadow: 5px 0 #064b10; }
.game-mode .rush-customer-stage::after { content: 'CLIENTE'; top: 9px; right: 16px; }
.bakery-window-art { position: absolute; top: 0; right: 20%; left: 20%; height: 62%; border: 5px solid #353535; background: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 2px, transparent 3px 105px), repeating-linear-gradient(0deg, #d5d5d5 0 34px, #f2f2f2 35px 68px); opacity: .8; }
.bakery-window-art::after { content: ''; position: absolute; right: 0; bottom: -10px; left: 0; height: 10px; background: #be1952; }
.bakery-window-art span { position: absolute; bottom: 12px; width: 26px; height: 17px; border-radius: 50% 50% 0 0; background: #f2a53c; box-shadow: 0 0 0 5px #d06a28; }
.bakery-window-art span:nth-child(1) { left: 15%; }
.bakery-window-art span:nth-child(2) { left: 48%; }
.bakery-window-art span:nth-child(3) { right: 12%; }
.game-mode .rush-customer-avatar { width: 145px; height: 185px; border: 4px solid #151515; border-radius: 48% 48% 10% 10%; box-shadow: 0 8px 0 rgba(0,0,0,.4); }
.game-mode .rush-customer-speech { display: none; }
.game-mode .oven-window { position: absolute; right: 0; bottom: 29%; left: 0; min-height: 0; height: 29%; border-width: 3px 0; }
.game-mode .oven-window::before { content: 'HORNO DE DULCE TENTACIÓN'; position: absolute; top: 8px; left: 14px; padding: 4px 10px; border-radius: 4px; background: #d67b26; color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.counter-lamp { position: absolute; top: 16px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #f9c63d; box-shadow: 0 0 0 8px rgba(249,198,61,.15), 0 0 20px #f9c63d; transform: translateX(-50%); }
.game-mode .baked-item { width: 80px; height: 80px; font-size: 2.4rem; }
.game-mode .meter-row { position: absolute; right: 0; bottom: 16%; left: 0; gap: 5px; }
.game-mode .meter-row { display: none; }
.game-mode .meter-box { padding: 5px; }
.game-mode .meter-box span { margin-bottom: 1px; font-size: .5rem; }
.game-mode .meter-box strong { font-size: .8rem; }
.game-mode .station-grid { position: absolute; right: 0; bottom: 65px; left: 0; z-index: 5; display: block; height: 58px; overflow: hidden; padding: 7px 12px; border-width: 3px 0; }
.game-mode .station-block { display: none; }
.game-mode .station-block.active { display: block; }
.game-mode .station-block h4 { margin-bottom: 3px; font-size: .7rem; }
.game-mode .station-buttons { gap: 4px; }
.game-mode .station-btn { padding: 5px 8px; font-size: .62rem; }
.game-mode .rush-status-row { position: absolute; bottom: 65px; left: 8px; z-index: 6; margin: 0; }
.game-mode .rush-actions { position: absolute; right: 190px; bottom: 8px; left: 8px; z-index: 7; flex-direction: row; }
.game-mode .rush-actions { display: none; }

/* The game board uses the scene itself as the interface, without website chrome. */
.game-mode .rush-header { display: none !important; }
.game-mode .rush-layout { inset: 0; }
.game-mode .rush-status-row { display: none !important; }
.game-mode .rush-main { inset: 0; }
.game-mode .rush-sidebar { top: 10px; right: 10px; bottom: 56px; }
.game-mode .oven-stage { top: 0; bottom: 0; }
.game-mode .rush-customer-stage { bottom: 43%; }
.game-mode .oven-window { bottom: 27%; height: 30%; }
.game-mode .bakeria-station-tabs { right: 190px; bottom: 8px; left: 8px; z-index: 30; }
.game-mode .bakeria-station-tabs { position: absolute; right: 190px; bottom: 8px; left: 135px; z-index: 9; display: grid; padding: 3px; border-width: 3px; }
.game-mode .station-tab { padding: 7px 4px; font-size: .58rem; }
.game-mode .station-tab { font-size: .55rem; letter-spacing: .02em; }
.game-mode .walking-cast { bottom: 58px; }

.game-mode .reference-game-scene {
    position: absolute;
    inset: 0 190px 58px 0;
    z-index: 3;
    display: block;
    overflow: hidden;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 78px, transparent 79px 156px), repeating-linear-gradient(0deg, #292929 0 54px, #343434 55px 108px);
}

.game-mode .bakery-rush-wrapper[data-active-station="filling"] .reference-game-scene,
.game-mode .bakery-rush-wrapper[data-active-station="baking"] .reference-game-scene,
.game-mode .bakery-rush-wrapper[data-active-station="topping"] .reference-game-scene {
    display: none !important;
}

.game-mode .scene-window {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 54%;
    border-bottom: 12px solid #bf1550;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 4px, transparent 5px 130px), repeating-linear-gradient(0deg, #cfd0cf 0 39px, #f0f0f0 40px 80px);
    animation: windowGlow 5s ease-in-out infinite;
}

.game-mode .scene-counter {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 118px;
    height: 66%;
    padding-top: 25px;
    background: linear-gradient(90deg, #13c626, #078d1d);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 6px 0 #064c11;
}

.game-mode .scene-chef {
    position: absolute;
    bottom: 13%;
    z-index: 4;
    display: grid;
    width: 118px;
    height: 210px;
    place-items: center;
    border: 4px solid #161616;
    border-radius: 50% 50% 12% 12%;
    background: linear-gradient(#ffd2a7 0 34%, #fff 35% 72%, #9c1741 73%);
    box-shadow: 0 9px 0 rgba(0,0,0,.35);
    font-size: 5.8rem;
    animation: chefStep 3.5s ease-in-out infinite;
}

.game-mode .scene-chef-left { left: 18%; transform: scale(.85); animation-delay: -.8s; }
.game-mode .scene-chef-center { left: 47%; animation-delay: -.1s; }
.game-mode .scene-open-sign {
    position: absolute;
    right: 7%;
    bottom: 11%;
    z-index: 5;
    display: flex;
    width: 105px;
    min-height: 82px;
    flex-direction: column;
    align-items: center;
    padding: 9px 5px;
    border: 4px solid #244224;
    border-radius: 12px;
    background: linear-gradient(#72d66f, #31813e);
    color: #fff;
    box-shadow: 0 6px 0 #1e3d21;
    transform: rotate(4deg);
    animation: signSwing 2.8s ease-in-out infinite;
}

.scene-open-sign strong { font-size: 1.1rem; }
.scene-open-sign small { font-size: .56rem; }
.scene-open-sign i { width: 72px; height: 7px; margin-top: 8px; border-radius: 8px; background: #96e88d; }
.game-mode .scene-ticket-art { position: absolute; top: 5%; right: 3%; z-index: 5; display: flex; width: 78px; height: 190px; flex-direction: column; align-items: center; gap: 7px; padding: 8px; border: 4px solid #333; background: repeating-linear-gradient(0deg, #fff 0 32px, #ffd4d4 33px 52px); color: #d77883; box-shadow: 4px 5px 0 rgba(0,0,0,.4); }
.scene-ticket-art b { align-self: flex-start; font-size: 1.3rem; }
.scene-ticket-art span { font-size: 2.2rem; }
.scene-ticket-art strong { color: #555; font-size: 1.8rem; }
.scene-ticket-art em { font-size: 2rem; font-style: normal; }

@keyframes windowGlow { 0%, 100% { filter: brightness(.95); } 50% { filter: brightness(1.08); } }
@keyframes chefStep { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 9px; } }
@keyframes signSwing { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }

/* Illustrated station scenes. */
.game-mode .station-grid { height: 44%; padding: 0; overflow: hidden; background: #2999b5; }
.game-mode .station-block.active { position: relative; display: block; height: 100%; padding: 13px 18px; overflow: hidden; }
.game-mode .station-block.active::before { position: absolute; top: 50%; left: 50%; z-index: 0; font-size: 7rem; line-height: 1; transform: translate(-50%, -50%); filter: drop-shadow(0 8px 0 rgba(0,0,0,.25)); }
.game-mode .station-block.active h4,
.game-mode .station-block.active .station-instruction,
.game-mode .station-block.active .station-buttons { position: relative; z-index: 2; }
.game-mode .station-block.active h4 { display: inline-block; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: #333; }
.game-mode .station-block.active .station-instruction { display: inline-block; margin-left: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; }
.game-mode .station-block.active .station-buttons { position: absolute; right: 15px; bottom: 15px; left: 15px; justify-content: center; }
.game-mode .station-block.active .station-btn { border: 3px solid #fff; background: #e6a34c; color: #fff; box-shadow: 0 4px 0 #804d20; }
.mold-buttons { position: relative; z-index: 5; display: flex; gap: 5px; margin: 6px 0; }
.mold-btn, .station-action { border: 2px solid #fff; border-radius: 8px; padding: 6px 9px; background: #7f8b92; color: #fff; font-size: .65rem; font-weight: 800; cursor: pointer; }
.mold-btn.selected { background: #d77b2a; box-shadow: inset 0 -3px rgba(0,0,0,.25); }
.station-action { position: relative; z-index: 6; margin-top: 8px; background: #2d9d36; }
.batter-meter, .bake-meter { position: relative; z-index: 5; width: min(280px, 70%); height: 9px; margin-top: 6px; overflow: hidden; border: 2px solid #333; border-radius: 8px; background: #eee; }
.batter-meter span, .bake-meter span { display: block; width: 0; height: 100%; background: #e6a33d; transition: width .2s ease; }
.bake-meter span { background: #ef6c21; }
.bake-status { position: relative; z-index: 5; color: #fff; font-size: .7rem; font-weight: 800; }
.bakery-props { position: absolute; right: 13%; bottom: 17%; left: 13%; display: flex; align-items: flex-end; justify-content: space-around; font-size: clamp(2.2rem, 5vw, 4.5rem); filter: drop-shadow(0 7px 3px rgba(0,0,0,.25)); }
.bakery-props span:nth-child(2) { transform: translateY(-15px) rotate(-8deg); }
.bakery-props span:nth-child(3) { transform: translateY(5px) rotate(8deg); }
.bakery-workbench { position: absolute; right: 10%; bottom: 18%; left: 10%; display: flex; align-items: center; justify-content: space-around; font-size: clamp(2.8rem, 7vw, 6rem); filter: drop-shadow(0 9px 3px rgba(0,0,0,.3)); }
.bakery-workbench span { display: grid; width: 100px; height: 70px; place-items: center; border: 4px solid rgba(65,45,30,.55); border-radius: 50%; background: rgba(255,255,255,.35); animation: bakeryPropBob 2.4s ease-in-out infinite; }
.bakery-workbench span:nth-child(2) { animation-delay: .35s; }
.bakery-workbench span:nth-child(3) { animation-delay: .7s; }
.bakery-workbench span:nth-child(4) { animation-delay: 1.05s; }
.rolling-pin { transform: rotate(-25deg); }
.filling-props { bottom: 20%; }
.topping-props { bottom: 16%; }

@keyframes bakeryPropBob {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-9px) rotate(3deg); }
}
.game-mode .bakery-rush-wrapper[data-active-station="order"] .station-grid { background: #363636; }
.game-mode .bakery-rush-wrapper[data-active-station="order"] .station-block-order::before { content: '📋'; }
.game-mode .bakery-rush-wrapper[data-active-station="filling"] .station-grid { background: #2999b5; }
.game-mode .bakery-rush-wrapper[data-active-station="filling"] .station-block[data-station-panel="filling"]::before { content: '🥧'; }
.game-mode .bakery-rush-wrapper[data-active-station="baking"] .station-grid { background: #f2b522; }
.game-mode .bakery-rush-wrapper[data-active-station="baking"] .station-block[data-station-panel="baking"]::before { content: '🔥'; font-size: 8rem; }
.game-mode .bakery-rush-wrapper[data-active-station="topping"] .station-grid { background: #a8a8a8; }
.game-mode .bakery-rush-wrapper[data-active-station="topping"] .station-block[data-station-panel="topping"]::before { content: '🍰'; font-size: 8rem; }

/* Each work station becomes a full game scene, like the reference flow. */
.game-mode .bakery-rush-wrapper[data-active-station="filling"] .rush-customer-stage,
.game-mode .bakery-rush-wrapper[data-active-station="baking"] .rush-customer-stage,
.game-mode .bakery-rush-wrapper[data-active-station="topping"] .rush-customer-stage {
    display: none;
}

.game-mode .bakery-rush-wrapper[data-active-station="filling"] .station-grid,
.game-mode .bakery-rush-wrapper[data-active-station="baking"] .station-grid,
.game-mode .bakery-rush-wrapper[data-active-station="topping"] .station-grid {
    top: 0;
    bottom: 65px;
    height: auto;
    background: #2b99b7;
}

.game-mode .bakery-rush-wrapper[data-active-station="filling"] .station-block.active::after {
    content: 'MESA DE PREPARACIÓN  •  ARRASTRA LA BASE AL MOLDE';
    position: absolute;
    top: 18%;
    right: 15%;
    left: 15%;
    padding: 18px;
    border: 5px solid #3b3b3b;
    border-radius: 20px;
    background: linear-gradient(#707070, #505050);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    box-shadow: 0 12px 0 rgba(0,0,0,.25);
}

.game-mode .bakery-rush-wrapper[data-active-station="baking"] .station-grid {
    background: linear-gradient(#f8ad29 0 65%, #e76d1e 66% 100%);
}

.game-mode .bakery-rush-wrapper[data-active-station="baking"] .station-block.active::after {
    content: '🔥  HORNO  •  HORNEA TU PASTEL  🔥';
    position: absolute;
    top: 14%;
    right: 10%;
    left: 10%;
    padding: 28px 15px;
    border: 8px solid #262626;
    border-radius: 18px;
    background: repeating-linear-gradient(90deg, #ffb52b 0 15px, #e8781c 16px 22px);
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.6rem);
    font-weight: 900;
    text-align: center;
    text-shadow: 2px 2px #83330c;
    box-shadow: inset 0 -14px 0 rgba(113,39,5,.35), 0 15px 0 rgba(0,0,0,.25);
}

.game-mode .bakery-rush-wrapper[data-active-station="topping"] .station-grid {
    background: #aaa;
}

.game-mode .bakery-rush-wrapper[data-active-station="topping"] .station-block.active::after {
    content: '🍓  DECORA EL PASTEL  🍒';
    position: absolute;
    top: 19%;
    right: 8%;
    left: 8%;
    height: 42%;
    padding-top: 8%;
    border: 10px solid #d49a44;
    border-radius: 50%;
    background: radial-gradient(circle, #d89339 0 34%, #b76c25 35% 58%, #e0a34a 59%);
    color: #fff;
    font-size: clamp(1.1rem, 3vw, 2rem);
    font-weight: 900;
    text-align: center;
    text-shadow: 2px 2px #6b3817;
    box-shadow: 0 12px 0 rgba(0,0,0,.25);
}

.game-mode .bakery-rush-wrapper[data-active-station="topping"] .station-block.active::after { display: none; }
.top-cake-workspace { position: absolute; top: 27%; right: 16%; left: 16%; z-index: 4; display: grid; min-height: 170px; place-items: center; border: 8px solid #8c8c8c; border-radius: 50%; background: radial-gradient(circle, #e5e5e5 0 54%, #bdbdbd 55% 65%, #858585 66%); box-shadow: inset 0 9px rgba(255,255,255,.35), 0 12px 0 rgba(0,0,0,.25); }
.top-cake-workspace.drop-ready { border-color: #55df55; box-shadow: 0 0 0 8px rgba(85,223,85,.25), inset 0 9px rgba(255,255,255,.35), 0 12px 0 rgba(0,0,0,.25); }
.station-btn[data-category="topping"] { cursor: grab; }
.station-btn[data-category="topping"].dragging { opacity: .55; transform: scale(1.08); }
.top-cake-base { display: grid; width: 180px; height: 90px; place-items: center; background: transparent; border: none; box-shadow: none; font-size: 4rem; }
.top-placed-toppings { position: absolute; inset: 0; pointer-events: none; }
.top-placed-toppings span { position: absolute; top: calc(34% + (var(--top-index) * 6%)); left: calc(34% + (var(--top-index) * 7%)); z-index: 2; font-size: 2rem; animation: toppingDrop .35s ease both; }
.top-placed-toppings span:nth-child(even) { left: calc(58% - (var(--top-index) * 5%)); }
.top-decoration-status { position: absolute; top: 22%; right: 0; left: 0; z-index: 5; color: #fff; font-size: .8rem; font-weight: 800; text-align: center; text-shadow: 1px 2px #4b2c18; }
.deliver-order-btn { position: absolute; right: 8%; bottom: 12%; z-index: 18; padding: 13px 22px; border: 4px solid #194a1e; border-radius: 999px; background: linear-gradient(#63e33b, #219d27); color: #fff; font-size: .9rem; font-weight: 900; cursor: pointer; box-shadow: 0 5px 0 #174f1d, 0 8px 14px rgba(0,0,0,.3); animation: deliverPulse 1.8s ease-in-out infinite; }
.deliver-order-btn:hover { filter: brightness(1.15); transform: translateY(-2px); }
.game-mode .bakery-rush-wrapper[data-active-station="topping"] .deliver-order-btn { display: block; }

@keyframes deliverPulse { 0%, 100% { box-shadow: 0 5px 0 #174f1d, 0 8px 14px rgba(0,0,0,.3); } 50% { box-shadow: 0 5px 0 #174f1d, 0 0 22px rgba(91,230,62,.75); } }
.game-mode .bakery-rush-wrapper[data-active-station="topping"] .bakery-workbench { opacity: .35; }

@keyframes toppingDrop { from { opacity: 0; transform: translateY(-16px) scale(.6); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 620px) {
    .game-mode .bakery-rush-wrapper { height: 100vh; border-width: 2px; }
    .game-mode .rush-sidebar { width: 145px; }
    .game-mode .oven-stage { right: 152px; }
    .game-mode .bakeria-station-tabs { right: 152px; left: 8px; }
    .game-mode .rush-actions { right: 152px; }
    .game-mode .rush-customer-avatar { width: 82px; height: 105px; }
}

/* Papa-style viewport composition: full counter, hanging ticket, bottom stations. */
.game-mode .bakery-rush-wrapper {
    position: relative !important;
    width: min(900px, 100vw) !important;
    height: min(620px, 100vh) !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    background: #252525 !important;
}

.game-mode .section-game {
    position: fixed !important;
    inset: 0 !important;
    z-index: 5000 !important;
    display: grid !important;
    place-items: center !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.game-mode .section-game > .container {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
}

.game-mode .reference-game-scene {
    position: absolute !important;
    inset: 0 0 58px 0 !important;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 3px, transparent 4px 112px),
        repeating-linear-gradient(0deg, #282828 0 52px, #353535 53px 104px) !important;
}

.game-mode .scene-window {
    height: 58% !important;
    border-bottom: 10px solid #bd1651 !important;
}

.game-mode .scene-counter {
    display: none !important;
}

.game-mode .reference-game-scene::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    height: 35%;
    border-top: 9px solid #7b3f1d;
    background: linear-gradient(180deg, #c98545 0%, #8d4c24 48%, #5b2e1c 100%);
    box-shadow: inset 0 12px rgba(255,255,255,.14), 0 -8px 0 rgba(0,0,0,.28);
}

.game-mode .scene-chef {
    bottom: 24% !important;
    z-index: 4 !important;
}

.game-mode .scene-ticket-art {
    top: 12px !important;
    right: 14px !important;
    z-index: 12 !important;
    width: 150px !important;
    height: 230px !important;
    transform: rotate(1deg);
}

.game-mode .scene-ticket-art::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -1px;
    left: -1px;
    height: 8px;
    border-radius: 10px;
    background: #222;
    box-shadow: 0 -7px 0 #999, 0 0 0 3px #111;
}

.game-mode .scene-open-sign { right: 23%; bottom: 26%; z-index: 7; }

.game-mode .rush-sidebar {
    top: 12px !important;
    right: 14px !important;
    bottom: auto !important;
    z-index: 13 !important;
    width: 150px !important;
    max-height: 300px !important;
    padding: 8px !important;
    border: 0 !important;
    background: transparent !important;
    pointer-events: none;
}

.game-mode .rush-sidebar .rush-panel:first-child {
    padding: 10px;
    border: 3px solid #333;
    background: repeating-linear-gradient(0deg, #fff 0 35px, #ffd7d7 36px 58px);
    pointer-events: auto;
}

.game-mode .rush-sidebar .rush-panel:first-child h3 { display: none; }
.game-mode .rush-sidebar .rush-panel:first-child .rush-order-card { background: transparent; border: 0; }
.game-mode .rush-sidebar .rush-panel:nth-child(2) { margin-top: 8px; pointer-events: auto; }
.game-mode .rush-sidebar .rush-panel:nth-child(2) h3 { padding: 4px 7px; background: #fff; }

.game-mode .oven-stage { display: none !important; }
.game-mode .station-grid {
    position: absolute !important;
    right: 0 !important;
    bottom: 58px !important;
    left: 0 !important;
    z-index: 8 !important;
    height: 40% !important;
    border-top: 3px solid #242424 !important;
}

.game-mode .station-grid .station-block.active {
    min-height: 210px !important;
    padding-bottom: 76px !important;
}

.game-mode .station-grid .station-buttons,
.game-mode .station-grid .mold-buttons,
.game-mode .station-grid .station-action,
.game-mode .station-grid .batter-meter,
.game-mode .station-grid .bake-meter,
.game-mode .station-grid .bake-status {
    position: relative !important;
    z-index: 15 !important;
}

.game-mode .station-grid .station-buttons,
.game-mode .station-grid .mold-buttons {
    flex-wrap: wrap;
}

.game-mode .station-block.active::before { font-size: 8rem; }
.game-mode .bakeria-station-tabs {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 20 !important;
    height: 58px;
    border: 0 !important;
    border-top: 5px solid #111 !important;
    border-radius: 0 !important;
    background: repeating-linear-gradient(45deg, #161616 0 7px, #252525 8px 14px) !important;
    pointer-events: auto !important;
}

.game-mode .station-tab { min-height: 38px; font-size: clamp(.48rem, 1.2vw, .7rem) !important; }
.game-mode .rush-order-card,
.game-mode .station-tab,
.game-mode .station-btn,
.game-mode .mold-btn,
.game-mode .station-action { pointer-events: auto !important; cursor: pointer; }
.game-mode .rush-order-card { cursor: pointer; }
.take-order-btn { position: relative; z-index: 20; width: 100%; margin-top: 7px; padding: 8px 5px; border: 2px solid #fff; border-radius: 999px; background: #39ad2d; color: #fff; font-size: .65rem; font-weight: 900; cursor: pointer; }
.take-order-btn:hover { filter: brightness(1.15); }
.take-order-btn.taken { background: #1d6f31; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }

@media (max-width: 620px) {
    .game-mode .rush-sidebar { width: 125px !important; }
    .game-mode .scene-ticket-art { width: 120px !important; height: 190px !important; }
    .game-mode .scene-chef { transform: scale(.78); transform-origin: bottom center; }
}

.intro-studio {
    position: absolute;
    top: 14px;
    left: 16px;
    color: #fff4e3;
    font-size: clamp(0.55rem, 1.2vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.intro-studio strong {
    display: block;
    color: #ffd768;
    font-size: 1.05em;
}

.intro-brand {
    position: absolute;
    top: 12%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 36px 12px;
    border: 6px solid #fff7ed;
    border-radius: 48% 48% 42% 42%;
    background: #f6dfca;
    box-shadow: 0 8px 0 #84203a, 0 14px 24px rgba(40, 5, 15, 0.35);
    transform: rotate(-2deg);
}

.intro-brand-top {
    color: #6d351d;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 0.9;
}

.intro-brand-main {
    color: #d62c57;
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 0.9;
    text-shadow: 2px 3px 0 #fff, 4px 5px 0 #7e1836;
}

.intro-brand-mark {
    margin-top: 5px;
    color: #d48c29;
    font-size: 1rem;
}

.intro-pastry {
    position: absolute;
    bottom: 17%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(150px, 25vw, 310px);
    height: clamp(90px, 14vw, 180px);
    border-radius: 50% 50% 18% 18%;
    background: radial-gradient(circle at 50% 35%, #ffe6b7 0 16%, #c77634 17% 62%, #8e431e 63% 100%);
    border: 5px solid #f8d29b;
    box-shadow: inset 0 10px 0 rgba(255, 245, 219, 0.55), 0 12px 20px rgba(40, 5, 15, 0.35);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.intro-pastry-left { left: -2%; transform: rotate(-9deg); }
.intro-pastry-center { left: 50%; bottom: 13%; transform: translateX(-50%); z-index: 4; }
.intro-pastry-right { right: -2%; transform: rotate(9deg); }

.intro-loading {
    position: absolute;
    right: 12%;
    bottom: 5%;
    left: 12%;
    z-index: 5;
}

.intro-loading-bar {
    height: 15px;
    overflow: hidden;
    border: 2px solid #fffaf0;
    background: #fffaf0;
    box-shadow: 0 3px 0 rgba(72, 9, 25, 0.55);
}

.intro-loading-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: #d77a27;
    transition: width 0.18s linear;
}

.intro-loading > span {
    display: block;
    margin-top: 8px;
    color: #fffaf0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
}

@media (max-width: 600px) {
    .intro-brand { top: 17%; padding: 14px 24px 10px; }
    .intro-pastry { bottom: 20%; }
    .intro-pastry-left { left: -22%; }
    .intro-pastry-right { right: -22%; }
    .intro-pastry-center { bottom: 18%; }
    .intro-loading { right: 7%; left: 7%; }
}

.preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #fffdf9 0%, var(--bg-primary) 48%, #e9d4b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.9s, visibility 0.9s;
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    display: none;
}

.preloader-inner {
    position: relative;
    text-align: center;
    animation: logoEntrance 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.preloader-inner::before,
.preloader-inner::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #D48C29;
    box-shadow: 0 0 18px 5px rgba(212, 140, 41, 0.55);
    animation: logoSparkOrbit 2.2s linear 0.8s infinite;
}

.preloader-inner::after {
    width: 5px;
    height: 5px;
    background: #D9534F;
    animation-duration: 3s;
    animation-delay: 1.1s;
    animation-direction: reverse;
}

.preloader-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 142px;
    height: 142px;
    margin: 0 auto;
    font-size: 4rem;
    border: 1px solid rgba(168, 101, 20, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 14px rgba(212, 140, 41, 0.07), 0 0 0 28px rgba(212, 140, 41, 0.04), 0 20px 55px rgba(168, 101, 20, 0.25);
    animation: logoOrbit 2.2s ease-in-out 1.1s infinite;
}

.preloader-icon::before,
.preloader-icon::after {
    content: '';
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(168, 101, 20, 0.28);
    border-radius: 50%;
    animation: logoRing 2.4s ease-out 0.8s infinite;
}

.preloader-icon::after {
    inset: -28px;
    border-color: rgba(212, 140, 41, 0.15);
    animation-delay: 1.2s;
}

.preloader-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(38vw, 420px);
    height: auto;
    max-height: 180px;
    object-fit: contain;
    animation: logoMarkReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
    filter: drop-shadow(0 8px 18px rgba(74, 44, 29, 0.18));
}

.preloader-text {
    display: block;
    margin-top: 20px;
    font-family: var(--font-heading);
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    animation: logoTextReveal 1s ease 0.75s both;
}

.preloader-subtitle {
    display: block;
    margin-top: 6px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff7d6 0%, #ffd77a 35%, #ffb447 70%, #fff7d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 12px rgba(255, 205, 118, 0.9), 0 0 24px rgba(255, 176, 71, 0.7), 0 0 42px rgba(255, 176, 71, 0.45);
    animation: logoTextReveal 1s ease 0.95s both;
}

@keyframes logoEntrance {
    from { opacity: 0; transform: scale(0.72); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes logoMarkReveal {
    from { opacity: 0; transform: scale(0.35) rotate(-180deg); }
    70% { transform: scale(1.08) rotate(8deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes logoRing {
    0% { opacity: 0; transform: scale(0.72); }
    35% { opacity: 1; }
    100% { opacity: 0; transform: scale(1.18); }
}

@keyframes logoOrbit {
    0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
    25% { transform: translateY(-10px) rotate(4deg) scale(1.04); }
    50% { transform: translateY(0) rotate(0) scale(1); }
    75% { transform: translateY(-6px) rotate(-4deg) scale(1.03); }
}

@keyframes logoSparkOrbit {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(92px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(92px) rotate(-360deg); }
}

@keyframes logoTextReveal {
    from { opacity: 0; transform: translateY(12px); letter-spacing: 0.9em; }
    to { opacity: 1; transform: translateY(0); letter-spacing: 0.5em; }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-inner,
    .preloader-icon,
    .preloader-icon::before,
    .preloader-icon::after,
    .preloader-logo,
    .preloader-text {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .preloader-inner::before,
    .preloader-inner::after {
        animation: none;
    }
}

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

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ==================== FLOATING WHATSAPP ==================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    animation: waPulse 2s infinite;
    transition: transform var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.15);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 35px rgba(37, 211, 102, 0.8); }
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10010;
    padding: 20px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(250, 246, 240, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 25px rgba(74, 44, 29, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    position: relative;
    max-width: 1200px;

.map-address-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    max-width: calc(100% - 36px);
    padding: 10px 14px;
    border: 1px solid rgba(212, 140, 41, 0.35);
    border-radius: 8px;
    background: rgba(34, 20, 13, 0.9);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.map-address-label i {
    margin-right: 6px;
    color: var(--gold-light);
}
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 0.15em;
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
    align-self: flex-end;
    margin-bottom: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
    transform: translateX(-30px);
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition);
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

.navbar.scrolled .nav-link:hover {
    color: var(--gold-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.chevron-icon {
    display: none;
}

.dropdown-toggle::after {
    content: '';
    display: none;
    margin-left: 0;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown.open .dropdown-toggle::after {
    content: '';
}

.nav-cta {
    background: var(--gold);
    color: #FFFFFF !important;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 140, 41, 0.3);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-dark);
    color: #FFFFFF !important;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFFFFF;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    min-width: 230px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    z-index: 10001;
    box-shadow: 0 15px 35px rgba(74, 44, 29, 0.12);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: all var(--transition);
}

.dropdown-menu li a i {
    color: var(--gold-dark);
    width: 18px;
    text-align: center;
}

.dropdown-menu li a:hover {
    background: #FAF6F0;
    color: var(--gold-dark);
    padding-left: 26px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 10020;
    position: relative;
    padding: 6px;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background: var(--gold-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: url('../images/hero_bakery.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 110px;
    padding-bottom: 35px;
    overflow: hidden;
    isolation: isolate;
    animation: heroBackgroundBreath 16s ease-in-out infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(245, 214, 160, 0.12) 50%, transparent 65%);
    transform: translateX(-55%);
    animation: heroLightSweep 9s ease-in-out 1.2s infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 46vw;
    height: 46vw;
    max-width: 640px;
    max-height: 640px;
    right: -12vw;
    top: 8%;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(245, 214, 160, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(245, 214, 160, 0.035), 0 0 90px rgba(212, 140, 41, 0.14);
    animation: heroHalo 10s ease-in-out infinite;
}

@keyframes heroBackgroundBreath {
    from { background-size: 100% 100%; }
    to { background-size: 108% 108%; }
}

@keyframes heroLightSweep {
    0%, 28% { transform: translateX(-55%); opacity: 0; }
    42% { opacity: 1; }
    68%, 100% { transform: translateX(55%); opacity: 0; }
}

@keyframes heroHalo {
    0%, 100% { transform: scale(0.94) rotate(0deg); opacity: 0.45; }
    50% { transform: scale(1.04) rotate(8deg); opacity: 0.9; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 35%, rgba(44, 26, 18, 0.45) 0%, rgba(35, 20, 14, 0.82) 75%, rgba(26, 15, 10, 0.92) 100%),
        linear-gradient(180deg, rgba(26, 15, 10, 0.75) 0%, rgba(44, 26, 18, 0.4) 45%, rgba(250, 246, 240, 1) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.bakery-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.bakery-shape {
    position: absolute;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(245, 214, 160, 0.35);
    border-radius: 50%;
    color: rgba(245, 214, 160, 0.75);
    background: rgba(44, 26, 18, 0.2);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
    font-size: 1.7rem;
    animation: bakeryShapeFloat 7s ease-in-out infinite;
}

.bakery-shape-croissant { top: 21%; left: 48%; animation-delay: -1s; }
.bakery-shape-bread { top: 42%; right: 6%; animation-delay: -3.5s; }
.bakery-shape-cake { bottom: 23%; left: 7%; animation-delay: -5s; }

@keyframes bakeryShapeFloat {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-14px) rotate(6deg); }
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--gold-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.85; }
    80% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-velar-container {
    position: relative;
    z-index: 3;
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 30px;
}

/* Upper hero grid */
.hero-velar-upper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
    min-height: auto;
    gap: 12px;
}

.velar-lead {
    max-width: 650px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    transform: none;
}

.hero-reveal {
    animation: heroContentReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-reveal-1 { animation-delay: 0.35s; }
.hero-reveal-2 { animation-delay: 0.55s; }
.hero-reveal-3 { animation-delay: 0.72s; }
.hero-reveal-4 { animation-delay: 0.88s; }
.hero-reveal-5 { animation-delay: 1.04s; }

@keyframes heroContentReveal {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.velar-lead-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(245, 214, 160, 0.7);
    background: rgba(18, 10, 7, 0.7);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.velar-lead-badge::before {
    content: '�';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 188, 75, 0.14);
    box-shadow: inset 0 0 0 1px rgba(245, 214, 160, 0.45);
    font-size: 0.95rem;
    line-height: 1;
}

.velar-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.4vw, 3.8rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0 auto 16px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.velar-title .gold-text {
    color: var(--gold-light);
    font-style: italic;
}

.velar-lead p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 400;
}

.velar-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 1px solid var(--gold-light);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(212, 140, 41, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.velar-btn-explore:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 140, 41, 0.45);
}

.hero-live-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: -2px 0 16px;
    padding: 7px 12px;
    border: 1px solid rgba(245, 214, 160, 0.35);
    border-radius: 999px;
    background: rgba(26, 15, 10, 0.35);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.hero-live-note i { color: #ffb347; }

.hero-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #72e39a;
    box-shadow: 0 0 0 0 rgba(114, 227, 154, 0.7);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(114, 227, 154, 0.65); }
    50% { box-shadow: 0 0 0 6px rgba(114, 227, 154, 0); }
}

/* Center watermark */
.velar-center-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    user-select: none;
    min-height: 190px;
    grid-column: 1 / -1;
    justify-self: center;
    align-self: start;
    margin: -6px auto 0;
    transform: translateY(-8px);
}

.brand-logo-mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(35, 25, 20, 0.96), rgba(8, 6, 5, 0.96));
    border: 2px solid rgba(245, 214, 160, 0.82);
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.14), 0 12px 24px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
    position: relative;
}

.brand-logo-mark::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(243, 196, 119, 0.45);
}

.brand-logo-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.hero-brand-reveal {
    animation: brandReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

@keyframes brandReveal {
    from { opacity: 0; transform: scale(0.82); letter-spacing: 0.7em; }
    to { opacity: 1; transform: scale(1); letter-spacing: normal; }
}

.velar-center-brand .brand-wm-main {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    text-shadow: 0 0 20px rgba(212, 140, 41, 0.2);
    line-height: 1;
}

.velar-center-brand .brand-wm-sub {
    display: block;
    font-size: 0.54rem;
    letter-spacing: 0.34em;
    color: rgba(245, 214, 160, 0.75);
    margin-top: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Right widget (location map badge) */
.velar-widget-wrap {
    display: flex;
    justify-content: flex-end;
}

.velar-location-widget {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 16px;
    overflow: hidden;
    width: 220px;
    box-shadow: 0 15px 35px rgba(74, 44, 29, 0.15);
    transition: transform var(--transition), border-color var(--transition);
}

.velar-location-widget:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.velar-widget-map {
    height: 100px;
    width: 100%;
    position: relative;
    background: #F3ECE1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.velar-widget-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0.8;
    pointer-events: none;
}

.map-pin-pulse {
    position: relative;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(212, 140, 41, 0.6);
    animation: pinPulse 2s infinite;
}

@keyframes pinPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(212, 140, 41, 0.6); }
    50% { transform: scale(1.1); box-shadow: 0 0 25px rgba(212, 140, 41, 0.9); }
}

.velar-widget-info {
    padding: 12px 14px;
    text-align: center;
    border-top: 1px solid rgba(212, 140, 41, 0.15);
}

.velar-widget-info h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 3px;
    font-family: var(--font-body);
    font-weight: 700;
}

.velar-widget-info p {
    font-size: 0.72rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    font-weight: 600;
}

/* Bottom cards row */
.velar-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 15px;
}

.velar-card {
    background: #FFFFFF;
    border: 1px solid rgba(212, 140, 41, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.07);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    animation: cardRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.velar-card:nth-child(1) { animation-delay: 1.05s; }
.velar-card:nth-child(2) { animation-delay: 1.2s; }
.velar-card:nth-child(3) { animation-delay: 1.35s; }

@keyframes cardRise {
    from { opacity: 0; transform: translateY(36px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero,
    .hero::before,
    .hero::after,
    .hero-reveal,
    .hero-brand-reveal,
    .velar-card {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.velar-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(212, 140, 41, 0.22);
}

.velar-card-img-wrap {
    position: relative;
    height: 190px;
    width: 100%;
    overflow: hidden;
    background: #F3ECE1;
}

.velar-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.velar-card:hover .velar-card-img-wrap img {
    transform: scale(1.08);
}

.velar-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.velar-card-price {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--pastry-accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(217, 83, 79, 0.3);
    letter-spacing: 0.02em;
}

.velar-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.velar-card-title {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.velar-card-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.velar-specs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid rgba(212, 140, 41, 0.12);
    border-bottom: 1px solid rgba(212, 140, 41, 0.12);
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: var(--text-body);
}

.velar-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.velar-specs i {
    color: var(--gold-dark);
    font-size: 0.78rem;
}

.velar-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.velar-status {
    font-size: 0.7rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.velar-actions {
    display: flex;
    gap: 6px;
}

.velar-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #FAF6F0;
    border: 1px solid rgba(212, 140, 41, 0.25);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.velar-action-btn:hover {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.velar-action-btn.active {
    background: var(--pastry-accent);
    color: #fff;
    border-color: var(--pastry-accent);
}

.quantity-markers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 48px;
    height: 32px;
    border: 1px solid rgba(212, 140, 41, 0.25);
    border-radius: 8px;
    background: #FAF6F0;
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.quantity-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.quantity-marker:hover {
    color: var(--gold-dark);
    transform: scale(1.2);
}

/* Nav button CONSULTAR */
.nav-btn-consultar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--gold);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(212, 140, 41, 0.3);
}

.nav-btn-consultar:hover {
    border-color: var(--gold-dark);
    background: var(--gold-dark);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(168, 101, 20, 0.4);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.05em;
    box-shadow: 0 6px 20px rgba(212, 140, 41, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 140, 41, 0.45);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    background: transparent;
    color: var(--gold-dark);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--gold-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.05em;
}

.btn-outline:hover {
    background: var(--gold-dark);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 45px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 8px auto 0;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 45px; }
    50% { opacity: 0.3; height: 25px; }
}

/* ==================== SECTIONS SHARED ==================== */
.section-dark {
    padding: 90px 0;
    position: relative;
    background: var(--bg-primary);
}

.section-dark > .container {
    position: relative;
    z-index: 1;
}

.project-section {
    background: #f3ece1;
}

.project-section .section-header {
    opacity: 1 !important;
    transform: none !important;
}

.team-section-title {
    opacity: 1 !important;
    transform: none !important;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1050px;
    margin: 0 auto;
}

.project-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 140, 41, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.project-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #2c2018;
    color: var(--gold-light);
}

.project-card h3 {
    margin-bottom: 12px;
    color: var(--gold-dark);
    font-size: 1.25rem;
}

.project-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.75;
}

@media (max-width: 700px) {
    .project-grid { grid-template-columns: 1fr; }
    .project-card { padding: 22px; }
}

.team-map-360 {
    width: 100%;
    height: 460px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: #e9e1d7;
    box-shadow: var(--shadow);
}

.team-map-360 iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 600px) {
    .team-map-360 { height: 340px; }
}

.bakery-bg-pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    color: #000;
    opacity: 0.28;
}

.bakery-bg-pattern i {
    position: absolute;
    font-size: 8rem;
    transform: rotate(-18deg);
}

#productos > .container {
    position: relative;
    z-index: 1;
}

.bakery-bg-bread { top: 2%; left: 3%; }
.bakery-bg-croissant { top: 18%; right: 4%; transform: rotate(18deg) !important; }
.bakery-bg-cookie { top: 48%; left: 8%; font-size: 5.5rem !important; transform: rotate(12deg) !important; }
.bakery-bg-cake { top: 74%; right: 10%; font-size: 6rem !important; transform: rotate(-10deg) !important; }

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-label {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.3em;
    color: var(--gold-dark);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 0 auto;
}

.section-sub {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==================== GLASS CARD ==================== */
.glass-card {
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.08);
}

/* ==================== PRODUCTS ==================== */
.category-block {
    margin-bottom: 70px;
}

.promotions-lowered {
    padding: 90px 4%;
    margin: 0;
    background: var(--bg-primary);
}

.category-heading {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 140, 41, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-heading i {
    color: var(--gold-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

.product-card {
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 140, 41, 0.2);
    transition: all 0.4s cubic-bezier(0.2,0.8,0.2,1);
    position: relative;
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.07);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(212, 140, 41, 0.22);
}

.product-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #F3ECE1;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(74, 44, 29, 0.12));
    pointer-events: none;
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.product-body {
    padding: 18px 20px 20px;
    border-top: 1px solid rgba(212, 140, 41, 0.12);
}

.product-body h4 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    font-weight: 700;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold-dark);
}

/* ==================== PROMO CARD ==================== */
.promo-card {
    position: relative;
    background: linear-gradient(135deg, #FAF6F0, #F3ECE1);
    border: 2px solid rgba(212, 140, 41, 0.3);
    border-radius: var(--radius);
    padding: 50px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(74, 44, 29, 0.08);
}

.promo-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 140, 41, 0.12) 0%, transparent 60%);
    animation: promoGlow 4s ease-in-out infinite;
}

@keyframes promoGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-label {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    font-weight: 700;
}

.promo-card h4 {
    font-size: 2.2rem;
    margin: 15px 0 10px;
    color: var(--text-dark);
}

.promo-card p {
    color: var(--text-body);
    margin-bottom: 15px;
}

.promo-price {
    margin-bottom: 25px;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 15px;
    font-size: 1.05rem;
}

.new-price {
    color: var(--pastry-accent);
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

/* ==================== TEAM ==================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.project-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.5fr);
    gap: 28px;
    align-items: stretch;
    max-width: 1150px;
    margin: 0 auto;
}

.project-group-photo {
    aspect-ratio: 4 / 3;
    align-self: start;
    transform: translateY(225px);
    width: auto;
    overflow: hidden;
    border: 1px solid rgba(212, 140, 41, 0.2);
    border-radius: var(--radius);
    background: #f3ece1;
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.1);
}

.project-group-photo img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.7s ease;
}

.project-grid {
    width: 100%;
}

.project-group-photo:hover img {
    transform: scale(1.04);
}

.team-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    height: 380px;
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.1);
}

.team-image {
    width: 100%;
    height: 100%;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.team-image .team-photo-felipe {
    object-position: 66% top;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(44, 26, 18, 0.95));
    transform: translateY(60%);
    transition: transform 0.5s ease;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-overlay h4 {
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.team-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.team-line {
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin-top: 10px;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.team-card:hover .team-line {
    width: 80px;
}

/* ==================== TEAM VELAR CARDS (FOR EQUIPO.HTML) ==================== */
.team-velar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    margin-top: 40px;
}

@media (max-width: 1080px) {
    .team-velar-grid {
        gap: 22px;
    }
}

@media (max-width: 900px) {
    .team-velar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .team-velar-grid {
        grid-template-columns: 1fr;
    }
}

.team-velar-card {
    background: #FFFFFF;
    border: 1px solid rgba(212, 140, 41, 0.22);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(74, 44, 29, 0.08);
    transition: all 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
}

.team-velar-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(212, 140, 41, 0.25);
}

.team-velar-img-wrap {
    position: relative;
    height: 380px;
    width: 100%;
    overflow: hidden;
    background: #F3ECE1;
}

.team-velar-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 50%,
        rgba(74, 44, 29, 0.2) 75%,
        rgba(44, 26, 18, 0.6) 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.team-velar-img-wrap::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 1.8rem;
    background: var(--gold-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 0 25px rgba(212, 140, 41, 0.6);
}

.team-velar-img-wrap:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.team-velar-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.98) contrast(1.04) saturate(1.08) sepia(0.08);
    transition: filter 0.35s ease;
    display: block;
}

.team-velar-card:first-child .team-velar-img-wrap img {
    object-position: 50% 14%;
}

.team-velar-card:hover .team-velar-img-wrap img {
    filter: brightness(1.05) contrast(1.04) saturate(1.12) sepia(0.06);
}

.team-velar-card:nth-child(3) .team-velar-img-wrap img {
    filter: brightness(0.86) contrast(1.06) saturate(1.08) sepia(0.08);
}

.team-velar-card:nth-child(3):hover .team-velar-img-wrap img {
    filter: brightness(0.92) contrast(1.06) saturate(1.1) sepia(0.06);
}

.team-velar-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    border: none;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.team-velar-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-velar-name {
    font-size: 1.35rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-velar-role {
    font-size: 0.88rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.team-velar-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 18px;
}

.team-velar-specs {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(212, 140, 41, 0.15);
    border-bottom: 1px solid rgba(212, 140, 41, 0.15);
    padding: 10px 0;
    margin-bottom: 16px;
    font-size: 0.78rem;
    color: var(--text-body);
}

.team-velar-specs span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.team-velar-specs i {
    color: var(--gold-dark);
}

.team-velar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.team-velar-status {
    font-size: 0.72rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* ==================== VISIT US ==================== */
.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    min-height: 450px;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.visit-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    background: #FFFFFF;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.08);
}

.visit-icon {
    font-size: 3rem;
    margin-bottom: 5px;
    color: var(--gold-dark);
}

.visit-logo {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border: 2px solid rgba(212, 140, 41, 0.25);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(74, 44, 29, 0.12);
}

.visit-logo img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 50%;
}

.visit-info h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.visit-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.98rem;
    color: var(--text-body);
}

.visit-detail strong {
    color: var(--gold-dark);
    font-weight: 700;
}

.visit-detail i {
    color: var(--gold-dark);
    width: 20px;
    text-align: center;
}

.phone-highlight {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 1.1rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: all var(--transition);
    margin-top: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* ==================== MINI GAME ==================== */
.game-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px;
    display: flex;
    gap: 30px;
    background: #FFFFFF;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.08);
}

.game-ingredients {
    flex: 0 0 190px;
    border-right: 1px solid var(--glass-border);
    padding-right: 25px;
}

.game-ingredients h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.game-step-block h4 {
    font-size: 0.92rem;
    color: var(--gold-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.flavor-options,
.frosting-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.game-opt-btn,
.game-frosting-btn {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(212, 140, 41, 0.25);
    background: #FAF6F0;
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.game-opt-btn:hover,
.game-frosting-btn:hover {
    border-color: var(--gold);
    background: #F3ECE1;
}

.game-opt-btn.active,
.game-frosting-btn.active {
    background: var(--gold-dark);
    color: #FFFFFF;
    border-color: var(--gold-dark);
    box-shadow: 0 4px 12px rgba(168, 101, 20, 0.3);
}

.ingredients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ingredient {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FAF6F0;
    border: 1px solid rgba(212, 140, 41, 0.22);
    user-select: none;
}

.ingredient:hover {
    border-color: var(--gold-dark);
    background: #F3ECE1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 140, 41, 0.15);
}

.ingredient:active {
    transform: scale(0.95);
}

.ingr-emoji {
    font-size: 1.2rem;
}

.ingredient span {
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 600;
}

.game-canvas {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drop-zone {
    width: 100%;
    min-height: 310px;
    border: 2px dashed rgba(212, 140, 41, 0.35);
    border-radius: var(--radius);
    background: #FAF6F0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 25px 20px;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.drop-zone.drag-over {
    border-color: var(--gold-dark);
    background: #F3ECE1;
}

.drop-hint {
    position: absolute;
    top: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
    font-weight: 500;
}

.cake-base-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cake-layer {
    transition: background 0.4s ease;
    border-radius: 8px;
}

.cake-frosting-layer {
    width: 195px;
    height: 14px;
    border-radius: 12px 12px 4px 4px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    margin-bottom: -4px;
    z-index: 2;
}

.cake-bottom {
    width: 200px;
    height: 38px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cake-middle {
    width: 175px;
    height: 32px;
    margin-bottom: -2px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.cake-top {
    width: 150px;
    height: 28px;
    margin-bottom: -2px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

#cake-toppings {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 50px;
    z-index: 3;
    max-width: 220px;
}

.placed-topping {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    animation: dropBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
    user-select: none;
}

.placed-topping:hover {
    transform: scale(1.25) rotate(10deg);
}

@keyframes dropBounce {
    0% { transform: translateY(-40px) scale(0.3); opacity: 0; }
    70% { transform: translateY(6px) scale(1.2); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.cake-summary-bar {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(212, 140, 41, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(74, 44, 29, 0.05);
}

.game-save-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.72rem;
    opacity: 0.7;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.game-save-status.is-saved {
    color: #2f8f5b;
    opacity: 1;
}

.summary-details {
    display: flex;
    gap: 15px;
    font-size: 0.82rem;
    color: var(--text-body);
}

.summary-item strong {
    color: var(--gold-dark);
}

.summary-price-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.summary-price-tag strong {
    color: var(--pastry-accent);
    font-size: 1.15rem;
    font-weight: 800;
}

.celebration-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    font-family: var(--font-heading);
    color: var(--gold-dark);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
    animation: celebPop 1.5s ease forwards;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1.5px solid var(--gold);
    box-shadow: 0 8px 25px rgba(212, 140, 41, 0.3);
}

@keyframes celebPop {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.game-controls {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}

.game-arcade-panel {
    width: 100%;
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 12px;
}

.order-board,
.metrics-panel {
    background: linear-gradient(135deg, #fffaf1, #ffffff);
    border: 1px solid rgba(212, 140, 41, 0.2);
    border-radius: 14px;
    padding: 14px 15px;
    box-shadow: 0 8px 24px rgba(74, 44, 29, 0.05);
}

.board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.active-order-card {
    background: #fff;
    border: 1px solid rgba(212, 140, 41, 0.18);
    border-radius: 12px;
    padding: 12px;
}

.customer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.customer-badge {
    background: rgba(212, 140, 41, 0.12);
    color: var(--gold-dark);
    border-radius: 999px;
    padding: 4px 8px;
    font-weight: 700;
}

.active-order-card h3 {
    margin: 0 0 4px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.active-order-card p {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.active-order-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-dark);
    font-size: 0.8rem;
    line-height: 1.8;
}

.queue-list {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.mini-order-card {
    background: rgba(250, 246, 240, 0.9);
    border: 1px solid rgba(212, 140, 41, 0.15);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-order-card span,
.mini-order-card small {
    color: var(--text-muted);
}

.mini-order-card strong {
    color: var(--text-dark);
    font-size: 0.86rem;
}

.mini-order-card.empty {
    opacity: 0.7;
}

.metrics-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.metric-box {
    background: #fff;
    border: 1px solid rgba(212, 140, 41, 0.14);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
}

.metric-box span {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    margin-bottom: 6px;
}

.metric-box strong {
    color: var(--gold-dark);
    font-size: 1.05rem;
}

.game-status-bar {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.status-pill.success {
    background: rgba(47, 143, 91, 0.1);
    color: #256b43;
}

.status-pill.muted {
    background: rgba(100, 100, 100, 0.08);
    color: var(--text-muted);
}

.advanced-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.advanced-controls button {
    width: 100%;
}

.cake-sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd977, #ffb703, transparent 70%);
    box-shadow: 0 0 12px rgba(255, 190, 66, 0.9);
    animation: sparkle-burst 0.9s ease-out forwards;
    pointer-events: none;
}

@keyframes sparkle-burst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(var(--spark-x), var(--spark-y)) scale(1.3);
    }
}

/* ==================== BAKERY RUSH / PAPA'S STYLE ==================== */
.bakery-rush-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 28px 22px;
    background: #f5efe7;
    border: 1px solid rgba(212, 140, 41, 0.18);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(74, 44, 29, 0.06);
}

.rush-header {
    margin-bottom: 18px;
    padding: 0 0 6px;
    border-bottom: 1px solid rgba(168, 101, 20, 0.18);
}

.rush-header .section-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
}

.rush-header h2 {
    font-size: clamp(2rem, 2.6vw, 3rem);
    margin: 0;
    line-height: 1.1;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rush-layout {
    display: grid;
    grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.rush-sidebar,
.rush-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rush-panel {
    background: transparent;
}

.rush-panel h3,
.station-block h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.rush-order-card {
    background: transparent;
    color: var(--text-dark);
    padding: 0;
}

.rush-order-card p {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.rush-order-card strong {
    color: var(--gold-dark);
    font-weight: 700;
}

.customer-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(212, 140, 41, 0.1);
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.rush-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.rush-ticket-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(212, 140, 41, 0.08);
    border: 1px solid rgba(212, 140, 41, 0.18);
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rush-queue {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rush-mini-order {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(212, 140, 41, 0.2);
    border-radius: 12px;
    color: var(--text-dark);
}

.rush-mini-customer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rush-mini-customer img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    object-position: center top;
    border: 2px solid #fff8ed;
    border-radius: 50%;
    animation: miniCustomerIdle 2.2s ease-in-out infinite;
}

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

.rush-mini-order.empty {
    opacity: 0.7;
}

.rush-mini-order span,
.rush-mini-order small {
    color: var(--text-muted);
}

.rush-mini-order strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.oven-stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rush-customer-stage {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 178px;
    padding: 18px 24px 0;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, #c98d62 0%, #f1c99e 100%);
    border: 2px solid rgba(128, 70, 29, 0.3);
    border-bottom: 0;
    box-shadow: inset 0 -12px 0 rgba(102, 52, 25, 0.12);
}

.rush-customer-avatar {
    position: relative;
    z-index: 1;
    flex: 0 0 128px;
    width: 128px;
    height: 158px;
    overflow: hidden;
    border: 5px solid #fffaf2;
    border-radius: 48% 48% 12% 12%;
    background: #b9784f;
    box-shadow: 0 10px 22px rgba(74, 44, 29, 0.3);
    animation: customerIdle 2.8s ease-in-out infinite;
}

@keyframes customerIdle {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-7px) rotate(1deg); }
}

.rush-customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.rush-customer-avatar > span:not(.customer-mood) {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    font-size: 3.4rem;
}

.customer-mood {
    position: absolute;
    right: -4px;
    bottom: 5px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(74, 44, 29, 0.18);
}

.rush-customer-speech {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 260px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #fffaf2;
    color: var(--text-dark);
    box-shadow: 0 6px 14px rgba(74, 44, 29, 0.09);
}

.rush-customer-speech strong {
    color: var(--gold-dark);
    font-size: 1rem;
}

.rush-customer-speech span {
    font-size: 0.85rem;
}

.rush-customer-stage::after {
    content: 'CLIENTE EN ESPERA';
    position: absolute;
    top: 12px;
    right: 18px;
    color: rgba(255, 250, 242, 0.82);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.oven-window {
    position: relative;
    min-height: 150px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(245,236,225,0.95));
    border: 1px solid rgba(212, 140, 41, 0.2);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.baked-item {
    position: relative;
    display: grid;
    place-items: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #f3d9b2 55%, #d89b45 100%);
    box-shadow: inset 0 8px 18px rgba(255,255,255,0.8), 0 12px 25px rgba(168,101,20,0.18);
    font-size: 3.4rem;
    animation: bakeryPulse 2.2s ease-in-out infinite;
}

.rush-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(212, 140, 41, 0.3);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-dark);
    box-shadow: 0 8px 18px rgba(168,101,20,0.18);
    animation: toastPop 1.2s ease forwards;
}

@keyframes bakeryPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes toastPop {
    0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.meter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.meter-box {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(212, 140, 41, 0.2);
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
}

.meter-box span {
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
    color: var(--text-muted);
}

.meter-box strong {
    color: var(--gold-dark);
    font-size: 1.06rem;
}

.station-grid {
    display: grid;
    gap: 18px;
}

.bakeria-station-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
    background: #ead8c3;
    border: 1px solid rgba(168, 101, 20, 0.2);
}

.station-tab {
    border: 0;
    border-radius: 9px;
    padding: 11px 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: 0.2s ease;
}

.station-tab:hover,
.station-tab.active {
    background: #fffaf2;
    color: var(--gold-dark);
    box-shadow: 0 4px 10px rgba(74, 44, 29, 0.1);
}

.station-block {
    display: none;
}

.station-block.active {
    display: block;
    animation: stationReveal 0.25s ease both;
}

.station-instruction {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@keyframes stationReveal {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.station-block {
    padding: 0;
}

.station-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.station-btn {
    appearance: none;
    border: 1px solid rgba(168, 101, 20, 0.28);
    background: #fffdf8;
    color: var(--text-dark);
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.station-btn:hover {
    transform: translateY(-1px);
    border-color: var(--gold-dark);
    box-shadow: 0 8px 16px rgba(212, 140, 41, 0.12);
}

.station-btn.selected {
    background: var(--gold-dark);
    color: #fff;
    border-color: var(--gold-dark);
    box-shadow: 0 8px 18px rgba(168, 101, 20, 0.25);
}

.rush-status-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.rush-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.rush-actions button {
    flex: 1;
}

@media (max-width: 860px) {
    .rush-layout {
        grid-template-columns: 1fr;
    }

    .rush-actions {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .bakeria-station-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rush-customer-stage {
        gap: 10px;
        min-height: 155px;
        padding: 20px 12px 0;
    }

    .rush-customer-avatar {
        flex-basis: 96px;
        width: 96px;
        height: 132px;
    }

    .rush-customer-speech {
        max-width: none;
        padding: 10px 12px;
    }

    .rush-customer-stage::after {
        right: 10px;
        font-size: 0.54rem;
    }
}

/* ==================== CONTACT FORM ==================== */
.contact-wrapper {
    max-width: 620px;
    width: min(100%, 680px);
    margin: 0 auto;
    grid-column: 1 / -1;
    justify-self: center;
}

.contact-form {
    padding: 40px;
    background: #FFFFFF;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(74, 44, 29, 0.08);
    margin: 0 auto;
}
.contact-hero {
    min-height: 52vh;
    height: auto;
    justify-content: center;
    padding: 150px 0 70px;
}
.contact-hero-content {
    justify-content: center;
    text-align: center;
    align-items: center;
}
.contact-hero-content p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
}
.contact-page-section {
    padding: 90px 0;
}
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.contact-page-grid-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.contact-page-header {
    margin-bottom: 30px;
}
.contact-page-header h2 {
    font-size: 1.8rem;
}
.contact-page-info {
    display: grid;
    gap: 22px;
}
.contact-page-info .visit-info {
    padding: 32px;
}
.contact-map-card {
    height: 360px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: #f3ece1;
    box-shadow: var(--shadow);
}
.contact-map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.form-group {
    margin-bottom: 22px;
}
@media (max-width: 760px) {
    .contact-page-grid { grid-template-columns: 1fr; }
    .contact-map-card { height: 300px; }
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: #FAF6F0;
    border: 1px solid rgba(212, 140, 41, 0.25);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-dark);
    box-shadow: 0 0 15px rgba(212, 140, 41, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.cake-request-section {
    background: #f3ece1;
}

.cake-request-form {
    max-width: 820px;
    margin: 0 auto;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cake-request-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.cake-field,
.cake-ingredients-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.cake-field select,
.cake-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(212, 140, 41, 0.28);
    border-radius: var(--radius-sm);
    background: #faf6f0;
    color: var(--text-dark);
    font: inherit;
}

.cake-field-wide { margin-top: 20px; }

.cake-ingredients-field {
    margin: 22px 0 0;
    padding: 18px;
    border: 1px solid rgba(212, 140, 41, 0.2);
    border-radius: var(--radius-sm);
}

.cake-ingredients-field legend {
    padding: 0 8px;
    color: var(--gold-dark);
}

.cake-ingredients-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.cake-ingredients-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(212, 140, 41, 0.16);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
}

.cake-ingredients-options input { accent-color: var(--gold-dark); }

.cake-request-submit {
    width: 100%;
    margin-top: 22px;
    justify-content: center;
}

@media (max-width: 600px) {
    .cake-request-form { padding: 22px 16px; }
    .cake-request-grid,
    .cake-ingredients-options { grid-template-columns: 1fr 1fr; }
}

/* ==================== FOOTER ==================== */
.footer {
    background: #22140D;
    border-top: 3px solid var(--gold);
    padding: 50px 0 30px;
    color: #FAF6F0;
}

.footer-extended {
    background: #050505;
    border-top: none;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 0.9fr;
    gap: 50px;
    align-items: flex-start;
    padding-bottom: 35px;
}

.footer-brand-block,
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 2.5vw, 3rem);
    color: var(--gold-light);
    margin: 0;
    line-height: 1;
}

.footer-brand-block p {
    color: rgba(250, 246, 240, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    max-width: 420px;
}

.footer-socials {
    display: flex;
    gap: 18px;
    margin-top: 8px;
}

.footer-socials a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(250, 246, 240, 0.5);
    background: rgba(255, 255, 255, 0.02);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.footer-socials a:hover {
    transform: translateY(-2px);
    background: rgba(255, 196, 83, 0.12);
    border-color: var(--gold-light);
}

.footer-col h3 {
    margin: 0;
    color: var(--gold-light);
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    font-weight: 700;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(250, 246, 240, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-contact-item i {
    color: var(--gold-light);
    margin-top: 4px;
    min-width: 18px;
}

.footer-contact-item span {
    display: block;
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-hours p {
    margin: 0;
    color: rgba(250, 246, 240, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0 26px;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(250, 246, 240, 0.6);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1080px) {
    .hero-velar-upper {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .velar-center-brand {
        display: none;
    }
    .velar-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .visit-grid {
        grid-template-columns: 1fr;
    }
    .map-container iframe {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 95px;
        padding-bottom: 45px;
    }
    .hero-velar-upper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    .velar-lead {
        max-width: 100%;
        margin: 0 auto;
    }
    .velar-widget-wrap {
        justify-content: center;
    }
    .velar-cards-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #FAF6F0;
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 5px;
        transition: left 0.4s ease;
        z-index: 10015;
        overflow-y: auto;
        box-shadow: 10px 0 30px rgba(0,0,0,0.15);
        transform: none;
        pointer-events: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-container {
        position: relative;
        z-index: 10018;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(212, 140, 41, 0.12);
        color: var(--text-dark);
        text-shadow: none;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar {
        background: #FAF6F0;
        backdrop-filter: blur(15px);
        padding: 15px 0;
        border-bottom: 1px solid rgba(212, 140, 41, 0.15);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(212, 140, 41, 0.05);
        border: none;
        display: none;
        padding: 5px 0;
        box-shadow: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .game-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .game-ingredients {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding-right: 0;
        padding-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .game-ingredients h4 {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-group-photo img {
        min-height: 0;
        max-height: none;
    }

    .project-layout {
        grid-template-columns: 1fr;
    }

    .project-group-photo {
        transform: translateY(20px);
    }

    .team-card {
        height: 280px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .visit-info {
        padding: 25px;
    }
}

/* ============================================================
   CARRITO DE COMPRAS ARTESANAL & MODAL DIDI (TOCAIMA STYLE)
   ============================================================ */

/* BOTÓN FLOTANTE DEL CARRITO */
.cart-trigger.floating-cart {
    position: fixed;
    top: 15px;
    right: 72px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #c9a96e, #e8a050);
    color: white;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.55);
    z-index: 10005;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-trigger.floating-cart:hover {
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 12px 40px rgba(201, 169, 110, 0.75);
    background: linear-gradient(135deg, #e8a050, #D84315);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc64a0;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FAF6F0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D9534F;
    color: #fff;
    border: 2px solid #FAF6F0;
    font-size: 0.7rem;
    font-weight: 800;
}

.cart-badge-pop {
    animation: cartBadgePop 0.55s ease;
}

@keyframes cartBadgePop {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.3); }
}

/* OVERLAY TRANSPARENTE/SUAVE */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 32, 24, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* SIDEBAR CAJÓN DEL CARRITO */
.cart-sidebar {
    position: fixed;
    right: 60px;
    top: 20px;
    bottom: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: auto;
    max-height: calc(100vh - 40px);
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -10px 15px 50px rgba(62, 39, 35, 0.25);
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    border: 1px solid rgba(212, 140, 41, 0.25);
    transform: translateX(120%);
    overflow: hidden;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 140, 41, 0.15);
    background: #FAF6F0;
}

.cart-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #4A2C1D;
    font-family: 'Cinzel', serif;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-cart {
    background: rgba(74, 44, 29, 0.08);
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #4A2C1D;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.close-cart:hover {
    background: #D9534F;
    color: white;
    transform: rotate(90deg);
}

/* LISTA DE PRODUCTOS */
.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-empty-view {
    text-align: center;
    padding: 40px 20px;
}

.empty-cart-msg {
    font-weight: 700;
    font-size: 1.1rem;
    color: #5D4037;
    margin: 0;
}

/* BANNER DE EXPIRACIÓN 48 HORAS */
.cart-expiration-banner {
    background: rgba(230, 81, 0, 0.08);
    color: #D84315;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px dashed rgba(230, 81, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 2px 10px rgba(230, 81, 0, 0.05);
}

.cart-item {
    display: flex;
    gap: 12px;
    background: #ffffff;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(212, 140, 41, 0.15);
    align-items: center;
    box-shadow: 0 4px 12px rgba(74, 44, 29, 0.04);
    animation: cartItemIn 0.4s both;
}

.cart-item:nth-child(2) { animation-delay: 0.06s; }
.cart-item:nth-child(3) { animation-delay: 0.12s; }
.cart-item:nth-child(4) { animation-delay: 0.18s; }

@keyframes cartItemIn {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(212, 140, 41, 0.2);
    flex-shrink: 0;
}

.cart-item-info {
    flex-grow: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 0.88rem;
    margin: 0 0 3px;
    color: #2C2018;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-info p {
    font-size: 0.78rem;
    color: #D84315;
    font-weight: 800;
    margin: 0 0 6px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FAF6F0;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(212, 140, 41, 0.2);
}

.qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A2C1D;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.qty-btn:hover {
    background: #E8A050;
    color: white;
}

.cart-qty span {
    font-size: 0.85rem;
    font-weight: 800;
    color: #2C2018;
    min-width: 16px;
    text-align: center;
}

.delete-btn {
    color: #e74c3c;
    background: none;
    border: none;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 4px;
    display: block;
    letter-spacing: 0.5px;
    padding: 0;
    transition: 0.2s;
}

.delete-btn:hover {
    color: #c0392b;
    text-decoration: underline;
}

.cart-item-subtotal {
    align-self: flex-start;
    padding-top: 4px;
    color: #5D4037;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

/* FOOTER DEL CARRITO */
.cart-footer {
    padding: 20px 24px;
    background: #FAF6F0;
    border-top: 1px solid rgba(212, 140, 41, 0.15);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: #4A2C1D;
}

.cart-total-row span:last-child {
    color: #D84315;
    font-size: 1.35rem;
}

.cart-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #D84315;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cart-total-products {
    display: flex;
    justify-content: space-between;
    color: #7E6E64;
    font-size: 0.82rem;
}

.cart-total-products strong { color: #4A2C1D; }

.cart-continue-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(74, 44, 29, 0.2);
    border-radius: 28px;
    background: transparent;
    color: #4A2C1D;
    cursor: pointer;
    font-weight: 800;
    transition: all 0.25s ease;
}

.cart-continue-btn:hover {
    background: #4A2C1D;
    color: #fff;
    transform: translateY(-2px);
}

body.cart-open { overflow: hidden; }

@media (max-width: 480px) {
    .cart-sidebar {
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .cart-items { padding: 14px; }
    .cart-footer { padding: 16px; }
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #E65100, #D84315);
    color: white;
    border: none;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    border-radius: 35px;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #D84315, #bf360c);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 81, 0, 0.45);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* BOTÓN DE AGREGAR AL CARRITO EN PRODUCTOS */
.btn-add-cart {
    background: #2C2018;
    color: #FAF6F0;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #E65100, #D84315);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(230, 81, 0, 0.35);
}

/* ============================================================
   MODAL INTERACTIVO ESTILO DIDI (LEAFLET + GOOGLE MAPS)
   ============================================================ */
.didi-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(42, 27, 24, 0.6);
    backdrop-filter: blur(6px);
    z-index: 20000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.didi-modal.active {
    opacity: 1;
    visibility: visible;
}

.didi-modal-content {
    width: 100%;
    max-width: 500px;
    height: 88vh;
    background: #FFFDF9;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -15px 50px rgba(62, 39, 35, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border-left: 1px solid rgba(212, 140, 41, 0.2);
    border-right: 1px solid rgba(212, 140, 41, 0.2);
}

.didi-modal.active .didi-modal-content {
    transform: translateY(0);
}

.didi-header {
    padding: 16px 22px;
    background: #FAF6F0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(212, 140, 41, 0.15);
}

.didi-back-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #4A2C1D;
    cursor: pointer;
    margin-right: 15px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.didi-back-btn:hover {
    transform: translateX(-4px);
}

.didi-header-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #4A2C1D;
}

.didi-center-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.didi-pin-label {
    background: #E65100;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.4);
    margin-bottom: 4px;
    animation: bouncePin 1.2s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
    border: 2px solid white;
}

.didi-pin-icon {
    width: 32px;
    height: 32px;
    background: #E65100;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.didi-pin-shadow {
    width: 12px;
    height: 4px;
    background: rgba(62, 39, 35, 0.35);
    border-radius: 50%;
    margin-top: -1px;
    animation: shadowPulse 1.2s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

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

@keyframes shadowPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.5); opacity: 0.3; }
}

.didi-bottom-sheet {
    padding: 22px;
    background: #FFFDF9;
    border-top: 1px solid rgba(212, 140, 41, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.04);
}

.didi-sheet-handle {
    width: 38px;
    height: 4px;
    background: rgba(74, 44, 29, 0.2);
    border-radius: 2px;
    align-self: center;
    margin-top: -10px;
    margin-bottom: 4px;
}

.didi-location-box {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #FAF6F0;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(212, 140, 41, 0.2);
}

.didi-icon-marker {
    font-size: 1.5rem;
}

.didi-info-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.didi-info-text label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #8D7B77;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.didi-info-text input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2C2018;
    width: 100%;
}

.didi-info-text input:focus {
    outline: none;
}

.didi-details-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(212, 140, 41, 0.25);
    padding-bottom: 14px;
}

.didi-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #5D4037;
}

.didi-confirm-btn {
    background: linear-gradient(135deg, #E65100, #D84315);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.didi-confirm-btn:hover {
    background: linear-gradient(135deg, #D84315, #bf360c);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 81, 0, 0.5);
}

/* ============================================================
   SIMULADOR DE RASTREO EN VIVO ESTILO DIDI
   ============================================================ */
#trackingModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(42, 27, 24, 0.52);
    backdrop-filter: blur(4px);
    z-index: 25000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.tracking-content.whatsapp-style {
    width: 100%;
    max-width: 470px;
    height: min(90vh, 860px);
    background: #FFFDF9;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0,0,0,0.28);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(212, 140, 41, 0.22);
    animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.tracking-header-wa {
    padding: 18px 20px 16px;
    background: linear-gradient(180deg, #F9F1E7 0%, #F7F0E8 100%);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(212, 140, 41, 0.18);
}

.tracking-header-wa h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: #4A2C1D;
    margin: 0;
    letter-spacing: 0.02em;
}

#trackingMap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(212, 140, 41, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
    margin: 16px 16px 0;
}

.tracking-bottom-sheet {
    padding: 18px 18px 20px;
    background: #FFFDF9;
    border-top: 1px solid rgba(212, 140, 41, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 42vh;
}

.sheet-item {
    display: flex;
    gap: 14px;
    align-items: center;
    background: rgba(250, 246, 240, 0.7);
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(212, 140, 41, 0.12);
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.7);
}

.icon-circle.black {
    background: #4A2C1D;
    color: white;
}

.icon-circle.green {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.sheet-text h4 {
    font-size: 0.9rem;
    color: #2C2018;
    font-weight: 800;
    margin: 0 0 2px;
}

.sheet-text p {
    font-size: 0.77rem;
    color: #7E6E64;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

.sheet-divider {
    height: 1px;
    border-bottom: 1px dashed rgba(212, 140, 41, 0.28);
    margin: 4px 0;
}

.sheet-subtitle {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #9E8E84;
    letter-spacing: 0.5px;
}



/* ============================================================
   MODAL INTERACTIVO ESTILO DIDI (LEAFLET + GOOGLE MAPS)
   ============================================================ */
.didi-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(42, 27, 24, 0.6);
    backdrop-filter: blur(6px);
    z-index: 20000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.didi-modal.active {
    opacity: 1;
    visibility: visible;
}

.didi-modal-content {
    width: 100%;
    max-width: 500px;
    height: 88vh;
    background: #FFFDF9;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -15px 50px rgba(62, 39, 35, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border-left: 1px solid rgba(212, 140, 41, 0.2);
    border-right: 1px solid rgba(212, 140, 41, 0.2);
}

.didi-modal.active .didi-modal-content {
    transform: translateY(0);
}

.didi-header {
    padding: 16px 22px;
    background: #FAF6F0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(212, 140, 41, 0.15);
}

.didi-back-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #4A2C1D;
    cursor: pointer;
    margin-right: 15px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.didi-back-btn:hover {
    transform: translateX(-4px);
}

.didi-header-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #4A2C1D;
}

.didi-center-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.didi-pin-label {
    background: #E65100;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.4);
    margin-bottom: 4px;
    animation: bouncePin 1.2s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
    border: 2px solid white;
}

.didi-pin-icon {
    width: 32px;
    height: 32px;
    background: #E65100;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.didi-pin-shadow {
    width: 12px;
    height: 4px;
    background: rgba(62, 39, 35, 0.35);
    border-radius: 50%;
    margin-top: -1px;
    animation: shadowPulse 1.2s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

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

@keyframes shadowPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.5); opacity: 0.3; }
}

.didi-bottom-sheet {
    padding: 22px;
    background: #FFFDF9;
    border-top: 1px solid rgba(212, 140, 41, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.04);
}

.didi-sheet-handle {
    width: 38px;
    height: 4px;
    background: rgba(74, 44, 29, 0.2);
    border-radius: 2px;
    align-self: center;
    margin-top: -10px;
    margin-bottom: 4px;
}

.didi-location-box {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #FAF6F0;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(212, 140, 41, 0.2);
}

.didi-icon-marker {
    font-size: 1.5rem;
}

.didi-info-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.didi-info-text label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #8D7B77;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.didi-info-text input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2C2018;
    width: 100%;
}

.didi-info-text input:focus {
    outline: none;
}

.didi-details-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(212, 140, 41, 0.25);
    padding-bottom: 14px;
}

.didi-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #5D4037;
}

.didi-confirm-btn {
    background: linear-gradient(135deg, #E65100, #D84315);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.didi-confirm-btn:hover {
    background: linear-gradient(135deg, #D84315, #bf360c);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 81, 0, 0.5);
}

/* SIMULADOR DE RASTREO EN VIVO ESTILO DIDI */
#trackingModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(42, 27, 24, 0.52);
    backdrop-filter: blur(4px);
    z-index: 25000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.tracking-content.whatsapp-style {
    width: 100%;
    max-width: 470px;
    height: min(90vh, 860px);
    background: #FFFDF9;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0,0,0,0.28);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(212, 140, 41, 0.22);
    animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.tracking-header-wa {
    padding: 18px 20px 16px;
    background: linear-gradient(180deg, #F9F1E7 0%, #F7F0E8 100%);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(212, 140, 41, 0.18);
}

.tracking-header-wa h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: #4A2C1D;
    margin: 0;
    letter-spacing: 0.02em;
}

#trackingMap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(212, 140, 41, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
    margin: 16px 16px 0;
}

.tracking-bottom-sheet {
    padding: 18px 18px 20px;
    background: #FFFDF9;
    border-top: 1px solid rgba(212, 140, 41, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 42vh;
}

.sheet-item {
    display: flex;
    gap: 14px;
    align-items: center;
    background: rgba(250, 246, 240, 0.7);
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(212, 140, 41, 0.12);
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.7);
}

.icon-circle.black {
    background: #4A2C1D;
    color: white;
}

.icon-circle.green {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.sheet-text h4 {
    font-size: 0.9rem;
    color: #2C2018;
    font-weight: 800;
    margin: 0 0 2px;
}

.sheet-text p {
    font-size: 0.77rem;
    color: #7E6E64;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

.sheet-divider {
    height: 1px;
    border-bottom: 1px dashed rgba(212, 140, 41, 0.28);
    margin: 4px 0;
}

.sheet-subtitle {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #9E8E84;
    letter-spacing: 0.5px;
}

/* ============================================================
   SECCIÓN DE RESEÑAS ("TU OPINIÓN NOS IMPORTA") & ADMIN PANEL
   ============================================================ */
.reviews-section {
    padding: 80px 0;
    background: #121212;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.review-section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.review-section-sub {
    color: #ffb800;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.review-card-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 38px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.star-rating-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.star-rating-wrap i {
    font-size: 2.4rem;
    color: #444444;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.star-rating-wrap i.active,
.star-rating-wrap i.hover {
    color: #ffb800;
    transform: scale(1.15);
    text-shadow: 0 0 15px rgba(255, 184, 0, 0.5);
}

.review-form-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-form-inputs input,
.review-form-inputs textarea {
    width: 100%;
    background: #252525;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.review-form-inputs input:focus,
.review-form-inputs textarea:focus {
    border-color: #ffb800;
    box-shadow: 0 0 12px rgba(255, 184, 0, 0.25);
}

.review-form-inputs textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-review-submit {
    width: 100%;
    background: linear-gradient(135deg, #ffb800, #ffa000);
    color: #121212;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.35);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-review-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 184, 0, 0.5);
    background: linear-gradient(135deg, #ffc425, #ffb000);
}

.admin-link-wrapper {
    margin-top: 24px;
}

.btn-admin-access {
    background: transparent;
    border: 1px dashed rgba(255, 184, 0, 0.4);
    color: #ffb800;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-admin-access:hover {
    background: rgba(255, 184, 0, 0.12);
    border-color: #ffb800;
}

/* Modal Administrador de Reseñas */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.admin-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.admin-modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(212, 140, 41, 0.3);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.admin-modal-header {
    padding: 20px 24px;
    background: #242424;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: #ffb800;
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    color: #aaaaaa;
    font-size: 1.5rem;
    cursor: pointer;
}

.admin-modal-body {
    padding: 24px;
    overflow-y: auto;
}

.admin-pass-box {
    text-align: center;
    padding: 20px 0;
}

.admin-pass-box p {
    color: #cccccc;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.admin-pass-input {
    width: 80%;
    max-width: 320px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 16px;
}

.review-item-card {
    background: #242424;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 14px;
    text-align: left;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-item-name {
    font-weight: 800;
    color: #ffb800;
    font-size: 1rem;
}

.review-item-stars {
    color: #ffb800;
    font-size: 0.9rem;
}

.review-item-contact {
    font-size: 0.78rem;
    color: #888888;
    margin-bottom: 8px;
}

.review-item-comment {
    font-size: 0.9rem;
    color: #dddddd;
    line-height: 1.4;
    background: #1c1c1c;
    padding: 10px 14px;
    border-radius: 10px;
}

.review-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #777;
}

.btn-delete-review {
    background: rgba(217, 83, 79, 0.15);
    color: #d9534f;
    border: 1px solid rgba(217, 83, 79, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
}

/* ============================================================
   FLOATING SOCIAL BUTTONS (WhatsApp, Instagram, Facebook)
   ============================================================ */

.floating-socials-stack {
    position: fixed;
    bottom: 30px;
    right: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9900;
    align-items: center;
}

.float-social-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    border: none;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 22px rgba(0,0,0,0.28);
}

.float-social-btn:hover {
    transform: scale(1.13) translateY(-3px);
}

.float-social-btn .float-tooltip {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    color: #fff;
    font-size: 0.73rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 5px 12px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.float-social-btn:hover .float-tooltip {
    opacity: 1;
}

.float-social-btn.btn-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

.float-social-btn.btn-ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 6px 22px rgba(220, 39, 67, 0.45);
}

.float-social-btn.btn-fb {
    background: linear-gradient(135deg, #1877f2, #0c5fc0);
    box-shadow: 0 6px 22px rgba(24, 119, 242, 0.45);
}

.float-social-btn.btn-chat {
    background: linear-gradient(135deg, #ffb800, #e08800);
    box-shadow: 0 6px 22px rgba(255, 184, 0, 0.5);
    color: #121212;
}

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */

.dulce-chat-widget {
    position: fixed;
    bottom: 110px;
    right: 22px;
    width: 360px;
    max-height: 520px;
    background: #141414;
    border: 1px solid rgba(255, 184, 0, 0.25);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    z-index: 9950;
    box-shadow: 0 20px 60px rgba(0,0,0,0.65);
    overflow: hidden;
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.dulce-chat-widget.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.dulce-chat-header {
    background: linear-gradient(135deg, #1c1c1c, #252525);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,184,0,0.15);
    flex-shrink: 0;
}

.dulce-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb800, #e08800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #121212;
    flex-shrink: 0;
}

.dulce-chat-header-info {
    flex: 1;
}

.dulce-chat-header-name {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffb800;
    line-height: 1.2;
}

.dulce-chat-header-status {
    font-size: 0.7rem;
    color: #25d366;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.dulce-chat-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color 0.2s ease;
    line-height: 1;
}

.dulce-chat-close:hover {
    color: #fff;
}

.dulce-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 260px;
    max-height: 320px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,184,0,0.3) transparent;
}

.dulce-chat-messages::-webkit-scrollbar {
    width: 4px;
}
.dulce-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,184,0,0.3);
    border-radius: 4px;
}

.chat-msg {
    display: flex;
    gap: 8px;
    max-width: 88%;
    animation: chatMsgIn 0.3s ease;
}

@keyframes chatMsgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
    align-self: flex-start;
    flex-direction: row;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.82rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.chat-msg.bot .chat-msg-bubble {
    background: #252525;
    color: #e0e0e0;
    border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-msg-bubble {
    background: linear-gradient(135deg, #ffb800, #e08800);
    color: #121212;
    font-weight: 600;
    border-bottom-right-radius: 4px;
}

.chat-msg-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb800, #e08800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #121212;
    flex-shrink: 0;
    margin-top: 2px;
}

.chat-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: #252525;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.chat-typing-dot {
    width: 6px;
    height: 6px;
    background: #ffb800;
    border-radius: 50%;
    animation: typingBounce 1s infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.dulce-chat-quick-replies {
    padding: 8px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #1a1a1a;
}

.chat-quick-btn {
    background: rgba(255,184,0,0.1);
    border: 1px solid rgba(255,184,0,0.3);
    color: #ffb800;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.chat-quick-btn:hover {
    background: rgba(255,184,0,0.25);
    transform: translateY(-1px);
}

.dulce-chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #1c1c1c;
    flex-shrink: 0;
}

.dulce-chat-input {
    flex: 1;
    background: #2a2a2a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    padding: 10px 16px;
    color: #fff;
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

.dulce-chat-input:focus {
    border-color: rgba(255,184,0,0.5);
}

.dulce-chat-input::placeholder {
    color: #666;
}

.dulce-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb800, #e08800);
    border: none;
    color: #121212;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dulce-chat-send:hover {
    transform: scale(1.1);
}

/* notification dot */
.float-social-btn .notif-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #ff4d4d;
    border-radius: 50%;
    border: 2px solid #141414;
    animation: notifPulse 1.5s infinite;
}

@keyframes notifPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

@media (max-width: 480px) {
    .dulce-chat-widget {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 100px;
    }
    .floating-socials-stack {
        right: 12px;
        bottom: 20px;
        gap: 10px;
    }
    .float-social-btn {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }
}