/* ============================================================
   SABORES A LA PEDRA — Sitio Web Moderno 2025
   ============================================================ */

/* ---- Variables & Reset ---- */
:root {
  --green-dark:    #0F2D18;
  --green-main:    #1A5C2E;
  --green-mid:     #2A7D44;
  --green-light:   #3DAB60;
  --gold:          #E8A020;
  --gold-light:    #F5C050;
  --cream:         #F5EED8;
  --bg:            #080C09;
  --bg-2:          #0F1910;
  --bg-card:       #111A12;
  --bg-card-hover: #162119;
  --text:          #F0EDE4;
  --text-muted:    #8A9B8E;
  --border:        rgba(42,125,68,0.18);
  --shadow:        0 8px 32px rgba(0,0,0,0.45);
  --radius:        14px;
  --radius-lg:     22px;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --transition:    0.35s cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display:block; max-width:100%; height:auto; }
a   { color:inherit; text-decoration:none; }
ul  { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

/* ---- Typography ---- */
/* Ensure fonts load before paint */
body { font-display: swap; }

.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-title.light { color: #fff; }

.section-title .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-light) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(42,125,68,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,125,68,0.5);
  filter: brightness(1.1);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}
.btn-outline-sm:hover {
  border-color: var(--green-light);
  color: var(--green-light);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.4rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  background: #25D366;
  color: #fff;
  transition: var(--transition);
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  filter: brightness(1.08);
}

.btn-full { width: 100%; justify-content: center; }
.mt-2    { margin-top: 2rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(8,12,9,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.nav-logo-text em {
  color: var(--gold);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-links a {
  padding: .45rem .9rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(240,237,228,0.8);
  transition: var(--transition);
}
.nav-links a:hover  { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--gold); }

.nav-links .nav-cta {
  margin-left: .5rem;
  padding: .5rem 1.2rem;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { filter:brightness(1.12); background: linear-gradient(135deg, var(--green-mid), var(--green-light)); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;   /* recorta el texto desbordado */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* ---- Hero Slideshow ---- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  z-index: 0;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.hero-slide.active img { transform: scale(1); }

/* Indicadores del slideshow */
.hero-dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: .5rem;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active,
.hero-dot:hover {
  background: var(--gold);
  transform: scale(1.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Más oscuro a la izquierda (texto), más abierto a la derecha (banners) */
  background: linear-gradient(
    to right,
    rgba(8,12,9,0.88) 0%,
    rgba(8,12,9,0.72) 45%,
    rgba(8,12,9,0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  padding-top: 7rem;
  padding-bottom: 5rem;
  width: 100%;
}

/* limitar el ancho del texto para que no desborde */
.hero-title,
.hero-eyebrow,
.hero-subtitle,
.hero-actions,
.hero-badges {
  max-width: 600px;
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 16ch;
}

.hero-accent {
  color: var(--gold);
  /* gradient con fallback sólido */
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* fallback para navegadores sin soporte */
  display: inline;
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  color: rgba(240,237,228,0.75);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  font-size: .82rem;
  font-weight: 500;
  color: rgba(240,237,228,0.85);
}
.badge i { color: var(--gold); font-size: .9rem; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: .8rem;
  animation: bounce 2s infinite;
  transition: var(--transition);
}
.hero-scroll:hover { border-color: var(--gold); color: var(--gold); }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--bg-2);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
}
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-img-secondary:hover img { transform: scale(1.06); }

.about-stat {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232,160,32,0.4);
}
.stat-number { display:block; font-family:var(--font-display); font-size:2rem; font-weight:800; line-height:1; }
.stat-label  { display:block; font-size:.7rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; opacity:.75; margin-top:.25rem; }

.about-text {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text-muted);
}
.about-features i {
  color: var(--green-light);
  flex-shrink: 0;
  margin-top: .15rem;
}

/* ============================================================
   SPECIALTIES
   ============================================================ */
.specialties { background: var(--bg); }

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.5rem;
}

.specialty-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
}
.specialty-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--green-mid);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.specialty-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,92,46,0.4), rgba(61,171,96,0.15));
  border: 1px solid rgba(61,171,96,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--green-light);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.specialty-card:hover .specialty-icon {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff;
  border-color: transparent;
}

.specialty-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
}
.specialty-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FOOD STRIP (auto-scroll)
   ============================================================ */
