/* ==========================================================================
   NESHAMÁ SABORES — 01 / EDITORIAL ARTESANAL
   Sitio Oficial (neshama.com.ar)
   ========================================================================== */

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Paleta Editorial Artesanal */
  --bg-cream: #FAF7F5;
  --bg-cream-alt: #F2EBE9;
  --surface-white: #FFFCFA;

  --burgundy: #9B2432;
  --burgundy-hover: #761A26;
  --burgundy-soft: rgba(155, 36, 50, 0.08);

  --gold: #B68C92;
  --gold-light: #F0DCD5;

  --text-dark: #342C30;
  --text-muted: #70666B;
  --text-light: #96898F;

  --border-line: #E6DDDF;

  --container-max: 1220px;
  --transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-burgundy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: var(--burgundy);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.72rem 1.35rem;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-burgundy:hover {
  background-color: var(--burgundy-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(155, 36, 50, 0.22);
}

.btn-burgundy svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-outline-burgundy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.68rem 1.3rem;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-outline-burgundy:hover {
  background-color: var(--burgundy);
  color: #FFFFFF;
}

.btn-outline-burgundy svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 247, 245, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  border-bottom: 1px solid var(--border-line);
}

/* Logo original de la marca */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  display: block;
  width: 140px;
  height: 80px;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: url(#brand-color);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dark);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--burgundy);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background-color: var(--burgundy);
  transition: var(--transition);
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  color: var(--text-dark);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.75px;
  background-color: var(--text-dark);
  transition: var(--transition);
  margin-left: auto;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section (Split Editorial with Seamless Photo Blend)
   ========================================================================== */
.hero {
  position: relative;
}

.hero-wrapper {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-text-col {
  position: relative;
  z-index: 3;
  width: 44%;
  padding: 3.4rem 0 3.2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 5.2vw, 4.75rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--burgundy);
}

.hero-divider {
  width: 32px;
  height: 1.5px;
  background-color: var(--gold);
  margin: 1.45rem 0;
}

.hero-description {
  font-size: 1.02rem;
  line-height: 1.58;
  color: var(--text-dark);
  margin-bottom: 1.85rem;
  max-width: 340px;
}

.hero-cta-btn {
  padding: 0.85rem 1.65rem;
  font-size: 0.94rem;
}

.hero-cta-btn .arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.hero-cta-btn:hover .arrow {
  transform: translateX(4px);
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-location svg {
  width: 14px;
  height: 14px;
  fill: var(--burgundy);
  flex-shrink: 0;
}

/* Right Blended Image Area */
.hero-image-col {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 66%;
  z-index: 1;
}

.hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Soft Left-to-Right Gradient Fade so text column melts into image */
.hero-image-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg-cream) 0%,
    rgba(250, 247, 245, 0.92) 11%,
    rgba(250, 247, 245, 0.45) 24%,
    rgba(250, 247, 245, 0) 40%
  );
  z-index: 2;
  pointer-events: none;
}

.mobile-location-bar {
  display: none;
}

/* ==========================================================================
   3-Column Proposals Section (Catering, Cocina Tradicional, Mesas Dulces)
   ========================================================================== */
.proposals-section {
  border-top: 1px solid var(--border-line);
  padding: 2rem 0 3.25rem;
}

.proposals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.proposal-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  group: true;
}

.proposal-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9.4;
  border-radius: 3px;
  overflow: hidden;
  background-color: var(--bg-cream-alt);
}

.proposal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.proposal-card:hover .proposal-img-wrap img {
  transform: scale(1.05);
}

.proposal-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
}

.proposal-text {
  display: flex;
  flex-direction: column;
}

.proposal-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--burgundy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.proposal-line {
  width: 28px;
  height: 1.5px;
  background-color: var(--gold);
  margin-top: 0.45rem;
  transition: width 0.3s ease;
}

.proposal-card:hover .proposal-line {
  width: 48px;
}

.proposal-arrow {
  display: none;
  color: var(--burgundy);
  font-size: 1.15rem;
}

/* ==========================================================================
   Nuestra Cocina en Instagram (@neshamasabores)
   ========================================================================== */
.kitchen-section {
  border-top: 1px solid var(--border-line);
  padding: 3.5rem 0 4rem;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 500;
  color: var(--burgundy);
  line-height: 1.1;
}

.ig-reel-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.ig-card {
  position: relative;
  aspect-ratio: 1 / 1;
  text-align: left;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--bg-cream-alt);
}

.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ig-card:hover img {
  transform: scale(1.06);
}

.ig-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 14, 18, 0.82) 0%, rgba(45, 14, 18, 0.15) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #FFF;
  opacity: 0.9;
  transition: var(--transition);
}

.ig-card:hover .ig-card-overlay {
  opacity: 1;
}

.ig-card-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.ig-card-caption {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
}

/* Real photography, location and attributed Google reviews */
.traditional-photo { object-position: left 65%; }

.location-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-line);
  scroll-margin-top: 100px;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: center;
}

