/* VerdeScudo — northern Italian household workshop catalog */
:root {
  --chalk: #f3f5f2;
  --paper: #ffffff;
  --ink: #121816;
  --muted: #3f4a43;
  --line: #ccd4ce;
  --cypress: #1f3d30;
  --cypress-deep: #14281f;
  --pine: #2f5a44;
  --slate: #e4eae5;
  --warn: #4a453c;
  --warn-bg: #efebe4;
  --focus: #2f5a44;
  --radius: 0;
  --max: 70rem;
  --font-display: "Petrona", "Palatino Linotype", Palatino, serif;
  --font-ui: "Schibsted Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--pine);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--cypress);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.product-notice {
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.75rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #e0d8cc;
}

.product-notice a {
  color: var(--warn);
  font-weight: 600;
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--cypress-deep);
  color: #e4eae5;
  padding: 1rem 1.25rem;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.9rem;
  color: #c9d1cb;
}

.cookie-bar a {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 245, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo img {
  width: 1.55rem;
  height: 1.55rem;
}

.logo:hover {
  color: var(--cypress);
}

.nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.45rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-invert {
  background: #fff;
  color: var(--cypress);
}

.btn-invert:hover {
  background: var(--slate);
  color: var(--cypress-deep);
}

.btn-primary {
  background: var(--cypress);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cypress-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-ghost-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost-dark:hover {
  border-color: var(--muted);
  color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--slate);
  color: var(--ink);
}

.btn-cookie-reject {
  color: #e4eae5;
  border-color: #5a6560;
}

.btn-cookie-reject:hover {
  color: #fff;
  border-color: #8a968e;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.75rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 0.85rem;
}

.band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.25rem;
  align-items: center;
}

@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Hero — cypress plane + product bleed */
.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(18rem, 1.05fr);
  min-height: min(92vh, 54rem);
  background: var(--cypress);
  color: #f3f5f2;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem) clamp(2.5rem, 6vw, 5rem);
  max-width: 36rem;
  margin-left: auto;
  width: 100%;
  animation: rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.9rem, 8vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 1.15rem;
  color: #fff;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.3;
  margin: 0 0 0.9rem;
  color: #e4eae5;
}

.hero-lead {
  margin: 0 0 1.85rem;
  color: #c9d1cb;
  font-size: 1.05rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 55% 45%, #2a4f3d 0%, transparent 60%),
    linear-gradient(160deg, #254836 0%, #1a3228 100%);
  display: grid;
  place-items: end center;
  min-height: 22rem;
  animation: wipe 1.1s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual img {
  width: min(100%, 28rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 50px rgba(0, 0, 0, 0.28));
  margin-bottom: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wipe {
  from {
    opacity: 0;
    clip-path: inset(0 18% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    margin: 0;
    max-width: none;
    padding-top: 2.5rem;
    order: 2;
  }

  .hero-visual {
    order: 1;
    min-height: 18rem;
    place-items: center;
    padding-top: 1.5rem;
  }

  .hero-visual img {
    width: min(100%, 15rem);
  }

  .btn-ghost {
    border-color: rgba(255, 255, 255, 0.5);
  }
}

.media-frame {
  margin: 0;
  overflow: hidden;
  background: var(--slate);
}

.media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.media-frame--landscape img {
  aspect-ratio: 4 / 3;
}

.media-frame--detail img {
  aspect-ratio: 1 / 1;
  object-position: center 30%;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 36%;
  font-weight: 600;
  color: var(--ink);
  padding-right: 1rem;
}

.spec-table td {
  color: var(--muted);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cypress);
  line-height: 1;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.plain-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.plain-list li {
  margin-bottom: 0.55rem;
}

.plain-list li::marker {
  color: var(--cypress);
}

.uso-aside {
  display: grid;
  gap: 1.75rem;
}

.faq {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--cypress);
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 65ch;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cypress);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 90, 68, 0.18);
}

.field--check label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0;
  cursor: pointer;
}

.field--check input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--cypress);
  cursor: pointer;
}

.field .hint,
.form-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-note {
  font-size: 0.9rem;
  margin: 0;
}

.muted-copy {
  color: var(--muted);
  margin: 0;
  max-width: 65ch;
}

.section-head--flush {
  margin-bottom: 0;
}

.contact-card {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.contact-card p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.contact-card strong {
  color: var(--ink);
}

.todo {
  display: inline-block;
  background: #fff3cd;
  color: #5c4a00;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
}

.disclaimer-block {
  background: var(--warn-bg);
  border: 1px solid #e0d8cc;
  padding: 1.5rem 1.35rem;
}

.disclaimer-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
  color: var(--warn);
}

