/* =========================================================================
   Pranzami · Cucina Centrale — landing styles (production)
   Design tokens are the subset used on this page, per the handoff README.
   Accent overrides applied: primary accent = terracotta; display font = sans.
   Gold (#d4ad5a / #C4973B) is kept for the dark-section / emphasis accents
   exactly as the README token table specifies.
   ========================================================================= */

:root {
  --maxw: 1180px;

  /* Brand & accent */
  --terracotta:       #D65020; /* primary buttons, eyebrows, card 1, hero tag, active lang */
  --terracotta-hover: #e0623a;
  --olive:            #6E8422; /* card 2, delivery card 2 */
  --gold-600:         #C4973B; /* card 3 accent */
  --gold-500:         #d4ad5a; /* hero emphasis, eyebrows on dark, quality icons, sub-labels */
  --wa:               #1f8a4c; /* WhatsApp */
  --wa-hover:         #187a42;

  /* Navy / surfaces / neutrals */
  --navy-900:  #031127;
  --navy-foot: #020c1c;
  --hero-glow: #0d2444;
  --cream-50:  #faf8f5;
  --cream-100: #f3ede2;
  --sand-200:  #e8dcc4;
  --white:     #ffffff;
  --border-1:  #e5e7eb;
  --border-2:  #d1d5db;
  --fg-1:      #0b1220;
  --fg-2:      #1f2937;
  --fg-3:      #4b5563;
  --fg-4:      #6b7280;
  --success:    #2f7d4f;
  --success-bg: #e4f2ea;
  --danger:     #b4332b;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lh-body: 1.6;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;

  /* Shadows (navy-tinted) */
  --shadow-xs: 0 1px 2px rgba(3,17,39,.05);
  --shadow-sm: 0 2px 6px rgba(3,17,39,.06), 0 1px 2px rgba(3,17,39,.04);
  --shadow-md: 0 8px 24px rgba(3,17,39,.08), 0 2px 4px rgba(3,17,39,.05);
  --shadow-lg: 0 20px 48px rgba(3,17,39,.12), 0 4px 10px rgba(3,17,39,.06);
  --shadow-xl: 0 32px 80px rgba(3,17,39,.18);

  /* Motion */
  --ease-standard: cubic-bezier(.2,.8,.2,1);
  --ease-out:      cubic-bezier(.16,1,.3,1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 360ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--fg-2);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: var(--lh-body);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 {
  font-family: var(--font-sans);
  color: var(--navy-900);
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -.015em;
}
.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--terracotta);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3,17,39,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.mark { display: grid; place-items: center; flex: none; }
.mark img { height: 44px; width: auto; object-fit: contain; display: block; }
.brand b { font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; color: #fff; line-height: 1.04; }
.brand .svc {
  display: block; font-size: .64rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-500); margin-top: 3px;
}
.hnav { display: flex; align-items: center; gap: 24px; }
.navlink { font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.72); }
.navlink:hover { color: #fff; }
.langtog {
  display: inline-flex; border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-pill); overflow: hidden;
}
.langtog button {
  border: 0; background: transparent; font: inherit; font-size: .78rem; font-weight: 700;
  padding: 6px 11px; color: rgba(255,255,255,.6); cursor: pointer;
}
.langtog button[aria-pressed="true"] { background: var(--terracotta); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .95rem; border-radius: var(--radius-sm);
  padding: 12px 20px; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  font-family: var(--font-sans);
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base);
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--terracotta); color: #fff; }
.btn-gold:hover { background: var(--terracotta-hover); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 9px 15px; font-size: .86rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.hide-mobile { display: inline-flex; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(120% 90% at 80% 0%, var(--hero-glow) 0%, var(--navy-900) 55%);
  color: #fff; padding: 70px 0 84px; overflow: hidden;
}
.hgrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 5.2vw, 4.6rem); font-weight: 700; margin: 18px 0 0; }
.hero h1 em { font-style: normal; color: var(--gold-500); font-weight: 700; }
.hero p.sub { font-size: 1.16rem; color: rgba(255,255,255,.82); margin-top: 22px; max-width: 540px; line-height: 1.55; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero .ctas .btn { padding: 15px 24px; font-size: 1rem; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 30px; }
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.78); font-weight: 500; }
.hero .trust svg { width: 16px; height: 16px; color: var(--gold-500); }

/* collage */
.collage { position: relative; height: 520px; }
.collage .ph {
  position: absolute; border-radius: var(--radius-xl);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-xl); border: 4px solid rgba(255,255,255,.06);
}
.collage .p1 { width: 62%; height: 74%; right: 0; top: 0; }
.collage .p2 { width: 50%; height: 52%; left: 0; bottom: 0; }
.collage .p3 { width: 30%; height: 30%; right: 6%; bottom: 4%; border-radius: var(--radius-lg); }
.collage .tag {
  position: absolute; left: -14px; bottom: 13%; z-index: 3;
  background: var(--terracotta); color: #fff; border-radius: var(--radius-lg);
  padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 230px;
}
.collage .tag .k { font-size: 2rem; font-weight: 700; line-height: 1; }
.collage .tag .v { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; max-width: 140px; }

/* ---------- sections ---------- */
section.block { padding: 92px 0; }
.sec-head { max-width: 660px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 600; margin-top: 14px; }
.sec-head p { font-size: 1.1rem; color: var(--fg-3); margin-top: 16px; line-height: 1.6; }

