:root {
  --orange: #f7a21b;
  --orange-dark: #d9860c;
  --red: #e8173f;
  --green: #1f9a3c;
  --green-dark: #157a2e;
  --cream: #fffaf0;
  --sand: #fff1d6;
  --ink: #23221f;
  --muted: #625d54;
  --line: #f0e2c4;
  --white: #ffffff;
  --radius: 20px;
  --max: 1160px;
  --font: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", Nunito, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font); line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hl { color: var(--green); }
.eyebrow { font-family: var(--font); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .8em; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 34em; }

.announce { margin: 0; background: var(--green); color: var(--white); text-align: center; font-weight: 700; font-size: .86rem; padding: 8px 16px; }

.btn { display: inline-block; padding: .85em 1.7em; border-radius: 999px; background: var(--green); color: var(--white); font-family: var(--font); font-weight: 800; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 4px 0 var(--green-dark); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--green-dark); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-dark); }
.btn-alt { background: var(--orange); box-shadow: 0 4px 0 var(--orange-dark); }
.btn-alt:hover { box-shadow: 0 6px 0 var(--orange-dark); }
.btn-white { background: var(--white); color: var(--green-dark); box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.btn:focus-visible, .filter:focus-visible, .add:focus-visible, .cart:focus-visible, summary:focus-visible, .nav a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); }
.header-inner { display: flex; align-items: center; height: 84px; gap: 24px; }
.brand img { width: 74px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-family: var(--font); font-weight: 800; font-size: 1rem; color: var(--ink); }
.nav a:hover { color: var(--green); }
.cart { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sand); }
.cart svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.800; stroke-linejoin: round; stroke-linecap: round; }
.cart-count { position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cart-count.has-items { background: var(--red); }

/* Striped awning edge, echoing the logo */
.awning { height: 16px; background:
  radial-gradient(circle at 50% 0, transparent 0 0, var(--orange) 0) 0 0 / 0 0,
  repeating-linear-gradient(90deg, var(--orange) 0 48px, var(--red) 48px 96px);
  -webkit-mask: radial-gradient(circle 24px at 24px -8px, #000 98%, transparent) 0 0 / 48px 16px repeat-x;
          mask: radial-gradient(circle 24px at 24px -8px, #000 98%, transparent) 0 0 / 48px 16px repeat-x; }
.awning-flip { transform: scaleY(-1); background-color: transparent; }

.hero { padding: 54px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-art { position: relative; }
.shelf { background: var(--white); border-radius: 28px; padding: 26px 22px 12px; box-shadow: 0 24px 50px rgba(120,80,20,.14); }
.shelf-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 10px solid #e9c98d; border-radius: 0 0 4px 4px; }
.shelf-row svg { width: 100%; aspect-ratio: 1; }
.sticker { position: absolute; top: -16px; right: -10px; width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; align-content: center; font-family: var(--font); font-weight: 800; font-size: .9rem; line-height: 1; transform: rotate(10deg); box-shadow: 0 10px 20px rgba(232,23,63,.3); }
.sticker b { font-size: 1.6rem; margin-top: 2px; }

.promises { padding-bottom: 20px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise { display: flex; flex-direction: column; border-radius: var(--radius); padding: 22px 24px; color: var(--white); }
.promise strong { font-family: var(--font); font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.promise span { opacity: .92; }
.p1 { background: var(--green); }
.p2 { background: var(--orange); color: var(--ink); }
.p3 { background: var(--red); }

.section { padding: 80px 0; }
.section-alt { background: var(--sand); }
.section-green { background: var(--green); color: var(--white); }
.section-green .eyebrow { color: #ffd88a; }
.section-green .lead { color: rgba(255,255,255,.88); margin-bottom: 1.5em; }

.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.shop-head h2 { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font-family: var(--font); font-weight: 800; font-size: .95rem; padding: .55em 1.2em; border-radius: 999px; background: var(--white); color: var(--ink); border: 2px solid var(--line); cursor: pointer; }
.filter:hover { border-color: var(--orange); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.product { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 18px; border: 2px solid var(--line); transition: transform .15s, border-color .15s; }
.product:hover { transform: translateY(-3px); border-color: var(--orange); }
.product-art { background: var(--sand); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.product-art img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.product:hover .product-art img { transform: scale(1.05); }
.product-cat { margin: 0 0 .2em; font-family: var(--font); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.product[data-cat="casalinghi"] .product-cat { color: var(--orange-dark); }
.product h3 { margin-bottom: .3em; }
.product-desc { color: var(--muted); font-size: .94rem; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font); font-size: 1.5rem; font-weight: 800; }
.add { font-family: var(--font); font-weight: 800; font-size: .92rem; padding: .55em 1.1em; border-radius: 999px; background: var(--orange); color: var(--ink); border: 0; cursor: pointer; box-shadow: 0 3px 0 var(--orange-dark); }
.add:hover { background: #f9b143; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.milestones { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.milestones li { display: flex; gap: 16px; align-items: center; background: var(--white); border-radius: 16px; padding: 14px 18px; }
.milestones p { margin: 0; color: var(--muted); }
.year { flex: none; min-width: 70px; font-family: var(--font); font-weight: 800; font-size: 1.25rem; color: var(--red); }
.growth { margin: 0; }
.growth-box { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 0 auto; }
.sq { position: absolute; left: 0; bottom: 0; border-radius: 14px; display: flex; padding: 16px; }
.sq span { font-family: var(--font); font-weight: 800; font-size: 1.5rem; line-height: 1.1; display: flex; flex-direction: column; }
.sq small { font-size: .85rem; font-weight: 700; opacity: .85; }
.sq-big { width: 100%; height: 100%; background: var(--green); color: var(--white); align-items: flex-start; justify-content: flex-end; text-align: right; }
/* Area ratio 1:6, so the side ratio is 1:sqrt(6) ≈ 40.8% */
.sq-small { width: 40.800%; height: 40.800%; background: var(--orange); color: var(--ink); align-items: flex-end; border: 4px solid var(--sand); }
.sq-small span { font-size: 1.1rem; }
.growth figcaption { text-align: center; margin-top: 14px; color: var(--muted); font-size: .95rem; }

.team { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; }
.team-badge { background: var(--white); border-radius: 50%; aspect-ratio: 1; max-width: 300px; width: 100%; display: grid; place-items: center; border: 8px solid var(--sand); margin: 0 auto; }
.team-badge img { width: 62%; }
.team > div > p:last-child { color: var(--muted); }

.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--white); color: var(--ink); border-radius: 16px; padding: 2px 22px; }
.faq-list summary { cursor: pointer; font-family: var(--font); font-weight: 800; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange-dark); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 0 0 16px; color: var(--muted); }

.site-footer { background: var(--white); color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; }
.footer-inner p { margin: 0; }

@media (max-width: 960px) {
  .nav { display: none; }
  .cart { margin-left: auto; }
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero-inner, .story, .team, .faq { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 36px 0 56px; }
  .hero-art { max-width: 440px; width: 100%; margin: 0 auto; }
  .section { padding: 60px 0; }
  .promise-grid { grid-template-columns: 1fr; }
  .team-badge { max-width: 220px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .announce { font-size: .78rem; }
  .header-inner { height: 74px; }
  .brand img { width: 62px; }
  .products { grid-template-columns: 1fr; }
  .sticker { width: 78px; height: 78px; right: -4px; font-size: .78rem; }
  .sticker b { font-size: 1.3rem; }
  .sq span { font-size: 1.2rem; }
  .sq-small span { font-size: .9rem; }
  .sq-small small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