.food-strip {
  overflow: hidden;
  height: 220px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.food-strip-track {
  display: flex;
  gap: 12px;
  height: 100%;
  animation: scroll-strip 32s linear infinite;
  width: max-content;
}
.food-strip-track:hover { animation-play-state: paused; }

.food-strip-track img {
  height: 100%;
  width: 280px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
  filter: brightness(.85) saturate(1.1);
  transition: filter .4s;
}
.food-strip-track img:hover { filter: brightness(1) saturate(1.3); }

@keyframes scroll-strip {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations { background: var(--bg-2); }

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.location-card:hover {
  border-color: var(--green-mid);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.location-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.location-img img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .6s ease;
}
.location-card:hover .location-img img { transform:scale(1.06); }

.location-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .35rem .9rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.location-body { padding: 1.75rem; }

.location-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.location-info { margin-bottom: 1.25rem; }
.location-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.location-row i  { color: var(--green-light); flex-shrink:0; margin-top:.15rem; }
.location-row a  { color: var(--text-muted); transition:color .2s; }
.location-row a:hover { color: var(--green-light); }

.location-schedule h4 {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.location-schedule i { color: var(--gold); }
.location-schedule ul { display:flex; flex-direction:column; gap:.35rem; }
.location-schedule li {
  display: flex;
  justify-content: space-between;
  font-size: .87rem;
  color: var(--text-muted);
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--border);
}
.location-schedule li:last-child { border:none; }
.location-schedule strong { color: var(--text); }

.location-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   CATERING
   ============================================================ */
.catering {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}

.catering-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.catering-bg img {
  width:100%;
  height:100%;
  object-fit:cover;
  filter: blur(2px) brightness(.35) saturate(.8);
}
.catering-overlay {
  position:absolute;
  inset:0;
  background: linear-gradient(100deg, rgba(8,12,9,0.97) 0%, rgba(8,12,9,0.72) 55%, rgba(8,12,9,0.5) 100%);
}

.catering .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.catering-text {
  color: rgba(240,237,228,0.75);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  max-width: 48ch;
}

.catering-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
}
.catering-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  color: rgba(240,237,228,0.8);
}
.catering-list i { color: var(--gold); }

.catering-actions { display:flex; flex-wrap:wrap; gap:1rem; }

/* Catering swiper */
.catering-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.catering-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.swiper-pagination-bullet { background: rgba(255,255,255,.5); }
.swiper-pagination-bullet-active { background: var(--gold); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(15,45,24,0.55);
  opacity: 1;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  color: inherit;
}
.contact-channel:hover {
  border-color: var(--green-mid);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}
.contact-channel strong { display:block; font-size:.85rem; color:var(--text); }
.contact-channel span  { display:block; font-size:.9rem; color:var(--text-muted); }

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.channel-icon.wa    { background: rgba(37,211,102,0.15); color:#25D366; }
.channel-icon.phone { background: rgba(42,125,68,0.15);  color:var(--green-light); }

.social-links {
  display: flex;
  gap: .75rem;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-icon:hover {
  border-color: var(--green-light);
  color: var(--green-light);
  background: rgba(61,171,96,0.1);
  transform: translateY(-2px);
}

/* ---- Contact Form ---- */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity:.6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-mid); background: rgba(42,125,68,0.06); }
.form-group select { cursor:pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* Estados de validación */
.form-group input.field-error,
.form-group textarea.field-error {
  border-color: #f87171;
  background: rgba(248,113,113,0.06);
}
.form-group input.field-ok,
.form-group textarea.field-ok {
  border-color: var(--green-light);
}
.field-msg {
  display: block;
  font-size: .78rem;
  color: #f87171;
  margin-top: .3rem;
  min-height: 1em;
}

/* Toast de notificación */
.site-toast {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  font-size: .9rem;
  color: var(--text);
  max-width: 340px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.site-toast--show {
  opacity: 1;
  transform: translateY(0);
}
.site-toast--success i { color: var(--green-light); font-size: 1.1rem; }
.site-toast--error   i { color: #f87171;            font-size: 1.1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer-brand p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 30ch;
}

.footer-links h4,
.footer-locations h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links ul { display:flex; flex-direction:column; gap:.5rem; }
.footer-links a {
  font-size: .9rem;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--green-light); }

.footer-location {
  margin-bottom: 1.5rem;
}
.footer-location strong { display:block; color:var(--text); margin-bottom:.35rem; }
.footer-location p,
.footer-location a {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color .2s;
}
.footer-location a:hover { color: var(--green-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .83rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom i { color: #e05; }

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .85rem 0;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-muted);
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color .2s;
}
.footer-credit-link:hover { color: var(--green-light); }
.footer-credit-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
  display: inline-block;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.6);
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  padding: .4rem .85rem;
  border-radius: 50px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  overflow: hidden;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ============================================================
   SCROLL ANIMATIONS
   Visible por defecto; se ocultan solo cuando JS inicializó el observer
   ============================================================ */
.scroll-reveal {
  transition: opacity .7s ease, transform .7s ease;
}

/* Solo aplicar ocultamiento cuando JS haya confirmado que funciona */
.js-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.scroll-reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid        { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-images      { max-width: 480px; margin: 0 auto; }
  .catering .container { grid-template-columns: 1fr; gap: 3rem; }
  .catering-content  { max-width: 560px; }
  .contact-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .gallery-grid      { grid-template-columns: repeat(3,1fr); }
  .gallery-item--large { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  /* Nav */
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(8,12,9,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: .25rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a        { padding: .9rem 1rem; border-radius: 10px; font-size: 1rem; }
  .nav-links .nav-cta { margin-left:0; text-align:center; justify-content:center; }
  .nav-toggle         { display: flex; }

  /* Hero */
  .hero-title    { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .hero-actions  { flex-direction: column; }
  .hero-actions .btn { text-align:center; justify-content:center; }

  /* About */
  .about-img-secondary { display:none; }
  .about-stat { top:auto; right:1rem; bottom:1rem; }

  /* Locations */
  .locations-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--large,
  .gallery-item--tall { grid-column:span 1; grid-row:span 1; }
  .gallery-item { aspect-ratio: 1; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; text-align:center; }

  /* Lightbox nav */
  .lightbox-prev { left:.75rem; }
  .lightbox-next { right:.75rem; }
}

@media (max-width: 480px) {
  .hero-badges { display:none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4/3; }
}
