/* ===========================
   MERCAT PERE GARAU — Styles
   Brand: Bebas Neue + Scope One
   =========================== */

:root {
    --coral:  #EC5F65;
    --lime:   #AFCA0B;
    --teal:   #00B3C4;
    --yellow: #FBBA05;
    --pink:   #DF84B5;
    --sky:    #83D0F5;
    --orange: #F39325;
    --black:  #1a1a1a;
    --white:  #ffffff;
    --light:  #f4f4f2;
}

/* ===========================  RESET  =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Scope One', Georgia, serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===========================  NAV  =========================== */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4%;
    transition: background 0.4s, padding 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
    background: var(--black);
    padding: 0.7rem 4%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--white);
    letter-spacing: 0.04em;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.85);
    transition: color 0.25s;
}
.nav-links a:hover { color: var(--teal); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* ===========================  HERO  =========================== */
#hero {
    height: 100vh;
    min-height: 620px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 4rem 6%;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    animation: heroBg 14s infinite;
}
@keyframes heroBg {
    0%,13%  { background: var(--teal); }
    15%,28% { background: var(--coral); }
    30%,43% { background: var(--black); }
    45%,58% { background: var(--orange); }
    60%,73% { background: var(--lime); }
    75%,88% { background: var(--pink); }
    90%,100%{ background: var(--teal); }
}
.hero-overlay { display: none; }
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
}
.hero-tag {
    font-family: 'Scope One', serif;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5.5rem, 17vw, 15rem);
    line-height: 0.85;
    color: var(--white);
    letter-spacing: 0.02em;
}
.hero-subtitle {
    font-family: 'Scope One', serif;
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-top: 1.6rem;
    max-width: 460px;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 2.2rem;
    flex-wrap: wrap;
}
.btn {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    padding: 0.85rem 2.2rem;
    border: 2px solid var(--white);
    color: var(--white);
    cursor: pointer;
    transition: all 0.25s;
    background: transparent;
    display: inline-block;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn-filled { background: var(--white); color: var(--black); }
.btn-filled:hover { background: transparent; color: var(--white); }
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    right: 6%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}
.hero-scroll span {
    font-family: 'Bebas Neue', sans-serif;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px;
    height: 55px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { transform: scaleY(1); opacity: 1; }
    50%     { transform: scaleY(0.5); opacity: 0.35; }
}

/* ===========================  MARQUEE  =========================== */
.marquee-wrap {
    background: var(--black);
    overflow: hidden;
    padding: 0.85rem 0;
    border-top: 3px solid var(--teal);
}
.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
}
.marquee-item {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.05rem;
    color: var(--white);
    letter-spacing: 0.1em;
    padding: 0 2rem;
}
.marquee-item em {
    color: var(--teal);
    font-style: normal;
    margin-right: 1rem;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===========================  SECTIONS SHARED  =========================== */
section { padding: 6rem 6%; }
.section-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
}

/* ===========================  ABOUT  =========================== */
#about { background: var(--black); color: var(--white); position: relative; overflow: hidden; }

