/* ══════════════════════════════════════
   TOKENS
══════════════════════════════════════ */
:root {
  --parchment: #FAF5EF;
  --ivory: #FFFFFF;
  --amber: #8A1E35;
  --amber-lt: #B6556B;
  --ink: #1F1517;
  --ink-soft: #5E4E50;
  --gold: #C49A45;
  --border: rgba(138, 30, 53, .12);
  --border-lt: rgba(138, 30, 53, .06);
  --container: 1160px;
  --shadow: 0 4px 24px rgba(31, 21, 23, .05);
  --shadow-lg: 0 12px 48px rgba(31, 21, 23, .10);
}

/* ══════════════════════════════════════
   RESET — MOBILE FIRST
══════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit
}

input,
textarea,
select {
  font-family: inherit
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap
}

:focus-visible {
  outline: 1.5px solid var(--amber);
  outline-offset: 3px
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important
  }
}

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.wrap {
  width: 100%;
  padding: 0 20px
}

@media(min-width:768px) {
  .wrap {
    padding: 0 40px
  }
}

@media(min-width:1240px) {
  .wrap {
    max-width: calc(var(--container) + 80px);
    margin: 0 auto
  }
}

section,
#delivery {
  scroll-margin-top: 80px;
}

@media(min-width:768px) {
  section,
  #delivery {
    scroll-margin-top: 155px;
  }
}

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
.t-display {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -.02em;
}

.t-heading {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
}

.t-label {
  font-family: 'Cormorant', Georgia, serif;
  font-variant: small-caps;
  font-size: .95rem;
  letter-spacing: .12em;
  color: var(--gold);
}

.t-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft)
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all .22s ease;
}

.btn-primary {
  padding: 16px 36px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 50px;
  /* Redondeado */
}

.btn-primary:hover {
  background: var(--amber)
}

.btn-ghost {
  padding: 18px 0 14px 0;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.btn-ghost:hover {
  color: var(--amber)
}

.btn-ghost .arr {
  display: inline-block;
  transition: transform .2s
}

.btn-ghost:hover .arr {
  transform: translateX(5px)
}

.btn-ghost-light {
  padding: 18px 0 14px 0;
  color: rgba(253, 250, 244, .7);
  border-bottom: 1px solid rgba(253, 250, 244, .3);
}

.btn-ghost-light:hover {
  color: var(--gold);
  border-bottom-color: var(--gold)
}

.btn-ghost-light .arr {
  display: inline-block;
  transition: transform .2s
}

.btn-ghost-light:hover .arr {
  transform: translateX(5px)
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 20px 0; /* padding up separating it from the browser window */
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}

@media(min-width:768px) {
  #navbar {
    padding: 16px 40px 0; /* padding up separating it from the browser window */
  }
}

#navbar.scrolled {
  background: rgba(250, 245, 239, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  gap: 8px;
  position: relative;
}

@media(min-width:768px) {
  .nav-inner {
    height: auto;
    flex-direction: column;
    padding: 10px 0;
    gap: 12px;
  }
}

/* --- LOGO DE IMAGEN --- */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  transition: transform .2s ease, opacity .2s;
  z-index: 10;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  height: 65px;
  max-width: 50vw; /* Keep it responsive on mobile to avoid overlap */
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

@media(min-width:768px) {
  .nav-logo-img {
    height: 125px;
  }
}

/* --- TEXTO DEL LOGO --- */
.nav-logo-text {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 0.7rem;
  font-variant: small-caps;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-top: 1px;
  transition: color .35s;
  line-height: 1;
}

/* Cambia el color del texto a oscuro cuando el menú baja (scroll) */
#navbar.scrolled .nav-logo-text {
  color: var(--ink-soft);
}

.nav-spacer {
  display: none;
}

/* --- LINKS DE ESCRITORIO --- */
.nav-links {
  display: none
}

