/* Soda La Casona — reusable soda / comida casera template (Garage Web Tech demo) */
:root {
  /* Single offset for Garage bar: margin on .soda-topbar clears fixed nav; body has no padding-top (avoids double “stripe”) */
  --soda-gwt-offset: var(--gwt-site-navbar-offset, calc(0.8rem + 0.8rem + 2.25rem + 2px));
  --soda-topbar-est-h: 3.35rem;
  --soda-cream: #f7f1e8;
  --soda-cream-deep: #efe6d8;
  --soda-paper: #fffdf9;
  --soda-warm-white: #fffaf5;
  --soda-terracotta: #c2543a;
  --soda-terracotta-dark: #9e3f2a;
  --soda-terracotta-soft: rgba(194, 84, 58, 0.12);
  --soda-olive: #4f5d42;
  --soda-olive-soft: #5c6b4d;
  --soda-ink: #2a221c;
  --soda-muted: #6b5e54;
  --soda-gold: #c9985e;
  --soda-gold-light: #e8d4b8;
  --soda-radius: 14px;
  --soda-radius-sm: 10px;
  --soda-shadow: 0 8px 32px rgba(42, 34, 28, 0.08);
  --soda-shadow-hover: 0 14px 40px rgba(42, 34, 28, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body.soda-page {
  margin: 0;
  padding-top: 0;
  display: flow-root;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--soda-ink);
  background: var(--soda-paper);
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  line-height: 1.22;
  color: var(--soda-ink);
}

/* Offset lives here only: clears fixed .site-navbar; sticky top matches so bar pins under Garage on scroll */
.soda-topbar {
  margin-top: var(--soda-gwt-offset);
  position: sticky;
  top: var(--soda-gwt-offset);
  z-index: 1020;
  background: linear-gradient(180deg, #c45c42 0%, var(--soda-terracotta) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(42, 34, 28, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* In-page anchors: clear Garage bar + sticky demo bar */
body.soda-page section[id] {
  scroll-margin-top: calc(var(--soda-gwt-offset) + var(--soda-topbar-est-h));
}

.soda-topbar__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.72rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.soda-topbar__brand {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.soda-topbar__brand:hover {
  color: #fff5e8;
}

.soda-topbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.soda-topbar__nav a {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.soda-topbar__nav a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* Hero */
.soda-hero {
  position: relative;
  min-height: min(68vh, 620px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--soda-ink) center/cover no-repeat;
  color: #fff;
}

@media (min-width: 768px) {
  .soda-hero {
    align-items: center;
    min-height: min(72vh, 640px);
  }
}

.soda-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(42, 34, 28, 0.55) 0%,
    rgba(42, 34, 28, 0.35) 38%,
    rgba(42, 34, 28, 0.75) 100%
  );
}

.soda-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem clamp(2.25rem, 4vw, 3rem);
  width: 100%;
}

@media (min-width: 768px) {
  .soda-hero__content {
    text-align: center;
    max-width: 48rem;
  }
}

.soda-hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.soda-hero__title {
  font-size: clamp(2.1rem, 5.5vw, 3.15rem);
  margin: 0 0 0.65rem;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
}

.soda-hero__tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  opacity: 0.96;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .soda-hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

.soda-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .soda-hero__actions {
    justify-content: center;
  }
}

.soda-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.55rem;
  background: var(--soda-terracotta);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(194, 84, 58, 0.35);
}

.soda-btn:hover {
  background: var(--soda-terracotta-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(194, 84, 58, 0.4);
}

.soda-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.soda-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.soda-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.soda-btn--outline {
  background: #fff;
  color: var(--soda-terracotta) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.soda-btn--outline:hover {
  background: #fffaf5;
  color: var(--soda-terracotta-dark) !important;
}

/* Sections */
.soda-section {
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
}

.soda-section--cream {
  background: var(--soda-cream);
}

.soda-section--warm {
  background: linear-gradient(180deg, var(--soda-warm-white) 0%, var(--soda-cream) 100%);
}

.soda-section__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.soda-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.soda-section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.soda-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--soda-terracotta);
  margin-bottom: 0.45rem;
}

.soda-heading {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  margin: 0 0 0.65rem;
}

.soda-section h2.soda-heading {
  margin-bottom: 0.65rem;
}

.soda-lead {
  font-size: 1.12rem;
  color: var(--soda-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.soda-lead--tight {
  margin-bottom: 0;
}

.soda-prose {
  max-width: 54ch;
  color: var(--soda-muted);
}

.soda-prose p {
  margin: 0 0 1rem;
}

.soda-prose p:last-child {
  margin-bottom: 0;
}

.soda-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.35rem;
  align-items: center;
}

.soda-about__img {
  border-radius: var(--soda-radius);
  box-shadow: var(--soda-shadow-hover);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(201, 152, 94, 0.25);
}

/* Menu */
.soda-menu-category {
  margin-bottom: clamp(2.5rem, 5vw, 3.25rem);
}

.soda-menu-category:last-child {
  margin-bottom: 0;
}

.soda-menu-category__title {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin: 0 0 1.35rem;
  padding-bottom: 0.65rem;
  border-bottom: 3px solid var(--soda-gold-light);
  display: inline-block;
  min-width: min(100%, 280px);
}

.soda-menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .soda-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.soda-menu-card {
  display: grid;
  grid-template-columns: minmax(100px, 128px) 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  background: #fff;
  border-radius: var(--soda-radius-sm);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--soda-shadow);
  border: 1px solid rgba(201, 152, 94, 0.22);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.soda-menu-card:hover {
  box-shadow: var(--soda-shadow-hover);
  transform: translateY(-2px);
}

.soda-menu-card__img {
  width: 100%;
  max-width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 10px;
}

.soda-menu-card__img-link {
  display: block;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(42, 34, 28, 0.1);
}

.soda-menu-card__img-link:focus-visible {
  outline: 2px solid var(--soda-terracotta);
  outline-offset: 3px;
}

.soda-menu-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.4rem;
}

