:root {
  --bg: #fff7ef;
  --surface: rgba(255, 255, 255, 0.82);
  --solid: #fffdf8;
  --ink: #211514;
  --muted: #735d57;
  --line: rgba(68, 42, 35, 0.16);
  --wine: #84233c;
  --wine-deep: #4b1021;
  --rose: #e9a5b7;
  --gold: #c58b3b;
  --shadow: 0 28px 90px rgba(55, 29, 22, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #170e0c;
  --surface: rgba(36, 22, 19, 0.82);
  --solid: #211411;
  --ink: #fff7ef;
  --muted: #d7bfb5;
  --line: rgba(255, 235, 220, 0.16);
  --wine: #f0a4ba;
  --wine-deep: #ffd6df;
  --rose: #f0a4ba;
  --gold: #e2b263;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(132, 35, 60, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 6%, rgba(233, 165, 183, 0.22), transparent 28rem),
    var(--bg);
  background-size: 86px 86px, auto, auto;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  transition: background 240ms ease, color 240ms ease;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(132, 35, 60, 0.35); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--wine);
  color: #fff;
  padding: .75rem 1rem;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 50;
  pointer-events: none;
  transition: transform 240ms ease;
}
.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--solid) 88%, transparent);
  box-shadow: 0 18px 58px rgba(48, 27, 21, .12);
  backdrop-filter: blur(18px);
  padding: .55rem .65rem .55rem .8rem;
  pointer-events: auto;
}
.site-header.is-scrolled .nav-shell {
  min-height: 64px;
  box-shadow: 0 20px 66px rgba(48, 27, 21, .18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: 0;
  text-decoration: none;
}
.brand__logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .28rem;
}
.nav-links a, .theme-toggle {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 900;
  padding: .72rem .9rem;
  text-decoration: none;
}
.nav-links a:hover, .theme-toggle:hover { background: color-mix(in srgb, var(--wine) 10%, transparent); }
.nav-links .nav-cta {
  background: var(--wine);
  color: #fff;
}
[data-theme="dark"] .nav-links .nav-cta { color: #210f13; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--solid);
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero, section, .footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.hero {
  min-height: min(100vh, 860px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 8rem 0 4rem;
}
.eyebrow {
  color: var(--wine);
  font-size: .78rem;
  font-weight: 1000;
  margin: 0 0 .85rem;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .94;
}
h1 { max-width: 14ch; font-size: clamp(3rem, 5.4vw, 5.35rem); }
h2 { font-size: clamp(2.5rem, 5.2vw, 5rem); }
h3 { margin: 0 0 .5rem; }
p { overflow-wrap: anywhere; }
.hero__lead {
  max-width: 630px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  margin: 1.1rem 0 0;
}
.hero__actions, .summary-actions, .footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 1000;
  padding: .86rem 1.15rem;
  text-decoration: none;
}
.button--primary {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 18px 44px rgba(132, 35, 60, .25);
}
[data-theme="dark"] .button--primary { color: #210f13; }
.button--ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.hero__visual {
  position: relative;
  display: grid;
  align-items: center;
}
.hero__main-img {
  width: 100%;
  height: min(680px, 72vh);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 38px 38px 8px 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 4vw, 3rem);
}
.hero__mini-card {
  position: absolute;
  left: -2rem;
  bottom: 2rem;
  width: min(230px, 42%);
  border: 8px solid var(--bg);
  border-radius: 16px;
  overflow: hidden;
  background: var(--solid);
  box-shadow: var(--shadow);
}
.hero__mini-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__mini-card span {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  padding: .7rem .8rem 0;
}
.hero__mini-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  padding: 0 .8rem .8rem;
}

