/* =====================================================================
   F&F CHOCOLATES — Editorial cálido · vino & chocolate
   Sistema de diseño derivado de Traru, re-coloreado a la marca F&F.
   ===================================================================== */

:root {
  /* Fondos crema / chocolate claro */
  --cream:    #F6ECDE;
  --cream-2:  #EFE1CC;
  --bone:     #FBF4E8;
  --sand:     #E3D2B6;

  /* Marca: vino / rosa (color del logo #8F444B) */
  --wine:      #8F444B;
  --wine-deep: #6E333A;
  --rose:      #B16B71;
  --rose-soft: #D9A7AB;

  /* Chocolate (texto / profundidad) */
  --cocoa:  #8A5A3A;
  --coffee: #5C3A26;
  --umber:  #3A2418;
  --char:   #2A1A10;

  /* Glass tokens */
  --glass-bg:        rgba(255, 248, 240, 0.55);
  --glass-bg-strong: rgba(255, 248, 240, 0.78);
  --glass-border:    rgba(255, 238, 226, 0.7);
  --glass-shadow:    0 30px 60px -30px rgba(58, 36, 24, 0.35),
                     0 8px 20px -10px rgba(58, 36, 24, 0.18),
                     inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* Tipografías */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Easing */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fluid: cubic-bezier(0.65, 0, 0.35, 1);

  /* Sizing */
  --radius:      28px;
  --radius-sm:   16px;
  --radius-pill: 999px;
}

/* ----------- BASE ----------- */
* { box-sizing: border-box; }
*::selection { background: var(--wine); color: var(--bone); }

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--umber);
  background:
    radial-gradient(1200px 600px at 82% -10%, rgba(143, 68, 75, 0.16), transparent 60%),
    radial-gradient(900px 700px at -10% 28%, rgba(138, 90, 58, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bone) 0%, var(--cream) 58%, var(--cream-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }

/* ----------- LAYOUT ----------- */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.container.narrow { max-width: 760px; }

section { position: relative; z-index: 1; padding: clamp(72px, 9vw, 130px) 0; }

/* ----------- TYPE SCALE ----------- */
.eyebrow {
  display: inline-block;
  width: fit-content;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wine);
  padding: 6px 14px;
  border: 1px solid rgba(143, 68, 75, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(255, 248, 240, 0.45);
}
.eyebrow.center { display: block; margin-inline: auto; margin-bottom: 20px; text-align: center; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--char);
  margin: 24px 0 26px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--wine);
  font-variation-settings: "opsz" 144, "SOFT" 80;
}

.display-sm {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--char);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}
.display-sm em { font-style: italic; font-weight: 400; color: var(--wine); }

.lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--coffee);
  max-width: 52ch;
  font-weight: 300;
  font-variation-settings: "opsz" 24;
}

/* ----------- GLASS ----------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}

/* ----------- BUTTONS ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all 220ms var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.btn-solid {
  background: var(--wine);
  color: var(--bone);
  border-color: var(--wine);
}
.btn-solid:hover {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 248, 240, 0.45);
  color: var(--umber);
  border-color: rgba(58, 36, 24, 0.18);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 248, 240, 0.75);
  border-color: rgba(58, 36, 24, 0.35);
  transform: translateY(-1px);
}

.btn-block { width: 100%; justify-content: center; padding: 16px 22px; }

/* ----------- NAV ----------- */
.nav-wrap {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 50;
  padding: 0 24px;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, 100%);
  margin-inline: auto;
  padding: 10px 14px 10px 16px;
  border-radius: var(--radius-pill);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--char); }
.brand-logo {
  width: 42px; height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px -4px rgba(110, 51, 58, 0.5);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--char);
  font-variation-settings: "opsz" 24, "SOFT" 50;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wine);
  margin-top: 3px;
}

.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--coffee);
  transition: color 200ms var(--ease-out);
}
.nav-links a:hover { color: var(--wine); }

/* Iconos sociales (Instagram / WhatsApp) arriba a la derecha */
.nav-social { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--wine);
  background: rgba(255, 248, 240, 0.6);
  border: 1px solid rgba(143, 68, 75, 0.22);
  transition: transform 200ms var(--ease-out), background 200ms, color 200ms;
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { transform: translateY(-2px); background: var(--wine); color: var(--bone); }
.social-icon:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

