:root {
  --brand-orange: #f57c20;
  --brand-deep: #eb4c1d;
  --brand-red: #d63f1a;
  --dark: #1a120d;
  --dark-soft: #2a1f1b;
  --cream: #f9f1ea;
  --paper: #f4e6d9;
  --gold: #fbc98d;
  --shadow: 0 22px 60px rgba(13, 8, 5, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  background: #fffaf5;
  color: #1c1714;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-shell {
  position: relative;
  padding: 100px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-orange);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2,
.hero-copy h1,
.story-copy h2,
.promo-copy h2 {
  font-family: "Outfit", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading h2,
.story-copy h2,
.promo-copy h2 {
  color: var(--dark);
  font-size: clamp(2rem, 2vw + 1.4rem, 3rem);
  margin: 0;
}

.section-heading.light h2,
.section-heading.light .eyebrow {
  color: #fff;
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(10, 8, 7, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 0;
}

.brand img {
  width: clamp(140px, 18vw, 210px);
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-orange);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: all 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--brand-orange);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
}

.top-slider {
  background: #1b120e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0 0;
}

.banner-slider {
  width: min(1220px, calc(100% - 2.4rem));
  height: clamp(230px, 24vw, 420px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 9, 7, 0.18);
}

.banner-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #140f0d;
}

.banner-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-slider .slide-old-1a {
  background: #140f0d;
}

.banner-slider .slide-old-1b {
  background: #140f0d;
}

.banner-slider .slide-old-2 {
  background: #140f0d;
}

.banner-slider .slide-old-3 {
  background: #140f0d;
}

.banner-slider .slide-old-7 {
  background: #140f0d;
}

.banner-slider .slide-old-8 {
  background: #140f0d;
}

.banner-slider .slide-old-9 {
  background: #140f0d;
}

.banner-slider .slide-old-10 {
  background: #140f0d;
}

.slide-content {
  display: none;
}

.slide-content h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.banner-slider .swiper-button-next,
.banner-slider .swiper-button-prev {
  color: #fff;
  --swiper-navigation-size: 26px;
}

.banner-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.banner-slider .swiper-pagination-bullet-active {
  background: var(--brand-orange);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)),
    url("../img/nuevas/webBackgroundPatatas2-02.png") center/cover no-repeat;
  color: #fff;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(245, 124, 32, 0.2), transparent 55%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  min-height: 720px;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 2vw + 1.6rem, 5rem);
  margin: 0 0 1.2rem;
  color: #fff;
}

.hero-copy p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.88rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-deep));
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card {
  width: min(100%, 520px);
  padding: 1.5rem;
  border-radius: 30px;
  background: rgba(12, 8, 7, 0.33);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.22));
}

.menu-shell {
  background: linear-gradient(180deg, #f8f5f1 0%, #f3e7db 100%);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.menu-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(42, 28, 20, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.menu-card::after {
  content: "Ampliar";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.8rem 0.75rem;
  background: linear-gradient(180deg, rgba(20, 15, 13, 0), rgba(20, 15, 13, 0.8));
  color: #fff;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-card:hover::after,
.menu-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.menu-card:hover,
.menu-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(42, 28, 20, 0.12);
  outline: none;
}

.menu-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.menu-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 9, 8, 0.8);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 2000;
}

.menu-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-modal-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(92vw, 960px);
  max-height: 90vh;
  border-radius: 26px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.menu-modal-panel img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
}

.menu-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2100;
}