section { padding: clamp(4rem, 8vw, 7rem) 0; }
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: color-mix(in srgb, var(--solid) 62%, transparent);
  border-block: 1px solid var(--line);
}
.wide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr);
  gap: 2rem;
  align-items: end;
}
.section-copy { max-width: 850px; }
.section-copy p, .section-side { color: var(--muted); }
.experience-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.experience-strip article, .planner-card, .summary-card, .faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 58px rgba(55, 29, 22, .08);
}
.experience-strip article { overflow: hidden; }
.experience-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.experience-strip strong, .experience-strip span {
  display: block;
  padding-inline: 1rem;
}
.experience-strip strong { padding-top: 1rem; }
.experience-strip span { color: var(--muted); padding-bottom: 1.1rem; }

.flashcards__head { max-width: 760px; margin-bottom: 1.4rem; }
.slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.slider__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: .5rem 0 1rem;
  animation: slide 260s linear infinite;
  will-change: transform;
}
.slide-card {
  position: relative;
  width: min(360px, 72vw);
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  box-shadow: var(--shadow);
}
.slide-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; opacity: .86; }
.slide-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}
@keyframes slide { to { transform: translateX(-50%); } }

.order-heading { margin-bottom: 2rem; }
.catalog-menu {
  display: grid;
  gap: 1.2rem;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.catalog-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 58px rgba(55, 29, 22, .08);
}
.catalog-card--wide {
  grid-column: span 2;
  grid-template-columns: 280px minmax(0, 1fr);
}
.catalog-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.catalog-card div {
  display: grid;
  align-content: center;
  gap: .55rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}
.catalog-card span, .filling-board span {
  color: var(--wine);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.catalog-card h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: .98;
}
.catalog-card p, .filling-board p {
  color: var(--muted);
  margin: 0;
}
.filling-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.filling-board article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--blush) 66%, var(--surface));
  padding: clamp(1rem, 2vw, 1.35rem);
}
.real-gallery {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}
.gallery-grid figure {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(55, 29, 22, .08);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-grid figure:hover img {
  transform: scale(1.04);
}
.gallery-grid figcaption {
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .7rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(35, 15, 18, .74);
  color: #fff;
  font-weight: 1000;
  padding: .45rem .7rem;
}
.order-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 1rem;
  align-items: start;
}
.planner {
  display: grid;
  gap: 1rem;
}
.planner-card {
  padding: clamp(1rem, 2vw, 1.4rem);
}
.planner-visual {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: .9rem;
  align-items: stretch;
  min-height: 128px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blush) 74%, transparent), color-mix(in srgb, var(--solid) 88%, transparent));
  margin-bottom: 1rem;
}
.planner-visual img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
}
.planner-visual div {
  display: grid;
  align-content: center;
  gap: .35rem;
  padding: .95rem .95rem .95rem 0;
}
.planner-visual span {
  color: var(--wine);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.planner-visual strong {
  max-width: 28rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: .98;
}
.planner-visual--split {
  grid-template-columns: 96px 96px minmax(0, 1fr);
}
.planner-visual--split img {
  min-height: 136px;
}
.planner-card__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .25rem .8rem;
  margin-bottom: 1rem;
}
.planner-card__top span {
  grid-row: span 2;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}
