:root {
  --orange: #ff6600;
  --orange-dark: #e55a00;
  --orange-glow: rgba(255, 102, 0, 0.35);
  --ink: #1a1410;
  --ink-soft: #4a4038;
  --cream: #fffaf6;
  --white: #ffffff;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --shadow: 0 20px 60px -20px rgba(26, 20, 16, 0.15);
  --shadow-orange: 0 16px 48px -12px var(--orange-glow);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 3.75rem;
  --top-sticky-h: 3.75rem;
  --scroll-pad: 4.75rem;
  --fab-size: 3.75rem;
  --fab-gap: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-pad);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: calc(var(--fab-size) + var(--fab-gap) * 2);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

@media (min-width: 480px) {
  .container {
    width: min(1120px, calc(100% - 2.5rem));
  }
}

/* Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  box-shadow: none;
  transition: box-shadow 0.3s;
  padding-top: env(safe-area-inset-top, 0px);
  isolation: isolate;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(26, 20, 16, 0.1);
}

.site-header .container {
  width: 100%;
  max-width: 1120px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
  flex-shrink: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(26, 20, 16, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  min-width: 0;
  flex-shrink: 1;
}

.brand img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-cta {
  height: 2.5rem;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 14px var(--orange-glow);
  -webkit-tap-highlight-color: transparent;
}

.header-cta:active {
  transform: none;
  opacity: 0.92;
}

.nav--desktop {
  display: none;
  gap: 1.25rem;
  font-weight: 500;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.nav--desktop a {
  white-space: nowrap;
}

.nav--desktop a:hover {
  color: var(--orange);
}

@media (min-width: 480px) {
  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand {
    font-size: 1.2rem;
    gap: 0.65rem;
  }

  .header-cta {
    padding: 0.75rem 1.15rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 5rem;
    --top-sticky-h: 5rem;
    --scroll-pad: 6rem;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .header-inner {
    padding-block: 0.65rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .nav--desktop {
    display: flex;
    gap: 1.75rem;
    font-size: 0.95rem;
  }

  .header-cta {
    height: auto;
    padding: 0.85rem 1.35rem;
    font-size: 0.9rem;
  }

}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 20px 40px -10px var(--orange-glow);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border: 2px solid rgba(26, 20, 16, 0.1);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .btn-lg {
    padding: 1.05rem 1.85rem;
    font-size: 1.05rem;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 2rem 0 3.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: min(70%, 420px);
  max-width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 2.5rem 0 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 3rem 0 5rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--white);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-dark);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 4.25rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.hero h1 span {
  color: var(--orange);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}

.hero-warning {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 1rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 102, 0, 0.12);
  border: 2px dashed var(--orange);
  border-radius: 1rem;
  font-weight: 600;
  font-size: clamp(0.8rem, 3.5vw, 0.95rem);
  color: var(--orange-dark);
  line-height: 1.35;
  text-align: center;
}

@media (min-width: 480px) {
  .hero-warning {
    border-radius: 999px;
    text-align: left;
  }
}

.hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 0 1.75rem;
}

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

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 auto;
    min-width: min(100%, 200px);
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-logo-wrap {
  width: min(280px, 72vw);
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow), 0 0 0 12px rgba(255, 102, 0, 0.08);
  animation: float 5s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero-logo-wrap {
    width: min(320px, 45vw);
  }
}

@media (min-width: 1024px) {
  .hero-logo-wrap {
    width: min(340px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap {
    animation: none;
  }

  .hero-badge .pulse {
    animation: none;
  }
}

.hero-logo-wrap img {
  width: 78%;
  height: 78%;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Aviso alta demanda (en la página) */
.demand-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow);
}

.demand-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.demand-notice strong {
  color: var(--orange-dark);
}

/* Sections */
section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 5rem 0;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 2.5rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px -24px rgba(26, 20, 16, 0.2);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: rgba(255, 102, 0, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(255, 102, 0, 0.2);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Sold out block */
.soldout-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 102, 0, 0.15);
}