/* Botón menú (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0; background: none; border: none;
}
.nav-toggle-bar {
  display: block; width: 20px; height: 1.5px; margin-inline: auto;
  background: var(--char);
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav-toggle-bar:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ----------- HERO ----------- */
.hero {
  padding: clamp(132px, 14vw, 188px) 0 clamp(60px, 8vw, 96px);
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-grid {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Collage de fotos del hero */
.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  background: var(--cream-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo--main {
  grid-row: span 2;
  min-height: 420px;
  transform: rotate(-1.5deg);
}
.hero-photo--a { aspect-ratio: 4 / 3.2; transform: rotate(1.5deg); align-self: start; }
.hero-photo--b { aspect-ratio: 4 / 3.2; transform: rotate(-1deg); align-self: end; }
.hero-badge {
  position: absolute;
  bottom: -14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  font-size: 12px; letter-spacing: 0.08em; color: var(--coffee);
  white-space: nowrap;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 4px rgba(143, 68, 75, 0.16);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(143, 68, 75, 0.16); }
  50%      { box-shadow: 0 0 0 8px rgba(143, 68, 75, 0.04); }
}

/* ----------- NOSOTROS / MANIFIESTO ----------- */
.manifiesto { text-align: center; }
.manifiesto .display-sm { margin: 20px 0 30px; }
.manifiesto-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.6;
  color: var(--coffee);
  display: grid; gap: 18px;
  max-width: 60ch; margin-inline: auto;
  font-variation-settings: "opsz" 24;
}
.manifiesto-text em { color: var(--wine); font-style: italic; }
.signature {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 48px; color: var(--wine);
}
.signature span {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--coffee);
}

/* ----------- SECTION HEAD ----------- */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .display-sm { margin-top: 16px; }
.section-lead {
  font-family: var(--serif);
  font-size: 18px; line-height: 1.55;
  color: var(--coffee);
  max-width: 52ch; margin: 18px auto 0;
  font-weight: 300; font-variation-settings: "opsz" 24;
}

/* ----------- PRODUCTOS GRID ----------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  position: relative;
  border-radius: var(--radius);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 40px 70px -30px rgba(58, 36, 24, 0.45),
    0 12px 28px -10px rgba(58, 36, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  background: radial-gradient(80% 90% at 50% 60%, var(--cocoa), var(--umber));
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 420ms var(--ease-out);
}
.slide.is-active { opacity: 1; visibility: visible; }
.piece-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* flechas de galería */
.gallery-nav { position: absolute; top: 14px; right: 14px; z-index: 4; display: flex; gap: 6px; }
.gnav {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--wine);
  background: rgba(255, 248, 240, 0.85);
  border: 1px solid rgba(255, 238, 226, 0.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px -4px rgba(58, 36, 24, 0.35);
  cursor: pointer;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}
.gnav:hover { background: var(--bone); color: var(--wine-deep); }
.gnav:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

/* dots */
.gdots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 6px; }
.gdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 248, 240, 0.6);
  border: 1px solid rgba(58, 36, 24, 0.2);
  cursor: pointer; transition: all 200ms var(--ease-out);
}
.gdot.is-active { background: var(--bone); width: 16px; border-radius: 3px; }

/* badges / tag */
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(10px);
  color: var(--wine);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 238, 226, 0.7);
}
.badge {
  position: absolute; z-index: 4;
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 11px; border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}
.badge-sale {
  top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--rose), var(--wine));
  color: var(--bone);
  border: 1px solid rgba(255, 230, 230, 0.4);
  box-shadow: 0 6px 16px -6px rgba(110, 51, 58, 0.6);
}
.gallery-nav ~ .badge-sale { right: 14px; top: 52px; }
.badge-out, .badge-last { bottom: 14px; left: 14px; color: var(--cream); border: 1px solid rgba(255, 255, 255, 0.15); }
.badge-out  { background: rgba(58, 36, 24, 0.78); }
.badge-last { background: rgba(138, 90, 58, 0.9); }

