/* =====================================================================
   FERRO & EMBER — Industrial Coffee Roastery Template
   All colors, fonts and radii come from CSS variables that script.js
   sets from CONFIG.theme. Edit the config, not this file, for branding.
   ===================================================================== */

/* ------------------------------- TOKENS ------------------------------- */
:root {
  /* These are fallbacks; script.js overwrites them from CONFIG.theme */
  --bg:        #171310;
  --surface:   #1f1915;
  --surface-2: #26201a;
  --line:      #3a3128;
  --text:      #efe6d8;
  --muted:     #a99e8d;
  --accent:    #cf5b32;   /* ember copper */
  --accent-2:  #b7912f;   /* aged brass   */
  --radius:    4px;

  --font-display: 'Archivo Narrow', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
  --shadow-sm: 0 10px 30px -18px rgba(0,0,0,.8);
}

/* ------------------------------- RESET ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
iframe { border: 0; }

/* subtle industrial grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .6;
}

/* ------------------------------- LAYOUT ------------------------------- */
.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; position: relative; z-index: 1; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--accent); color: #fff; padding: .75rem 1.25rem; border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ------------------------------- TYPOGRAPHY --------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); display: inline-block; }

.section__title {
  font-family: var(--font-display);
  font-weight: 700; line-height: .98; letter-spacing: -.01em;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
}
.section__sub { color: var(--muted); max-width: 46ch; font-size: 1.02rem; }

.section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); flex-wrap: wrap;
}
.section__head--center { justify-content: center; text-align: center; }

/* ------------------------------- BUTTONS ------------------------------ */
.btn {
  --pad: .95rem 1.6rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: var(--pad);
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn--solid { background: var(--accent); color: #17110d; font-weight: 700; }
.btn--solid:hover { background: var(--text); }
.btn--line { border-color: var(--line); color: var(--text); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #17110d; }

/* ------------------------------- NAVBAR ------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: var(--accent); position: relative; flex: none;
  display: grid; place-items: center;
}
.brand__mark::after {
  content: attr(data-initials);
  font-family: var(--font-display); font-weight: 700; color: #17110d; font-size: 1rem;
}
.brand__name {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.28rem;
}

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links ul { display: flex; gap: 2rem; }
.nav__links a { position: relative; }
.nav__links ul a {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .25s; padding: .3rem 0;
}
.nav__links ul a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__links ul a:hover, .nav__links ul a.is-active { color: var(--text); }
.nav__links ul a:hover::after, .nav__links ul a.is-active::after { width: 100%; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .4rem;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------- HERO --------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: 5rem; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23,19,16,.55) 0%, rgba(23,19,16,.2) 40%, rgba(23,19,16,.95) 100%),
    linear-gradient(90deg, rgba(23,19,16,.8) 0%, rgba(23,19,16,.1) 60%);
}
.hero__inner { position: relative; z-index: 2; padding-top: 96px; }
.hero__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  line-height: .9; letter-spacing: -.015em;
  font-size: clamp(3rem, 10vw, 8rem); max-width: 15ch; margin-bottom: 1.4rem;
}
.hero__title span { color: var(--accent); }
.hero__lead { color: var(--muted); max-width: 52ch; font-size: 1.15rem; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--text); }
.hero__stats span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }

/* scrolling ticker strip */
.hero__ticker {
  position: absolute; bottom: 0; left: 0; width: 100%; z-index: 3;
  background: var(--accent); color: #17110d; overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(0,0,0,.2);
}
.hero__ticker .ticker__row { display: inline-flex; gap: 3rem; padding: .6rem 0; animation: ticker 28s linear infinite; }
.hero__ticker span { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------- ABOUT -------------------------------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.about__badge {
  position: absolute; bottom: -1.4rem; left: -1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; box-shadow: var(--shadow-sm); max-width: 240px;
}
.about__badge b { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.about__badge span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about__text { color: var(--muted); margin: 1.4rem 0; }
.about__text p + p { margin-top: 1rem; }
.about__points { display: grid; gap: .9rem; margin-bottom: 2rem; }
.about__points li { display: flex; gap: .9rem; align-items: flex-start; }
.about__points li::before {
  content: "///"; font-family: var(--font-mono); color: var(--accent); font-size: .8rem; letter-spacing: -.05em; margin-top: .2rem;
}

/* ------------------------------- FEATURED ----------------------------- */
.featured__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-6px); border-color: var(--accent); }
.pcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(4px);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem .6rem; color: var(--accent-2);
}
.pcard__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pcard__roast { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .01em; }
.pcard__notes { color: var(--muted); font-size: .92rem; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); }
.pcard__price { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); }
.pcard__buy { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.pcard__buy:hover { color: var(--accent); }

/* roast level meter */
.roastbar { display: flex; gap: 3px; margin-top: .2rem; }
.roastbar i { width: 22px; height: 4px; background: var(--line); border-radius: 2px; }
.roastbar i.on { background: var(--accent); }

/* ------------------------------- MENU --------------------------------- */
.menu__tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.menu__tab {
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--muted); padding: .6rem 1.2rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  transition: all .25s;
}
.menu__tab:hover { color: var(--text); border-color: var(--muted); }
.menu__tab.is-active { background: var(--accent); color: #17110d; border-color: var(--accent); font-weight: 700; }
.menu__panel { display: none; }
.menu__panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 3.5rem; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mitem { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px dashed var(--line); }
.mitem__head { display: flex; align-items: baseline; gap: .8rem; flex: 1; min-width: 0; }
.mitem__name { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.mitem__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.mitem__price { font-family: var(--font-mono); color: var(--accent); font-weight: 700; }
.mitem__desc { display: block; color: var(--muted); font-size: .86rem; margin-top: .2rem; }

/* ------------------------------- OFFERS ------------------------------- */
.offers__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; }
.offer {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; isolation: isolate;
}
.offer::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.offer::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(23,19,16,.94), rgba(23,19,16,.6)); }
.offer--accent { background: var(--accent); color: #17110d; }
.offer--accent::after { display: none; }
.offer__kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; opacity: .9; }
.offer__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); text-transform: uppercase; line-height: 1; margin-bottom: .8rem; }
.offer__text { max-width: 40ch; opacity: .9; margin-bottom: 1.6rem; }
.offer--accent .offer__text { opacity: .85; }
.offer__code {
  align-self: flex-start; font-family: var(--font-mono); font-weight: 700; letter-spacing: .18em;
  border: 1px dashed currentColor; border-radius: var(--radius); padding: .5rem 1rem; font-size: .82rem;
}

