/* =========================================================
   LA CASA DEL HABANO UAE
   Reference-aligned stylesheet
   Fonts: DM Sans (body) · Playfair Display (display)

   ---------------------------------------------------------
   LA CASA DEL HABANO BRAND PALETTE
   ---------------------------------------------------------
     HABANO RED      #98012D   DOMINANT · page ground, bands,
                                           CTAs, titles, rules
     HABANO GOLD     #A7996E   accent   · foil lines, borders,
                                           numerals, small copy
     HABANO BLACK    #211E1F   base     · deep copy on ivory
     TOBACCO BROWN   #7B3900   reserved · print & packaging
   ---------------------------------------------------------
   Every large surface is a shade of Habano Red #98012D
   (shades mixed for depth), so the brand red leads the page
   while ivory paper and gold stay as accents. Contrast is
   AA-checked for every pairing used below.
   ========================================================= */

:root {
    /* --- Core brand colours (do not alter) --- */
    --brand-red: #98012d;
    --brand-gold: #a7996e;
    --brand-black: #211e1f;   /* base — reserved for deep copy, not a surface   */

    /* --- Dark red → black gradient pair (requested) --- */
    --habano-crimson: #98012d;
    --habano-black: #211e1f;
    --habano-gradient: linear-gradient(135deg, #98012d 0%, #5c011b 42%, #211e1f 100%);
    --habano-gradient-soft: linear-gradient(160deg, rgba(152, 1, 45, .28), rgba(33, 30, 31, .92));

    /* --- Habano Red shades: DOMINANT. Every large surface mixes #98012D --- */
    --brand-red-deep: #6b0120;    /* 30% shade — panels, cards, warm bands  */
    --brand-red-dark: #4a0116;    /* 50% shade — deep bands, nested panels  */
    --brand-red-darkest: #2e0109; /* 70% shade — page edge, footer, copy    */

    /* --- Brand tints (paper surfaces & copy on red) --- */
    --brand-ivory: #fee7c6;
    --brand-gold-tint: #d7d1be;
    --brand-red-tint: #e5bfca;

    /* --- Semantic aliases (used by every rule below) --- */
    --navy: var(--brand-red-deep);       /* dominant surface: body, cards, panels */
    --navy-deep: var(--brand-red-dark);
    --cream: var(--brand-ivory);         /* paper surface & light copy            */
    --sand: var(--brand-gold);           /* gold accents, rules, borders          */
    --gold-copy: var(--brand-gold-tint); /* gold copy on Habano Red grounds       */
    --red: var(--brand-red);             /* signature Habano Red                  */
    --coral: var(--brand-red);           /* primary CTA fill (legacy name)        */
    --ink: var(--brand-red-darkest);     /* deep copy / footer / nested panels    */
    --gold: var(--brand-gold);

    --vh: 1vh;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    color: var(--cream);
    background: linear-gradient(180deg, #98012d 0%, #5c011b 40%, #211e1f 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.display {
    font-family: "Playfair Display", Georgia, serif;
}

h1, h2, h3, h4, p {
    margin: 0;
}

a {
    -webkit-tap-highlight-color: transparent;
}

/* Brand-palette selection: reads on both ivory paper and Habano Red grounds */
::selection {
    background: var(--brand-gold);
    color: var(--brand-black);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--cream);
    outline-offset: 3px;
}

/* ===== LAYOUT PRIMITIVES ===== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 1024px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.section {
    width: 100%;
    padding-top: 96px;
    padding-bottom: 96px;
    position: relative;
}

@media (min-width: 1024px) {
    .section {
        padding-top: 128px;
        padding-bottom: 128px;
    }
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ===== TYPOGRAPHY PRIMITIVES ===== */

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
}

.eyebrow-gold {
    color: var(--gold-copy);
}

.section-title {
    margin-top: 16px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    font-weight: 600;
    line-height: .95;
    letter-spacing: -0.01em;
    color: var(--brand-red);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 28px;
    }
}

.section-title-cream {
    color: var(--cream);
}

.section-copy {
    margin-top: 28px;
    font-size: 17px;
    line-height: 28px;
    color: var(--ink);
    max-width: 36rem;
}

