:root {
  color-scheme: light;
  --ink: #21150f;
  --muted: #6d5a47;
  --paper: #fff7df;
  --cream: #f7eccb;
  --straw: #e5b94f;
  --yolk: #f3a51d;
  --red: #b64028;
  --leaf: #284f2a;
  --leaf-soft: #6f8a55;
  --blue: #99c8c0;
  --line: rgba(33, 21, 15, 0.15);
  --white: #fffdf5;
  --shadow: 0 26px 80px rgba(51, 33, 20, 0.22);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 165, 29, 0.18), transparent 28rem),
    linear-gradient(180deg, #fff8df 0%, #f9edcf 42%, #fff7df 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 247, 223, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 42px;
  object-fit: cover;
  border: 2px solid currentColor;
  border-radius: 10px;
  background: var(--cream);
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  overflow: hidden;
  background: #102516;
  color: var(--white);
}

.hero-media {
  position: relative;
  min-height: 100vh;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(16, 37, 22, 0.1), rgba(16, 37, 22, 0.82));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  align-self: center;
  padding: 108px clamp(24px, 6vw, 88px) 76px;
}

.hero-logo {
  width: min(250px, 70vw);
  margin-bottom: 22px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: rotate(-1.3deg);
}

.eyebrow,
.section-label {
  margin: 0 0 13px;
  color: var(--straw);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.05rem, 5.25vw, 5.7rem);
  line-height: 0.92;
}

h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.7vw, 5rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 253, 245, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--yolk);
  color: #22150c;
  box-shadow: 0 12px 30px rgba(243, 165, 29, 0.32);
}

.button.secondary,
.button.ghost {
  border-color: rgba(255, 253, 245, 0.55);
  color: var(--white);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--straw);
  color: var(--ink);
}

.ticker span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid rgba(33, 21, 15, 0.2);
  font-weight: 900;
  text-align: center;
}

.ticker span:last-child {
  border-right: 0;
}

.intro,
.gallery,
.faq,
.order {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 7vw, 96px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(30px, 7vw, 90px);
}

.intro-copy p,
.claim p,
.cards p,
.order-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy-wrap {
  display: grid;
  gap: 24px;
}

.stamp-card {
  position: relative;
  margin: 8px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 18px 50px rgba(51, 33, 20, 0.13);
}

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

.stamp-card figcaption {
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 900;
}

.product-strip {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  background: var(--leaf);
  color: var(--white);
}

.egg-card {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
}

.egg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.egg-card figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 247, 223, 0.92);
  color: var(--ink);
}

.egg-card span,
.cards span {
  display: block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.egg-card strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.claim {
  align-self: center;
  padding: clamp(54px, 8vw, 96px);
}

.claim p {
  max-width: 620px;
  color: rgba(255, 253, 245, 0.78);
}

.claim .button {
  margin-top: 14px;
  background: var(--straw);
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.cards article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 48px);
  background: rgba(255, 253, 245, 0.66);
}

.cards p {
  margin-bottom: 0;
}

.gallery {
  background: var(--cream);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.92fr 0.92fr;
  grid-auto-rows: 300px;
  gap: 18px;
}

.photo-grid figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--leaf);
  box-shadow: 0 1px 0 var(--line);
  cursor: zoom-in;
}

.photo-grid figure.wide {
  grid-row: span 2;
}

.photo-grid figure.crop-low img {
  object-position: center 70%;
}

.photo-grid figure:nth-child(6),
.photo-grid figure:nth-child(8),
.photo-grid figure:nth-child(10),
.photo-grid figure:nth-child(12) {
  grid-column: span 2;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.photo-grid figure:hover img {
  transform: scale(1.035);
}

.photo-grid figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(33, 21, 15, 0.72);
  color: var(--white);
  font-weight: 800;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(30px, 7vw, 90px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.faq-list article {
  padding: 24px;
  background: rgba(255, 253, 245, 0.7);
}

.faq-list h3 {
  margin-bottom: 8px;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-list a {
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(12, 9, 7, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox[aria-hidden="true"] {
  pointer-events: none;
}

.lightbox-image {
  max-width: min(100%, 1280px);
  max-height: 84vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  position: absolute;
  left: clamp(16px, 4vw, 48px);
  right: clamp(16px, 4vw, 48px);
  bottom: 18px;
  margin: 0;
  color: var(--white);
  font-weight: 850;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 253, 245, 0.45);
  border-radius: 50%;
  background: rgba(255, 253, 245, 0.12);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 253, 245, 0.22);
}

.order {
  background:
    linear-gradient(rgba(33, 21, 15, 0.7), rgba(33, 21, 15, 0.7)),
    url("/assets/img/reparto.webp") center / cover;
  color: var(--white);
}

.order-panel {
  width: min(720px, 100%);
  margin-left: auto;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(255, 253, 245, 0.28);
  border-radius: 10px;
  background: rgba(255, 247, 223, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.order-panel p {
  max-width: 560px;
}

.order-panel .button.ghost {
  border-color: rgba(33, 21, 15, 0.25);
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 7vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .faq,
  .product-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 46vh;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(16, 37, 22, 0.06), #102516);
  }

  .hero-content {
    padding-top: 32px;
  }

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

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 310px;
  }

  .photo-grid figure.wide,
  .photo-grid figure:nth-child(6),
  .photo-grid figure:nth-child(8),
  .photo-grid figure:nth-child(10),
  .photo-grid figure:nth-child(12) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span {
    display: none;
  }

  .nav {
    gap: 12px;
    font-size: 0.84rem;
  }

  .nav a:first-child {
    display: none;
  }

  .hero-logo {
    width: min(310px, 84vw);
  }

  .hero-content,
  .intro,
  .gallery,
  .faq,
  .order,
  .claim {
    padding-inline: 18px;
  }

  .hero-actions,
  .order-actions,
  .button {
    width: 100%;
  }

  .ticker,
  .cards {
    grid-template-columns: 1fr;
  }

  .ticker span {
    min-height: 58px;
  }

  .egg-card {
    min-height: 440px;
  }

  .egg-card strong {
    font-size: 1.6rem;
  }

  .gallery-head {
    display: block;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .photo-grid figure.wide,
  .photo-grid figure:nth-child(6),
  .photo-grid figure:nth-child(8),
  .photo-grid figure:nth-child(10),
  .photo-grid figure:nth-child(12) {
    grid-column: span 1;
  }

  .footer {
    flex-direction: column;
  }
}