/* offer */
.offer { background: #fff; }
.ocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.ocard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border-1); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base);
}
.ocard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ocard:nth-child(1) { --c: var(--terracotta); }
.ocard:nth-child(2) { --c: var(--olive); }
.ocard:nth-child(3) { --c: var(--gold-600); }
.oimg { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.obody { padding: 22px 24px 26px; border-top: 3px solid var(--c); }
.ohead { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.onum { font-size: .82rem; font-weight: 800; color: var(--c); letter-spacing: .02em; }
.okick { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c); white-space: nowrap; }
.ocard h3 { font-size: 1.3rem; font-weight: 600; margin-top: 9px; letter-spacing: -.01em; }
.ocard p { font-size: 1rem; color: var(--fg-3); margin-top: 10px; line-height: 1.5; }

/* delivery */
.delivery { background: var(--cream-50); border-top: 1px solid var(--sand-200); }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.dcard {
  display: flex; gap: 18px; align-items: flex-start; background: #fff;
  border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm);
}
.dicon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--cbg); color: var(--c); flex: none; }
.dicon svg { width: 27px; height: 27px; }
.dcard:nth-child(1) { --c: var(--terracotta); --cbg: rgba(214,80,32,.1); }
.dcard:nth-child(2) { --c: var(--olive); --cbg: rgba(110,132,34,.12); }
.dcard h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.dcard p { font-size: 1rem; color: var(--fg-3); margin-top: 8px; line-height: 1.5; }

/* quality (dark) */
.quality { background: var(--navy-900); color: #fff; }
.quality .eyebrow { color: var(--gold-500); }
.quality h2 { color: #fff; }
.qgrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.qimg { border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 4/5; background-size: cover; background-position: center; box-shadow: var(--shadow-xl); }
.qlist { display: flex; flex-direction: column; gap: 24px; margin-top: 34px; }
.qitem { display: flex; gap: 16px; align-items: flex-start; }
.qicon { width: 44px; height: 44px; border-radius: 11px; background: rgba(196,151,59,.16); display: grid; place-items: center; color: var(--gold-500); flex: none; }
.qicon svg { width: 22px; height: 22px; }
.qitem h3 { color: #fff; font-size: 1.16rem; font-weight: 700; }
.qitem p { color: rgba(255,255,255,.72); font-size: .98rem; margin-top: 5px; line-height: 1.5; }

/* contact */
.contact { background: var(--cream-50); }
.cgrid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 44px; align-items: start; margin-top: 42px; }
.formcard { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 36px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .82rem; font-weight: 700; color: var(--fg-2); }
input, select, textarea {
  font: inherit; font-size: .98rem; color: var(--fg-1); background: var(--cream-50);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(214,80,32,.2);
}
textarea { resize: vertical; min-height: 96px; }
.formcard .btn { width: 100%; margin-top: 22px; padding: 15px; }
.field.consent { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.consent input { width: auto; margin-top: 3px; flex: none; }
.field.consent label { font-weight: 500; font-size: .82rem; color: var(--fg-3); line-height: 1.4; }
.field.consent a { color: var(--terracotta); font-weight: 600; }
/* honeypot — hidden from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-form-note] { display: none; color: var(--danger); font-size: .88rem; margin-top: 14px; font-weight: 700; }
[data-form-note].is-visible { display: block; }
[data-form-success] { display: none; text-align: center; padding: 18px 6px; }
[data-form-success].is-visible { display: block; }
[data-form-success] .tick { width: 62px; height: 62px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; }
[data-form-success] .tick svg { width: 30px; height: 30px; }
[data-form-success] h3 { font-size: 1.5rem; color: var(--navy-900); }
[data-form-success] p { color: var(--fg-3); margin-top: 10px; }
[data-form-again] { margin-top: 20px; background: transparent; border: 1px solid var(--border-2); color: var(--fg-2); border-radius: var(--radius-sm); padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; }

.reach { background: var(--navy-900); color: #fff; border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-lg); }
.reach .or { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 12px; }
.reach h3 { color: #fff; font-size: 1.55rem; font-weight: 600; }
.reach .lines { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.reach .li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: rgba(255,255,255,.88); }
.reach .li svg { width: 20px; height: 20px; color: var(--gold-500); flex: none; }
.reach .li b { color: #fff; font-weight: 700; }
.reach .ctas { display: flex; flex-direction: column; gap: 11px; margin-top: 24px; }
.reach .invite { margin-top: 20px; font-size: .92rem; color: rgba(255,255,255,.62); line-height: 1.5; }

/* footer */
footer { background: var(--navy-foot); color: rgba(255,255,255,.6); padding: 40px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer a { color: rgba(255,255,255,.78); font-size: .9rem; }
footer a:hover { color: #fff; }
footer .flinks { display: flex; gap: 22px; flex-wrap: wrap; }
footer .legal { font-size: .82rem; width: 100%; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 4px; }
footer .brand b { color: #fff; }

/* mobile sticky CTA */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px;
  padding: 10px 14px; background: rgba(3,17,39,.95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.mcta .btn { flex: 1; }

@media (max-width: 920px) {
  .hgrid { grid-template-columns: 1fr; gap: 40px; }
  .collage { height: 420px; }
  .dgrid { grid-template-columns: 1fr; }
  .qgrid { grid-template-columns: 1fr; gap: 36px; }
  .cgrid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 680px) {
  section.block { padding: 60px 0; }
  .navlink, .hide-mobile { display: none; }
  .frow { grid-template-columns: 1fr; }
  .ocards { grid-template-columns: 1fr; }
  .collage { height: 340px; }
  .mcta { display: flex; }
  footer { padding-bottom: 84px; }
  .formcard, .reach { padding: 26px; }
}