.section-sub {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
}

.cream {
    color: var(--cream);
}

/* ===== BUTTONS ===== */

.btn-casa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 1rem 1.7rem;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn-casa:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -12px rgba(46, 1, 9, .55);
}

/* Primary CTA: ivory ground + Habano Red copy — stays legible on red surfaces */
.btn-coral {
    background: var(--cream);
    color: var(--brand-red);
}

.btn-outline {
    background: none;
    border: 2px solid var(--cream);
    color: var(--cream);
}

/* Secondary CTA used on the ivory paper band: full Habano Red */
.btn-blue {
    background: var(--brand-red);
    color: var(--cream);
}
/* ===== HEADER ===== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease;
}

.site-header.scrolled {
    background: rgba(74, 1, 22, .97);
    box-shadow: 0 5px 18px rgba(46, 1, 9, .45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

@media (min-width: 1024px) {
    .nav-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-bar {
    width: 8px;
    height: 32px;
    background: var(--sand);
    border-radius: 3px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 18px;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--cream);
    white-space: nowrap;
}

.logo-image {
    display: block;
    height: 44px;
    width: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-decoration: none;
    color: var(--cream);
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--sand);
    transition: width .25s ease;
}

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

.nav-cta {
    background: var(--cream);
    color: var(--brand-red);
}

/* Primary CTA hover stays deep Habano Red with ivory copy; nav CTA hover is full Habano Red #98012D */
.btn-coral:hover {
    background: var(--brand-red-dark);
    color: var(--cream);
}

.nav-cta:hover {
    background: #98012d;
    color: var(--cream);
}

.menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== MOBILE MENU ===== */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: var(--navy);
    padding: 28px;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--cream);
}

.mobile-logo-image {
    display: block;
    height: 34px;
    width: auto;
}

@media (max-width: 480px) {
    .logo-image {
        height: 38px;
    }
}

.menu-close {
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    padding: 4px;
}

.mobile-nav {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav a {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--cream);
    text-decoration: none;
}

.mobile-nav a:hover {
    color: var(--sand);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--vh) * 100);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-red-darkest);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Habano Red wash over the photo, first thing the eye reads */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(46, 1, 9, .92),
        rgba(74, 1, 22, .55) 54%,
        rgba(152, 1, 45, .72));
}

/* Habano Red glow behind the hero copy */
.hero-sun {
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: var(--brand-red);
    filter: blur(1px);
    opacity: .55;
    position: absolute;
    right: -130px;
    top: 12%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 24px 0;
}

@media (min-width: 1024px) {
    .hero-content {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.stamp {
    border: 2px solid var(--sand);
    border-radius: 999px;
    letter-spacing: .12em;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cream);
    text-transform: uppercase;
}

.hero-inner {
    margin-top: 32px;
    max-width: 56rem;
}

.hero-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--sand);
    text-transform: uppercase;
}

.hero-title {
    margin-top: 20px;
    max-width: 48rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    color: var(--cream);
    text-shadow: 2px 3px 0 rgba(46, 1, 9, .85), 0 14px 34px rgba(46, 1, 9, .45);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 32px;
    }
}

.hero-description {
    margin-top: 28px;
    max-width: 36rem;
    font-size: 17px;
    line-height: 28px;
    color: var(--cream);
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--cream);
}

@media (min-width: 1024px) {
    .hero-scroll {
        left: 40px;
    }
}

.hero-scroll-line {
    height: 1px;
    width: 40px;
    background: var(--sand);
}

.hero-scroll-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* ===== TILE RULE ===== */

/* Repeating Habano Red · Ivory · Ivory tile band */
.tile-rule {
    height: 12px;
    width: 100%;
    background: repeating-linear-gradient(90deg,
        var(--brand-red) 0 22px,
        var(--cream) 22px 28px,
        var(--brand-red-dark) 28px 50px,
        var(--cream) 50px 56px);
}
/* ===== SECTION BACKGROUNDS ===== */