.about-top {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}
.about-rule {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.12);
}
.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-bottom: 5rem;
}
.about-location {
    font-family: 'Scope One', serif;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.5rem;
}
.about-big {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 9vw, 8.5rem);
    line-height: 0.85;
    letter-spacing: 0.01em;
    color: var(--white);
    margin: 0 0 2rem 0;
}
.about-accent {
    width: 3.5rem;
    height: 4px;
    background: var(--teal);
}
.about-right p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.68);
    margin-bottom: 1.5rem;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.about-stat {
    padding: 2rem 1.5rem;
    border-top: 3px solid var(--c, var(--white));
    border-right: 1px solid rgba(255,255,255,0.08);
}
.about-stat:last-child { border-right: none; }
.about-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    line-height: 1;
    color: var(--c, var(--white));
}
.about-stat-lbl {
    font-family: 'Scope One', serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===========================  HORARIS  =========================== */
#horaris { background: var(--light); }
.hours-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.hours-note {
    max-width: 320px;
    font-size: 0.9rem;
    color: rgba(0,0,0,0.55);
    line-height: 1.7;
}
.hours-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.8rem;
}
.day-card {
    padding: 2rem 1.2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.day-card::after {
    content: '';
    position: absolute;
    bottom: -25px; right: -25px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.day-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.6rem;
}
.day-time {
    font-family: 'Scope One', serif;
    font-size: 0.82rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* ===========================  EXTERIOR  =========================== */
#exterior { background: var(--coral); color: var(--white); }
.exterior-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.exterior-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.85;
    margin-top: 0.8rem;
}
.exterior-highlight {
    background: var(--white);
    color: var(--coral);
    padding: 1.8rem 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.1;
    margin: 2rem 0;
}
.exterior-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.88;
    margin-bottom: 0.9rem;
}
.ext-schedule { display: flex; flex-direction: column; gap: 0.5rem; }
.ext-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.1rem;
    background: rgba(255,255,255,0.15);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    gap: 1rem;
}
.ext-day:nth-child(even) { background: rgba(255,255,255,0.25); }
.ext-type {
    font-family: 'Scope One', serif;
    font-size: 0.8rem;
    opacity: 0.85;
    letter-spacing: 0;
    text-align: right;
}

/* ===========================  TAQUILLES  =========================== */
#taquilles {
    background: var(--black);
    padding: 0;
    overflow: hidden;
}
.taquilles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}
.taquilles-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    padding: 4rem;
}
.taquilles-svg {
    width: min(420px, 90%);
    height: auto;
    display: block;
    opacity: 0.9;
}
.taquilles-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
    background: var(--pink);
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    padding: 0.4rem 1rem;
}
.taquilles-text {
    padding: 5rem 5rem 5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--black);
    color: var(--white);
}
.taquilles-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 0.88;
    letter-spacing: 0.02em;
    color: var(--white);
    margin: 1rem 0 2rem 0;
}
.taquilles-desc {
    font-family: 'Scope One', serif;
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.68);
    margin-bottom: 0.8rem;
}
.taquilles-claim {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    color: var(--pink);
    margin-bottom: 2.5rem;
}
.taquilles-steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}
.taquilles-step {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}
.taquilles-step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--pink);
    min-width: 2.2rem;
}
.taquilles-step-txt {
    font-family: 'Scope One', serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    padding-top: 0.3rem;
}
@media (max-width: 900px) {
    .taquilles-grid { grid-template-columns: 1fr; }
    .taquilles-img-wrap { min-height: 380px; }
    .taquilles-text { padding: 3.5rem 6%; }
}

/* ===========================  CATEGORIES  =========================== */
#categorias { background: var(--white); }
.cats-header { margin-bottom: 2.5rem; }
.cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.cat-card {
    padding: 1.8rem 1.4rem;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    user-select: none;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.15); }
