:root {
  --bg: #f4ede4;
  --bg-soft: #efe4d5;
  --surface: rgba(255, 250, 244, 0.72);
  --surface-strong: rgba(255, 248, 238, 0.92);
  --text: #2f2118;
  --text-soft: #6f5848;
  --primary: #6f4a2d;
  --primary-dark: #4d321e;
  --border: rgba(111, 74, 45, 0.18);
  --shadow: 0 20px 50px rgba(65, 39, 20, 0.14);
  --shadow-hover: 0 28px 64px rgba(65, 39, 20, 0.22);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 1px 1px, rgba(111, 74, 45, 0.055) 1px, transparent 0),
    radial-gradient(circle at top left, rgba(156, 111, 67, 0.18), transparent 30%),
    linear-gradient(180deg, #f7f0e7 0%, var(--bg) 45%, #eadbc8 100%);
  background-size: 28px 28px, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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


/* ── Topbar ─────────────────────────────────────────── */

.hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

section {
  scroll-margin-top: 90px;
}

.topbar,
.hero-content,
.section,
.footer {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  background: rgba(255, 249, 242, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  z-index: 10;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.topbar.scrolled {
  box-shadow: 0 8px 32px rgba(65, 39, 20, 0.16);
  background: rgba(255, 249, 242, 0.88);
}

.brand {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.4rem;
  transition: color 0.2s ease;
}

.brand:hover {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--text-soft);
  font-weight: 500;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}


/* ── Hero ────────────────────────────────────────────── */

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 16px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-text h1,
.section-heading h2,
.info-card h2,
.location-box h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.05;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 11ch;
}

.hero-text p,
.section-heading p,
.profile-info p,
.card p,
.location-box p {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1.02rem;
}

.section-heading p {
  max-width: 58ch;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}


/* ── Buttons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 74, 45, 0.2);
}

.btn-primary {
  background: var(--primary);
  color: #fffaf5;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 249, 242, 0.65);
}


/* ── Cards ───────────────────────────────────────────── */

.profile-card,
.card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(111, 74, 45, 0.2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.card:hover::before {
  transform: scaleX(1);
}

.profile-card {
  overflow: hidden;
}

.profile-image-wrap {
  aspect-ratio: 4 / 5;
}

.profile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.45s ease;
}

.profile-card:hover .profile-image-wrap img {
  transform: scale(1.03);
}

.profile-info {
  padding: 22px 24px 28px;
}

.profile-info h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-family: "Playfair Display", serif;
}


/* ── Shop banner ─────────────────────────────────────── */

.shop-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  transform: translateZ(0);
}

.shop-banner--sobre {
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
}

.shop-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.55);
  will-change: transform;
}

.shop-banner--sobre img {
  object-position: center 30%;
}

.shop-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(
    to bottom,
    rgba(47, 33, 24, 0.1) 0%,
    rgba(47, 33, 24, 0.5) 80%,
    rgba(47, 33, 24, 0.7) 100%
  );
}

