/* Gusto Vero: black, gold and Italian green, after the printed catalogue */
:root {
  --black: #0d0d0c;
  --ink: #1c1b18;
  --muted: #5f5b52;
  --line: #e4ded1;
  --cream: #f7f3ea;
  --paper: #ffffff;
  --gold: #c2a53b;
  --gold-dark: #9c8329;
  --green: #0f3d24;
  --it-green: #009246;
  --it-red: #ce2b37;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 13, 12, .08);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 16px/1.65 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: .01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: var(--black); padding: 8px 14px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--black); color: #eae6dc; }
.section.dark h2 { color: #fff; }

.eyebrow { font: 600 .82rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow.dark { color: var(--gold-dark); }
.lead { font-size: 1.15rem; color: #d9d4c7; max-width: 62ch; }
.lead.dark { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 .95rem var(--body); text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #d8bb4c; color: var(--black); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(3, 3, 3, 1); border-bottom: 1px solid rgba(194, 165, 59, .25); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { width: 128px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav li > a { display: block; padding: 10px 14px; color: #eae6dc; text-decoration: none; font: 600 1.05rem var(--display); letter-spacing: .08em; text-transform: uppercase; }
.site-nav li > a:hover, .site-nav a[aria-current] { color: var(--gold); }
.site-nav .btn { min-height: 42px; padding: 0 20px; }
.mega { display: none; position: absolute; left: -20px; top: 100%; background: var(--black); border: 1px solid rgba(194, 165, 59, .3); border-radius: var(--radius); padding: 22px 26px; gap: 36px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: flex; }
.mega div { display: grid; gap: 6px; min-width: 150px; align-content: start; }
.mega a { color: #d9d4c7; text-decoration: none; white-space: nowrap; }
.mega a:hover { color: var(--gold); }
.mega-h { color: var(--gold); font: 700 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 4px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--gold); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: radial-gradient(circle at 80% 20%, #23201a 0, var(--black) 60%); color: #fff; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.hero h1 { color: #fff; }
.hero-media { position: relative; }
.hero-main { display: block; border-radius: 28px; aspect-ratio: 1000 / 778; object-fit: cover; width: 90%; margin-left: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.hero-side { position: absolute; left: 0; bottom: -14%; width: 32%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 4px solid var(--black); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.stamp { position: absolute; right: -2%; top: -7%; z-index: 1; width: 104px; height: 104px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-content: center; text-align: center; font: 700 2rem/0.9 var(--display); transform: rotate(-10deg); }
.stamp small { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.flagbar { display: flex; height: 6px; }
.flagbar i, .flag i { flex: 1; background: var(--it-green); }
.flagbar i:nth-child(2), .flag i:nth-child(2) { background: #fff; }
.flagbar i:nth-child(3), .flag i:nth-child(3) { background: var(--it-red); }

.facts-strip { background: var(--green); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0; }
.facts div { display: grid; }
.facts b { font: 700 1.7rem var(--display); color: var(--gold); }
.facts span { font-size: .92rem; color: #cfd8d2; }

/* Section heads & cards */
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: var(--black); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .85; }
.cat-card:hover img { transform: scale(1.05); opacity: .7; }
.cat-body { position: absolute; inset: auto 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: grid; }
.cat-group { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cat-name { font: 700 1.7rem/1.1 var(--display); text-transform: uppercase; }
.cat-count { font-size: .88rem; color: #ddd; }
.cat-card:hover { color: #fff; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillars img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 20px; width: 100%; }
.pillars p { color: var(--muted); }
.pillars a { font-weight: 600; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split > img, .split aside img { border-radius: var(--radius); max-height: 560px; width: 100%; object-fit: cover; }
.wl-band .split > img { aspect-ratio: 4 / 5; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.ticks.dark li::before { border-color: var(--it-green); }

.fillings { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; }
.fillings li { text-align: center; font: 600 1.05rem var(--display); text-transform: uppercase; letter-spacing: .04em; }
.fillings img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; margin: 0 auto 10px; border: 1px solid var(--line); background: #fff; width: 100%; max-width: 140px; }

.facts-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; }
.facts-list dt { font-weight: 600; color: var(--green); }
.facts-list dd { margin: 0; color: var(--muted); }

details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-band { background: var(--black) url("../img/covers/tomatoes.webp") right center / contain no-repeat; color: #fff; padding: 64px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #cfcabd; max-width: 56ch; margin: 0; }
.cta-inner .cta-row { margin: 0; }

/* Inner pages */
.page-hero { background: var(--black); color: #fff; padding: clamp(48px, 7vw, 88px) 0; position: relative; isolation: isolate; }
.page-hero.with-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 13, 12, .95) 35%, rgba(13, 13, 12, .55)), var(--bg) center / cover; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.crumbs { font-size: .88rem; color: #a8a294; margin-bottom: 18px; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs.dark { color: var(--muted); }
.crumbs.dark a { color: var(--green); }

.group-h { margin: 8px 0 28px; padding-bottom: 12px; border-bottom: 3px solid var(--gold); display: inline-block; text-transform: uppercase; }
.range-list { display: grid; gap: 28px; }
.range { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.range-img img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.range h3 a { color: var(--ink); text-decoration: none; }
.range p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { font-size: .85rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--cream); }
.chips a:hover { border-color: var(--gold); }

.cat-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-bottom: 44px; font-size: 1.08rem; }
.options { background: var(--cream); border-radius: var(--radius); padding: 20px 24px; }
.opt-h { font-weight: 700; color: var(--green); margin-bottom: 8px; }
.options ul { margin: 0; padding-left: 18px; color: var(--muted); }

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; margin-bottom: 48px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: box-shadow .2s, transform .2s; }
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prod-card > a { text-decoration: none; color: var(--ink); }
.prod-card img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.prod-card h2, .prod-card h3 { font-size: 1.3rem; text-transform: uppercase; margin: 10px 0 6px; }
.note { font-size: .85rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 8px; }
.specs { list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--muted); display: grid; gap: 3px; }
.specs span { display: inline-block; width: 62px; font-weight: 600; color: var(--green); }
.prod-grid.small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 0; }

.product-main { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 12px; }
.gallery .g-main { display: block; border: 1px solid var(--line); border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.g-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin-top: 12px; }
.g-thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color .15s; }
.g-thumbs button:hover, .g-thumbs button[aria-current="true"] { border-color: var(--gold); }
.g-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-main h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 4px; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; color: var(--green); font-weight: 600; padding-right: 12px; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps b { display: grid; place-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); font: 700 1.3rem var(--display); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item h2 { font-size: 1.55rem; }
.faq-item p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cfc8b8; border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: 2px solid rgba(194, 165, 59, .3); }
.form .btn { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.alert { background: #fbeaea; border-left: 4px solid var(--it-red); padding: 12px 16px; border-radius: 8px; }
.alert p { margin: 0; }
.contact-card { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.contact-card address { font-style: normal; margin-bottom: 12px; }
.contact-card iframe { width: 100%; height: 260px; border: 0; border-radius: 10px; }

/* Footer */
.site-footer { background: var(--black); color: #b5afa1; padding-top: 64px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-grid img { width: 140px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { color: #d9d4c7; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid address { font-style: normal; margin-bottom: 14px; line-height: 1.8; }
.foot-h { color: var(--gold); font: 700 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #2a2823; margin-top: 48px; padding: 22px 0; font-size: .85rem; }
.flag { display: flex; width: 54px; height: 6px; }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }

/* Responsive */
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 0; background: var(--black); flex-direction: column; align-items: stretch; padding: 16px; gap: 16px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav li > a { font-size: 1.3rem; padding: 12px 8px; border-bottom: 1px solid #2a2823; }
  .mega { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); position: static; border: 0; border-radius: 0; box-shadow: none; padding: 12px 8px 16px; gap: 18px 20px; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
  .mega div { min-width: 0; }
  .mega a { white-space: normal; padding: 3px 0; }
  .site-nav .btn { align-self: flex-start; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-grid, .split, .pillars, .cat-intro, .product-main, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin: 30px auto 60px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .range { grid-template-columns: 1fr; }
  .cta-band { background-image: none; }
}
@media (max-width: 560px) {
  .footer-grid, .row2, .steps { grid-template-columns: 1fr; }
  .facts-list { grid-template-columns: 1fr; gap: 2px; }
  .facts-list dd { margin-bottom: 10px; }
  .prod-grid, .prod-grid.small { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-card { padding: 10px; }
  .prod-card h2, .prod-card h3 { font-size: 1.05rem; }
  .specs span { width: auto; margin-right: 4px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.prod-card img.is-cover, .gallery .g-main.is-cover { object-fit: cover; aspect-ratio: 1; border-radius: 10px; }
