@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}

:root {
  --ink: #25221f;
  --muted: #746d65;
  --cream: #f8f5ef;
  --paper: #fffdf9;
  --red: #ce2b37;
  --red-dark: #a91f2b;
  --green: #008c45;
  --line: #e7e1d8;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { align-items: center; display: flex; justify-content: space-between; margin: 0 auto; max-width: 1180px; padding: 34px 20px; position: relative; }
.brand { align-items: center; display: flex; gap: 10px; }
.brand-mark { border-radius: 50%; height: 102px; object-fit: cover; width: 102px; }
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 800; }
.menu-toggle { background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 8px 0 8px 8px; }
.menu-toggle span { background: var(--ink); display: block; height: 2px; transition: transform .2s, opacity .2s; width: 24px; }
.main-navigation { background: var(--paper); border-bottom: 1px solid var(--line); display: none; left: 0; padding: 8px 20px 20px; position: absolute; right: 0; top: 146px; z-index: 5; }
.main-navigation.is-open { display: grid; gap: 16px; }
.main-navigation a { font-size: 14px; font-weight: 600; padding: 5px 0; }
.nav-order { color: var(--red); }

.hero { display: grid; gap: 34px; margin: 0 auto; max-width: 1180px; padding: 36px 20px 68px; }
.eyebrow { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .14em; margin: 0 0 14px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); letter-spacing: -.04em; }
h1 { font-size: clamp(48px, 14vw, 78px); line-height: .98; margin-bottom: 22px; }
h2 { font-size: clamp(38px, 10vw, 58px); line-height: 1.02; margin-bottom: 22px; }
em { color: var(--red); font-style: normal; }
.hero-text { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 390px; }
.button { align-items: center; border-radius: 4px; display: inline-flex; font-size: 13px; font-weight: 700; gap: 20px; justify-content: space-between; padding: 15px 18px; }
.button-primary { background: var(--red); color: #fff; margin-top: 8px; min-width: 165px; }
.button-primary:hover { background: var(--red-dark); }
.hero-meta { align-items: center; color: var(--muted); display: flex; font-size: 11px; gap: 12px; line-height: 1.45; margin-top: 30px; }
.hero-meta strong { color: var(--ink); font-size: 16px; margin-right: 2px; }
.hero-meta:first-letter { color: var(--red); }
.meta-divider { background: var(--line); height: 27px; width: 1px; }
.hero-image-wrap { max-width: 540px; position: relative; }
.hero-image { border-radius: 46% 46% 4px 4px; overflow: hidden; }
.hero-image img { aspect-ratio: 1 / 1.05; object-fit: cover; }
.fresh-badge { background: var(--green); border-radius: 50%; bottom: 18px; color: white; font-family: var(--serif); font-size: 13px; height: 92px; line-height: 1.1; padding-top: 23px; position: absolute; right: 12px; text-align: center; transform: rotate(10deg); width: 92px; }
.fresh-badge span { display: block; font-size: 16px; margin-bottom: 4px; }

.section-container { margin: 0 auto; max-width: 1180px; padding: 68px 20px; }
.menu-section { background: var(--paper); max-width: none; padding-left: max(20px, calc((100vw - 1140px) / 2)); padding-right: max(20px, calc((100vw - 1140px) / 2)); }
.section-heading { align-items: end; display: flex; justify-content: space-between; }
.text-link { border-bottom: 1px solid var(--red); color: var(--red); font-size: 12px; font-weight: 700; padding-bottom: 4px; white-space: nowrap; }
.text-link span { font-size: 17px; margin-left: 8px; }
.category-list { border-bottom: 1px solid var(--line); display: flex; gap: 24px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 11px; }
.category { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; padding: 0 0 8px; white-space: nowrap; }
.category.active { border-bottom: 2px solid var(--red); color: var(--ink); font-weight: 700; }
.menu-category { margin-top: 42px; }
.menu-category:first-of-type { margin-top: 0; }
.menu-category-title { border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 30px; margin: 0 0 20px; padding-bottom: 10px; }
.pizza-grid { display: grid; gap: 20px; }
.pizza-card { background: var(--cream); position: relative; }
.menu-page .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menu-page .menu-grid .empty-pizza { aspect-ratio: 1 / 1; display: block; }
.menu-placeholder .card-image { aspect-ratio: 1.25; background: var(--line); }
.menu-placeholder .card-content { padding-right: 16px; }
.menu-placeholder .card-image { aspect-ratio: 1.25; background: var(--line); }
.menu-placeholder .card-content { padding-right: 16px; }
.card-image { overflow: hidden; position: relative; }
.card-image img { aspect-ratio: 1.25; object-fit: cover; transition: transform .3s; }
.pizza-card:hover img { transform: scale(1.04); }
.menu-note { border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.5; margin: 28px 0 0; padding-top: 16px; }
.tag { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; left: 12px; padding: 6px 9px; position: absolute; text-transform: uppercase; top: 12px; }
.tag-green { background: var(--green); }
.card-content { display: flex; flex-direction: column; padding: 18px 46px 20px 16px; }
.card-content > div, .price-options { display: contents; }
.card-content h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 4px; order: 1; }
.card-content p { color: var(--muted); font-size: 11px; line-height: 1.4; margin: 0; max-width: 200px; order: 3; }
.price { font-size: 15px; font-weight: 700; margin-bottom: 7px; order: 2; white-space: nowrap; }
.price-options .variant-price { order: 5; }
.price-options .vacio { display: none; }
.variant-label { color: var(--muted); font-size: 10px; margin-top: 7px !important; max-width: none !important; order: 4; }
.variant-price { color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.3; }