.shop-banner-overlay h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: #fffaf5;
  margin: 0 0 16px;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.shop-banner-overlay p {
  color: rgba(255, 250, 245, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 48px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.banner-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 250, 245, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.banner-scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.banner-scroll-hint svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(255, 250, 245, 0.6);
  stroke-width: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 680px) {
  .shop-banner {
    min-height: 100svh;
  }

  .shop-banner-overlay h2 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
}


/* ── Lista de servicios ──────────────────────────────── */

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.service-tag {
  display: inline-block;
  padding: 7px 16px;
  background: rgba(111, 74, 45, 0.07);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.service-tag:hover {
  background: rgba(111, 74, 45, 0.14);
  border-color: rgba(111, 74, 45, 0.32);
}


/* ── Photo carousel ──────────────────────────────────── */

.carousel-outer {
  overflow: hidden;
  margin-top: 36px;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: carousel-scroll 68s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.carousel-outer:hover .carousel-track,
.carousel-outer:focus-within .carousel-track {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  /* 16 fotos × (300px + 16px margin) = 5056px */
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-5056px, 0, 0); }
}

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

.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  flex-shrink: 0;
  margin-right: 16px;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

@media (max-width: 480px) {
  .gallery-item {
    width: 240px;
    border-radius: 12px;
  }
}


/* ── Stats bar ───────────────────────────────────────── */

.stats-bar {
  width: min(1120px, calc(100% - 24px));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 28px 16px;
  background: var(--surface-strong);
  text-align: center;
  transition: background 0.2s ease;
}

.stat-item:hover {
  background: rgba(255, 248, 238, 1);
}

.stat-item strong {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}

.stat-item span {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Service cards ───────────────────────────────────── */

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 74, 45, 0.08);
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.card:hover .card-icon {
  background: rgba(111, 74, 45, 0.14);
  transform: scale(1.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-family: "Playfair Display", serif;
}


/* ── Sections ────────────────────────────────────────── */

.section {
  padding: 44px 0 84px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.left {
  margin-left: 0;
}

.section-heading h2,
.info-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 14px;
  opacity: 0.5;
}

.service-grid,
.info-layout {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 28px;
}

.info-layout {
  grid-template-columns: repeat(2, 1fr);
}


/* ── Schedule & contact ──────────────────────────────── */

.schedule {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.schedule li,
.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(111, 74, 45, 0.12);
  transition: color 0.2s ease;
}

.schedule li:last-child,
.contact-list a:last-child {
  border-bottom: none;
}

.schedule span,
.contact-list span,
.location-label,
.muted {
  color: var(--text-soft);
}

.contact-list {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(111, 74, 45, 0.12);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.contact-item strong {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.contact-actions {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 56px;
  min-width: 180px;
  background: rgba(111, 74, 45, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.contact-btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}

.contact-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.contact-btn:hover {
  background: rgba(111, 74, 45, 0.14);
  border-color: rgba(111, 74, 45, 0.32);
  transform: translateY(-1px);
}

.contact-list a:hover {
  color: var(--primary);
}

.contact-list a:hover span {
  color: var(--primary);
}


/* ── Location ────────────────────────────────────────── */

.location-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  background: var(--surface-strong);
  margin-bottom: 20px;
}

.location-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
}

.map-wrap iframe:not([src]) {
  display: none;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 280px;
  padding: 24px;
  text-align: center;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.map-placeholder p {
  margin: 0;
}

.map-placeholder-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.map-placeholder.hidden {
  display: none;
}

.muted {
  margin-bottom: 0;
}


/* ── Reviews ─────────────────────────────────────────── */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.review-card {
  padding: 26px;
}

.stars {
  color: #b87932;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  margin-top: 0;
}

.review-card p {
  line-height: 1.65;
  margin: 0;
}

.review-card strong {
  display: block;
  margin-top: 16px;
  color: #5a3924;
  font-size: 0.9rem;
}

.reviews-summary {
  color: #b87932;
  font-weight: 600;
}

.reviews-cta {
  margin-top: 32px;
  text-align: center;
}


/* ── Profile badge ───────────────────────────────────── */

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  padding: 6px 12px;
  background: rgba(111, 74, 45, 0.09);
  border: 1px solid rgba(111, 74, 45, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}


/* ── Accesibilidad ───────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Nav activo ──────────────────────────────────────── */

.nav-active {
  color: var(--primary) !important;
}

.nav-active::after {
  width: 100% !important;
}

/* ── Nav pill (enlace a página distinta) ─────────────── */

.nav-pill {
  color: var(--primary) !important;
  font-weight: 700;
}

.nav-pill::after {
  display: none !important;
}

.nav-pill:hover {
  color: var(--primary-dark, #5a3924) !important;
  opacity: 0.8;
}


/* ── Lang switch ─────────────────────────────────────── */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.lang-switch a:hover {
  opacity: 1;
  color: var(--primary);
}

.lang-switch svg {
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}

.lang-active {
  opacity: 1 !important;
  color: var(--text) !important;
}


/* ── Página Sobre Igor ───────────────────────────────── */

.sobre-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: start;
}

.sobre-texto h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 8px 0 20px;
  line-height: 1.1;
}

.sobre-texto h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 14px;
  opacity: 0.5;
}

.sobre-texto p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1.02rem;
  margin: 0 0 18px;
  max-width: 60ch;
}

.sobre-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
  align-self: start;
}

.sobre-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}

.sobre-card {
  padding: 24px 26px;
}

.sobre-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sobre-list li {
  color: var(--text-soft);
  font-size: 0.93rem;
  padding-left: 14px;
  position: relative;
}

.sobre-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 860px) {
  .sobre-layout {
    grid-template-columns: 1fr;
  }

  .sobre-aside {
    position: static;
  }
}


/* ── Bloque Sobre Igor ───────────────────────────────── */

.igor-block {
  max-width: 760px;
}

.igor-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 20px;
  line-height: 1.1;
}

.igor-text h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 14px;
  opacity: 0.5;
}

.igor-text p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1.02rem;
  margin: 0 0 16px;
  max-width: 58ch;
}

.igor-quote {
  margin: 28px 0 28px;
  padding: 20px 24px;
  border-left: 3px solid var(--primary);
  background: rgba(111, 74, 45, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.6;
}

.igor-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}

.igor-link {
  font-size: 0.95rem;
  font-weight: 600;
}


