/* =========================================================
   FÉNIX RESTAURANT — Machalí
   Estilos · HTML/CSS/JS puro · Mobile-first
   ========================================================= */

/* ---------- TIPOGRAFÍA: Airbnb Cereal ---------- */
@font-face {
  font-family: "Airbnb Cereal";
  src: url("../assets/fuente/AirbnbCereal_W_Lt.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Airbnb Cereal";
  src: url("../assets/fuente/AirbnbCereal_W_Bk.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Airbnb Cereal";
  src: url("../assets/fuente/AirbnbCereal_W_Md.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Airbnb Cereal";
  src: url("../assets/fuente/AirbnbCereal_W_Bd.otf") format("opentype");
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Airbnb Cereal";
  src: url("../assets/fuente/AirbnbCereal_W_XBd.otf") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Airbnb Cereal";
  src: url("../assets/fuente/AirbnbCereal_W_Blk.otf") format("opentype");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- PALETAS (toggle) ---------- */
:root {
  --font-head: "Airbnb Cereal", system-ui, sans-serif;
  --font-body: "Airbnb Cereal", system-ui, sans-serif;
  --font-script: "Airbnb Cereal", system-ui, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(40, 30, 20, .35);
  --shadow-sm: 0 8px 24px -12px rgba(40, 30, 20, .28);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Vintage (por defecto) */
[data-theme="vintage"] {
  --c-bg: #f7f0e0;
  --c-surface: #fffaf0;
  --c-ink: #2f2922;
  --c-muted: #6c6457;
  --c-primary: #4f7e77;
  --c-primary-d: #3c625c;
  --c-accent: #c8806f;
  --c-accent-d: #b06a59;
  --c-line: #e6dbc4;
  --hero-grad: linear-gradient(135deg, #f7f0e0 0%, #ece2cb 100%);
}
/* Terracota */
[data-theme="terracota"] {
  --c-bg: #f8efdf;
  --c-surface: #fffaf1;
  --c-ink: #34261d;
  --c-muted: #7a6a59;
  --c-primary: #b5532e;
  --c-primary-d: #97431f;
  --c-accent: #e0a44b;
  --c-accent-d: #c98a30;
  --c-line: #ecddc4;
  --hero-grad: linear-gradient(135deg, #f8efdf 0%, #f0dec2 100%);
}
/* Bosque */
[data-theme="bosque"] {
  --c-bg: #f3f1e6;
  --c-surface: #fdfcf4;
  --c-ink: #26302a;
  --c-muted: #5f6b60;
  --c-primary: #3f6b4e;
  --c-primary-d: #2f5740;
  --c-accent: #c9a227;
  --c-accent-d: #ad8a18;
  --c-line: #dde3cf;
  --hero-grad: linear-gradient(135deg, #f3f1e6 0%, #e6ebd6 100%);
}
/* Noche elegante (oscuro) */
[data-theme="noche"] {
  --c-bg: #1d1b18;
  --c-surface: #29251f;
  --c-ink: #f3ead7;
  --c-muted: #b3a791;
  --c-primary: #caa45d;
  --c-primary-d: #b08f4b;
  --c-accent: #e0533b;
  --c-accent-d: #c8442e;
  --c-line: #3a342b;
  --hero-grad: linear-gradient(135deg, #1d1b18 0%, #2a2620 100%);
  --shadow: 0 18px 50px -18px rgba(0,0,0,.6);
  --shadow-sm: 0 8px 24px -12px rgba(0,0,0,.5);
}
/* Vino */
[data-theme="vino"] {
  --c-bg: #f7eee2;
  --c-surface: #fff9f0;
  --c-ink: #33231f;
  --c-muted: #7a6258;
  --c-primary: #7d2230;
  --c-primary-d: #651a26;
  --c-accent: #cf9b51;
  --c-accent-d: #b6843a;
  --c-line: #ecd9c6;
  --hero-grad: linear-gradient(135deg, #f7eee2 0%, #efdfca 100%);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* ---------- TIPOGRAFÍA ---------- */
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.accent { color: var(--c-accent); font-style: italic; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 12%, transparent);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow--alt { color: var(--c-accent); background: color-mix(in srgb, var(--c-accent) 14%, transparent); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-sub { color: var(--c-muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; border: none; cursor: pointer;
  padding: 14px 26px; border-radius: 100px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-primary-d); transform: translateY(-3px); }
.btn--ghost { background: transparent; color: var(--c-ink); border: 1.5px solid var(--c-line); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--c-primary-d); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: color-mix(in srgb, var(--c-bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--c-line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand__logo { height: 56px; width: auto; transition: transform .3s var(--ease); }
[data-theme="noche"] .brand__logo, [data-theme="noche"] .footer__logo { filter: invert(1) brightness(1.6); }
.brand:hover .brand__logo { transform: scale(1.05) rotate(-2deg); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  font-weight: 500; font-size: .95rem; padding: 9px 14px; border-radius: 100px;
  color: var(--c-ink); transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 10%, transparent); }
.nav__cta { margin-left: 8px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--c-ink); border-radius: 3px; transition: .3s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; padding: 140px 0 80px; overflow: hidden;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--c-bg) 94%, transparent) 0%, color-mix(in srgb, var(--c-bg) 82%, transparent) 45%, color-mix(in srgb, var(--c-bg) 60%, transparent) 100%),
    url("../assets/bg-fenix-restaurant.webp") center/cover no-repeat fixed;
}
.hero__bg {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--c-ink) 9%, transparent) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
.hero__text { color: var(--c-muted); font-size: 1.15rem; margin: 22px 0 30px; max-width: 520px; }
.hero__text strong { color: var(--c-accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__badges li { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: .95rem; color: var(--c-muted); }
.hero__badges i { color: var(--c-primary); font-size: 1.2rem; }

.hero__media { position: relative; }

/* Carrusel hero */
.carousel {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid var(--c-surface);
  animation: floaty 6s ease-in-out infinite;
}
.carousel__track { position: relative; }
.slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
/* La slide activa entra en flujo y define la altura del carrusel */
.slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero__img { display: block; width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: color-mix(in srgb, var(--c-ink) 78%, transparent); color: #fff;
  font-weight: 600; font-size: .9rem; padding: 8px 16px; border-radius: 100px;
  backdrop-filter: blur(4px);
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: color-mix(in srgb, var(--c-surface) 88%, transparent); color: var(--c-ink);
  font-size: 1rem; display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background .25s, transform .25s var(--ease); backdrop-filter: blur(4px);
}
.carousel__btn:hover { background: var(--c-primary); color: #fff; }
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }
.carousel__btn--prev:hover { transform: translateY(-50%) scale(1.1); }
.carousel__btn--next:hover { transform: translateY(-50%) scale(1.1); }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 7px; }
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 100px; border: none; cursor: pointer; padding: 0;
  background: color-mix(in srgb, #fff 60%, transparent); transition: width .3s var(--ease), background .3s;
}
.carousel__dots button.is-active { width: 22px; background: #fff; }
.hero__floatcard {
  position: absolute; bottom: -18px; left: -18px;
  display: flex; align-items: center; gap: 12px;
  background: var(--c-surface); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
}
.hero__floatcard i { color: var(--c-accent); font-size: 1.6rem; }
.hero__floatcard strong { display: block; font-size: .9rem; }
.hero__floatcard span { font-size: .82rem; color: var(--c-muted); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- STRIP ---------- */
.strip {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.strip::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 22px 22px;
}
.strip__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 30px 12px; }
.strip__item {
  display: flex; align-items: center; justify-content: center; gap: 16px; padding: 6px 22px;
  position: relative; transition: transform .3s var(--ease);
}
.strip__item + .strip__item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 46px; background: color-mix(in srgb, #fff 22%, transparent);
}
.strip__icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; background: color-mix(in srgb, #fff 16%, transparent);
  border: 1px solid color-mix(in srgb, #fff 22%, transparent);
  color: #fff; transition: transform .35s var(--ease), background .3s;
}
.strip__item:hover .strip__icon { transform: translateY(-4px) rotate(-6deg); background: color-mix(in srgb, #fff 26%, transparent); }
.strip__text { display: flex; flex-direction: column; line-height: 1.25; }
.strip__text strong { font-size: 1.02rem; font-weight: 700; }
.strip__text span { font-size: .85rem; opacity: .82; }
[data-theme="noche"] .strip { color: #1d1b18; }
[data-theme="noche"] .strip__icon { background: color-mix(in srgb, #1d1b18 16%, transparent); border-color: color-mix(in srgb, #1d1b18 22%, transparent); color: #1d1b18; }
[data-theme="noche"] .strip__item + .strip__item::before { background: color-mix(in srgb, #1d1b18 22%, transparent); }

/* ---------- ESPECIALIDAD ---------- */
.specialty { padding: 90px 0; }
.specialty__inner { display: grid; grid-template-columns: 1fr .85fr; gap: 56px; align-items: center; }
.specialty p { color: var(--c-muted); font-size: 1.1rem; margin-bottom: 24px; max-width: 540px; }
.checklist { display: grid; gap: 12px; margin-bottom: 30px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checklist i { color: #fff; background: var(--c-primary); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; flex-shrink: 0; }
.specialty__deco { display: grid; place-items: center; }
.specialty__media { position: relative; width: 100%; max-width: 520px; }
.specialty__media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 26px;
  box-shadow: var(--shadow); border: 6px solid var(--c-surface);
}
.specialty__media::before {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 90px; height: 90px; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--c-accent) 55%, transparent) 1.5px, transparent 0);
  background-size: 14px 14px; border-radius: 8px;
}
.specialty__badge {
  position: absolute; bottom: -18px; right: -10px;
  display: flex; align-items: center; gap: 12px;
  background: var(--c-accent); color: #fff; padding: 14px 20px; border-radius: 16px;
  box-shadow: var(--shadow); font-weight: 600; line-height: 1.2;
}
.specialty__badge i { font-size: 1.7rem; }
.specialty__badge span { font-size: .92rem; }

/* ---------- MENU / CARTA ---------- */
.menu { padding: 90px 0; background: color-mix(in srgb, var(--c-primary) 5%, var(--c-bg)); }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.dish {
  background: var(--c-surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s;
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dish__img-wrap { position: relative; overflow: hidden; }
.dish__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s var(--ease); }
.dish:hover .dish__img { transform: scale(1.06); }
.dish__tag {
  position: absolute; top: 14px; left: 14px; background: var(--c-accent); color: #fff;
  font-size: .76rem; font-weight: 600; padding: 6px 13px; border-radius: 100px; letter-spacing: .03em;
}
.dish__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dish__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish__name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.dish__price { font-weight: 700; color: var(--c-primary); font-size: 1.2rem; white-space: nowrap; }
.dish__desc { color: var(--c-muted); font-size: .98rem; }
.dish__note { font-size: .85rem; color: var(--c-accent-d); display: flex; align-items: center; gap: 7px; }
.dish__variants { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.dish__variants span {
  display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--c-primary) 8%, transparent);
  padding: 9px 14px; border-radius: 100px; font-size: .9rem; color: var(--c-muted);
}
.dish__variants b { color: var(--c-primary); }
.dish__variants i { color: var(--c-primary); }

/* Galería */
.dish-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 50px; }
.gcard { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); cursor: default; }
.gcard img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s var(--ease); }
.gcard:hover img { transform: scale(1.08); }
.gcard figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(20,14,8,.8)); font-size: 1rem;
}

/* Pastelería */
.bakery {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow-sm); margin-bottom: 50px;
}
.bakery__title { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.bakery__title i { color: var(--c-accent); }
.bakery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.bcard {
  display: flex; gap: 20px; align-items: stretch;
  background: color-mix(in srgb, var(--c-primary) 4%, var(--c-bg));
  border: 1px solid var(--c-line); border-radius: var(--radius-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.bcard__media { flex-shrink: 0; width: 150px; overflow: hidden; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bcard:hover .bcard__media img { transform: scale(1.06); }
.bcard__content { min-width: 0; padding: 20px 20px 20px 0; display: flex; flex-direction: column; justify-content: center; }
.bcard__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px; }
.bcard__head h4 { font-family: var(--font-head); font-size: 1.25rem; }
.bcard p { color: var(--c-muted); font-size: .96rem; }

.menu__cta { text-align: center; }
.menu__cta p { color: var(--c-muted); margin-bottom: 18px; font-size: 1.08rem; }

/* ---------- NOSOTROS ---------- */
.about { padding: 90px 0; }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 35%; border-radius: 26px; box-shadow: var(--shadow); border: 6px solid var(--c-surface); }
.about__text p { color: var(--c-muted); font-size: 1.1rem; margin-bottom: 30px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px; }
.stat {
  display: flex; align-items: center; gap: 14px; flex: 1; min-width: 150px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--c-accent), var(--c-primary)); opacity: 0; transition: opacity .3s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-line)); }
.stat:hover::before { opacity: 1; }
.stat__ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; color: var(--c-primary);
  background: color-mix(in srgb, var(--c-primary) 12%, transparent);
  transition: transform .35s var(--ease);
}
.stat:hover .stat__ic { transform: rotate(-8deg) scale(1.08); }
.stat__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.stat__txt strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--c-ink); }
.stat__txt span { font-size: .88rem; color: var(--c-muted); }

/* ---------- TESTIMONIOS ---------- */
.reviews { padding: 90px 0; background: color-mix(in srgb, var(--c-primary) 5%, var(--c-bg)); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.review:hover { transform: translateY(-6px); }
.review__stars { color: #f0a500; display: flex; gap: 3px; margin-bottom: 16px; }
.review blockquote { font-size: 1.05rem; line-height: 1.6; margin-bottom: 20px; font-style: italic; }
.review figcaption strong { display: block; }
.review figcaption span { font-size: .88rem; color: var(--c-muted); }

/* ---------- VISÍTANOS ---------- */
.visit { padding: 90px 0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.visit__info { display: grid; gap: 14px; }
.visit__directions { margin-top: 4px; width: 100%; }
.info-card {
  display: flex; align-items: center; gap: 16px; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 18px 20px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s;
}
a.info-card:hover { transform: translateY(-3px); border-color: var(--c-primary); }
.info-card i { font-size: 1.5rem; color: var(--c-primary); width: 30px; text-align: center; }
.info-card strong { font-size: 1rem; }
.info-card p { color: var(--c-muted); font-size: .95rem; }
.hours { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); margin-top: 6px; }
.hours__title { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hours__title i { color: var(--c-accent); }
.hours__list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--c-line); font-size: .96rem; }
.hours__list li:last-child { border-bottom: none; }
.hours__list span { color: var(--c-muted); }
.visit__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--c-surface); min-height: 460px; }
.visit__map iframe { width: 100%; height: 100%; min-height: 448px; border: 0; display: block; }

/* ---------- CTA FINAL ---------- */
.finalcta { padding: 80px 0; background: var(--c-primary); color: #fff; text-align: center; position: relative; overflow: hidden; }
[data-theme="noche"] .finalcta { color: #1d1b18; }
.finalcta::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 24px 24px;
}
.finalcta__inner { position: relative; }
.finalcta h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.finalcta p { font-size: 1.12rem; opacity: .92; margin-bottom: 28px; }
.finalcta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- FOOTER ---------- */
.footer { background: color-mix(in srgb, var(--c-ink) 92%, #000); color: color-mix(in srgb, #fff 78%, var(--c-ink)); padding-top: 60px; }
[data-theme="noche"] .footer { background: #15130f; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer__logo { height: 70px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer__brand p { font-size: .96rem; max-width: 320px; margin-bottom: 18px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, #fff 12%, transparent); display: grid; place-items: center; font-size: 1.15rem; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--c-primary); transform: translateY(-3px); }
.footer__col h4 { font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin-bottom: 16px; }
.footer__col a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .95rem; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__bottom { border-top: 1px solid color-mix(in srgb, #fff 12%, transparent); padding: 22px 0; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }
.footer__bottom a { color: var(--c-accent); font-weight: 600; }

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  animation: pulse 2.4s infinite; transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- THEME SWITCHER ---------- */
.theme-switcher { position: fixed; bottom: 92px; right: 24px; z-index: 95; }
.theme-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--c-surface); color: var(--c-primary); font-size: 1.4rem; box-shadow: var(--shadow);
  border: 1px solid var(--c-line); transition: transform .3s var(--ease);
}
.theme-toggle:hover { transform: rotate(45deg) scale(1.08); }
.theme-panel {
  position: absolute; bottom: 64px; right: 0; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
  width: 200px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.95);
  transform-origin: bottom right; transition: .3s var(--ease);
}
.theme-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.theme-panel__title { font-size: .8rem; font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 12px; }
.theme-options { display: flex; flex-wrap: wrap; gap: 12px; }
.theme-dot {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; border: 2px solid var(--c-line);
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%); position: relative; transition: transform .2s;
  box-shadow: inset 0 0 0 6px var(--c);
}
.theme-dot:hover { transform: scale(1.12); }
.theme-dot.active { border-color: var(--c-ink); }
.theme-dot.active::after { content: "\f00c"; font-family: "Font Awesome 7 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-ink); font-size: .7rem; }

/* ---------- REVEAL ANIM ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero__inner, .specialty__inner, .about__inner, .visit__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; margin-top: 10px; }
  .specialty__deco { order: -1; }
  .about__media { max-width: 480px; margin-inline: auto; }
  .dish-gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--c-surface); padding: 18px 22px 26px; gap: 4px; box-shadow: var(--shadow);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-130%); transition: transform .4s var(--ease); z-index: -1;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 13px 14px; border-radius: 10px; }
  .nav__cta { margin: 8px 0 0; justify-content: center; }
  .hamburger { display: flex; }
  .strip__grid { grid-template-columns: 1fr 1fr; gap: 20px 0; padding: 26px 12px; }
  .strip__item:nth-child(odd)::before { display: none; }
  .strip__item { justify-content: flex-start; padding: 6px 16px; }
  .menu__grid, .bakery__grid { grid-template-columns: 1fr; }
  .bakery { padding: 26px; }
  .bcard__media { width: 120px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .hero { padding-top: 116px; background-attachment: scroll; }
}

@media (max-width: 460px) {
  .strip__grid { grid-template-columns: 1fr; gap: 14px 0; }
  .strip__item::before { display: none !important; }
  .dish-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__floatcard { left: 0; bottom: -14px; }
  .btn--lg { width: 100%; }
  .hero__actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