/* ------------------------------- GALLERY ------------------------------ */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem; }
.gitem { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gitem:hover img { transform: scale(1.08); }
.gitem::after {
  content: attr(data-cap); position: absolute; inset: auto 0 0 0; padding: 1rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); background: linear-gradient(transparent, rgba(23,19,16,.9));
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.gitem:hover::after { opacity: 1; transform: none; }
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }

/* ------------------------------- WHY ---------------------------------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.why__card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem;
  background: var(--surface); transition: transform .4s var(--ease), background .3s;
}
.why__card:hover { transform: translateY(-6px); background: var(--surface-2); }
.why__num { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; color: var(--accent-2); }
.why__ico { font-size: 2rem; margin: .8rem 0 1rem; }
.why__t { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; margin-bottom: .5rem; }
.why__d { color: var(--muted); font-size: .92rem; }

/* ------------------------------- TESTIMONIALS ------------------------- */
.tst__viewport { overflow: hidden; }
.tst__track { display: flex; transition: transform .6s var(--ease); }
.tst__slide { min-width: 100%; padding: .5rem; }
.tst__card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: clamp(2rem, 4vw, 3.5rem); position: relative;
}
.tst__quote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.25; margin-bottom: 2rem; }
.tst__quote::before { content: "“"; font-family: var(--font-display); color: var(--accent); font-size: 4rem; line-height: 0; position: absolute; top: 2.6rem; left: 1.4rem; opacity: .25; }
.tst__meta { display: flex; align-items: center; gap: 1rem; }
.tst__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.tst__name { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; }
.tst__role { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.tst__stars { color: var(--accent-2); margin-left: auto; letter-spacing: .1em; }
.tst__controls { display: flex; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.tst__btn { width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; color: var(--text); transition: all .25s; }
.tst__btn:hover { border-color: var(--accent); color: var(--accent); }
.tst__dots { display: flex; gap: .5rem; margin-inline: auto; }
.tst__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--line); transition: all .3s; }
.tst__dots button.is-active { background: var(--accent); width: 26px; border-radius: 4px; }

