/* ==========================================================================
   Compro oro ad Arzignano · Gioielleria Pascucci            v5
   Mobile-first · breakpoint 768px e 1024px

   Direzione: moderna, giovane, luminosa. Un solo font di carattere
   (Bricolage Grotesque) per titoli e marchio, sans di sistema per il testo.
   Pannelli morbidi a grandi raggi, oro vivo e chiaro con testo scuro.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-wght.woff2") format("woff2");
  font-weight: 200 800;          /* file variabile: usati solo 600 e 800 */
  font-style: normal;
  font-display: swap;
}

:root {
  /* base del cliente (§6) */
  --paper: #FFFFFF;
  --ivory: #FAF7F0;
  --ink: #1F1F1F;
  --ink-2: #555555;
  --gold: #B8892B;            /* icone e dettagli */
  --gold-deep: #7A5A1E;       /* link (≥ 4.5:1 su bianco) */

  /* oro "vivo" e miele chiaro per superfici e bottoni (testo sempre scuro) */
  --gold-bright: #E6B84A;     /* ink su questo colore: 8.9:1 */
  --gold-bright-2: #DBA937;
  --honey-50: #FFF8E6;
  --honey-100: #FBEBC2;
  --honey-line: #F2E2B8;
  --line: #EEE6D4;

  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --r-lg: 28px;
  --r-md: 18px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;           /* 18px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
}
h1, h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
h3 { font-weight: 600; letter-spacing: -.01em; }

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

a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--honey-100);
  text-underline-offset: 4px;
}
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon-ext { width: .8em; height: .8em; margin-left: .25em; vertical-align: -.05em; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Bottoni (pillola) --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 56px;
  padding: .8em 1.7em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 700 1.125rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; }

.btn-gold {
  color: var(--ink);
  background: var(--gold-bright);
  box-shadow: 0 10px 24px -12px rgba(184, 137, 43, .85);
}
.btn-gold:hover { color: var(--ink); background: var(--gold-bright-2); }

.btn-line {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--ink);
}
.btn-line:hover { color: var(--paper); background: var(--ink); }

/* --- Header -------------------------------------------------------------- */
/* nome al centro, ben visibile; telefono a destra */
.header-inner {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  min-height: 84px;
  padding-block: 10px;
}

/* marchio testuale provvisorio (il logo è ancora da definire) */
.brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--display);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand .brand-a { font-size: 1.05rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.brand-line { display: inline-flex; align-items: baseline; gap: .45em; margin-top: 3px; }
.brand .brand-b { font-size: 1.9rem; font-weight: 800; }
.brand-since {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold-deep);
  white-space: nowrap;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-a { font-weight: 600; color: var(--ink-2); }
.brand-b { font-weight: 800; }

.btn-call {
  grid-column: 3;
  justify-self: end;
  min-height: 48px;
  min-width: 48px;
  padding: 0;
  color: var(--ink);
  background: var(--honey-50);
  border-color: var(--honey-line);
}
.btn-call:hover { color: var(--ink); background: var(--honey-100); }
.btn-call-label { display: none; }

/* --- Hero: pannello luminoso --------------------------------------------- */
.hero { padding-block: 4px 40px; }
.hero > .wrap { padding-inline: 10px; }

.hero-panel {
  display: grid;
  gap: 32px;
  padding: 26px 18px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--honey-line);
  background:
    radial-gradient(120% 80% at 0% 0%, #FFF3D1 0%, rgba(255, 243, 209, 0) 60%),
    linear-gradient(180deg, var(--honey-50) 0%, #FFFDF8 100%);
}

.hero h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }

.hero-sub {
  margin-top: 12px;
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

.keypoints {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.keypoints li {
  display: flex;
  align-items: flex-start;
  gap: .6em;
  line-height: 1.4;
}
.tick {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  margin-top: .05em;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--ink);
}
.tick .icon { width: 14px; height: 14px; }

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

/* cashback in evidenza, con l'aspetto di un buono */
.cashback {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 2px dashed var(--gold);
  border-radius: var(--r-md);
  background: var(--paper);
  line-height: 1.4;
}
.cashback-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold-bright);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.cashback-text strong { font-weight: 700; }
.cashback-note { display: block; margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }

/* foto + indirizzo */
.hero-media { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  background: var(--honey-50);
  box-shadow: 0 0 0 1px rgba(184, 137, 43, .18), 0 24px 44px -26px rgba(122, 90, 30, .55);
}
.map-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 18px;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: 0 14px 32px -16px rgba(31, 31, 31, .28);
  line-height: 1.45;
}
.map-card > .icon { color: var(--gold); margin-top: .1em; }
.map-card-text { display: flex; flex-direction: column; gap: 2px; }

/* --- Leghe -------------------------------------------------------------- */
.alloys { padding-block: 36px 40px; }
.alloys-inner { display: grid; gap: 22px; }
.alloys h2 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
.alloys-text p { margin-top: 10px; color: var(--ink-2); text-wrap: pretty; }

.alloy-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.alloy-tiles li {
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 14px 4px 12px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}
.kt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
}
.kt-unit {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: 0;
  color: var(--ink-2);
}
.mill {
  margin-top: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--honey-100);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}

/* --- Come funziona (6 passi) --------------------------------------------- */
.how { padding-block: 8px 12px; }
.how > .wrap { padding-inline: 10px; }

.how-panel {
  padding: 32px 18px 34px;
  border-radius: var(--r-lg);
  background: var(--ivory);
}

.how-title {
  text-align: center;
  font-size: clamp(1.9rem, 5.4vw, 2.9rem);
  max-width: 20ch;
  margin-inline: auto;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 14px;
  align-items: start;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--gold-bright);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}
