:root {
  --ink: #18211d;
  --muted: #63716b;
  --paper: #fbfaf5;
  --soft: #eff1ea;
  --line: #d9ddd2;
  --green: #275f48;
  --green-dark: #173d32;
  --amber: #c78b3d;
  --wine: #793d4a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(24, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(176px, 16vw, 220px) 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(18, 28, 24, 0.82), rgba(18, 28, 24, 0));
}

.language-switch {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 30;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(23, 61, 50, 0.5);
  backdrop-filter: blur(14px);
}

.language-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 6px;
  padding: 8px 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--white);
  color: var(--green-dark);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.calc-row,
.calc-total,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.nav-links {
  gap: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(14, 24, 20, 0.62), rgba(14, 24, 20, 0.2) 46%, rgba(14, 24, 20, 0.06)),
    url("public/hero-vivenza.png") center / cover;
  transform: scale(1.01);
}

.hero-shade {
  background: linear-gradient(to top, rgba(14, 24, 20, 0.9), rgba(14, 24, 20, 0.08) 58%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 46px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #e8c184;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--wine);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--amber);
  color: #1b1309;
}

.button.primary::after {
  content: "->";
  font-weight: 900;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
}

.hero-stats div {
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.section,
.savings-strip,
.final-cta {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.savings-strip {
  background: var(--green-dark);
  color: var(--white);
}

.savings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.savings-grid p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.calculator,
.base-package,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.calculator {
  padding: 24px;
  color: var(--ink);
}

.calculator label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 750;
}

.range-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 750;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.calc-row,
.calc-total {
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.calc-row span,
.calc-total span {
  color: var(--muted);
}

.calc-total {
  margin-top: 6px;
  border-bottom: 0;
}

.calc-total strong {
  color: var(--green);
  font-size: 1.45rem;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading p,
.service-layout p {
  color: var(--muted);
  font-size: 1.06rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 18px;
}

.steps article {
  min-height: 230px;
  padding: 24px;
}

.step-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--amber);
  font-weight: 900;
}

.steps p,
.base-package li {
  color: var(--muted);
}

.muted {
  background: var(--soft);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-bottom: 28px;
}

.base-package {
  padding: 28px;
}

.package-label {
  margin-bottom: 5px;
  color: var(--wine);
  font-weight: 900;
  text-transform: uppercase;
}

.package-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 6px;
  color: var(--green);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.package-price del {
  color: var(--muted);
  font-size: 1.18rem;
  font-weight: 800;
}

.package-promo {
  margin-bottom: 20px;
  color: var(--wine);
  font-weight: 850;
}

.base-package ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(24, 33, 29, 0.08);
}

.final-cta {
  background: var(--green);
  color: var(--white);
}

.final-content {
  max-width: 900px;
  text-align: center;
}

.final-content h2 {
  margin-bottom: 28px;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: #101714;
  color: rgba(255, 255, 255, 0.72);
}

.footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    padding-top: 112px;
  }

  .savings-grid,
  .pricing-layout,
  .service-layout,
  .steps {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-heading.left {
    text-align: left;
  }

  .partner-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 62px 16px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  h1 {
    font-size: 3.15rem;
  }

  .hero-stats div,
  .button {
    width: 100%;
  }

  .calc-row,
  .calc-total,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