/* Ivory paper with Habano Red specks */
.paper-grain {
    background-color: var(--brand-ivory);
    background-image: radial-gradient(rgba(152, 1, 45, .16) .7px, transparent .8px);
    background-size: 7px 7px;
}

.section-blue {
    background: var(--habano-gradient);    /* The Casa Experience */
}

.section-red {
    background: var(--habano-gradient);         /* Nights at the Casa  */
}

.section-leaf {
    background: var(--habano-gradient);         /* Find Your Casa      */
}

.section-navy {
    background: var(--habano-gradient);    /* About Us            */
}

/* ===== HERITAGE ===== */

.heritage-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .heritage-grid {
        grid-template-columns: 1fr 1fr;
        gap: 96px;
    }
}

#heritage .btn-casa {
    margin-top: 32px;
}

.heritage-media {
    position: relative;
}

.heritage-frame {
    position: absolute;
    left: -12px;
    top: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(152, 1, 45, .85);
    border-radius: var(--radius-lg);
}

.heritage-media img {
    position: relative;
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 28px 50px -20px rgba(46, 1, 9, .5);
}

@media (min-width: 1024px) {
    .heritage-media img {
        height: 580px;
    }
}

/* ===== EXPERIENCE ===== */

.section-head {
    max-width: 42rem;
}

.experience-grid {
    margin-top: 56px;
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.experience-card {
    border: 1px solid rgba(254, 231, 198, .45);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.experience-card:hover {
    transform: translateY(-7px);
    background: rgba(254, 231, 198, .1);
    box-shadow: 0 24px 40px -18px rgba(46, 1, 9, .55);
}

.experience-img {
    height: 160px;
    overflow: hidden;
}

.experience-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.experience-card:hover .experience-img img {
    transform: scale(1.07);
}

.experience-body {
    padding: 24px;
}

.experience-number {
    font-size: 30px;
    color: var(--sand);
}

.experience-title {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 600;
    color: var(--cream);
}

.experience-copy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
    color: var(--cream);
}

/* ===== EVENTS ===== */

.events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.events-arrows {
    display: none;
    gap: 12px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .events-arrows {
        display: flex;
    }
}

.events-arrows button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cream);
    border-radius: 50%;
    padding: 12px;
    background: none;
    color: var(--cream);
    cursor: pointer;
    transition: background .2s ease;
}

.events-arrows button:hover {
    background: rgba(254, 231, 198, .1);
}

.event-carousel {
    margin-top: 44px;
    overflow: hidden;
    touch-action: none;
    user-select: none;
}

.event-track {
    display: flex;
    transition: transform .65s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
}

.event-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    background: var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -24px rgba(46, 1, 9, .6);
}

@media (max-width: 767px) {
    .event-slide {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-track {
        transition: none;
    }
}

.event-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .event-slide img {
        height: 220px;
    }
}

@media (min-width: 1024px) {
    .event-slide img {
        height: 480px;
    }
}

.event-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
}

@media (max-width: 767px) {
    .event-content {
        padding: 24px;
    }
}

@media (min-width: 1024px) {
    .event-content {
        padding: 48px;
    }
}

.event-category {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--gold-copy);
    text-transform: uppercase;
}

.event-title {
    margin-top: 20px;
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
    color: var(--cream);
}

.event-copy {
    margin-top: 20px;
    font-size: 17px;
    line-height: 28px;
    color: var(--cream);
}

.event-date {
    margin-top: 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--gold-copy);
    text-transform: uppercase;
}

.event-link {
    margin-top: 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .13em;
    color: var(--cream);
    text-decoration: none;
    text-transform: uppercase;
}

.event-link:hover {
    text-decoration: underline;
    color: var(--gold-copy);
}

.event-dots {
    margin-top: 28px;
    display: flex;
    gap: 12px;
}