@media(min-width:768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .nav-links a {
    padding: 8px 14px;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #FDFAF4;
    /* Texto claro semi-transparente por defecto */
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .nav-links a:hover {
    transform: scale(1.1);
    color: #FDFAF4;
  }

  .nav-cta {
    margin-left: 12px !important;
    padding: 10px 22px !important;
    background: var(--ivory);
    color: var(--ink) !important;
    /* Botón claro destacado */
    font-size: .75rem !important;
    letter-spacing: .1em !important;
    border-radius: 50px;
    /* Redondeado en nav también */
    transition: background .2s, color .2s !important;
  }

  .nav-cta:hover {
    background: var(--gold) !important;
    color: var(--ivory) !important;
  }

  /* Links oscuros cuando se hace scroll */
  #navbar.scrolled .nav-links a {
    color: var(--ink-soft);
  }

  #navbar.scrolled .nav-links a:hover {
    color: var(--ink);
  }

  /* Redes sociales en scroll y hover */
  #navbar.scrolled .nav-social-link {
    color: var(--ink-soft) !important;
  }

  .nav-social-link:hover {
    transform: scale(1.1);
  }

  #navbar.scrolled .nav-social-link:hover {
    color: var(--ink) !important;
  }

  #navbar.scrolled .nav-cta {
    background: var(--ink);
    color: var(--ivory) !important;
  }

  #navbar.scrolled .nav-cta:hover {
    background: var(--amber) !important;
  }
}

/* --- MENÚ HAMBURGUESA (MÓVIL) --- */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media(min-width:768px) {
  .nav-burger {
    display: none
  }
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: .25s;
  border-radius: 1px
}

/* Rayitas claras */

/* Menú hamburguesa oscuro al scroll */
#navbar.scrolled .nav-burger span {
  background: var(--ink);
}

/* --- MENÚ DESPLEGABLE MÓVIL --- */
.nav-mob {
  display: none;
  flex-direction: column;
  background: rgba(250, 245, 239, .97);
  backdrop-filter: blur(12px);
  padding: 16px 20px 28px;
  border-top: 1px solid var(--border);
}

.nav-mob.open {
  display: flex
}

@media(min-width: 768px) {
  .nav-mob {
    display: none !important;
  }
}

.nav-mob a {
  padding: 14px 0;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-lt);
  color: var(--ink);
  transition: color .2s, padding-left .2s;
}

.nav-mob a:last-child {
  border: none
}

.nav-mob a:hover {
  color: var(--amber);
  padding-left: 8px
}

/* ══════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(31, 21, 23, .15) 0%,
      rgba(31, 21, 23, .5) 55%,
      rgba(31, 21, 23, .78) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 110px 20px 60px;
  z-index: 2;
}

@media(min-width:768px) {
  .hero-content {
    padding: 230px 40px 80px;
    max-width: calc(var(--container) + 80px);
    margin: 0 auto;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  margin-bottom: 20px;
}

@media(min-width:768px) {
  .hero-eyebrow {
    margin-bottom: 28px
  }
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold)
}

.hero-hl {
  color: var(--ivory);
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-hl em {
  font-style: italic;
  color: var(--gold);
  display: block
}

.hero-desc {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(253, 250, 244, .75);
  margin-bottom: 32px;
  max-width: 420px;
}

@media(min-width:768px) {
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 40px
  }
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap
}

.hero-btns .btn-ghost {
  color: rgba(253, 250, 244, .8);
  border-bottom-color: rgba(253, 250, 244, .4)
}

.hero-btns .btn-ghost:hover {
  color: var(--gold);
  border-bottom-color: var(--gold)
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

@media(min-width:768px) {
  .hero-dots {
    bottom: 40px;
    right: 40px
  }
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(253, 250, 244, .35);
  border: none;
  padding: 0;
  transition: background .3s, transform .3s;
}

.hero-dot.active {
  background: var(--gold);
  transform: scale(1.4)
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(253, 250, 244, .1);
  z-index: 3;
}

.hero-progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 5s linear;
}

.hero-counter {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 3;
  display: none;
}

@media(min-width:768px) {
  .hero-counter {
    display: block;
    right: 40px
  }
}

.hero-counter-cur {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 2rem;
  font-weight: 300;
  color: rgba(253, 250, 244, .7);
  line-height: 1;
}

.hero-counter-sep {
  width: 1px;
  height: 32px;
  background: rgba(253, 250, 244, .2);
  margin: 6px auto
}

.hero-counter-tot {
  font-size: .75rem;
  letter-spacing: .1em;
  color: rgba(253, 250, 244, .3);
  text-align: center;
}

/* ══════════════════════════════════════
   DELIVERY STRIP
══════════════════════════════════════ */
#delivery {
  padding: 36px 0;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.delivery-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
  text-align: center;
}

@media(min-width:1240px) {
  .delivery-inner {
    max-width: calc(var(--container)+80px);
    margin: 0 auto
  }
}

