@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Fraunces;
  src: url("fonts/fraunces-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Fraunces;
  src: url("fonts/fraunces-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #14233a;
  --paper: #f5f7fb;
  --card: #ffffff;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --muted: #52607a;
  --accent: #1f4b7a;
  --accent-ink: #fffaf4;
  --accent-soft: #7aa2c8;
  --whatsapp: #1d6440;
  --shadow: 0 10px 30px rgba(20, 35, 58, 0.08);
  --radius: 18px;
  --max: 68.75rem;
  --space: 1rem;
  --dock: 4.6rem;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  transform: translateY(-160%);
  background: var(--card);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 40;
}
.skip:focus { transform: none; }

.shell { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand-row,
.section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.brand-row { justify-content: space-between; padding: 0.7rem 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  min-height: 2.5rem;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  max-height: 2.5rem;
}
.brand-mark svg {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: min(70vw, 18rem);
}
.brand-logo {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: min(70vw, 14rem);
  object-fit: contain;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lang { display: flex; gap: 0.2rem; }
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border: 1px solid transparent;
}
.lang a[aria-current="page"] {
  background: var(--accent);
  color: var(--accent-ink);
}
.section-nav { padding: 0 0 0.65rem; }
.section-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}
.section-nav a:hover { color: var(--accent); }

.hero {
  position: relative;
  display: grid;
  color: #fffaf4;
  overflow: hidden;
  background: var(--hero-fallback, linear-gradient(145deg, #1f4b7a, #7aa2c8));
}
.hero--plain {
  min-height: 260px;
  align-items: center;
}
.hero--photo {
  min-height: 280px;
  max-height: 50vh;
  align-items: end;
}
.theme-restaurant { --hero-fallback: linear-gradient(145deg, #8f2d1b, #c4a574); }
.theme-barber { --hero-fallback: linear-gradient(145deg, #1e2a5a, #e0b04a); }
.theme-bakery { --hero-fallback: linear-gradient(145deg, #b45309, #f59e0b); }
.theme-market { --hero-fallback: linear-gradient(145deg, #047857, #34d399); }
.theme-generic { --hero-fallback: linear-gradient(145deg, #1f4b7a, #7aa2c8); }

.hero-media,
.hero-fallback {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.18), rgba(10, 16, 28, 0.72) 58%, rgba(10, 16, 28, 0.88));
}
.hero-fallback {
  background: var(--hero-fallback);
}
.hero-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 80% 30%, #fff 0 1.5px, transparent 3px),
    radial-gradient(circle at 40% 70%, #fff 0 2px, transparent 3px);
  background-size: 3.2rem 3.2rem;
}
.hero-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 16, 28, 0.28), rgba(10, 16, 28, 0.12) 55%, rgba(10, 16, 28, 0.34));
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.6rem 0;
}
.hero--photo .hero-copy { padding: 2rem 0 1.6rem; }
.hero-main { min-width: 0; }
.hero-info {
  display: none;
  background: rgba(255, 250, 244, 0.14);
  border: 1px solid rgba(255, 250, 244, 0.28);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(10, 16, 28, 0.18);
}
.hero-info-row {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.35;
}
.hero-info-row:last-child { margin-bottom: 0; }
.hero-info-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
  font-weight: 600;
}
.hero-info a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.hero-info a:hover { text-decoration: underline; }
.eyebrow {
  margin: 0 0 0.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.9;
}
.hero h1 {
  margin: 0 0 0.45rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero--plain h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.lead {
  margin: 0 0 0.9rem;
  max-width: 34rem;
  font-size: 1.02rem;
  opacity: 0.95;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.16);
  border: 1px solid rgba(255, 250, 244, 0.28);
  font-size: 0.88rem;
  font-weight: 600;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-ghost {
  background: rgba(255, 250, 244, 0.12);
  color: #fffaf4;
  border-color: rgba(255, 250, 244, 0.35);
}
.btn-light {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn-light:hover { border-color: var(--accent); color: var(--accent); }
button.btn {
  font: inherit;
  cursor: pointer;
}

.block { padding: 2.4rem 0 0.2rem; }
.block h2 {
  margin: 0 0 1rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  letter-spacing: -0.02em;
}
.section-intro {
  margin: -0.35rem 0 1.1rem;
  color: var(--muted);
  max-width: 42rem;
}

.card-panel,
.menu,
.hours,
.reviews,
.about,
.map-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.menu { list-style: none; margin: 0; padding: 0.25rem 0; }
.menu-group + .menu-group { margin-top: 1rem; }
.menu-group h3 {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu li,
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid var(--line);
}
.menu li:last-child,
.hours div:last-child { border-bottom: 0; }
.service-copy { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.service-detail { color: var(--muted); font-size: 0.92rem; }
.price,
.hours dd { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.hours { margin: 0; padding: 0.25rem 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.hours .is-today {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.hours .is-closed dd { color: var(--muted); font-weight: 500; }

.about { padding: 1.2rem 1.25rem; }
.about p { margin: 0 0 0.8rem; max-width: 65ch; }
.about p:last-child { margin-bottom: 0; }

.gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.reviews { padding: 0.35rem 0; }
.review {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.review:last-child { border-bottom: 0; }
.stars { margin: 0 0 0.35rem; color: #8a6a1f; letter-spacing: 0.08em; }
.review p { margin: 0.2rem 0; }
.review .meta { color: var(--muted); font-size: 0.88rem; }
.review-actions { margin-top: 0.9rem; }

.contact-map-grid {
  display: grid;
  gap: 1rem;
}
.contact-card {
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 16rem;
}
.contact-actions { margin-top: auto; padding-top: 1.1rem; }
.map-panel {
  min-height: 16rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--card);
}
.map-stage {
  height: 100%;
  min-height: 16rem;
  position: relative;
}
.map-placeholder {
  height: 100%;
  min-height: 16rem;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.2rem;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(circle at 30% 35%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 35%, var(--paper)), var(--paper)),
    repeating-linear-gradient(
      90deg,
      color-mix(in srgb, var(--line) 80%, transparent) 0 1px,
      transparent 1px 28px),
    repeating-linear-gradient(
      0deg,
      color-mix(in srgb, var(--line) 80%, transparent) 0 1px,
      transparent 1px 28px);
}
.map-placeholder p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  max-width: 16rem;
}
.map-pin {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--accent);
  filter: drop-shadow(0 4px 10px rgba(20, 30, 50, 0.18));
}
.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  display: block;
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
}
.map-stage.is-loaded { min-height: 16rem; }

address { font-style: normal; margin: 0; }
.phone { margin: 0.7rem 0 0; font-size: 1.15rem; font-weight: 600; }
.phone a { color: inherit; text-decoration: none; }
.phone a:hover { color: var(--accent); }

.site-footer {
  margin-top: 2.6rem;
  padding: 1.4rem 0 1.2rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  gap: 0.85rem;
}
.site-footer p { margin: 0; color: var(--muted); }
.site-footer strong { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.45rem 0.55rem calc(0.45rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--card) 94%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.4rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 12px;
}
.mobile-dock a:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.mobile-dock svg { width: 1.2rem; height: 1.2rem; }

.todo {
  background: #fff4d6;
  border: 1px solid #e2c478;
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
  border-radius: 12px;
}
.legal { padding: 1.5rem 0 2rem; }
.legal h1 {
  margin: 0.2rem 0 1rem;
  font-family: Fraunces, Georgia, serif;
}
.legal h2 { font-size: 1.2rem; margin-top: 1.4rem; }

@media (min-width: 800px) {
  body { padding-bottom: 0; }
  .mobile-dock { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-map-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .contact-card,
  .map-panel,
  .map-stage,
  .map-placeholder,
  .map-frame { min-height: 18rem; height: 100%; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .hero--plain {
    min-height: 320px;
  }
  .hero--photo {
    min-height: 340px;
    max-height: 60vh;
  }
  .hero--plain .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.75fr);
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 0;
  }
  .hero--photo .hero-copy { padding: 2.6rem 0 2.2rem; }
  .hero--plain .hero-info { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