.event-dot {
    height: 11px;
    width: 11px;
    border: 0;
    border-radius: 999px;
    background: var(--sand);
    padding: 0;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.event-dot.active {
    width: 35px;
    background: var(--cream);
}
/* ===== BRANDS MARQUEE ===== */

.brands-marquee {
    margin-top: 48px;
    overflow: hidden;
}

.brands-track {
    display: flex;
    width: max-content;
    -webkit-animation: brand-loop 60s linear infinite;
    animation: brand-loop 60s linear infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.brands-track:hover {
    animation-play-state: paused;
}

.brands-set {
    display: flex;
    flex-shrink: 0;
    padding-right: 40px;
    align-items: center;
}

.brand-logo {
    height: 120px;
    width: auto;
    margin-right: 80px;
    filter: brightness(0) invert(0);
    opacity: 0.85;
    transition: opacity .2s ease, transform .2s ease;
}

.brand-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@keyframes brand-loop {
    from { -webkit-transform: translateX(0); transform: translateX(0); }
    to { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}

@-webkit-keyframes brand-loop {
    from { -webkit-transform: translateX(0); }
    to { -webkit-transform: translateX(-50%); }
}

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

@media (max-width: 767px) {
    .brands-track {
        animation-duration: 35s;
    }
    .brand-logo {
        height: 80px;
        margin-right: 56px;
    }
}

/* ===== LOCATIONS ===== */

/* --- Desktop: clickable Casa list beside interactive map --- */
.locations-layout {
    display: none;
    margin-top: 56px;
}

@media (min-width: 1024px) {
    .locations-layout {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        align-items: stretch;
        gap: 40px;
    }
}

/* --- Mobile: photo-card style (original look) --- */
.locations-grid {
    display: none;
    margin-top: 56px;
    gap: 24px;
}

@media (max-width: 1023.98px) {
    .locations-grid {
        display: grid;
    }
}

.location-card {
    background: var(--navy);
    border: 1px solid rgba(254, 231, 198, .42);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px -18px rgba(46, 1, 9, .6);
}

.location-img {
    height: 200px;
    overflow: hidden;
}

.location-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

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

.location-body {
    padding: 24px;
}

.location-contact {
    margin-top: 20px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--sand);
    text-transform: uppercase;
    transition: color .2s ease;
}

.location-contact:hover {
    color: var(--cream);
}

/* Contact Store lives INSIDE each Casa's CONTACT LOCATION popover options */
.location-link-item,
.location-contact-wrap {
    position: relative;
}

.location-contact-wrap {
    margin-top: 20px;
}

.location-contact-wrap .location-contact {
    margin-top: 0;
}

.loc-popover {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: linear-gradient(160deg, #5c011b 0%, #211e1f 100%);
    border: 1px solid rgba(167, 153, 110, .55);
    border-radius: var(--radius-sm);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .65);
}

.location-link-item .loc-popover {
    top: auto;
    bottom: calc(100% + 8px);
}

.loc-popover[hidden] {
    display: none;
}

.loc-pop-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--cream);
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

a.loc-pop-option {
    display: block;
}

.loc-pop-option:hover {
    background: rgba(254, 231, 198, .1);
    border-color: rgba(167, 153, 110, .5);
}

.loc-pop-store {
    background: linear-gradient(135deg, #98012d 0%, #000000 130%);
    border-color: rgba(254, 231, 198, .5);
}

.loc-pop-store:hover {
    filter: brightness(1.15);
    background: linear-gradient(135deg, #98012d 0%, #000000 130%);
}

/* --- Desktop clickable rows (compact) --- */
.location-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-link {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--navy);
    border: 1px solid rgba(254, 231, 198, .42);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    cursor: pointer;
    font-family: inherit;
    color: var(--cream);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.location-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px -18px rgba(46, 1, 9, .6);
    border-color: rgba(167, 153, 110, .8);
}

.location-link.active {
    background: linear-gradient(135deg, rgba(152, 1, 45, .85), rgba(0, 0, 0, .9));
    border-color: var(--sand);
    box-shadow: 0 0 0 1px var(--sand), 0 22px 40px -18px rgba(0, 0, 0, .6);
}

.location-link-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.location-link-arrow {
    font-size: 20px;
    color: var(--sand);
    transition: transform .3s ease;
}

.location-link:hover .location-link-arrow,
.location-link.active .location-link-arrow {
    transform: translateX(4px);
}

.location-city {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--sand);
    text-transform: uppercase;
}

.location-title {
    margin-top: 8px;
    font-size: 30px;
    font-weight: 600;
    color: var(--cream);
}

.location-copy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
    color: var(--cream);
}