.delivery-lbl {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(253, 250, 244, .38);
  white-space: nowrap;
}

.delivery-sep {
  display: none
}

.delivery-apps {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 auto;
}

@media(min-width:768px) {
  .delivery-apps {
    width: 88%;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.delivery-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50px;
  /* Redondeado de botones de delivery */
  color: rgba(253, 250, 244, .65);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: .03em;
  transition: border-color .3s, color .3s, background .3s, transform .3s, box-shadow .3s;
}

.delivery-app:hover {
  transform: translateY(-3px);
}

.delivery-app.glovo {
  background: #FFC244;
  color: #1E1B18;
  border-color: #FFC244;
  font-weight: 700;
}
.delivery-app.glovo:hover {
  background: #F4B127;
  border-color: #F4B127;
  color: #1E1B18;
  box-shadow: 0 6px 20px rgba(255, 194, 68, 0.4);
}

.delivery-app.uber-eats {
  background: #06C167;
  color: #ffffff;
  border-color: #06C167;
  font-weight: 700;
}
.delivery-app.uber-eats:hover {
  background: #05A357;
  border-color: #05A357;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(6, 193, 103, 0.4);
}

.delivery-app.just-eat {
  background: #FF8000;
  color: #ffffff;
  border-color: #FF8000;
  font-weight: 700;
}
.delivery-app.just-eat:hover {
  background: #E07000;
  border-color: #E07000;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 128, 0, 0.4);
}

.delivery-app img,
.delivery-app svg {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* ══════════════════════════════════════
   CRAFT / ABOUT
══════════════════════════════════════ */
#craft {
  background: var(--ivory);
  padding: 30px 0;
}

@media(min-width:768px) {
  #craft {
    padding: 50px 0;
  }
}

.craft-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media(min-width:768px) {
  .craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
}

.craft-num {
  font-family: 'Cormorant', Georgia, serif;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.craft-pull {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin: 24px 0;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

.craft-photo {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: #C0A070;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease;
}

@media(min-width:768px) {
  .craft-photo {
    order: 2
  }
}

.craft-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.craft-photo:hover img {
  transform: scale(1.05);
}

.craft-photo-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #D9C4A0, #B09060);
  font-family: 'Cormorant', Georgia, serif;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(31, 21, 23, .3);
}

.craft-photo-note {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(0, rgba(31, 21, 23, .55), transparent);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(253, 250, 244, .65);
}

/* ══════════════════════════════════════
   MENU / CATEGORIES
══════════════════════════════════════ */
#menu {
  background: var(--parchment);
  padding-top: 30px;
}

@media(min-width:768px) {
  #menu {
    padding-top: 50px;
  }
}

.menu-top {
  margin-bottom: 48px
}

@media(min-width:768px) {
  .menu-top {
    margin-bottom: 72px
  }
}

.menu-subtitle {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 420px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

@media(min-width:500px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:900px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.menu-cat {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
}

.menu-cat:nth-child(1) {
  background: linear-gradient(160deg, #9C7040, #6C4820)
}

.menu-cat:nth-child(2) {
  background: linear-gradient(160deg, #8C6030, #5C3810)
}

.menu-cat:nth-child(3) {
  background: linear-gradient(160deg, #A08050, #705830)
}

.menu-cat:nth-child(4) {
  background: linear-gradient(160deg, #7C5830, #4C3010)
}

.menu-cat-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.menu-cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease, opacity 1s ease-in-out;
  opacity: 0;
}

.menu-cat-img.active {
  opacity: 1;
}

.menu-cat:hover .menu-cat-img {
  transform: scale(1.06);
}

.menu-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 21, 23, .8) 0%, rgba(31, 21, 23, .2) 60%, rgba(31, 21, 23, .05) 100%);
  transition: background .4s;
}

.menu-cat:hover .menu-cat-overlay {
  background: linear-gradient(to top, rgba(31, 21, 23, .88) 0%, rgba(31, 21, 23, .35) 60%, rgba(31, 21, 23, .1) 100%)
}

.menu-cat-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 1;
}

@media(min-width:768px) {
  .menu-cat-body {
    padding: 32px 28px
  }
}

.menu-cat-num {
  font-family: 'Cormorant', Georgia, serif;
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.menu-cat-name {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 8px;
}

.menu-cat-desc {
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(253, 250, 244, .65);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .4s;
  opacity: 0;
}

.menu-cat:hover .menu-cat-desc {
  max-height: 80px;
  opacity: 1
}

.menu-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap .2s;
}

.menu-cat:hover .menu-cat-link {
  gap: 10px
}

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
#gallery {
  background: #ffffff;
  padding: 80px 0 0
}