.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.card-title {
  font-family: var(--serif);
  font-size: 22px; line-height: 1.15;
  color: var(--char); font-weight: 500; letter-spacing: -0.015em;
  font-variation-settings: "opsz" 24, "SOFT" 50;
}
.card-mat { font-size: 12.5px; letter-spacing: 0.04em; color: var(--coffee); }
.card-foot {
  margin-top: 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(58, 36, 24, 0.12);
}
.price-wrap { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price, .price-now {
  font-family: var(--serif);
  font-size: 21px; color: var(--wine);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24, "SOFT" 80;
}
.price-old { font-size: 13px; color: var(--coffee); text-decoration: line-through; opacity: 0.7; }
.card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 0.04em; color: var(--bone); font-weight: 500;
  background: var(--wine); border: 1px solid var(--wine); padding: 9px 14px;
  cursor: pointer; border-radius: var(--radius-pill);
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.card-cta:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.card-cta svg { transition: transform 200ms var(--ease-out); }
.card:hover .card-cta:not(.is-disabled) svg { transform: translateX(3px); }
.card-cta:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.card-cta.is-disabled {
  background: rgba(58, 36, 24, 0.12); color: var(--coffee);
  border-color: transparent; opacity: 0.8; cursor: not-allowed;
}

/* skeleton */
.card-skeleton { pointer-events: none; }
.card-skeleton .card-media {
  background: linear-gradient(110deg, var(--cream-2) 30%, var(--bone) 50%, var(--cream-2) 70%);
  background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite;
}
.sk-line {
  height: 14px; border-radius: 6px; margin-top: 12px;
  background: linear-gradient(110deg, var(--cream-2) 30%, var(--bone) 50%, var(--cream-2) 70%);
  background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite;
}
.sk-short { width: 55%; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.grid-empty {
  grid-column: 1 / -1; text-align: center;
  font-family: var(--serif); font-size: 18px; color: var(--coffee); padding: 40px 0;
}
.grid-empty a { color: var(--wine); border-bottom: 1px solid currentColor; }

/* filtros de categoría */
.cat-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: -18px auto 44px;
}
.cat-chip {
  font-family: var(--sans);
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  padding: 8px 16px; border-radius: var(--radius-pill);
  color: var(--coffee);
  background: rgba(255, 248, 240, 0.5);
  border: 1px solid rgba(143, 68, 75, 0.2);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.cat-chip:hover { color: var(--wine); border-color: var(--wine); }
.cat-chip.is-active { background: var(--wine); color: var(--bone); border-color: var(--wine); }
.cat-chip:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

/* ----------- SERVICIOS (Pedidos · Souvenirs · Eventos · Envíos) ----------- */
.servicios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.servicio {
  padding: 32px 26px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
.servicio::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius);
  background: linear-gradient(160deg, transparent 50%, rgba(143, 68, 75, 0.1));
  pointer-events: none;
}
.servicio-ic {
  width: 42px; height: 42px; color: var(--wine);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(143, 68, 75, 0.1);
}
.servicio-ic svg { width: 22px; height: 22px; }
.servicio h3 {
  font-size: 23px; line-height: 1.1; color: var(--char);
  letter-spacing: -0.02em; font-weight: 400;
  font-variation-settings: "opsz" 24, "SOFT" 50;
}
.servicio p { font-size: 14px; line-height: 1.6; color: var(--coffee); }

/* ----------- CONTACTO ----------- */
.cita { padding-bottom: clamp(72px, 8vw, 110px); }
.cita-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.cita-copy {
  padding: 52px 46px;
  display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.45), rgba(143, 68, 75, 0.1));
  border-right: 1px solid var(--glass-border);
}
.cita-copy .display-sm { margin: 8px 0; }
.cita-copy p { color: var(--coffee); }
.cita-detail { display: grid; gap: 14px; margin-top: 14px; }
.cita-detail li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--coffee); }
.cita-detail svg { color: var(--wine); flex-shrink: 0; }
.contact-link {
  color: var(--char);
  border-bottom: 1px solid rgba(143, 68, 75, 0.35);
  transition: color 200ms, border-color 200ms;
}
.contact-link:hover { color: var(--wine); border-color: var(--wine); }

