:root {
  --red: #e30613;
  --red-dark: #9e0008;
  --yellow: #ffcf33;
  --orange: #ff7a00;
  --black: #101010;
  --ink: #202124;
  --muted: #6a6a6a;
  --cream: #fff5df;
  --paper: #ffffff;
  --line: rgba(16, 16, 16, .1);
  --shadow: 0 22px 55px rgba(0,0,0,.16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fffaf0;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--black);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus { left: 10px; }

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}
.section-pad { padding: 86px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17,17,17,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar {
  width: min(1220px, calc(100% - 30px));
  margin: 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 220px; height: auto; object-fit: contain; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu a {
  color: rgba(255,255,255,.88);
  padding: 10px 14px;
  border-radius: 999px;
  transition: .2s ease;
  font-weight: 700;
  font-size: 14px;
}
.nav-menu a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-menu .nav-cta {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 12px 26px rgba(255,207,51,.24);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: rgba(255,255,255,.12);
  border-radius: 15px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  border-radius: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,207,51,.32), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(227,6,19,.22), transparent 30%),
    linear-gradient(135deg, #171717 0%, #1f1a14 45%, #470006 100%);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.18) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.18) 87.5%, rgba(255,255,255,.18)),
    linear-gradient(150deg, rgba(255,255,255,.18) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.18) 87.5%, rgba(255,255,255,.18));
  background-size: 64px 112px;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
  color: var(--red);
}
.hero .eyebrow { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(54px, 9vw, 104px);
  line-height: .88;
  letter-spacing: -0.07em;
  font-weight: 1000;
  text-transform: uppercase;
}
h1 span {
  display: inline-block;
  color: var(--yellow);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
  text-transform: none;
}
.hero-text {
  max-width: 640px;
  font-size: 20px;
  color: rgba(255,255,255,.84);
}
.hero-actions, .contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 18px 34px rgba(227,6,19,.32);
}
.btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}
.btn-light { color: var(--black); background: #fff; }
.btn-outline { color: var(--red); border-color: rgba(227,6,19,.22); background: #fff; }
.btn-ghost-dark { color: var(--black); border-color: rgba(16,16,16,.16); background: rgba(255,255,255,.7); }
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-weight: 800;
  font-size: 13px;
}

.pizza-card {
  position: relative;
  min-height: 560px;
  border-radius: 38px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pizza-card:before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 32px;
  border: 1px dashed rgba(255,255,255,.18);
  pointer-events: none;
}
.pizza-visual {
  position: relative;
  height: 340px;
  display: grid;
  place-items: center;
}
.pizza {
  position: relative;
  width: min(330px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #d3111b 0 10px, transparent 11px),
    radial-gradient(circle at 68% 22%, #d3111b 0 11px, transparent 12px),
    radial-gradient(circle at 58% 62%, #d3111b 0 12px, transparent 13px),
    radial-gradient(circle at 29% 68%, #d3111b 0 9px, transparent 10px),
    radial-gradient(circle at 73% 77%, #1f1f1f 0 8px, transparent 9px),
    radial-gradient(circle at 44% 47%, #1f1f1f 0 7px, transparent 8px),
    radial-gradient(circle at 55% 35%, #65a849 0 9px, transparent 10px),
    radial-gradient(circle at 38% 75%, #65a849 0 8px, transparent 9px),
    radial-gradient(circle, #ffdf76 0 58%, #f6a64a 59% 68%, #bb6f23 69% 100%);
  box-shadow: 0 35px 65px rgba(0,0,0,.32), inset 0 0 0 18px rgba(255,187,70,.4);
  transform: rotate(-8deg);
}
.pizza:after {
  content: "";
  position: absolute;
  width: 42%;
  height: 42%;
  background: #111;
  clip-path: polygon(0 0, 100% 24%, 25% 100%);
  transform: translate(70px, -78px) rotate(8deg);
  opacity: .92;
}
.steam {
  position: absolute;
  width: 12px;
  height: 84px;
  border-radius: 999px;
  background: linear-gradient(transparent, rgba(255,255,255,.55), transparent);
  filter: blur(2px);
  animation: float 2.6s ease-in-out infinite;
}
.s1 { left: 29%; top: 8%; }
.s2 { left: 50%; top: 0; animation-delay: .5s; }
.s3 { left: 68%; top: 10%; animation-delay: 1s; }
@keyframes float { 0%,100% { transform: translateY(12px); opacity: .25; } 50% { transform: translateY(-10px); opacity: .75; } }

.featured-media {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}
.featured-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
.featured-box {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  padding: 24px;
  background: rgba(17,17,17,.72);
  border: 1px solid rgba(255,255,255,.13);
}
.featured-box .label, .tag {
  display: inline-flex;
  padding: 5px 10px;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 1000;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.featured-box h2 { margin: 12px 0 8px; color: #fff; font-size: 34px; }
.featured-box p { color: rgba(255,255,255,.78); margin-bottom: 0; }

.stats-strip {
  background: var(--yellow);
  padding: 34px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stats-grid div {
  padding: 18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  text-align: center;
}
.stats-grid strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--black);
}
.stats-grid span { font-weight: 800; color: rgba(16,16,16,.72); }

.two-col {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 44px;
  align-items: start;
}
.section-title h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: .95;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
  color: var(--black);
}
.section-title.center { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.copy-card, .contact-card, .hours-card, .promo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
}
.copy-card p { font-size: 18px; }
.mini-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.mini-list span {
  background: #fff5df;
  border: 1px solid rgba(227,6,19,.12);
  border-radius: 16px;
  padding: 12px;
  font-weight: 900;
}

.menu-section { background: #fff; }
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.tab {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 1000;
  cursor: pointer;
  transition: .2s ease;
}
.tab.active, .tab:hover { background: var(--black); color: #fff; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.menu-card {
  position: relative;
  min-height: 372px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff, #fffaf0);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
  overflow: hidden;
}
.menu-card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -46px;
  bottom: -44px;
  background: radial-gradient(circle, rgba(227,6,19,.18), transparent 62%);
  border-radius: 50%;
}
.menu-card.premium {
  background: linear-gradient(160deg, #171717, #2b0608 55%, #4b090e);
  color: #fff;
}
.menu-card.premium .examples, .menu-card.premium .price-list span { color: rgba(255,255,255,.76); }
.menu-card.premium .price-list li { border-color: rgba(255,255,255,.14); }
.menu-card.premium .card-top b { color: var(--yellow); }
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.card-top span {
  display: inline-flex;
  background: var(--red);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.card-top b { color: var(--red); font-size: 13px; }
.menu-card h3 { font-size: 29px; line-height: 1; margin-bottom: 10px; }
.examples { color: var(--muted); font-weight: 700; }
.price-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list span { color: var(--muted); font-weight: 800; }
.price-list strong { font-size: 20px; color: var(--red); }
.premium .price-list strong { color: var(--yellow); }
.price-list.compact li { padding: 7px 0; }

.promo-band {
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,207,51,.25), transparent 30%),
    linear-gradient(135deg, var(--red), #111 70%);
}
.promo-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 28px;
  align-items: center;
}
.promo-grid h2 { font-size: clamp(42px, 6vw, 78px); line-height: .9; letter-spacing: -.06em; }
.promo-grid p { color: rgba(255,255,255,.84); font-size: 18px; }
.promo-card { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); box-shadow: none; }
.promo-card h3 { font-size: 34px; margin: 15px 0 8px; }

.center-cta { display:flex; justify-content:center; margin-top: 34px; }

.gallery-section { background: #fffaf0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-card {
  min-height: 250px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 38px rgba(0,0,0,.07);
}
.gallery-card span { font-size: 50px; display: block; margin-bottom: 18px; }
.gallery-card h3 { font-size: 22px; line-height: 1.05; }
.gallery-card p { color: var(--muted); margin-bottom: 0; font-weight: 700; }

.contact-section { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-card h2, .hours-card h2 { font-size: clamp(34px, 4vw, 52px); line-height: .95; letter-spacing: -.055em; }
.muted { color: var(--muted); }
.hours {
  margin-top: 24px;
  padding: 18px;
  background: #fff5df;
  border-radius: 20px;
  border: 1px solid rgba(227,6,19,.12);
}
.hours strong, .hours span, .hours small { display: block; }
.hours span { font-weight: 900; }
.hours small { color: var(--muted); margin-top: 5px; }

.site-footer {
  padding: 42px 0;
  color: #fff;
  background: var(--black);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}
.footer-logo { width: 180px; }
.footer-grid p { color: rgba(255,255,255,.72); margin: 12px 0 0; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.78); font-weight: 800; }
.footer-links a:hover { color: var(--yellow); }

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  color: #fff;
  background: #21a957;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 1000;
  box-shadow: 0 18px 34px rgba(0,0,0,.22);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 88px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: rgba(17,17,17,.98);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    transform-origin: top;
    transform: scaleY(0.92);
    opacity: 0;
    pointer-events: none;
  }
  .nav-menu.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 14px 16px; }
  .hero-grid, .two-col, .promo-grid, .contact-grid { grid-template-columns: 1fr; }
  .pizza-card { min-height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .section-pad { padding: 58px 0; }
  .navbar { height: 76px; }
  .brand-logo { width: 170px; }
  h1 { font-size: 56px; }
  h1 span { font-size: 28px; }
  .hero-text { font-size: 17px; }
  .hero-actions, .contact-actions { align-items: stretch; }
  .btn { width: 100%; }
  .pizza-card { min-height: auto; padding: 18px; }
  .featured-image { height: 260px; }
  .pizza-visual { height: 270px; }
  .stats-grid, .menu-grid, .gallery-grid, .mini-list { grid-template-columns: 1fr; }
  .copy-card, .contact-card, .hours-card, .promo-card { padding: 24px; border-radius: 24px; }
  .footer-grid { display: grid; }
  .floating-wa { left: 18px; text-align: center; }
}


/* Nuevas secciones: facturación, quejas y promociones */
.promo-terms {
  font-size: 14px !important;
  color: rgba(255,255,255,.72) !important;
  font-weight: 800;
  margin-top: 12px;
}
.promo-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.btn.soft {
  background: rgba(255,255,255,.82);
}
.inner-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,207,51,.32), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(227,6,19,.22), transparent 30%),
    linear-gradient(135deg, #171717 0%, #1f1a14 45%, #470006 100%);
}
.inner-hero .container {
  position: relative;
  z-index: 1;
}
.inner-hero h1 {
  max-width: 900px;
}
.inner-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-size: 20px;
}
.form-section {
  background: #fff;
}
.form-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 24px;
  align-items: start;
}
.info-panel,
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
}
.info-panel {
  background: linear-gradient(160deg, #171717, #2b0608 55%, #4b090e);
  color: #fff;
}
.info-panel p,
.info-panel li {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}
.info-panel ul {
  padding-left: 20px;
  margin: 16px 0 0;
}
.form-panel form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: grid;
  gap: 7px;
}
.form-field label {
  font-weight: 1000;
  color: var(--black);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(16,16,16,.14);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fffaf0;
  color: var(--ink);
  outline: none;
}
.form-field textarea {
  min-height: 130px;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227,6,19,.12);
}
.form-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff5df;
  border: 1px solid rgba(227,6,19,.12);
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}
.check-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 800;
}
.check-field input {
  margin-top: 5px;
}
.page-footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

@media (max-width: 960px) {
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
  .info-panel, .form-panel { padding: 24px; border-radius: 24px; }
}

/* V6: accesos rápidos, términos y botones flotantes */
.quick-section { background: #fffaf0; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quick-card {
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 38px rgba(0,0,0,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,.12);
}
.quick-card span { font-size: 42px; }
.quick-card strong { font-size: 22px; line-height: 1.05; color: var(--black); }
.quick-card small { color: var(--muted); font-weight: 800; font-size: 14px; }
.promo-terms a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.terms-list {
  display: grid;
  gap: 12px;
}
.terms-list p {
  margin: 0;
  padding: 14px 16px;
  background: #fff5df;
  border: 1px solid rgba(227,6,19,.12);
  border-radius: 18px;
  color: var(--ink);
  font-weight: 700;
}
.floating-order {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 45;
  color: var(--black);
  background: var(--yellow);
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 1000;
  box-shadow: 0 18px 34px rgba(0,0,0,.20);
}

@media (max-width: 960px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .quick-grid { grid-template-columns: 1fr; }
  .floating-order { left: 18px; right: 18px; bottom: 74px; text-align: center; }
}