.location-rule {
    margin: 16px 0;
    border: 0;
    height: 1px;
    background: rgba(167, 153, 110, .55);
}

.location-address,
.location-hours {
    display: block;
    font-size: 14px;
    line-height: 24px;
    color: var(--cream);
}

.location-hours {
    margin-top: 4px;
    color: var(--sand);
}

.map-wrap {
    position: relative;
    min-height: 380px;
}

.locations-map {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 1px solid rgba(254, 231, 198, .45);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy);
    box-shadow: 0 30px 60px -24px rgba(46, 1, 9, .6);
}

/* Leaflet map theming to match the site */
.locations-map.leaflet-container {
    background: var(--navy);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.location-marker {
    background: transparent;
    border: none;
}

.location-marker .location-pin {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    background: var(--coral);
    border: 2px solid var(--cream);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
    transform: rotate(-45deg);
}

.location-popup .leaflet-popup-content-wrapper {
    background: var(--navy);
    color: var(--cream);
    border: 1px solid rgba(167, 153, 110, .7);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6);
}

.location-popup .leaflet-popup-content {
    margin: 14px 16px;
}

.location-popup .leaflet-popup-tip {
    background: var(--navy);
}

.location-popup .leaflet-popup-close-button {
    color: var(--sand);
}

.lp-kicker,
.lp-title,
.lp-address,
.lp-hours,
.lp-link {
    display: block;
}

.lp-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--sand);
    text-transform: uppercase;
}

.lp-title {
    margin-top: 6px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--cream);
}

.lp-address {
    margin-top: 10px;
    font-size: 13px;
    line-height: 20px;
    color: var(--cream);
}

.lp-hours {
    margin-top: 4px;
    font-size: 12px;
    line-height: 18px;
    color: var(--sand);
}

.lp-link {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--sand);
    text-decoration: none;
    text-transform: uppercase;
}

.lp-link:hover {
    color: var(--cream);
}

.locations-map-fallback {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: inherit;
    padding: 24px;
    text-align: center;
    color: var(--cream);
    font-size: 14px;
    line-height: 24px;
}

.locations-map-fallback-link {
    color: var(--sand);
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.locations-map-fallback-link:hover {
    color: var(--cream);
}
/* ===== ABOUT US ===== */

.about-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 72px;
    }
}

#about .section-copy + .section-copy {
    margin-top: 18px;
}

.about-sign {
    margin-top: 28px;
    font-size: 30px;
    font-style: italic;
    color: var(--sand);
}

.about-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(254, 231, 198, .65);
    color: var(--cream);
}

.btn-outline-light:hover {
    background: rgba(254, 231, 198, .12);
    border-color: var(--cream);
}

.about-media {
    position: relative;
}

.about-frame {
    position: absolute;
    left: -12px;
    top: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(167, 153, 110, .8);
    border-radius: var(--radius-lg);
}

.about-img-main {
    position: relative;
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 28px 50px -20px rgba(46, 1, 9, .6);
}

@media (min-width: 1024px) {
    .about-img-main {
        height: 520px;
    }
}

.about-badge {
    position: absolute;
    left: 20px;
    bottom: -24px;
    background: var(--cream);
    color: var(--brand-red-dark);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    box-shadow: 0 20px 40px -16px rgba(46, 1, 9, .55);
    max-width: 280px;
}

.about-badge-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--brand-red);
}

.about-badge-title {
    margin-top: 6px;
    font-size: 22px;
    font-style: italic;
}

.about-pillars {
    margin-top: 88px;
    display: grid;
    gap: 20px;
}

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

.about-card {
    border: 1px solid rgba(254, 231, 198, .35);
    border-radius: var(--radius-md);
    padding: 28px;
    background: rgba(254, 231, 198, .05);
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.about-card:hover {
    transform: translateY(-7px);
    background: rgba(254, 231, 198, .1);
    box-shadow: 0 24px 40px -18px rgba(46, 1, 9, .55);
}

.about-number {
    font-size: 30px;
    color: var(--sand);
}

.about-card-title {
    margin-top: 12px;
    font-size: 22px;
    font-weight: 600;
    font-family: "Playfair Display", Georgia, serif;
    color: var(--cream);
}

.about-card-copy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
    color: rgba(254, 231, 198, .85);
}