/* ── WhatsApp flotante ───────────────────────────────── */

.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 14px 20px 14px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-fab:hover {
  background: #1ebe5d;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px) scale(1);
}

.whatsapp-fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: #fff;
}

/* ── Footer ──────────────────────────────────────────── */

.footer {
  margin-top: 24px;
  padding: 28px 0 36px;
  text-align: center;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}


/* ── Reveal animation ────────────────────────────────── */

.reveal {
  opacity: 0;
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up    { transform: translateY(52px); }
.reveal-left  { transform: translateX(-70px); }
.reveal-right { transform: translateX(70px); }

.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}


/* ── Cookie banner ───────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 28px;
  background: rgba(47, 33, 24, 0.96);
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner p {
  margin: 0;
  color: #f0e4d8;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: #e8b87a;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  white-space: nowrap;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.cookie-reject {
  white-space: nowrap;
  padding: 10px 22px;
  font-size: 0.9rem;
  background: transparent;
  border: 1.5px solid rgba(240, 228, 216, 0.4);
  color: #f0e4d8;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.cookie-reject:hover {
  border-color: rgba(240, 228, 216, 0.7);
  background: rgba(240, 228, 216, 0.08);
}

/* ── Modal legal ─────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(47, 33, 24, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  background: #fffaf5;
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 44px;
  box-shadow: 0 32px 80px rgba(47, 33, 24, 0.28);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-soft);
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.modal-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin: 0 0 28px;
  color: var(--text);
}

.modal-content h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin: 28px 0 8px;
}

.modal-content h3:first-of-type {
  margin-top: 0;
}

.modal-content p {
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
  font-size: 0.95rem;
}

.footer-link {
  color: var(--text-soft);
  font-size: 0.85rem;
  text-decoration: underline;
  opacity: 0.65;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  color: var(--primary);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 920px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content,
  .service-grid,
  .info-layout {
    grid-template-columns: 1fr;
  }

  .location-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-text h1 {
    max-width: 100%;
  }

  /* Imagen del perfil: horizontal en móvil, no una torre */
  .profile-image-wrap {
    aspect-ratio: 16 / 9;
  }

  .profile-image-wrap img {
    object-position: center 40% ;
  }

  .section {
    padding: 36px 0 56px;
  }
}

@media (max-width: 800px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  section {
    scroll-margin-top: 140px;
  }

  .topbar {
    border-radius: 20px;
    padding: 16px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.95rem;
  }

  .hero {
    padding-inline: 12px;
  }

  .topbar,
  .hero-content,
  .section,
  .footer {
    width: min(1120px, calc(100% - 8px));
  }

  .hero-content {
    padding-top: 24px;
  }

  .card,
  .location-box,
  .profile-info {
    padding: 20px;
  }

  .schedule li,
  .contact-list a {
    flex-direction: column;
    gap: 4px;
  }

  /* WhatsApp FAB: sube para no tapar el cookie banner */
  .whatsapp-fab.with-cookie {
    bottom: 100px;
  }

  /* Modal: padding más cómodo en pantalla pequeña */
  .modal-box {
    padding: 28px 20px;
    max-height: 88vh;
    border-radius: 18px;
  }

  .modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  /* Cookie banner: texto más compacto */
  .cookie-banner {
    padding: 14px 16px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .stat-item {
    padding: 20px 12px;
  }

  .stat-item strong {
    font-size: 1.55rem;
  }

  .stat-item span {
    font-size: 0.72rem;
  }

  .hero-text h1 {
    font-size: clamp(2.2rem, 8vw, 2.8rem);
  }

  .whatsapp-fab {
    padding: 12px 16px 12px 14px;
    font-size: 0.9rem;
    bottom: 20px;
    right: 16px;
  }
}

/* ── Gallery Modal (Lightbox) ─────────────────────────── */

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 90vw;
  max-height: 90vh;
}

.gallery-modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  animation: modalImageZoom 0.3s ease;
}

@keyframes modalImageZoom {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gallery-modal-close,
.gallery-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.gallery-modal-close:hover,
.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.gallery-modal-close {
  top: 16px;
  right: 16px;
}

.gallery-nav-prev {
  left: 16px;
}

.gallery-nav-next {
  right: 16px;
}

.gallery-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

@media (max-width: 680px) {
  .gallery-modal-image {
    max-height: 80vh;
  }

  .gallery-modal-close,
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gallery-modal-close {
    top: 12px;
    right: 12px;
  }

  .gallery-nav-prev {
    left: 12px;
  }

  .gallery-nav-next {
    right: 12px;
  }

  .gallery-counter {
    bottom: 12px;
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}