.cat-card.active { outline: 3px solid var(--black); outline-offset: 3px; }
.cat-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.cat-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    line-height: 1;
    letter-spacing: 0.02em;
}
.cat-count {
    font-family: 'Scope One', serif;
    font-size: 0.78rem;
    opacity: 0.8;
    margin-top: 0.35rem;
}
.cat-all         { background: var(--black); }
.cat-bakery      { background: var(--yellow); }
.cat-bakery .cat-name, .cat-bakery .cat-count { color: var(--black); }
.cat-produce     { background: var(--lime); }
.cat-produce .cat-name, .cat-produce .cat-count { color: var(--black); }
.cat-fish        { background: var(--sky); }
.cat-fish .cat-name, .cat-fish .cat-count { color: var(--black); }
.cat-butcher     { background: var(--coral); }
.cat-charcuterie { background: var(--orange); }
.cat-bar         { background: var(--pink); }
.cat-bar .cat-name, .cat-bar .cat-count { color: var(--black); }
.cat-prepared    { background: var(--teal); }
.cat-food        { background: #4a4a4a; }
.cat-nonfood     { background: #b0b0b0; }
.cat-nonfood .cat-name, .cat-nonfood .cat-count { color: var(--black); }

.stall-card[data-cat="fleca"]       .stall-top { background: var(--yellow)  !important; }
.stall-card[data-cat="fruites"]     .stall-top { background: var(--lime)    !important; }
.stall-card[data-cat="peix"]        .stall-top { background: var(--sky)     !important; }
.stall-card[data-cat="carnisseria"] .stall-top { background: var(--coral)   !important; }
.stall-card[data-cat="xarcuteria"]  .stall-top { background: var(--orange)  !important; }
.stall-card[data-cat="bar"]         .stall-top { background: var(--pink)    !important; }
.stall-card[data-cat="menjar"]      .stall-top { background: var(--teal)    !important; }
.stall-card[data-cat="alimentacio"] .stall-top { background: #4a4a4a        !important; }
.stall-card[data-cat="varis"]       .stall-top { background: #b0b0b0        !important; }

.stall-card[data-cat="fleca"]   .stall-top .stall-cat-lbl,
.stall-card[data-cat="fleca"]   .stall-top .stall-name,
.stall-card[data-cat="fruites"] .stall-top .stall-cat-lbl,
.stall-card[data-cat="fruites"] .stall-top .stall-name,
.stall-card[data-cat="peix"]    .stall-top .stall-cat-lbl,
.stall-card[data-cat="peix"]    .stall-top .stall-name,
.stall-card[data-cat="bar"]     .stall-top .stall-cat-lbl,
.stall-card[data-cat="bar"]     .stall-top .stall-name,
.stall-card[data-cat="varis"]   .stall-top .stall-cat-lbl,
.stall-card[data-cat="varis"]   .stall-top .stall-name { color: var(--black) !important; }

.stall-card[data-cat="carnisseria"] .stall-top .stall-cat-lbl,
.stall-card[data-cat="carnisseria"] .stall-top .stall-name,
.stall-card[data-cat="xarcuteria"]  .stall-top .stall-cat-lbl,
.stall-card[data-cat="xarcuteria"]  .stall-top .stall-name,
.stall-card[data-cat="menjar"]      .stall-top .stall-cat-lbl,
.stall-card[data-cat="menjar"]      .stall-top .stall-name,
.stall-card[data-cat="alimentacio"] .stall-top .stall-cat-lbl,
.stall-card[data-cat="alimentacio"] .stall-top .stall-name { color: var(--white) !important; }

/* ===========================  PUESTOS  =========================== */
#puestos { background: var(--light); }
.stalls-header { margin-bottom: 1.5rem; }
.search-bar { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.search-input {
    padding: 0.9rem 1.4rem;
    font-family: 'Scope One', serif;
    font-size: 0.95rem;
    border: 2px solid var(--black);
    background: var(--white);
    outline: none;
    width: 100%;
    max-width: 480px;
    transition: border-color 0.25s;
}
.search-input:focus { border-color: var(--teal); }
.stalls-count {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: rgba(0,0,0,0.35);
    margin-bottom: 2rem;
    margin-top: 0.5rem;
}
.stalls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}
.stall-card {
    background: var(--white);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.stall-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.1);
}
.stall-top {
    padding: 1.6rem 1.4rem;
    color: var(--white);
}
.stall-cat-lbl {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    opacity: 0.75;
    margin-bottom: 0.4rem;
}
.stall-cat-lbl.dark { color: rgba(0,0,0,0.55); }
.stall-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: 0.02em;
}
.stall-name.dark { color: var(--black); }
.stall-btm {
    padding: 1.2rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stall-desc {
    font-family: 'Scope One', serif;
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(0,0,0,0.65);
}
.stall-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}
.stall-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: rgba(0,0,0,0.18);
}
.stall-phone {
    font-family: 'Scope One', serif;
    font-size: 0.78rem;
    color: var(--teal);
}

/* ===========================  CONTACT  =========================== */
#contacte { background: var(--black); color: var(--white); }
#contacte .section-title { color: var(--white); margin-bottom: 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}
.contact-block { margin-bottom: 2rem; }
.contact-lbl {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--teal);
    margin-bottom: 0.4rem;
}
.contact-val {
    font-family: 'Scope One', serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}