.steps h3 { font-size: 1.3rem; line-height: 1.25; padding-top: 2px; }
.steps p { margin-top: 4px; color: var(--ink-2); }

/* --- Recensioni ---------------------------------------------------------- */
.reviews { padding-block: 12px 12px; }
.reviews > .wrap { padding-inline: 10px; }
.reviews-panel {
  padding: 32px 18px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--honey-line);
  background: var(--honey-50);
  text-align: center;
}
.reviews h2 { font-size: clamp(1.9rem, 5.4vw, 2.9rem); }
.rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}
.rating-score {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -.03em;
}
.rating-stars { font-size: 1.6rem; letter-spacing: .08em; color: var(--gold-bright); }
.rating-line { display: inline-flex; align-items: baseline; gap: 8px; }
.rating-text { font-size: 1.25rem; font-weight: 600; color: var(--ink-2); }
.review-list { display: grid; gap: 12px; margin-top: 24px; text-align: left; }
.review-card { padding: 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.review-stars { color: var(--gold-bright); letter-spacing: .08em; }
.review-card blockquote { margin: 8px 0 0; }
.review-author { margin-top: 10px; font-weight: 700; }
.reviews-link { margin-top: 20px; }

/* --- Chi siamo / Dove siamo (due pannelli) ------------------------------ */
.about-where { padding-block: 0 48px; }
.about-where > .wrap { padding-inline: 10px; }
.two-col { display: grid; gap: 12px; }

.about, .where {
  padding: 26px 18px 28px;
  border-radius: var(--r-lg);
}
.about { background: var(--paper); border: 1px solid var(--line); }
.where { background: var(--honey-50); border: 1px solid var(--honey-line); }
.about-where h2 { font-size: clamp(1.9rem, 5vw, 2.5rem); }

.about p { margin-top: 16px; max-width: 58ch; font-size: 1.1875rem; line-height: 1.7; }
.about p + p { margin-top: 12px; }

/* I nostri servizi: dentro il pannello "Chi siamo" */
.services {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.services h3 { font-size: clamp(1.5rem, 4.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.about .services > p { margin-top: 8px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.services ul { display: grid; gap: 10px; margin-top: 14px; }
.services li {
  position: relative;
  padding-left: 26px;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.services li::before {
  content: "";
  position: absolute;
  left: 0; top: .32em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.services strong { font-weight: 700; color: var(--ink); }

.info { margin-top: 16px; }
.info > div { padding-block: 12px; border-top: 1px solid var(--honey-line); }
.info dt { font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.info dd { font-size: 1.1875rem; line-height: 1.45; }
.info dd a { font-weight: 700; }
.hours { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.hours + .hours { margin-top: 4px; }
.hours > span:first-child { font-weight: 600; }

.where-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 16px;
  border-top: 1px solid var(--honey-line);
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  padding-block: 36px 44px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.footer-brand { display: block; }
.footer-legal { margin-top: 10px; }
.footer-bottom { margin-top: 14px; }

/* --- Pagina privacy ------------------------------------------------------ */
.legal { max-width: 720px; padding-block: 40px 64px; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 3.5rem); }
.legal h2 { font-size: 1.6rem; margin: 32px 0 8px; }
.legal p { margin-top: 8px; }
.legal-back { margin-top: 40px; }

/* ==========================================================================
   ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .hero > .wrap, .how > .wrap, .about-where > .wrap { padding-inline: var(--gutter); }

  .header-inner { grid-template-columns: 1fr auto 1fr; min-height: 100px; }
  .brand { flex-direction: row; align-items: baseline; gap: .3em; }
  .brand .brand-a { font-size: 2.1rem; letter-spacing: -.02em; }
  .brand-line { margin-top: 0; }
  .brand .brand-b { font-size: 2.1rem; }
  .brand-since { font-size: .875rem; }
  .btn-call { padding: .5em 1.3em; }
  .btn-call-label { display: inline; }

  .hero { padding-block: 0 56px; }
  .hero-panel { padding: 44px 40px 40px; }
  .hero-sub { font-size: 1.375rem; }
  .cta-row { flex-direction: row; flex-wrap: wrap; gap: 12px; }

  .hero-media { width: 100%; max-width: 520px; justify-self: center; }

  .alloys { padding-block: 40px 56px; }
  .alloy-tiles { gap: 12px; }
  .alloy-tiles li { padding: 20px 8px 16px; }
  .kt { font-size: 2.5rem; }

  .how { padding-block: 0 16px; }
  .reviews { padding-block: 0 16px; }
  .reviews > .wrap { padding-inline: var(--gutter); }
  .reviews-panel { padding: 56px 40px; }
  .review-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .how-panel { padding: 64px 40px 68px; }
  .steps {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;           /* 1-2-3 a sinistra, 4-5-6 a destra */
    column-gap: 48px;
    row-gap: 32px;
    margin-top: 48px;
  }

  .about-where { padding-bottom: 72px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
  .about, .where { padding: 40px 36px; }
}

/* ==========================================================================
   ≥ 1024px  (hero 55/45)
   ========================================================================== */
@media (min-width: 1024px) {
  .hero-panel {
    grid-template-columns: 55fr 45fr;
    gap: 48px;
    align-items: center;
    padding: 64px 56px;
  }
  .hero-sub { margin-top: 18px; }
  .keypoints { margin-top: 22px; gap: 10px; }
  .cta-row { margin-top: 32px; }
  .cashback { margin-top: 22px; max-width: 560px; }
  .hero-media { max-width: none; }

  .alloys-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: center;
    gap: 56px;
  }

  .steps { column-gap: 80px; max-width: 1000px; margin-inline: auto; }

  .two-col { grid-template-columns: 1.2fr 1fr; }
  .about, .where { padding: 48px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