.location-address { margin: 1.25rem 0 0.75rem; font-size: 1.15rem; }
.location-description { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.mobile-sticky-wa { display: none; }
.reviews-section { padding-bottom: 3.5rem; }
.reviews-section .reviews-header { margin-top: 0; }
.location-map { display: block; width: 100%; height: 360px; border: 1px solid var(--border-line); border-radius: 4px; background: var(--bg-cream-alt); }
.reviews-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.5rem; margin: 3rem 0 1.5rem; }
.review-summary { display: flex; flex-direction: column; gap: 0.25rem; color: var(--burgundy); font-size: 0.85rem; }
.review-summary strong { font-size: 1.4rem; }
.review-summary strong span { font-size: 1rem; letter-spacing: 0.08em; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.review-card { padding: 1.5rem; background: var(--surface-white); border: 1px solid var(--border-line); border-radius: 4px; }
.review-card[hidden] { display: none; }
.reviews-carousel.is-ready .reviews-grid { align-items: stretch; }
.reviews-carousel.is-ready .review-card { display: flex; flex-direction: column; min-height: 264px; }
.reviews-carousel.is-ready .review-card[hidden] { display: none; }
.reviews-carousel.is-ready .review-card figcaption { margin-top: auto; }
.reviews-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.reviews-controls[hidden] { display: none; }
.review-control { min-width: 44px; min-height: 44px; padding: 0.5rem 0.85rem; border: 1px solid var(--border-line); border-radius: 4px; color: var(--burgundy); background: var(--surface-white); font-size: 1rem; }
.review-control:hover { background: var(--burgundy-soft); border-color: var(--burgundy); }
.review-control:active { background: var(--bg-cream-alt); }
.reviews-position { min-width: 5.5rem; text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.review-stars { color: var(--burgundy); letter-spacing: 0.12em; }
.review-card blockquote { margin: 0.75rem 0 1.25rem; font-size: 1rem; line-height: 1.65; }
.review-card figcaption { color: var(--burgundy); font-size: 0.9rem; }
.review-card figcaption span { display: block; color: var(--text-muted); font-size: 0.75rem; margin-top: 0.25rem; }
a:focus-visible, button:focus-visible, iframe:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 4px; }

@media (min-width: 769px) and (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; height: auto; min-height: 92px; padding: 1rem 0; gap: 1rem; }
  .nav-links { gap: 1rem; }
}

@media (max-width: 768px) {
  .location-grid, .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .reviews-carousel.is-ready .review-card { min-height: 360px; }
  .location-section { padding: 2.5rem 0; scroll-margin-top: 80px; }
  .location-map { height: 300px; }
}

/* ==========================================================================
   Minimal Editorial Contact & Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-line);
  padding: 3rem 0;
  background-color: var(--bg-cream-alt);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(32, 18, 20, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-dialog {
  background: var(--bg-cream);
  border-radius: 6px;
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--burgundy-soft);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--burgundy);
  color: #FFF;
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lightbox-img-pane {
  background: #1B1415;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-pane img {
  width: 100%;
  height: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-info-pane {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.4rem;
  display: block;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--burgundy);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.lightbox-caption {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.lightbox-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile matching exact Reference Mockup)
   ========================================================================== */
@media (max-width: 1024px) {
  .ig-reel-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .hero-wrapper { min-height: 440px; }
  .hero-text-col { width: 48%; padding: 2.5rem 0; }
  .hero-title { font-size: clamp(2.7rem, 5.5vw, 3.4rem); }
  .hero-description { font-size: 0.95rem; }
  .hero-image-col { width: 62%; }
  .hero-cta-btn { padding: 0.85rem 1.1rem; font-size: 0.88rem; }
  .proposals-grid { gap: 1rem; }
  .proposal-title { font-size: 1.4rem; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.35rem;
  }

  .header-inner {
    height: 74px;
  }

  .brand-logo {
    width: 108px;
    height: 62px;
  }

  .header-cta {
    display: none;
  }

  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .mobile-sticky-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 54px;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: var(--burgundy);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  }
  .mobile-sticky-wa svg { width: 18px; height: 18px; fill: currentColor; }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background-color: var(--bg-cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.35rem;
    gap: 1.15rem;
    border-bottom: 1px solid var(--border-line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

}

/* Stack the hero and proposals only when two columns stop fitting. */
@media (max-width: 600px) {
  .hero-wrapper {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .hero-text-col {
    width: 100%;
    padding: 1.75rem 0 1.4rem;
  }

  .hero-title {
    font-size: 2.65rem;
    line-height: 1.02;
  }

  .hero-title br { display: none; }

  .hero-divider {
    display: none;
  }

  .hero-description {
    margin-top: 0.75rem;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .hero-cta-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-location {
    display: none;
  }

  .hero-image-col {
    position: relative;
    width: calc(100% + 2.7rem);
    margin-left: -1.35rem;
    margin-right: -1.35rem;
    height: 220px;
  }

  .hero-image-col::before {
    display: none;
  }

  .mobile-location-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-line);
  }

  .mobile-location-bar svg {
    width: 13px;
    height: 13px;
    fill: var(--burgundy);
  }

  /* Mobile Proposals List (Horizontal Rows with Thumbnail + Title + Arrow) */
  .proposals-section {
    border-top: none;
    padding: 0.25rem 0 1.5rem;
  }

  .proposals-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .proposal-card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-line);
  }

  .proposal-img-wrap {
    width: 105px;
    height: 70px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  .proposal-info {
    margin-top: 0;
    flex: 1;
  }

  .proposal-title {
    font-size: 1.25rem;
  }

  .proposal-arrow {
    display: inline-block;
  }

}

@media (max-width: 768px) {
  .ig-reel-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
  }

  .lightbox-img-pane {
    max-height: 300px;
  }

  .lightbox-info-pane {
    padding: 1.5rem;
  }
}