.social-links { display: flex; gap: 0.8rem; margin-top: 2rem; flex-wrap: wrap; }
.social-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    transition: all 0.25s;
}
.social-link:hover { background: var(--teal); border-color: var(--teal); }
.map-wrap { position: relative; }
.map-wrap iframe { display: block; filter: grayscale(30%); }
.map-cta {
    display: block;
    padding: 0.8rem 1.4rem;
    background: var(--teal);
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-align: center;
    transition: background 0.25s;
}
.map-cta:hover { background: var(--coral); }

/* ===========================  FOOTER  =========================== */
footer {
    background: #0d0d0d;
    padding: 3rem 6%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}
.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    line-height: 0.85;
    color: var(--white);
    letter-spacing: 0.03em;
}
.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-links a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    transition: color 0.25s;
}
.footer-links a:hover { color: var(--teal); }
.footer-copy {
    font-family: 'Scope One', serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    text-align: right;
    line-height: 1.6;
}

.footer-credit {
    background: #080808;
    text-align: center;
    padding: 0.75rem 6%;
    font-family: 'Scope One', serif;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.05em;
}
.footer-credit a {
    color: rgba(255,255,255,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 1px;
    transition: color 0.25s, border-color 0.25s;
}
.footer-credit a:hover { color: var(--white); border-color: var(--white); }

/* ===========================  SCROLL REVEAL  =========================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ===========================  STALL CARD CLICKABLE  =========================== */
.stall-card { cursor: pointer; }

/* ===========================  MODAL  =========================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal.open { display: flex; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
    position: relative;
    background: var(--white);
    width: 100%;
    max-width: 540px;
    max-height: 92vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 10;
    width: 2.2rem;
    height: 2.2rem;
    background: rgba(0,0,0,0.55);
    color: var(--white);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.modal-close:hover { background: var(--black); }

.modal-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e0e0e0;
}
.modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-header {
    padding: 1.4rem 1.6rem 1rem;
    color: var(--white);
}
.modal-cat {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    opacity: 0.75;
    margin-bottom: 0.3rem;
}
.modal-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.modal-info {
    padding: 1.4rem 1.6rem 1.8rem;
    background: var(--white);
    flex: 1;
}
.modal-desc {
    font-family: 'Scope One', serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(0,0,0,0.7);
    margin-bottom: 1.4rem;
}
.modal-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 1.2rem;
}
.modal-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.modal-meta-lbl {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--teal);
}
.modal-meta-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: var(--black);
    line-height: 1;
}
.modal-phone { color: var(--teal); text-decoration: none; }
.modal-phone:hover { text-decoration: underline; }

#modalPhoneWrap { display: none; }
#modalPhoneWrap.visible { display: flex; }

@media (max-width: 600px) {
    .modal-img-wrap { height: 220px; }
    .modal-name { font-size: 1.8rem; }
}

/* ===========================  RESPONSIVE  =========================== */
@media (max-width: 1100px) {
    .hours-grid { grid-template-columns: repeat(4, 1fr); }
    .cats-grid  { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    #nav { padding: 1rem 5%; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: var(--black);
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 2rem; }
    .nav-toggle { display: flex; }

    .about-main,
    .exterior-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .about-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .about-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }

    section { padding: 4rem 5%; }
    .hours-grid { grid-template-columns: repeat(3, 1fr); }
    .cats-grid  { grid-template-columns: repeat(3, 1fr); }
    footer { grid-template-columns: 1fr; text-align: center; }
    .footer-copy { text-align: center; }
}

@media (max-width: 600px) {
    .hero-title { font-size: clamp(4.5rem, 22vw, 7rem); }
    .hours-grid { grid-template-columns: 1fr 1fr; }
    .cats-grid  { grid-template-columns: 1fr 1fr; }
    .stalls-grid { grid-template-columns: 1fr; }
}