@media(min-width:768px) {
  #gallery {
    padding: 120px 0 0
  }
}

.gallery-head {
  padding: 0 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media(min-width:768px) {
  .gallery-head {
    padding: 0 40px 64px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media(min-width:1240px) {
  .gallery-head {
    max-width: calc(var(--container)+80px);
    margin: 0 auto
  }
}

.gallery-head h2 {
  color: var(--ink)
}

/* Filters Optimizados para móvil (Scroll horizontal) */
.gal-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gal-filters::-webkit-scrollbar {
  display: none;
}

.gf {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  /* Redondeado filtros de galería */
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all .2s;
}

.gf:hover {
  border-color: var(--amber);
  color: var(--amber)
}

.gf.on {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff
}

.gal-grid {
  columns: 2;
  column-gap: 16px;
  padding: 0;
}

@media(min-width:600px) {
  .gal-grid {
    columns: 3
  }
}

@media(min-width:900px) {
  .gal-grid {
    columns: 4
  }
}

.g-item {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  transition: opacity .3s;
}

.g-item.hidden {
  display: none
}

.g-item img,
.g-ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.g-item:hover img,
.g-item:hover .g-ph {
  transform: scale(1.04);
}

.g-ph {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant', Georgia, serif;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.g-ph[data-ar="1"] {
  aspect-ratio: 1;
  padding-top: 0
}

.g-ph[data-ar="tall"] {
  aspect-ratio: 3/4
}

.g-ph[data-ar="wide"] {
  aspect-ratio: 4/3
}

.g-item[data-cat="tartas"] .g-ph {
  background: linear-gradient(135deg, #C9A070, #9A7040);
  color: rgba(253, 250, 244, .25)
}

.g-item[data-cat="cookies"] .g-ph {
  background: linear-gradient(135deg, #B09060, #806830);
  color: rgba(253, 250, 244, .25)
}

.g-item[data-cat="palmeras"] .g-ph {
  background: linear-gradient(135deg, #C8B070, #988040);
  color: rgba(253, 250, 244, .25)
}

.g-item[data-cat="eventos"] .g-ph {
  background: linear-gradient(135deg, #9A7850, #685030);
  color: rgba(253, 250, 244, .25)
}

.g-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 21, 23, 0);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  transition: background .3s;
}

.g-item:hover .g-overlay {
  background: rgba(31, 21, 23, .5)
}

.g-cap {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
  line-height: 1.3;
}

.g-item:hover .g-cap {
  opacity: 1
}

.gal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px 20px;
  border-top: 1px solid var(--border-lt);
}

@media(min-width:768px) {
  .gal-foot {
    padding: 40px 40px
  }
}

@media(min-width:1240px) {
  .gal-foot {
    max-width: calc(var(--container)+80px);
    margin: 0 auto
  }
}

.gal-foot p {
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--ink-soft)
}

/* ══════════════════════════════════════
   VISIT / MAP
══════════════════════════════════════ */
#visit {
  background: var(--ivory);
  padding-top: 30px;
  padding-bottom: 140px;
}

@media(min-width:768px) {
  #visit {
    padding-top: 50px;
    padding-bottom: 200px;
  }
}

.visit-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media(min-width:768px) {
  .visit-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: stretch;
  }
}

.visit-num {
  font-family: 'Cormorant', Georgia, serif;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.visit-map-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media(min-width:768px) {
  .visit-map-container {
    height: 100%;
  }
}

.visit-map {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-radius: 24px;
}

@media(min-width:768px) {
  .visit-map {
    flex: 1;
    aspect-ratio: auto;
  }
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0
}

.hours {
  margin-top: 32px
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: .9rem;
}

.hours-row:first-child {
  border-top: 1px solid var(--border-lt)
}

.hours-row.today {
  color: var(--amber);
  font-weight: 500
}

.hours-row span:last-child {
  color: var(--ink-soft)
}

.hours-row.today span:last-child {
  color: var(--amber-lt)
}

.v-contacts {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.v-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  color: var(--ink-soft);
}

.v-contact a {
  transition: color .2s;
  padding: 4px 0;
}

.v-contact a:hover {
  color: var(--amber)
}

.v-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 600;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact {
  background: var(--parchment);
  padding-top: 120px;
  padding-bottom: 120px;
}

@media(min-width:768px) {
  #contact {
    padding-top: 180px;
    padding-bottom: 180px;
  }
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

@media(min-width:768px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
  }
}