/* ------------------------------- FAQ ---------------------------------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__q {
  width: 100%; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--line);
  padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; color: var(--text);
}
.faq__item:last-child .faq__q { border-bottom: 1px solid var(--line); }
.faq__sign { font-family: var(--font-mono); color: var(--accent); font-size: 1.4rem; transition: transform .3s; flex: none; }
.faq__item.open .faq__sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); color: var(--muted); }
.faq__a p { padding-bottom: 1.4rem; max-width: 60ch; }

/* ------------------------------- HOURS + LOCATION --------------------- */
.place__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
.hours { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.hours li { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.hours__day { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; }
.hours__time { font-family: var(--font-mono); font-size: .84rem; color: var(--muted); letter-spacing: .05em; }
.hours li.is-today { color: var(--accent); }
.hours li.is-today .hours__time { color: var(--accent); }
.hours li.is-closed .hours__time { color: var(--accent-2); }
.hours__note { margin-top: 1.2rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.place__address { color: var(--muted); margin: .5rem 0 1.4rem; }
.place__frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 1.4rem; }
.place__frame iframe { width: 100%; height: 100%; filter: grayscale(1) invert(.9) contrast(.85); }

/* ------------------------------- CONTACT ------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact__list { margin: 1.8rem 0; }
.contact__list li { display: flex; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact__list b { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); width: 90px; flex: none; }
.contact__list a, .contact__list span { font-family: var(--font-display); font-size: 1.15rem; }
.contact__social, .footer__social { display: flex; gap: .7rem; }
.contact__social a, .footer__social a {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em;
  color: var(--muted); transition: all .25s;
}
.contact__social a:hover, .footer__social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.5rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1rem; color: var(--text); font-family: var(--font-body); font-size: 1rem; transition: border-color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.form__status { margin-top: 1rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; }
.form__status.ok { color: var(--accent-2); }
.form__status.err { color: var(--accent); }

/* ------------------------------- FOOTER ------------------------------- */
.footer { padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem; border-top: 1px solid var(--line); background: var(--surface); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand .brand__name { font-size: 1.6rem; display: block; margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 34ch; margin-bottom: 1.4rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.footer__col a, .footer__col li { color: var(--muted); padding: .35rem 0; display: block; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__bottom p, .footer__credit { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.footer__credit a { color: var(--accent); }

/* ------------------------------- WHATSAPP ----------------------------- */
.wa {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
  animation: wapulse 2.6s infinite;
}
.wa:hover { transform: scale(1.08); }
@keyframes wapulse { 0%,100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); } 50% { box-shadow: 0 12px 40px -6px rgba(37,211,102,.9); } }

/* ------------------------------- SCROLL REVEAL ------------------------ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------- RESPONSIVE --------------------------- */
@media (max-width: 1024px) {
  .featured__grid, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .offers__grid, .place__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 1.5rem;
    transform: translateY(-140%); transition: transform .45s var(--ease); max-height: calc(100svh - 78px); overflow-y: auto;
  }
  .nav__links.open { transform: none; }
  .nav__links ul { flex-direction: column; gap: 0; width: 100%; }
  .nav__links ul a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav__cta { margin-top: 1.2rem; width: 100%; justify-content: center; }
  .featured__grid, .why__grid, .gallery__grid { grid-template-columns: 1fr; }
  .menu__panel.is-active { grid-template-columns: 1fr; }
  .gallery__grid { grid-auto-rows: 220px; }
  .gitem--tall, .gitem--wide { grid-row: auto; grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.5rem; }
  .hero__stats b { font-size: 1.7rem; }
  .about__badge { position: static; margin-top: 1rem; max-width: none; }
}

/* ------------------------------- MOTION SAFETY ------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