@media (min-width: 768px) {
  .soldout-block {
    padding: 2.5rem;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .soldout-block {
    grid-template-columns: auto 1fr;
    padding: 2.5rem 3rem;
  }
}

.soldout-mascot {
  width: 100px;
  justify-self: center;
}

.soldout-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.soldout-block p {
  margin: 0;
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-orange);
}

@media (min-width: 768px) {
  .cta-band {
    padding: 3rem 2rem;
  }
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.75rem;
  max-width: 40ch;
  opacity: 0.95;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--orange-dark);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.cta-band .btn-primary:hover {
  background: var(--cream);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(26, 20, 16, 0.08);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand img {
  width: 56px;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 20, 16, 0.06);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.footer-bottom-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-instagram {
  font-weight: 600;
  color: var(--ink);
}

.footer-instagram:hover {
  color: var(--orange);
}

.footer-credit {
  color: var(--ink-soft);
  opacity: 0.85;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(26, 20, 16, 0.1);
  width: 100%;
}

@media (min-width: 600px) {
  .footer-bottom-aside {
    align-items: flex-end;
    text-align: right;
  }

  .footer-credit {
    width: auto;
    min-width: 10rem;
  }
}

/* Floating WhatsApp */
.fab-wa {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 90;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}

.fab-wa:hover {
  transform: scale(1.08);
}

.fab-wa svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Utilities */
.text-center {
  text-align: center;
}

.bg-white {
  background: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Promos */
.promos-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.06) 0%, var(--cream) 100%);
}

@media (min-width: 768px) {
  .promos-section {
    padding: 4rem 0;
  }
}

.promo-top {
  margin-bottom: 1.5rem;
}

.promo-repost {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--orange);
  box-shadow: var(--shadow);
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.promo-repost strong {
  color: var(--orange-dark);
}

.promo-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .promo-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.promo-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem 0.75rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: clamp(0.9rem, 2.5vw, 0.98rem);
  color: var(--ink-soft);
  line-height: 1.45;
}

.promo-chip > span:not(.promo-chip-icon):not(.promo-tag) {
  flex: 1 1 12rem;
  min-width: 0;
}

.promo-chip strong {
  color: var(--ink);
}

.promo-chip--fries {
  background: var(--white);
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 102, 0, 0.2);
}

.promo-chip--delivery {
  background: var(--ink);
  color: rgba(255, 250, 246, 0.9);
}

.promo-chip--delivery strong {
  color: var(--white);
}

.promo-chip-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.promo-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Menu */
.menu-section {
  padding-top: 3rem;
}

@media (min-width: 768px) {
  .menu-section {
    padding-top: 4rem;
  }
}

.menu-note {
  margin-bottom: 2rem;
}

.menu-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 540px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-item--soon {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
    width: 100%;
  }
}

.menu-item {
  position: relative;
  background: var(--cream);
  border: 2px solid rgba(26, 20, 16, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.menu-item:hover {
  border-color: rgba(255, 102, 0, 0.35);
  transform: translateY(-2px);
}

.menu-item--featured {
  background: linear-gradient(160deg, rgba(255, 102, 0, 0.14) 0%, var(--white) 55%);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.menu-item--soon {
  background: var(--ink);
  border-color: var(--ink);
  color: rgba(255, 250, 246, 0.85);
}

.menu-item--soon .menu-item-head h3 {
  color: var(--orange);
}

.menu-item--soon .menu-ingredients {
  color: rgba(255, 250, 246, 0.7);
}

.menu-soon-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.menu-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
  padding-right: 1.5rem;
}

.menu-item-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  margin: 0;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}

.menu-price {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.5vw, 1.2rem);
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-ingredients {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.menu-order {
  width: 100%;
  margin-top: auto;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.menu-footer-warning {
  margin: 2.5rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  font-weight: 600;
  color: var(--orange-dark);
  line-height: 1.4;
  padding-inline: 0.5rem;
}

/* —— Responsive fixes —— */
.promo-repost {
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  line-height: 1.45;
}

.section-title {
  word-break: break-word;
  hyphens: auto;
}

.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header-inner {
    gap: 0.75rem;
  }

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

  .cards .card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 359px) {
  .brand-text {
    display: none;
  }

  .header-cta {
    height: 2.35rem;
    padding: 0 0.7rem;
    font-size: 0.75rem;
  }
}