.story-shell {
  background:
    linear-gradient(90deg, rgba(23, 17, 15, 0.08), rgba(23, 17, 15, 0.08)),
    url("../img/nuevas/webBackgroundPatatas1-02.jpg") center/cover no-repeat;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

.story-shell {
  background: #0d0c0c;
}

.story-copy {
  color: #f7f2ec;
}

.story-copy h2,
.story-copy h3,
.story-copy p,
.story-copy .eyebrow,
.story-copy .mini-blocks div,
.story-copy .mini-blocks p,
.story-copy .caption {
  color: #f7f2ec;
}

.story-copy p {
  color: rgba(247, 242, 236, 0.86);
  font-size: 1.03rem;
}

.mini-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.mini-blocks div {
  padding: 1.2rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mini-blocks h3 {
  margin: 0 0 0.5rem;
  color: var(--dark);
  font-size: 1.1rem;
}

.story-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-frame {
  width: min(100%, 480px);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.image-frame img {
  width: 100%;
  border-radius: 18px;
}

.caption {
  margin-top: 0.75rem;
  font-weight: 700;
  color: #f9f1ea;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.locations-shell {
  background:
    linear-gradient(180deg, rgba(24, 17, 12, 0.56), rgba(24, 17, 12, 0.56)),
    url("../img/ubicacion.jpg") center/cover no-repeat;
  color: #fff;
}

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

.location-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.map-wrap {
  position: relative;
  width: 100%;
  min-height: 260px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

.location-info {
  padding: 1.4rem 1.25rem 1.7rem;
}

.location-info h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #fff;
}

.location-info p,
.location-info strong,
.location-info li {
  color: rgba(255, 255, 255, 0.9);
}

.location-hours {
  margin: 1rem 0 1.1rem;
}

.location-hours ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.location-hours li + li {
  margin-top: 0.25rem;
}

.contact-shell {
  background:
    linear-gradient(180deg, rgba(15, 12, 12, 0.35), rgba(15, 12, 12, 0.35)),
    url("../img/contacto.jpg") center/cover no-repeat;
}

.contact-box {
  background: rgba(16, 12, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: clamp(1.5rem, 2vw, 2.5rem);
  box-shadow: var(--shadow);
}

.contact-meta {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0 auto 2rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
}

.contact-pill i {
  color: var(--brand-orange);
}

.form-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
}

.tab-button {
  min-width: 170px;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-button.is-active {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  border-color: transparent;
}

.form-panels {
  max-width: 900px;
  margin: 0 auto;
}

.ajax-form {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 26px;
  padding: clamp(1.25rem, 2vw, 2rem); 
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ajax-form.is-active {
  display: block;
}

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

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

label {
  color: #fff;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(18, 14, 12, 0.3);
  color: #fff;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(245, 124, 32, 0.8);
  box-shadow: 0 0 0 3px rgba(245, 124, 32, 0.15);
}

.full-width {
  width: 100%;
}

.form-status {
  min-height: 1.2em;
  margin: 1rem 0 0;
  color: #fff;
  font-weight: 600;
}

.form-status.success {
  color: #78f4a0;
}

.form-status.error {
  color: #ffb0a0;
}

.promo-shell {
  background: linear-gradient(180deg, #f6efe9 0%, #f0e3d6 100%);
}

.promo-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 24px 52px rgba(53, 34, 24, 0.08);
  padding: clamp(1.5rem, 3vw, 3rem);
}

.promo-copy p {
  color: rgba(28, 23, 20, 0.8);
  font-size: 1.04rem;
}

.promo-visual {
  overflow: hidden;
  border-radius: 22px;
}

.promo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-downloads {
  background: linear-gradient(180deg, #f7efe9 0%, #efe1d2 100%);
  border-top: 1px solid rgba(20, 14, 11, 0.06);
  padding: 2.2rem 0 1rem;
}

.app-downloads-inner {
  text-align: center;
}

.app-downloads-title {
  margin: 0 0 1rem;
  color: var(--dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.8rem;
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-button img {
  display: block;
  height: auto;
  width: auto;
}

.google-play img {
  height: 62px;
}

.app-store img {
  height: 42px;
}

.site-footer {
  background: #0f0b0a;
  color: rgba(255, 255, 255, 0.76);
  padding: 1.5rem 0;
}

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

.footer-logo {
  width: 150px;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .promo-card,
  .location-grid,
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .story-grid,
  .promo-card {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem;
    background: rgba(21, 16, 14, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .social-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-shell {
    padding: 80px 0;
  }

  .menu-grid,
  .field-grid,
  .location-grid,
  .mini-blocks {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 620px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .tab-button {
    width: 100%;
  }

  .contact-box {
    padding: 1.25rem;
  }
}
