/* Un Po' — styles */

:root {
  --cream: #f6f4ed;
  --cream-2: #f4ecda;
  --cream-3: #faf2e4;
  --ink: #201e17;
  --muted: #6b6453;
  --red: #d63a2c;
  --yellow: #f2cb3e;
  --line: rgba(32, 30, 23, 0.18);
  --font: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", cursive;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4vw, 50px); }
p { margin: 0; }
a { color: inherit; }

.eyebrow {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 27px;
  color: var(--red);
  line-height: 1.2;
  margin-bottom: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 30px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--cream-2); border-color: var(--red); }
.btn--primary:hover { background: #c3331f; border-color: #c3331f; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream-2); }
.btn--small { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; height: 56px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(246, 244, 237, 0.92);
  backdrop-filter: blur(8px);
}
.nav__logo img { width: 36px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a { font-weight: 700; font-size: 15px; text-decoration: none; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 120px) var(--gutter) clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.hero__logo { width: clamp(220px, 28vw, 394px); margin-bottom: clamp(16px, 3vw, 36px); }
.hero__title { font-size: clamp(30px, 3.2vw, 40px); max-width: 560px; }
.underline-wrap { position: relative; display: inline-block; }
.underline {
  position: absolute;
  left: -4%;
  top: 100%;
  width: 70%;
  margin-top: -0.35em;
  transform: rotate(-1deg);
  pointer-events: none;
  z-index: -1;
}
.hero__title { position: relative; z-index: 0; }
.hero__body {
  margin-top: clamp(56px, 7vw, 108px);
  max-width: 540px;
  color: var(--muted);
  font-size: 17.5px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero__bottle { display: flex; justify-content: center; }
.hero__bottle img {
  width: clamp(150px, 16vw, 215px);
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.25));
}

/* Story */
.story {
  background: var(--cream-2);
  padding: clamp(60px, 9vw, 140px) max(var(--gutter), calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
}
.story__art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.story__map { width: clamp(260px, 30vw, 430px); }
.story__sicilia { width: clamp(180px, 20vw, 290px); transform: rotate(-1.6deg); }
.story__copy p { font-size: 16px; line-height: 1.55; margin-bottom: 1.2em; }
.story__copy h2 { margin-bottom: 20px; }
.story__copy .eyebrow { margin-bottom: 4px; }

.stamps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 10px; }
.stamps li, .pill {
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream-3);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
}

/* Marquee */
.marquee {
  background: var(--red);
  color: var(--cream-2);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  line-height: 1.2;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Order */
.order {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
}
.order__copy h2 { margin-bottom: 20px; }
.order__lede { color: var(--muted); font-size: 17.5px; max-width: 513px; }
.trade { margin-top: 40px; max-width: 513px; }
.trade h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.trade p { color: var(--muted); font-size: 15px; }
.trade a { color: var(--ink); font-weight: 700; }

/* Card */
.card {
  background: var(--cream-3);
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 rgba(214, 58, 44, 0.24);
  padding: 30px;
}
.card__title { font-size: 24px; }
.card__sub { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.2; }
.price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.price__amount { font-size: 37px; font-weight: 800; line-height: 1.1; }
.price__unit { color: var(--muted); font-size: 15px; }

.qty-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.qty {
  display: inline-flex;
  align-items: center;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.qty__btn {
  width: 40px; height: 100%;
  background: transparent; border: 0;
  font: inherit; font-weight: 800; font-size: 18px; color: var(--ink);
  cursor: pointer;
}
.qty__btn:hover { background: rgba(32, 30, 23, 0.06); }
.qty__input {
  width: 38px; height: 100%; text-align: center;
  border: 0; background: transparent;
  font: inherit; font-weight: 800; font-size: 17px; color: var(--ink);
  -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hint { color: var(--muted); font-size: 14px; line-height: 1.2; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: block; margin-top: 0; }
.field + .field, fieldset + .field, .delivery { margin-top: 20px; }
.field__label { display: block; font-weight: 700; font-size: 14px; line-height: 1.2; margin-bottom: 8px; }
.fields .field { margin-top: 0; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  height: 46px;
  padding: 11px 14px;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
textarea { height: 64px; resize: vertical; min-height: 64px; line-height: 1.35; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(214, 58, 44, 0.25); border-color: var(--red); }

.delivery { border: 0; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.delivery legend { padding: 0; margin-bottom: 8px; }
.delivery legend + .option { }
.option {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option__radio {
  flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px;
  border: 2px solid var(--ink); border-radius: 50%;
  position: relative;
}
.option__radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--red); transform: scale(0); transition: transform .12s ease;
}
.option__copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.option__title { font-weight: 700; font-size: 15px; line-height: 1.2; }
.option__sub { color: var(--muted); font-size: 13px; line-height: 1.25; }
.option:has(input:checked) { border-color: var(--red); }
.option:has(input:checked) .option__radio { border-color: var(--red); }
.option:has(input:checked) .option__radio::after { transform: scale(1); }
.option:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(214, 58, 44, 0.25); }

.divider { border-top: 2px dashed var(--line); margin: 24px 0 20px; }
.total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.total__note { color: var(--muted); font-size: 14px; }
.total__amount { font-size: 26px; font-weight: 800; line-height: 1.1; }
.card .btn--block { margin-top: 20px; }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--red); font-weight: 700; min-height: 0; }
.form-msg:empty { display: none; }
.trust { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.35; }

/* Footer */
.footer {
  background: var(--red);
  color: var(--cream-2);
  text-align: center;
  padding: clamp(50px, 6vw, 62px) var(--gutter) 40px;
}
.footer__logo {
  width: clamp(200px, 22vw, 300px);
  margin: 0 auto;
}
.footer__links { display: flex; justify-content: center; gap: 34px; margin-top: 48px; }
.footer__links a { font-weight: 700; font-size: 16px; text-decoration: none; }
.footer__tag { font-family: var(--hand); font-weight: 700; font-size: 29px; color: var(--yellow); margin-top: 20px; }
.footer__small { margin-top: 36px; font-size: 13px; opacity: .85; line-height: 1.7; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__bottle { order: -1; }
  .hero__bottle img { width: 150px; }
  .hero__body { margin-top: 96px; }
  .underline { width: 60%; }
  .story { grid-template-columns: 1fr; }
  .order { grid-template-columns: 1fr; }
  .nav__links { gap: 20px; }
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .card { padding: 22px; border-radius: 18px; }
  .fields, .delivery { grid-template-columns: 1fr; }
  .delivery { gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .footer__links { gap: 20px; flex-wrap: wrap; }
}