.family-section { align-items: center; display: grid; gap: 38px; }
.family-image { max-width: 520px; }
.family-image img { aspect-ratio: 1.18; object-fit: cover; }
.family-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 380px; }
.contact-section { background: var(--green); color: #fff; }
.contact-inner { align-items: center; display: flex; flex-wrap: wrap; gap: 35px; justify-content: space-between; }
.contact-section .eyebrow { color: #d9b76d; }
.contact-section h2 em { color: #e6c575; }
.contact-actions { min-width: 220px; }
.button-light { background: #fff; color: var(--green); min-width: 190px; }
.opening-hours { font-size: 12px; line-height: 1.55; margin: 24px 0 0; }
.opening-hours div { border-bottom: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 18px; grid-template-columns: 78px 1fr; padding: 8px 0; }
.opening-hours dt { font-weight: 700; text-transform: capitalize; }
.opening-hours dd { margin: 0; opacity: .85; }
.address { font-size: 11px; line-height: 1.7; margin: 20px 0 0; opacity: .75; }
.address a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.location-details { display: grid; gap: 18px; margin-top: 20px; }
.location-details .address { margin-top: 0; }
.map-wrapper { border-radius: 4px; overflow: hidden; }
.map-wrapper a { display: block; }
.map-wrapper img { height: 190px; object-fit: cover; width: 100%; }
.site-footer { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 10px; gap: 15px; justify-content: space-between; margin: 0 auto; max-width: 1180px; padding: 26px 20px; }
.site-footer .brand-name { color: var(--ink); font-size: 16px; }
.social-links { display: flex; gap: 16px; }
.social-links a { display: block; }
.social-links img { height: 22px; object-fit: contain; width: 22px; }
.social-links a:hover { opacity: .7; }
.site-footer > span:last-child { order: 4; }
.legal-links { display: flex; flex-basis: 100%; flex-wrap: wrap; gap: 12px; justify-content: center; order: 5; padding-top: 8px; }
.legal-links a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.legal-links a:hover { border-color: var(--red); color: var(--red); }

@media (min-width: 700px) {
  .site-header { padding: 34px 32px; }
  .menu-toggle { display: none; }
  .main-navigation { align-items: center; background: none; border: 0; display: flex; gap: 28px; padding: 0; position: static; }
  .main-navigation a { font-size: 12px; }
  .nav-order { border-bottom: 1px solid var(--red); padding-bottom: 4px !important; }
  .hero { align-items: center; grid-template-columns: 1fr .9fr; padding: 60px 32px 100px; }
  .section-container { padding-left: 32px; padding-right: 32px; }
  .location-details { grid-template-columns: minmax(110px, .7fr) minmax(220px, 1.3fr); }
  .pizza-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-page .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .family-section { grid-template-columns: 1fr 1fr; }
  .family-copy { padding-left: 25px; }
}

@media (min-width: 1000px) {
  .hero { gap: 80px; }
  .section-container { padding-bottom: 100px; padding-top: 100px; }
  .family-section { gap: 80px; }
}