.about-stats {
    margin-top: 56px;
    display: grid;
    gap: 24px;
    border-top: 1px solid rgba(254, 231, 198, .25);
    padding-top: 40px;
    text-align: center;
}

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

.about-stat-value {
    font-size: clamp(40px, 5vw, 56px);
    color: var(--cream);
}

.about-stat-label {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--sand);
}

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

.footer {
    width: 100%;
    background: linear-gradient(180deg, #98012d 0%, #2a0207 55%, #000000 100%);
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    padding-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--cream);
}

.footer-logo-image {
    display: block;
    height: 40px;
    width: auto;
}

.footer-statement {
    margin-top: 20px;
    max-width: 320px;
    font-size: 14px;
    line-height: 24px;
    color: var(--sand);
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--sand);
    text-transform: uppercase;
}

.footer-nav {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: var(--cream);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-link:hover {
    color: var(--sand);
}

.footer-nav .footer-link {
    margin: 0;
}

.footer-list {
    margin-top: 20px;
    font-size: 14px;
    line-height: 28px;
    color: var(--cream);
}

.footer-bottom {
    border-top: 1px solid rgba(254, 231, 198, .2);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom span {
    font-size: 12px;
    color: var(--sand);
}

/* ===== FLOATING WHATSAPP ===== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid rgba(254, 231, 198, .85);
    border-radius: 50%;
    background: var(--brand-red);
    color: var(--cream);
    box-shadow: 0 10px 15px -3px rgba(46, 1, 9, .45);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 20px -4px rgba(46, 1, 9, .5);
}

/* ===== WHATSAPP CHATBOT ===== */

.whatsapp-chatbot {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(370px, calc(100vw - 32px));
    max-height: min(520px, calc(100vh - 140px));
    background: var(--navy);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(46, 1, 9, .55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.whatsapp-chatbot.open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #128c7e, #075e54);
    color: #fee7c6;
}

.chatbot-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(254, 231, 198, .15);
}

.chatbot-header-info {
    flex: 1;
    min-width: 0;
}

.chatbot-header-info h3 {
    font-size: 15px;
    font-weight: 700;
}

.chatbot-subtitle {
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(254, 231, 198, .85);
}

.chatbot-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, .25);
}

#chatbot-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(254, 231, 198, .12);
    color: #fee7c6;
    cursor: pointer;
    transition: background .2s ease;
}

#chatbot-close:hover {
    background: rgba(254, 231, 198, .28);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--navy-deep);
    background-image: radial-gradient(rgba(167, 153, 110, .1) 1px, transparent 1px);
    background-size: 12px 12px;
}

.message {
    max-width: 82%;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 14px;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.message-bot {
    align-self: flex-start;
    background: var(--brand-red);
    color: var(--cream);
    border-bottom-left-radius: 4px;
}

.message-user {
    align-self: flex-end;
    background: #005c4b;
    color: #fee7c6;
    border-bottom-right-radius: 4px;
}

.message-typing {
    display: flex;
    align-items: center;
    gap: 4px;
}

.message-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sand);
    animation: chatblink 1s infinite;
}

.message-typing span:nth-child(2) { animation-delay: .2s; }
.message-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes chatblink {
    0%, 80%, 100% { opacity: .3; }
    40% { opacity: 1; }
}

.chatbot-input-area {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 12px;
    background: var(--ink);
    border-top: 1px solid rgba(167, 153, 110, .25);
}

#chatbot-input {
    flex: 1;
    resize: none;
    border: 0;
    outline: none;
    background: rgba(254, 231, 198, .08);
    color: var(--cream);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 20px;
    max-height: 110px;
}

#chatbot-input::placeholder {
    color: rgba(254, 231, 198, .45);
}

#chatbot-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #06231a;
    cursor: pointer;
    transition: transform .15s ease, filter .2s ease;
}