.planner-card__top strong { color: var(--wine); }
label { display: grid; gap: .36rem; color: var(--ink); font-weight: 900; }
label span, legend { color: var(--muted); font-size: .86rem; font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--solid);
  color: var(--ink);
  padding: .78rem .85rem;
}
textarea { resize: vertical; }
.item-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1rem;
}
.line-item {
  grid-template-columns: 58px minmax(0, 1fr) 86px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--solid) 76%, transparent);
  padding: .6rem;
}
.line-item img,
.item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(49, 24, 27, .14);
}
.item-thumb {
  display: block;
  background-image: url("assets/photos/product-thumbs-sheet.png");
  background-size: 400% 300%;
  background-repeat: no-repeat;
}
.item-thumb--empanada { background-position: 0% 0%; }
.item-thumb--tarta { background-position: 33.333% 0%; }
.item-thumb--milanesa { background-position: 66.666% 0%; }
.item-thumb--croqueta, .item-thumb--brigadeiro { background-position: 100% 0%; }
.item-thumb--sandwich { background-position: 0% 50%; }
.item-thumb--pizzeta { background-position: 33.333% 50%; }
.item-thumb--alfajor, .item-thumb--bolita-coco { background-position: 66.666% 50%; }
.item-thumb--cupcake, .item-thumb--cookie { background-position: 100% 50%; }
.item-thumb--brownie, .item-thumb--cookie-oreo { background-position: 0% 100%; }
.item-thumb--sweet-bite, .item-thumb--conito { background-position: 33.333% 100%; }
.item-thumb--pie-limon, .item-thumb--pionono { background-position: 66.666% 100%; }
.item-thumb--petit, .item-thumb--pastafrola { background-position: 100% 100%; }
.item-thumb--cookie-red,
.item-thumb--cookie-original,
.item-thumb--cookie-oreo,
.item-thumb--cookie-chips,
.item-thumb--cookie-nutella,
.item-thumb--cookie-bonobon,
.item-thumb--cookie-arcoiris,
.item-thumb--cookie-rocklets {
  background-image: url("assets/photos/cookies-reales.png");
  background-size: 200% 400%;
}
.item-thumb--cookie-red { background-position: 0% 0%; }
.item-thumb--cookie-original { background-position: 100% 0%; }
.item-thumb--cookie-oreo { background-position: 0% 33.333%; }
.item-thumb--cookie-chips { background-position: 100% 33.333%; }
.item-thumb--cookie-nutella { background-position: 0% 66.666%; }
.item-thumb--cookie-bonobon { background-position: 100% 66.666%; }
.item-thumb--cookie-arcoiris { background-position: 0% 100%; }
.item-thumb--cookie-rocklets { background-position: 100% 100%; }
.line-item span { color: var(--ink); }
.balance { margin: .9rem 0 0; font-weight: 900; }
.balance.is-ok { color: #2f7d4d; }
.balance.is-warn { color: var(--wine); }
.price-note {
  margin: -.25rem 0 1rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-weight: 800;
  padding-left: .8rem;
}
.planner-card--cake fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 1rem 0 0;
  padding: 1rem;
}
.cake-grid, .event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--solid);
  color: var(--ink);
  cursor: pointer;
  padding: .55rem .75rem;
}
.chip input:checked + span {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
[data-theme="dark"] .chip input:checked + span { color: #210f13; }
.summary-card {
  position: sticky;
  top: 92px;
  align-self: start;
  z-index: 35;
}
.summary-card__bar {
  width: 100%;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  border: 0;
  border-radius: 18px;
  background: var(--wine-deep);
  color: #fff;
  cursor: pointer;
  padding: .8rem 1rem;
  box-shadow: var(--shadow);
}
.summary-card__bar span {
  display: grid;
  text-align: left;
}
.summary-card__bar small {
  opacity: .72;
  font-weight: 900;
}
.summary-card__bar strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}
.summary-card__bar b {
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: .85rem;
  padding: .45rem .7rem;
}
.summary-card__panel {
  max-height: calc(100vh - 112px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 58px rgba(55, 29, 22, .08);
  padding: 1.1rem;
}
.summary-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}
.price-box {
  border-radius: 14px;
  background: var(--wine-deep);
  color: #fff;
  padding: 1rem;
  margin: 1rem 0;
}
[data-theme="dark"] .price-box { color: #210f13; }
.price-box span, .price-box small { display: block; opacity: .78; }
.price-box strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  margin: .3rem 0;
}
.summary-card > label { margin-top: .8rem; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.faq details { padding: 1.15rem; }
.faq summary {
  color: var(--wine-deep);
  cursor: pointer;
  font-weight: 1000;
}
.faq p { color: var(--muted); margin: .75rem 0 0; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 3rem 0;
}
.footer p { color: var(--muted); max-width: 520px; }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  transform: translateY(130%);
  border-radius: 12px;
  background: var(--wine-deep);
  color: #fff;
  opacity: 0;
  padding: .9rem 1rem;
  transition: 220ms ease;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.section-observe { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
.section-observe.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 980px) {
  .hero, .wide-grid, .order-app, .footer { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; }
  .summary-card {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    z-index: 70;
  }
  .summary-card__bar { display: flex; }
  .summary-card__panel {
    display: none;
    max-height: min(72vh, 620px);
    margin-bottom: .55rem;
  }
  .summary-card.is-open .summary-card__panel { display: block; }
  .order-section { padding-bottom: 8.5rem; }
  .experience-strip, .faq-grid, .catalog-grid, .filling-board { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-card, .catalog-card--wide {
    grid-column: auto;
    grid-template-columns: 190px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .nav-shell { min-height: 64px; width: min(100% - 24px, 1180px); }
  .brand__logo { width: 46px; height: 46px; }
  .brand small { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .nav-links {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 86px;
    display: grid;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--solid);
    box-shadow: var(--shadow);
    padding: .8rem;
    transform: translateY(-150%);
    transition: transform 220ms ease;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a, .theme-toggle { text-align: left; }
  .hero, section, .footer { width: min(100% - 24px, 1180px); }
  .hero {
    gap: 1.35rem;
    padding-top: 6rem;
  }
  h1 { font-size: clamp(3.1rem, 13vw, 4.2rem); }
  h2 { font-size: clamp(2.25rem, 10vw, 3.35rem); }
  .hero { min-height: auto; }
  .hero__visual {
    min-height: 430px;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: color-mix(in srgb, var(--solid) 88%, transparent);
    box-shadow: var(--shadow);
  }
  .hero__main-img {
    position: absolute;
    inset: auto -18% -12% auto;
    width: 86%;
    height: 72%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: .34;
    padding: 0;
  }
  .hero__mini-card {
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 2;
    width: min(74%, 270px);
    margin: 1.05rem 0 1.05rem 1rem;
    border-width: 6px;
  }
  .item-list, .cake-grid, .event-grid { grid-template-columns: 1fr; }
  .planner-visual, .planner-visual--split {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .planner-visual--split img:nth-child(2) {
    display: none;
  }
  .catalog-card, .catalog-card--wide {
    grid-template-columns: 1fr;
  }
  .catalog-card img {
    aspect-ratio: 16 / 8.5;
    min-height: 0;
  }
  .catalog-card div { padding: .9rem; }
  .catalog-card h3 { font-size: clamp(1.55rem, 7vw, 2.15rem); }
  .catalog-card p { font-size: .92rem; }
  .catalog-card span { font-size: .7rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
@media (max-width: 460px) {
  .button, .summary-actions .button, .footer__contact .button { width: 100%; }
  .planner-visual, .planner-visual--split {
    grid-template-columns: 1fr;
  }
  .planner-visual img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .planner-visual div {
    padding: .85rem;
  }
  .line-item { grid-template-columns: 54px minmax(0, 1fr); }
  .line-item input { grid-column: 1 / -1; }
  .hero {
    width: min(100% - 20px, 1180px);
    padding-top: 5.7rem;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero__visual {
    min-height: 370px;
  }
  .hero__main-img {
    inset: auto -28% -9% auto;
    width: 105%;
    height: 66%;
    opacity: .3;
  }
  .hero__mini-card {
    width: min(78%, 250px);
    margin: .9rem 0 .9rem .85rem;
  }
  .hero__mini-card img {
    aspect-ratio: 1 / 1;
  }
  .catalog-hero,
  .page-hero--compact {
    padding: 7.2rem 1rem 1.5rem;
  }
  .catalog-hero h1,
  .page-hero--compact h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .order-teaser {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .order-teaser h2 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }
}

/* Site pages, footer and theme switch overrides */
.nav-links .theme-switch {
  position: relative;
  width: 72px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--solid);
  color: var(--ink);
  cursor: pointer;
  padding: 0 .62rem;
}
.theme-switch__icon {
  position: relative;
  z-index: 2;
  font-size: .95rem;
  font-weight: 900;
}
.theme-switch__knob {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 8px 20px rgba(132, 35, 60, .28);
  transition: transform 220ms ease;
}
[data-theme="dark"] .theme-switch__knob {
  transform: translateX(32px);
}
.page-hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 34vh;
  display: grid;
  align-content: end;
  margin-inline: auto;
  padding: 7rem 0 2.25rem;
}
.page-hero h1 {
  max-width: 14ch;
}
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.home-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: inherit;
  padding: 1.35rem;
  text-decoration: none;
  box-shadow: 0 18px 58px rgba(55, 29, 22, .08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.home-card span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}
.home-card h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}
.home-card p {
  color: var(--muted);
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.story-layout img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.story-layout p {
  color: var(--muted);
}
.footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: #3d1020;
  color: #fff;
  border-top: 0;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.footer p { color: rgba(255, 255, 255, .76); }
.footer .brand small { color: rgba(255, 255, 255, .7); }
.footer__contact {
  align-content: start;
  display: grid;
  gap: .75rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 900;
  padding: .8rem 1rem;
  text-decoration: none;
}
.social-link svg { display: none; }
.social-link[href*="wa.me"]::before,
.social-link[href*="instagram.com"]::before {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  font-size: .82rem;
  line-height: 1;
}
.social-link[href*="wa.me"]::before { content: "☎"; }
.social-link[href*="instagram.com"]::before { content: "◎"; }
@media (max-width: 980px) {
  .story-layout,
  .home-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .page-hero {
    width: min(100% - 24px, 1180px);
  }
  .footer {
    width: 100vw;
  }
  .nav-links .theme-switch {
    margin-top: .35rem;
  }
}

/* Final social icon and floating WhatsApp overrides */
.social-link[href*="wa.me"]::before,
.social-link[href*="instagram.com"]::before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 20px;
  border-radius: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.social-link[href*="wa.me"]::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2325D366' d='M20.52 3.48A11.86 11.86 0 0 0 12.08 0C5.47 0 .09 5.38.09 11.99c0 2.12.55 4.18 1.61 6L0 24l6.17-1.62a11.92 11.92 0 0 0 5.91 1.5h.01c6.61 0 11.99-5.38 11.99-11.99 0-3.2-1.25-6.21-3.56-8.41ZM12.09 21.85h-.01a9.9 9.9 0 0 1-5.05-1.38l-.36-.21-3.66.96.98-3.57-.23-.37a9.87 9.87 0 1 1 8.33 4.57Zm5.42-7.39c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.95 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.47-.89-.79-1.49-1.76-1.66-2.06-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51l-.57-.01c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.22 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.27.49 1.7.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.41.25-.69.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35Z'/%3E%3C/svg%3E");
}
.social-link[href*="instagram.com"]::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='1' y2='0'%3E%3Cstop stop-color='%23feda75'/%3E%3Cstop offset='.3' stop-color='%23fa7e1e'/%3E%3Cstop offset='.55' stop-color='%23d62976'/%3E%3Cstop offset='.8' stop-color='%239624fb'/%3E%3Cstop offset='1' stop-color='%234f5bd5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3.8A4.2 4.2 0 1 1 12 16.2 4.2 4.2 0 0 1 12 7.8Zm0 2A2.2 2.2 0 1 0 12 14.2 2.2 2.2 0 0 0 12 9.8Zm5.15-3.3a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Z'/%3E%3C/svg%3E");
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 18px 42px rgba(37, 211, 102, .34);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 54px rgba(37, 211, 102, .42);
}
.whatsapp-float span {
  width: 32px;
  height: 32px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M20.52 3.48A11.86 11.86 0 0 0 12.08 0C5.47 0 .09 5.38.09 11.99c0 2.12.55 4.18 1.61 6L0 24l6.17-1.62a11.92 11.92 0 0 0 5.91 1.5h.01c6.61 0 11.99-5.38 11.99-11.99 0-3.2-1.25-6.21-3.56-8.41ZM12.09 21.85h-.01a9.9 9.9 0 0 1-5.05-1.38l-.36-.21-3.66.96.98-3.57-.23-.37a9.87 9.87 0 1 1 8.33 4.57Zm5.42-7.39c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.95 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.47-.89-.79-1.49-1.76-1.66-2.06-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51l-.57-.01c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.22 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.27.49 1.7.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.41.25-.69.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Integrated experience cards */
.home-card {
  overflow: hidden;
  justify-content: flex-start;
  padding: 0;
}
.home-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.home-card span {
  display: block;
  padding: 1rem clamp(1rem, 2vw, 1.35rem) 0;
}
.home-card h2 {
  padding-inline: clamp(1rem, 2vw, 1.35rem);
}
.home-card p {
  padding: 0 clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
}

/* Conversion sections and compact page heroes */
.catalog-hero,
.history-hero,
.page-hero--compact {
  min-height: auto;
  align-content: center;
  padding: 8.2rem clamp(1rem, 4vw, 3rem) 2.8rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--blush) 64%, transparent));
  box-shadow: 0 18px 58px rgba(55, 29, 22, .08);
}
.catalog-hero h1,
.history-hero h1,
.page-hero--compact h1 {
  max-width: 24ch;
  font-size: clamp(2.25rem, 4.55vw, 4.15rem);
}
.catalog-hero p,
.history-hero p,
.page-hero--compact p {
  max-width: 880px;
}
.order-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--wine) 12%, transparent), color-mix(in srgb, var(--surface) 92%, transparent)),
    var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.4rem, 3vw, 2.5rem);
}
.order-teaser h2 {
  max-width: 760px;
  font-size: clamp(2.15rem, 4.1vw, 3.65rem);
}
.order-teaser--compact {
  padding: clamp(1rem, 2vw, 1.5rem);
}
.order-teaser--compact h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}
.order-teaser p {
  max-width: 760px;
  color: var(--muted);
}
.page-hero + section {
  padding-top: clamp(2.8rem, 5vw, 4.8rem);
}
.catalog-menu {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.story-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 3vw, 2rem);
}
.story-panel img {
  background: #fff;
  object-fit: contain;
  padding: clamp(1rem, 3vw, 2rem);
}
.history-hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
}
.story-panel h2 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
}
.footer__contact {
  grid-template-columns: repeat(2, auto);
  align-items: center;
}
.footer__contact .social-link {
  width: 54px;
  height: 54px;
  justify-content: center;
  padding: 0;
  font-size: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.footer__contact .social-link:hover,
.footer__contact .social-link:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.footer__contact .social-link::before {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}
.slider__track {
  animation-duration: 260s !important;
}
.combo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .9rem;
}
.combo-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--wine-deep);
  font-weight: 1000;
  padding: .45rem .75rem;
}
@media (min-width: 981px) {
  .summary-card__bar {
    display: flex;
    margin-bottom: .55rem;
  }
  .summary-card__panel {
    display: none;
  }
  .summary-card.is-open .summary-card__panel {
    display: block;
  }
}
@media (max-width: 760px) {
  .footer .brand--footer {
    align-items: center;
  }
  .footer .brand--footer span {
    display: block;
  }
  .footer .brand--footer strong {
    font-size: 1.25rem;
  }
  .footer__contact {
    display: flex;
    gap: .35rem;
    margin-top: .9rem;
  }
  .footer__contact .social-link {
    width: 44px;
    height: 44px;
  }
  .footer__contact .social-link::before {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}
.story-panel {
  margin-top: 7rem;
}