.contact-methods {
  margin-top: 36px;
  display: flex;
  flex-direction: column
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .2s;
}

.contact-method:first-child {
  border-top: 1px solid var(--border)
}

.contact-method:hover {
  padding-left: 5px
}

.c-type {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
  display: block;
}

.c-val {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.1rem;
  color: var(--ink);
}

.c-arrow {
  color: var(--border);
  font-size: .9rem;
  transition: color .2s, transform .2s
}

.contact-method:hover .c-arrow {
  color: var(--amber);
  transform: translateX(4px)
}

.f-lbl {
  display: block;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.f-lbl .req {
  color: var(--amber)
}

.f-input {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: .95rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.f-input:focus {
  outline: none;
  border-color: var(--amber)
}

.f-input::placeholder {
  color: rgba(92, 74, 48, .3)
}

.f-wrap {
  margin-bottom: 26px
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

@media(max-width:480px) {
  .f-row {
    grid-template-columns: 1fr
  }
}

textarea.f-input {
  resize: none;
  min-height: 90px;
  padding-top: 13px
}

select.f-input {
  background: transparent;
  cursor: pointer
}

.f-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0
}

.f-check input {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--amber);
  cursor: pointer
}

.f-check label {
  font-size: .82rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.6
}

.f-check a {
  color: var(--amber);
  text-decoration: underline;
  padding: 4px 0;
}

.f-res {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  font-size: .88rem;
  line-height: 1.5;
  border-radius: 12px;
  transition: opacity .3s, transform .3s;
}

.f-res.ok {
  display: block;
  color: #155724;
  background-color: #D4EDDA;
  border: 1px solid #C3E6CB;
}

.f-res.err {
  display: block;
  color: #721C24;
  background-color: #F8D7DA;
  border: 1px solid #F5C6CB;
}

.f-input.input-error {
  border-color: #E74C3C !important;
  background-color: rgba(231, 76, 60, 0.06) !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.f-check.check-error {
  background-color: rgba(231, 76, 60, 0.08);
  border: 1px solid #E74C3C;
  border-radius: 8px;
  padding: 8px 12px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: #4A0D1B;
  padding: 64px 0 0
}

@media(min-width:768px) {
  footer {
    padding: 80px 0 0
  }
}

.foot-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media(min-width:600px) {
  .foot-top {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:900px) {
  .foot-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr
  }
}

.foot-top {
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .15)
}

.foot-brand-name {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: -.01em;
  display: block;
  margin-bottom: 5px;
}

.foot-brand-sub {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

.foot-about {
  font-size: .875rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(250, 245, 239, .85);
  margin-bottom: 24px;
  max-width: 260px
}

.foot-social {
  display: flex;
  gap: 8px
}

.foot-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: border-color .22s, color .22s, transform .22s;
  border-radius: 50%;
}

.foot-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.08);
  z-index: 1;
}

.foot-social a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .22s;
}

.foot-col h4 {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(250, 245, 239, .75);
  margin-bottom: 20px;
}

.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.foot-col ul a {
  font-size: .875rem;
  font-weight: 300;
  color: rgba(250, 245, 239, .85);
  transition: color .2s;
  display: inline-block;
  padding: 4px 0;
}

.foot-col ul a:hover {
  color: var(--ivory)
}

.foot-nl-desc {
  font-size: .875rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 245, 239, .85);
  margin-bottom: 18px
}

.foot-nl-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, .3)
}

.foot-nl-row input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 11px 0;
  font-size: .875rem;
  font-weight: 300;
  color: var(--ivory);
}

.foot-nl-row input::placeholder {
  color: rgba(250, 245, 239, .5)
}

.foot-nl-row input:focus {
  outline: none
}

.foot-nl-row button {
  padding: 11px 0 11px 14px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  transition: color .2s;
}

.foot-nl-row button:hover {
  color: var(--ivory)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.foot-bottom p {
  font-size: .72rem;
  letter-spacing: .03em;
  color: rgba(250, 245, 239, .85)
}

.foot-address-link {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
  border-bottom: 1px dashed rgba(250, 245, 239, .3)
}

.foot-address-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold)
}