.cita-form { padding: 52px 46px; display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coffee); font-weight: 500;
}
.field input, .field select, .field textarea {
  font: 400 15px/1.5 var(--sans);
  color: var(--char);
  padding: 12px 16px;
  background: rgba(255, 248, 240, 0.6);
  border: 1px solid rgba(58, 36, 24, 0.18);
  border-radius: var(--radius-sm);
  transition: all 200ms var(--ease-out);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--wine);
  background: rgba(255, 248, 240, 0.9);
  box-shadow: 0 0 0 4px rgba(143, 68, 75, 0.14);
}
.field textarea { resize: vertical; min-height: 90px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-foot { font-size: 11px; color: var(--coffee); text-align: center; margin-top: 4px; letter-spacing: 0.04em; }

/* ----------- FOOTER ----------- */
.footer {
  position: relative; z-index: 1;
  padding: 72px 0 26px;
  border-top: 1px solid rgba(58, 36, 24, 0.12);
  background: linear-gradient(180deg, transparent 0%, rgba(227, 210, 182, 0.4) 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.brand-foot { color: var(--char); }
.footer-note {
  margin-top: 14px; font-size: 14px; color: var(--coffee);
  font-family: var(--serif); font-style: italic;
  font-variation-settings: "opsz" 24; max-width: 32ch;
}
.footer h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--wine); margin-bottom: 18px;
}
.footer ul { display: grid; gap: 10px; }
.footer li, .footer a { font-size: 14px; color: var(--coffee); transition: color 200ms; }
.footer a:hover { color: var(--char); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-bot {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 26px; border-top: 1px solid rgba(58, 36, 24, 0.12);
  font-size: 12px; color: var(--coffee); letter-spacing: 0.04em;
}

/* ----------- DETAIL DIALOG ----------- */
.detail-dialog {
  border: none; padding: 0; background: transparent;
  width: min(1000px, calc(100% - 32px));
  max-height: 92vh; overflow: visible;
}
.detail-dialog::backdrop { background: rgba(40, 26, 16, 0.5); backdrop-filter: blur(8px); }
.detail-inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden; max-height: 92vh;
  box-shadow: 0 60px 90px -30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.detail-close {
  position: absolute; top: 16px; right: 16px; z-index: 6;
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 248, 240, 0.85);
  border: 1px solid rgba(255, 238, 226, 0.8);
  color: var(--coffee); cursor: pointer; backdrop-filter: blur(8px);
  transition: all 200ms;
}
.detail-close:hover { background: var(--bone); color: var(--char); }
.detail-gallery { display: flex; flex-direction: column; }
.d-media { aspect-ratio: 1 / 1; flex: 1; }
.d-thumbs { display: flex; gap: 8px; padding: 12px; flex-wrap: wrap; background: rgba(255, 248, 240, 0.35); }
.d-thumb {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid rgba(58, 36, 24, 0.15);
  background: var(--cream-2);
  transition: outline 160ms;
}
.d-thumb img { width: 100%; height: 100%; object-fit: cover; }
.d-thumb.is-active { outline: 2px solid var(--wine); outline-offset: 2px; }
.detail-info { padding: 48px 44px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.detail-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.05;
  color: var(--char); letter-spacing: -0.02em; margin-top: 4px;
  font-variation-settings: "opsz" 40, "SOFT" 60;
}
.detail-edition { font-size: 13px; letter-spacing: 0.04em; color: var(--coffee); }
.detail-desc { font-size: 15px; line-height: 1.7; color: var(--coffee); margin: 6px 0; }
.detail-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 10px; }
.detail-price .card-price, .detail-price .price-now { font-size: 30px; }
.detail-price .price-old { font-size: 16px; }
.detail-reserve.is-disabled {
  background: rgba(58, 36, 24, 0.12); color: var(--coffee); border-color: transparent;
  box-shadow: none; cursor: not-allowed; filter: none; transform: none;
}
.detail-note { font-size: 11px; color: var(--coffee); opacity: 0.8; letter-spacing: 0.02em; }

/* ----------- TOAST ----------- */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--char); color: var(--bone);
  padding: 14px 22px; font-size: 13px; letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 50px -15px rgba(58, 24, 12, 0.5);
  opacity: 0; pointer-events: none;
  transition: all 280ms var(--ease-out); z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ----------- RESPONSIVE ----------- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: none; flex-direction: column; gap: 2px; padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 15px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .servicios { grid-template-columns: repeat(2, 1fr); }
  .cita-card { grid-template-columns: 1fr; }
  .cita-copy { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 40px 30px; }
  .cita-form { padding: 40px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-inner { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .d-media { aspect-ratio: 4 / 3; }
  .detail-info { padding: 32px 28px 40px; }
}
@media (max-width: 600px) {
  .nav-links { gap: 0; }
  .brand-sub { display: none; }
  .grid { grid-template-columns: 1fr; }
  .servicios { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; gap: 8px; align-items: flex-start; }
  .nav { padding: 8px 10px 8px 12px; }
  .row { grid-template-columns: 1fr; }
  .display { font-size: clamp(38px, 11vw, 60px); }
  .hero-photo--main { aspect-ratio: 3 / 3.4; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge .dot { animation: none !important; }
  html { scroll-behavior: auto; }
}