#chatbot-send:hover {
    filter: brightness(1.08);
    transform: scale(1.05);
}

#chatbot-send:active {
    transform: scale(.95);
}

@media (max-width: 480px) {
    .whatsapp-chatbot {
        right: 12px;
        left: 12px;
        bottom: 92px;
        width: auto;
    }
}

/* ===== MOBILE VIEW: CENTER ALIGN EVERYTHING ===== */
@media (max-width: 767px) {

    /* --- Hero --- */
    .hero-content,
    .hero-inner,
    .hero-logo,
    .hero-title,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    #heritage .btn-casa {
        margin-top: 28px;
    }

    .hero-content .stamp.hero-kicker {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-actions {
        align-items: center;
        justify-content: center;
    }

    .hero-scroll-text {
        display: none;
    }

    /* Centered scroll indicator */
    .hero-scroll {
        left: 50%;
        transform: translateX(-50%);
    }

    /* --- Section headers & copy (heritage, experience, brands, etc.) --- */
    .section-head,
    .reveal,
    .eyebrow,
    .section-title,
    .section-copy,
    .section-sub {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* --- Experience cards --- */
    .experience-body {
        text-align: center;
    }

    /* --- Events --- */
    .events-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .event-content {
        align-items: center;
        text-align: center;
    }

    .events-arrows {
        justify-content: center;
    }

    .event-dots {
        justify-content: center;
    }

    /* --- Locations --- */
    .location-body {
        text-align: center;
    }

    /* --- About section --- */
    .about-grid > .reveal {
        text-align: center;
    }

    .about-actions {
        justify-content: center;
    }

    .about-badge {
        left: 50%;
        transform: translateX(-50%);
    }

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

    /* --- Footer --- */
    .footer-grid {
        text-align: center;
    }

    .footer-statement {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo-image {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-nav {
        align-items: center;
    }

    /* --- Mobile menu overlay links --- */
    .mobile-nav {
        align-items: center;
        text-align: center;
    }
}

/* ===== AGE GATE (21+) ===== */

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(140deg, #98012d 0%, #4d0113 48%, #000000 100%);
}

.age-gate.visible { display: flex; }

body.age-gate-open { overflow: hidden; }

/* While the gate is open, nothing else on the page may be seen */
body.age-gate-open > *:not(#age-gate) { visibility: hidden; }

.age-gate-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(160deg, #5c011b 0%, #211e1f 100%);
    border: 1px solid rgba(167, 153, 110, .55);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
    padding: 42px 36px;
    text-align: center;
}

.age-gate-logo {
    display: block;
    height: 44px;
    width: auto;
    margin: 0 auto 24px;
}

.age-gate-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .32em;
    color: var(--sand);
    margin-bottom: 10px;
}

.age-gate-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--cream);
}

.age-gate-copy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--sand);
}

.age-choice-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 28px;
}

.age-choice-btn {
    flex: 1 1 0;
    min-width: 0;
}

.age-gate-btn { margin-top: 28px; width: 100%; }

.age-gate-error {
    min-height: 20px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--brand-red-tint);
}

@keyframes age-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-7px); }
    75% { transform: translateX(7px); }
}

.age-gate-card.shake { animation: age-shake .3s ease; }

@media (prefers-reduced-motion: reduce) {
    .age-gate-card.shake { animation: none; }
}

@media (max-width: 420px) {
    .age-gate-card { padding: 34px 22px; }
    .age-choice-row { flex-direction: column; }
}

/* ===== AUDIO TOGGLE ===== */

#audio-toggle {
    box-shadow: 0 4px 12px rgba(46, 1, 9, .45);
}

#audio-toggle .audio-icon {
    pointer-events: none;
}

#audio-toggle[aria-label="Unmute background music"] {
    animation: audio-pulse 2.5s ease-in-out infinite;
}

@keyframes audio-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(167, 153, 110, .45); }
    50% { box-shadow: 0 0 0 10px rgba(167, 153, 110, 0); }
}

@media (prefers-reduced-motion: reduce) {
    #audio-toggle[aria-label="Unmute background music"] {
        animation: none;
    }
}