/* ══════════════════════════════════════
   SCROLL REVEAL & WHATSAPP
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* Flechas del hero slider */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(31, 21, 23, 0.3);
  border: 1px solid rgba(253, 250, 244, 0.15);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

#hero:hover .hero-arrow {
  opacity: 1;
  pointer-events: auto;
}

.hero-arrow:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow-prev {
  left: 20px;
}

.hero-arrow-next {
  right: 20px;
}

@media(max-width: 768px) {
  .hero-arrow {
    display: none;
  }
}

/* WhatsApp y Contenedor */
.wa-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wa-float {
  position: static;
  width: 56px;
  height: 56px;
  transition: transform .3s ease, box-shadow .3s ease;
  border-radius: 50%;
  animation: wa-pulse 2s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.5);
}

.wa-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media(max-width:768px) {
  .wa-container {
    bottom: 16px;
    right: 16px;
  }

  .wa-float {
    width: 50px;
    height: 50px;
  }
}

.wa-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--ivory);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(31, 21, 23, 0.15);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 10px;
  height: 10px;
  background: var(--ivory);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}

.wa-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Botones de contacto lateral flotante unificados (Teléfono, Email y WhatsApp) */
.side-contact-buttons {
  position: fixed;
  right: 0;
  top: 75%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--ink);
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 4px 18px rgba(31, 21, 23, 0.25);
}

.side-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: var(--ivory);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  text-decoration: none;
}

.side-contact-btn:first-child {
  border-radius: 12px 0 0 0;
}

.side-contact-btn:last-child {
  border-radius: 0 0 0 12px;
}

.side-contact-btn:hover {
  background: var(--amber);
  color: var(--ivory);
  transform: translateX(-3px);
}

.side-contact-btn.side-wa-btn {
  background: #25D366;
  color: #ffffff;
}

.side-contact-btn.side-wa-btn:hover {
  background: #1eaa4e;
  color: #ffffff;
  transform: translateX(-3px);
}

.side-contact-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.side-contact-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.side-contact-btn:hover svg,
.side-contact-btn:hover img {
  transform: scale(1.1);
}

.side-contact-btn .tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--ink);
  color: var(--ivory);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.25);
  margin-right: 10px;
  z-index: 1001;
}

.side-contact-btn .tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--ink);
  transition: border-color 0.3s ease;
}

.side-contact-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  background: var(--amber);
}

.side-contact-btn:hover .tooltip::after {
  border-color: transparent transparent transparent var(--amber);
}

.side-contact-btn.side-wa-btn:hover .tooltip {
  background: #1eaa4e;
}

.side-contact-btn.side-wa-btn:hover .tooltip::after {
  border-color: transparent transparent transparent #1eaa4e;
}

/* Botón Volver al principio (Back to Top) */
.side-contact-btn.back-to-top-btn {
  background: var(--ink);
  color: var(--ivory);
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin: 0;
  height: 0;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
              opacity 0.35s ease,
              visibility 0.35s ease,
              background 0.3s ease,
              color 0.3s ease,
              transform 0.3s ease;
  border-radius: 0 0 0 12px;
}

.side-contact-btn.back-to-top-btn.visible {
  height: 48px;
  opacity: 1;
  visibility: visible;
}

.side-contact-btn.back-to-top-btn:hover {
  background: var(--amber);
  color: #FFFFFF;
  transform: translateX(-3px);
}

.side-contact-btn.back-to-top-btn svg {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.3;
  transition: transform 0.3s ease, color 0.3s ease;
}

.side-contact-btn.back-to-top-btn svg circle,
.side-contact-btn.back-to-top-btn svg path {
  fill: none !important;
  stroke: currentColor !important;
}

.side-contact-btn.back-to-top-btn:hover svg {
  transform: translateY(-2px) scale(1.1);
}

@media (max-width: 768px) {
  .side-contact-buttons {
    top: 80%;
  }

  .side-contact-btn {
    width: 42px;
    height: 42px;
  }

  .side-contact-btn.side-wa-btn img {
    width: 30px;
    height: 30px;
  }

  .side-contact-btn.back-to-top-btn.visible {
    height: 42px;
  }

  .side-contact-btn.back-to-top-btn svg {
    width: 28px;
    height: 28px;
  }

  .side-contact-btn svg {
    width: 26px;
    height: 26px;
  }

  .side-contact-btn .tooltip {
    display: none;
  }
}