.soda-menu-card__name {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.06rem;
  font-weight: 700;
  margin: 0;
  flex: 1 1 auto;
  line-height: 1.3;
}

.soda-menu-card__dots {
  flex: 1 1 40px;
  border-bottom: 1px dotted rgba(107, 94, 84, 0.4);
  min-width: 1.5rem;
  margin: 0 0.2rem;
  height: 0;
  align-self: center;
}

.soda-menu-card__price {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--soda-terracotta);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.soda-menu-card__desc {
  margin: 0;
  font-size: 0.94rem;
  color: var(--soda-muted);
  line-height: 1.5;
}

/* Gallery */
.soda-gallery-head {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.soda-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .soda-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 992px) {
  .soda-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.soda-gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--soda-radius-sm);
  overflow: hidden;
  box-shadow: var(--soda-shadow);
  border: 1px solid rgba(201, 152, 94, 0.2);
}

.soda-gallery-item a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.soda-gallery-item__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .soda-gallery-item__bg {
    transition: none;
  }

  .soda-menu-card:hover,
  .soda-btn:hover {
    transform: none;
  }
}

.soda-gallery-item a:hover .soda-gallery-item__bg,
.soda-gallery-item a:focus-visible .soda-gallery-item__bg {
  transform: scale(1.05);
}

.soda-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 34, 28, 0.82) 0%, transparent 58%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem 1rem;
  color: #fff;
}

.soda-gallery-item__overlay h4 {
  margin: 0;
  font-size: 0.92rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
}

.soda-gallery-item__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  font-size: 1.45rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.soda-gallery-item a:hover .soda-gallery-item__icon,
.soda-gallery-item a:focus-visible .soda-gallery-item__icon {
  opacity: 0.95;
}

/* Contact + CTA */
.soda-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .soda-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.soda-contact-block {
  background: #fff;
  border-radius: var(--soda-radius-sm);
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(201, 152, 94, 0.22);
  box-shadow: var(--soda-shadow);
  text-align: center;
}

.soda-contact-block h5 {
  color: var(--soda-terracotta);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.65rem;
  font-family: "Lato", sans-serif;
  font-weight: 800;
}

.soda-contact-block p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--soda-muted);
  line-height: 1.55;
}

.soda-contact-block__wa {
  color: var(--soda-terracotta);
  font-weight: 800;
  text-decoration: none;
}

.soda-contact-block__wa:hover {
  text-decoration: underline;
}

.soda-contact-block__tel {
  color: var(--soda-ink);
  font-weight: 600;
  text-decoration: none;
}

.soda-contact-block__tel:hover {
  color: var(--soda-terracotta);
}

.soda-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.soda-map {
  margin-top: 2.25rem;
  border-radius: var(--soda-radius);
  overflow: hidden;
  box-shadow: var(--soda-shadow-hover);
  border: 1px solid rgba(201, 152, 94, 0.2);
}

.soda-map iframe {
  display: block;
  width: 100%;
  height: min(380px, 55vw);
  min-height: 280px;
  border: 0;
}

/* Demo pitch */
.soda-pitch {
  background: linear-gradient(135deg, var(--soda-olive) 0%, var(--soda-olive-soft) 100%);
  color: #f5f2eb;
  padding: clamp(2.75rem, 5vw, 3.75rem) 1.25rem;
}

.soda-pitch__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.soda-pitch h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
}

.soda-pitch p {
  margin: 0 0 1rem;
  opacity: 0.94;
  line-height: 1.65;
  font-size: 1.02rem;
}

.soda-pitch p:last-child {
  margin-bottom: 0;
}

/* Business footer */
.soda-footer {
  background: linear-gradient(180deg, #241c18 0%, var(--soda-ink) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(2.5rem, 5vw, 3.25rem) 1.25rem 2rem;
}

.soda-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .soda-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
    gap: 2rem;
  }
}

.soda-footer h5 {
  color: var(--soda-gold);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.55rem;
  font-family: "Lato", sans-serif;
  font-weight: 800;
}

.soda-footer p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.98rem;
  opacity: 0.92;
}

.soda-footer__social {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
}

.soda-footer__social a {
  color: #fff;
  font-size: 1.3rem;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.soda-footer__social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.soda-footer__credit {
  text-align: center;
  padding-top: 1.75rem;
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* GWT strip */
.soda-gwt-strip {
  text-align: center;
  padding: 1.5rem 1rem 1.65rem;
  background: #0b0c10;
  color: #c5c6c7;
  border-top: 2px solid #b9dd39;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.93rem;
}

.soda-gwt-strip p {
  margin: 0 0 0.5rem;
}

.soda-gwt-strip p:last-child {
  margin-bottom: 0;
}

.soda-gwt-strip a {
  display: inline-block;
  margin: 0.35rem 0.5rem;
  padding: 0.52rem 1.05rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.soda-gwt-strip a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.soda-gwt-strip .soda-gwt-btn--primary {
  background: #b9dd39;
  color: #0b0c10;
}

.soda-gwt-strip .soda-gwt-btn--outline {
  border: 2px solid #b9dd39;
  color: #b9dd39;
  background: transparent;
}
