@font-face {
  font-family: "Sharp Grotesk Bold 25";
  src: url("../fonts/sharpgrotesk-bold25-webfont.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Sharp Grotesk Light 25";
  src: url("../fonts/sharpgrotesk-light25-webfont.woff2") format("woff2");
  font-display: swap;
}
:root { --azul: #1e2e80; --crema: #f1ede7; --lila: #8886ef; --rosa: #f7cffc; --celeste: #c6e9f9; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-size: 18px; margin: 0; background: var(--crema); color: var(--azul); font-family: "Sharp Grotesk Light 25", sans-serif; }
h1, h2, h3, .button, .eyebrow, nav, .ribbon { font-family: "Sharp Grotesk Bold 25", sans-serif; font-weight: normal; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p { line-height: 1.65; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
.wrap { width: min(1280px, 90%); margin-inline: auto; }
.site-header { background: var(--azul); color: var(--crema); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { width: 100px; flex-shrink: 0; }
nav { display: flex; gap: 24px; align-items: center; font-size: 16px; }
nav a { text-decoration: none; }
nav a:hover { color: var(--rosa); }
nav .nav-contact { border: 1px solid var(--rosa); color: var(--rosa); padding: 13px 18px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 690px; background-color: #e1e9e4; }
.hero-copy { width: min(100%, 600px); box-sizing: border-box; padding: 80px clamp(24px, 4vw, 60px) 80px 24px; align-self: center; justify-self: end; }
.eyebrow { font-size: 14px; letter-spacing: .13em; text-transform: uppercase; }
h1 { font-size: clamp(44px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -.055em; margin: 28px 0; }
h1 span { color: #006f5c; }
.intro { max-width: 430px; font-size: 19px; margin-bottom: 32px; }
.button { max-width: 100%; text-align: center; line-height: 1.5; display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 20px 25px; background: var(--azul); color: var(--crema); font-size: 16px; text-decoration: none; }
.button:hover { background: #006f5c; }
.hero-visual { position: relative; min-height: 540px; background: var(--lila); overflow: hidden; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-cart { display: grid; place-items: center; padding: 45px 35px 85px; background: radial-gradient(circle at 100% 85%, var(--rosa) 0 23%, transparent 23.2%), radial-gradient(circle at 0 10%, var(--celeste) 0 18%, transparent 18.2%), var(--lila); }
.hero-cart .hero-photo { position: static; width: auto; height: auto; max-width: 90%; max-height: 560px; object-fit: contain; border: 8px solid var(--crema); border-radius: 18px; transform: rotate(-4deg); box-shadow: 14px 18px 0 #1e2e8026; }
.hero-note { position: absolute; left: 28px; bottom: 28px; margin: 0; background: var(--crema); padding: 12px 18px; font-size: 14px; }
.seal { position: absolute; right: 24px; top: 25px; width: 132px; transform: rotate(12deg); }
.ribbon { padding: 24px 20px; background: var(--rosa); text-align: center; font-size: clamp(15px, 2.2vw, 25px); line-height: 1.5; }
.ribbon span { padding: 0 20px; }
.occasions { padding-block: 100px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 50px; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; margin: 20px 0 0; }
.section-heading > p { max-width: 460px; margin: 0; }
.occasion-list { border-top: 1px solid var(--azul); }
.occasion { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 30px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--azul); }
.occasion h3 { font-size: clamp(19px, 2.2vw, 28px); margin: 0; }
.occasion p { margin: 0; font-size: 18px; }
.number { font-size: 16px; }
.flavor { background: var(--lila); display: grid; grid-template-columns: 1fr 1fr; }
.flavor-visual { position: relative; min-width: 0; min-height: clamp(440px, 38vw, 620px); padding: 0; overflow: hidden; }
.flavor-visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.flavor-photo { width: 100%; height: 100%; min-height: 490px; object-fit: cover; }
.flavor-copy { padding: 40px 4vw; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.flavor-copy p { max-width: 420px; }
.text-link { font-family: "Sharp Grotesk Bold 25", sans-serif; font-size: 16px; text-underline-offset: 7px; margin-top: 15px; }
.contact { padding-block: 100px; background: var(--celeste); }
.contact-inner { display: grid; grid-template-columns: 1fr 230px; gap: 70px; align-items: center; }
.contact h2 { max-width: 780px; }
.contact p { max-width: 630px; margin-block: 26px; }
.contact img { width: 220px; transform: rotate(-8deg); }
.contact small { display: block; margin-top: 18px; font-size: 14px; line-height: 1.6; }
footer { background: var(--azul); color: var(--crema); padding-block: 35px; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; align-items: center; font-size: 14px; }
.footer-inner img { width: 90px; }
@media (max-width: 850px) {
  .header-inner { padding-block: 18px; align-items: flex-start; }
  nav { gap: 16px; font-size: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { width: 100%; padding: 55px 5vw; justify-self: stretch; }
  h1 { max-width: 650px; }
  .hero-visual { min-height: 480px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .occasion { grid-template-columns: 35px 1fr; gap: 18px; }
  .occasion p { grid-column: 2; }
  .flavor { grid-template-columns: 1fr; }
  .flavor-visual { min-height: 0; aspect-ratio: 3 / 2; }
  .flavor-photo { min-height: 0; height: 400px; }
  .flavor-copy { padding: 55px 5vw; }
  .contact-inner { grid-template-columns: 1fr 140px; gap: 25px; }
  .occasions, .contact { padding-block: 65px; }
}
@media (max-width: 520px) {
  .header-inner { min-height: 105px; gap: 20px; }
  .logo { width: 76px; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
  nav .nav-contact { padding: 9px 10px; }
  h1 { font-size: 44px; }
  .hero-visual { min-height: 350px; }
  .seal { width: 100px; }
  .hero-note { left: 15px; bottom: 15px; font-size: 14px; }
  .ribbon span { padding: 0 8px; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact img { width: 100px; grid-row: 1; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { width: 100%; order: 3; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Formulario de eventos en modo prueba. */
.event-form {
  margin-top: 55px;
  padding: clamp(24px, 4vw, 50px);
  background: var(--crema);
  border: 1px solid var(--azul);
}
.event-form h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.event-form > p { margin-block: 18px 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin-bottom: 30px; }
.form-grid label { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--azul);
  border-radius: 0;
  color: var(--azul);
  background: #fff;
  font: inherit;
  font-size: 18px;
}
.form-grid textarea { resize: vertical; }
.form-grid :is(input, select, textarea):focus-visible,
.event-form button:focus-visible, .whatsapp-float:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 4px;
}
.form-wide { grid-column: 1 / -1; }
.event-form .button { border: 0; cursor: pointer; }
.event-form .button:disabled { opacity: .6; cursor: default; }
.event-form .form-status { margin-bottom: 0; }
.form-status:empty { display: none; }
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 76px;
  height: 76px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #087f42;
  color: #fff;
  box-shadow: 0 4px 16px #0003;
  cursor: pointer;
}
.whatsapp-float span { font: 11px "Sharp Grotesk Bold 25", sans-serif; }
.whatsapp-float:hover { background: #006f5c; }
.whatsapp-status {
  position: fixed;
  right: 24px;
  bottom: 110px;
  z-index: 1000;
  max-width: min(340px, calc(100vw - 40px));
  margin: 0;
  padding: 18px;
  background: #fff;
  color: var(--azul);
  border: 1px solid var(--azul);
  font-size: 16px;
  box-shadow: 0 4px 16px #0002;
}
footer { padding-bottom: 115px; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .whatsapp-status { right: 16px; bottom: 102px; }
}

/* Menú general de la landing y opciones de pedido existentes. */
.site-header .header-inner { position: relative; }
.site-header nav [aria-current="page"] { color: var(--celeste); }
.menu-toggle {
  width: 48px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--crema);
  background: transparent;
  color: var(--crema);
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: currentColor; }
.menu-toggle:focus-visible { outline: 3px solid var(--rosa); outline-offset: 4px; }
.pedido-dialog {
  width: min(540px, 90vw);
  padding: 35px;
  border: 0;
  background: var(--lila);
  color: var(--azul);
}
.pedido-dialog::backdrop { background: #0009; }
.pedido-dialog h2 { font-size: 30px; }
.pedido-cerrar { float: right; border: 0; background: transparent; font-size: 32px; color: var(--azul); cursor: pointer; }
.pedido-apps { display: flex; justify-content: center; gap: 30px; padding-block: 20px; }
@media (max-width: 1280px) {
  .site-header .header-inner { min-height: 86px; padding-block: 18px; align-items: center; flex-wrap: wrap; }
  .site-header nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; font-size: 16px; }
  .site-header nav a { padding: 15px; text-align: center; }
  .site-header nav.is-collapsible { display: none; }
  .site-header nav.is-collapsible.is-open { display: flex; }
  .site-header .logo { width: 100px; }
}

/* Imagen de la sección inferior como fondo tenue de la portada. */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 48.78% 0 0;
  background: url("../img/carrito-eventos-cumpleanos-horizontal.jpg") center / cover no-repeat;
  opacity: .15;
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 850px) {
  .hero::before { display: none; }
  .hero-copy { position: relative; isolation: isolate; }
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/carrito-eventos-cumpleanos-horizontal.jpg") center / cover no-repeat;
    opacity: .22;
    pointer-events: none;
    z-index: -1;
  }
}