.google-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 21, 23, 0.12);
  border-color: var(--gold) !important;
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(31, 21, 23, .95);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 60px rgba(0, 0, 0, .5);
  transform: scale(0.95);
  transition: transform .4s ease, opacity .25s ease;
}

.lightbox.show #lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--ivory);
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--ivory);
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s;
  z-index: 1010;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.05);
}

.lightbox-close {
  top: 30px;
  right: 30px;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 15px;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-next {
    right: 15px;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
  }
}

/* FAQ Styles */
#faq {
  padding: 100px 0;
}

@media(min-width:768px) {
  #faq {
    padding: 150px 0;
  }
}

details.faq-item::-webkit-details-marker {
  display: none;
}

details.faq-item {
  transition: all 0.3s ease;
}

details.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

/* ══════════════════════════════════════
   SOCIAL FEED SECTION
══════════════════════════════════════ */
#social-feed {
  background: var(--ivory);
  padding: 80px 0;
}
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}
@media(min-width:768px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media(min-width:1100px) {
  .social-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
.social-card {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  height: 72px; /* Altura fija para alinear el comienzo de las imágenes */
  border-bottom: 1px solid var(--border-lt);
}
.sc-avatar {
  width: 50px;
  height: 40px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}
.sc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sc-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-name .verified {
  color: #1877F2;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.sc-handle {
  font-size: 0.75rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-badge {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  transition: all 0.3s ease;
}
.sc-badge-text {
  display: none;
}
@media(min-width: 768px) {
  .sc-badge {
    width: auto;
    height: auto;
    padding: 6px 12px;
    border-radius: 20px;
    gap: 6px;
  }
  .sc-badge-text {
    display: inline;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}
.sc-badge.instagram { background: #E1306C; }
.sc-badge.tiktok { background: #000; border: 1px solid rgba(255,255,255,0.15); }
.sc-badge.facebook { background: #1877F2; }
.sc-badge.pinterest { background: #BD081C; }
.sc-badge svg,
.sc-badge img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.sc-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #000;
}
.sc-media img, .sc-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.social-card:hover .sc-media img, .social-card:hover .sc-media video {
  transform: scale(1.03);
}
.sc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,17,8,0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.social-card:hover .sc-overlay {
  opacity: 1;
}
.sc-btn {
  background: var(--ivory);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.sc-btn:hover {
  background: var(--amber);
  color: #fff;
  transform: scale(1.05);
}
.sc-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.sc-caption {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.sc-hashtags {
  color: var(--amber);
  font-weight: 400;
}
.sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-lt);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.sc-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sc-action {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sc-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.sc-date {
  font-size: 0.7rem;
  color: rgba(92, 74, 48, 0.6);
}
.sc-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  pointer-events: none;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 1;
}
.social-card:hover .sc-play-icon {
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
}

/* ══════════════════════════════════════
   FORMULARIO INTERACTIVO CHECKLIST TARTAS & ENCARGOS
══════════════════════════════════════ */
.notice-box-wa {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--ink);
}

.notice-box-wa-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.notice-box-wa a {
  color: #128C7E;
  font-weight: 600;
  text-decoration: underline;
}

.chk-section {
  margin-bottom: 22px;
}

.chk-title {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 600;
}

.chk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.chk-item {
  position: relative;
}

.chk-item input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  margin: 0;
}

.chk-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--ink);
  background: var(--ivory);
  transition: all .2s ease;
  height: 100%;
  user-select: none;
  pointer-events: none;
  font-weight: 500;
}

.chk-item input:checked+label {
  border-color: var(--amber);
  background: rgba(138, 30, 53, 0.12);
  color: var(--amber);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--amber);
}

.chk-custom-box {
  display: none;
  margin-top: 10px;
  transition: all .3s ease;
}

.chk-custom-box.show {
  display: block;
}

.f-file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px dashed var(--amber);
  border-radius: 10px;
  background: rgba(184, 115, 42, 0.04);
  cursor: pointer;
  font-size: .85rem;
  color: var(--ink-soft);
  transition: all .2s ease;
}

.f-file-label:hover {
  background: rgba(184, 115, 42, 0.1);
}

.f-file-name {
  font-size: .8rem;
  color: var(--amber);
  margin-top: 6px;
  font-weight: 500;
}

.btn-wa-direct {
  background: #25D366;
  color: #FFFFFF !important;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  cursor: pointer;
  border: none;
}

.btn-wa-direct:hover {
  background: #128C7E;
  transform: translateY(-1px);
}