.disclaimer-block ol,
.disclaimer-block p {
  color: var(--warn);
  margin: 0 0 0.85rem;
}

.disclaimer-block ol {
  padding-left: 1.2rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.prose {
  padding: 2.5rem 0 4rem;
  max-width: 48rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

/* — Thanks page — */

@keyframes thanks-fade-up {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes thanks-draw-check {
  from { stroke-dashoffset: 40; }
  to   { stroke-dashoffset: 0; }
}

@keyframes thanks-scale-in {
  from { opacity: 0; transform: scale(.7); }
  to   { opacity: 1; transform: scale(1); }
}

.thanks {
  min-height: min(90vh, 52rem);
  display: grid;
  align-items: center;
  background:
    radial-gradient(ellipse 120% 80% at 20% 50%, var(--cypress-deep) 0%, transparent 70%),
    linear-gradient(135deg, var(--cypress) 0%, var(--cypress) 45%, var(--pine) 45.1%, var(--pine) 100%);
  position: relative;
  overflow: hidden;
}

.thanks::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.02) 0%, transparent 40%);
  pointer-events: none;
}

.thanks-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem 4rem;
  align-items: center;
  width: 100%;
  position: relative;
}

.thanks-copy {
  max-width: 36rem;
  color: #f3f5f2;
}

.thanks-check {
  margin-bottom: 1.25rem;
  animation: thanks-scale-in .5s cubic-bezier(.34,1.56,.64,1) both;
}

.thanks-check-mark {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: thanks-draw-check .6s .4s ease forwards;
}

.thanks-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: #fff;
  animation: thanks-fade-up .6s .15s ease both;
}

.thanks-lead {
  color: rgba(255,255,255,.75);
  margin: 0 0 2rem;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.7;
  animation: thanks-fade-up .6s .25s ease both;
}

.thanks-lead strong {
  color: #fff;
}

.thanks-lead a {
  color: #fff;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}

.thanks-lead a:hover {
  text-decoration-color: #fff;
}

/* Steps card */
.thanks-steps-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem 1rem;
  margin: 0 0 2rem;
  animation: thanks-fade-up .6s .35s ease both;
}

.thanks-steps-heading {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin: 0 0 .75rem;
}

.thanks-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.thanks-steps li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .6rem;
  color: rgba(255,255,255,.8);
  font-size: .975rem;
  line-height: 1.55;
}

.thanks-steps li:last-child {
  margin-bottom: 0;
}

.thanks-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
}

/* Actions */
.thanks-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: thanks-fade-up .6s .45s ease both;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.btn-ghost-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
}

.thanks-meta {
  margin: 1.75rem 0 0;
  font-size: .9rem;
  max-width: 42ch;
  color: rgba(255,255,255,.45);
  animation: thanks-fade-up .6s .55s ease both;
}

.thanks-meta a {
  color: rgba(255,255,255,.7);
  text-decoration-color: rgba(255,255,255,.25);
  text-underline-offset: 3px;
  transition: color .2s;
}

.thanks-meta a:hover {
  color: #fff;
}

/* Visual */
.thanks-visual {
  justify-self: center;
  width: min(100%, 22rem);
  background: transparent;
  animation: thanks-fade-up .8s .3s ease both;
}

.thanks-visual img {
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.3));
}

@media (max-width: 860px) {
  .thanks {
    background:
      radial-gradient(ellipse 140% 50% at 50% 30%, var(--cypress-deep) 0%, transparent 70%),
      linear-gradient(180deg, var(--cypress) 0%, var(--pine) 100%);
  }

  .thanks::before {
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.03) 0%, transparent 50%);
  }

  .thanks-grid {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 3rem;
    text-align: center;
  }

  .thanks-check {
    margin-left: auto;
    margin-right: auto;
  }

  .thanks-steps-card {
    text-align: left;
  }

  .thanks-actions {
    justify-content: center;
  }

  .thanks-visual {
    order: -1;
    width: min(100%, 14rem);
  }
}

.site-footer {
  background: var(--ink);
  color: #c5cec7;
  padding: 3rem 0 5.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  max-width: 28ch;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a968e;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: #d5dcd6;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2e3832;
  font-size: 0.85rem;
  color: #8a968e;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

.footer-meta--solo {
  margin-top: 0;
  border: 0;
  padding-top: 2rem;
}

.footer-meta a {
  color: #8a968e;
}

.footer-meta a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
