@import url("./assets/fonts/geist.css");
@import url("./assets/fonts/inter.css");

:root {
  --bg: #fafaf9;
  --text: #161b2a;
  --muted: #5d667f;
  --line: #ece8e2;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --primary: #e33f13;
  --primary-2: #ef5a31;
  --shadow-sm: 0 20px 50px rgba(20, 24, 36, 0.06);
  --shadow-md: 0 30px 80px rgba(20, 24, 36, 0.09);
  --ease: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1320px;
  --header-offset: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Geist", "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 460px at 12% -10%, rgba(227, 63, 19, 0.03), transparent 72%),
    radial-gradient(760px 380px at 100% -6%, rgba(198, 132, 104, 0.04), transparent 76%),
    var(--bg);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

.container {
  width: min(var(--max), calc(100% - 3.6rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 170px;
  height: auto;
}

nav {
  display: flex;
  gap: 1.2rem;
}

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

.nav-intl-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.nav-flag-rotator {
  position: relative;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 0;
  box-shadow:
    inset 0 0 0 1px rgba(20, 24, 36, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.22);
  flex: 0 0 auto;
}

.nav-flag-rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}

nav a:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  border: 0;
  padding: 0.7rem 0.95rem;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 22px rgba(227, 63, 19, 0.28);
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(227, 63, 19, 0.35);
  filter: saturate(1.04);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 7.2rem 0 6.3rem;
  border-bottom: 0;
}

.mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(580px 280px at 13% 18%, rgba(227, 63, 19, 0.08), transparent 74%),
    radial-gradient(520px 240px at 88% 16%, rgba(63, 84, 131, 0.05), transparent 76%);
}

.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy,
.hero-media {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.hero-copy {
  padding: 2.35rem;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% center;
  display: block;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  max-width: 21ch;
  font-size: clamp(1.95rem, 4vw, 3.25rem);
  line-height: 1.13;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  margin: 0.8rem 0 0.45rem;
  line-height: 1.32;
  font-size: 1.08rem;
}

#pilastri .cards h3 {
  margin-top: 0;
}

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

.hero-sub {
  margin-top: 1.25rem;
  max-width: 61ch;
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  border: 0;
  padding: 0.84rem 1.18rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(227, 63, 19, 0.28);
  filter: saturate(1.04);
}

.btn-light {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.btn-light:hover {
  box-shadow: var(--shadow-sm);
  filter: none;
}

.hero-points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.hero-points li {
  position: relative;
  padding-left: 1rem;
  color: #525c77;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--primary);
}

.logos {
  background: transparent;
  padding: 1.5rem 0 2rem 0;
}

.logos-label {
  margin: 0 0 1rem;
  color: #67718d;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.logos-row {
  min-height: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.logos-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  background: #fff;
  color: #4f5a78;
  font-size: 0.9rem;
  padding: 0.58rem 0.75rem;
  box-shadow: var(--shadow-sm);
}

.section {
  padding: 7.1rem 0;
}

.section-soft {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

#zone-servite-estese.section-soft {
  border-top: 0;
}

.section-head p {
  max-width: 74ch;
}

.reviews-more {
  display: block;
  width: fit-content;
  margin: 2.75rem auto 0;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
}

.reviews-more:hover {
  opacity: 0.8;
}

#internazionale .copy-card h2,
.reviews-head h2,
#zone-servite-estese .section-head h2,
#contatti .contact-copy h2 {
  margin-bottom: 0.75rem;
}

.cards,
.steps,
.testimonials {
  margin-top: 2.3rem;
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards article,
.steps article,
.testimonials article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1.55rem;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

#pilastri .cards article p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#pilastri .cards article.expanded p {
  display: block;
}

.pillar-toggle {
  margin-top: 0.6rem;
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.pillar-toggle:hover {
  opacity: 0.78;
}

.cards article:hover,
.steps article:hover,
.testimonials article:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 63, 19, 0.35);
  box-shadow: var(--shadow-md);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: rgba(227, 63, 19, 0.12);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.18rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.55rem;
  align-items: stretch;
}

.media-card,
.copy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.media-card {
  position: relative;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intl-route {
  position: absolute;
  left: 50%;
  bottom: 0.72rem;
  transform: translateX(-50%);
  width: min(92%, 390px);
  aspect-ratio: 320 / 120;
  pointer-events: none;
}

.intl-route-line {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.intl-flag-token {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: #fff;
  box-shadow: 0 6px 14px rgba(20, 24, 36, 0.2);
  overflow: hidden;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.intl-flag-token img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intl-flag-token.pos-1 {
  left: 8%;
  top: 83%;
}

.intl-flag-token.pos-2 {
  left: 20%;
  top: 58%;
}

.intl-flag-token.pos-3 {
  left: 34%;
  top: 42%;
}

.intl-flag-token.pos-4 {
  left: 50%;
  top: 35%;
}

.intl-flag-token.pos-5 {
  left: 66%;
  top: 42%;
}

.intl-flag-token.pos-6 {
  left: 80%;
  top: 58%;
}

.intl-flag-token.pos-7 {
  left: 92%;
  top: 83%;
}

.copy-card {
  padding: 2rem;
}

.copy-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

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

#internazionale .copy-card li::marker {
  color: var(--primary);
}

.nav-flag-rotator img.is-active {
  opacity: 1;
}

.area-grid {
  margin-top: 2.3rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.area-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
}

.area-grid h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.area-grid article p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.promise {
  margin: 1.2rem 0 1.4rem;
  color: #414d6a;
  font-weight: 500;
}

.review-card {
  align-content: start;
  display: grid;
  gap: 0.35rem;
}

.review-name {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.review-place {
  margin: 0 0 0.35rem;
  color: #6d7691;
  font-size: 0.89rem;
}

.testimonials .review-body {
  margin: 0;
  max-width: none;
  color: var(--muted);
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.85em;
}

.review-card.expanded .review-body {
  display: block;
  min-height: 0;
}

.review-toggle {
  margin-top: 0.45rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 500;
  width: fit-content;
  transition: opacity var(--ease);
}

.review-toggle:hover {
  opacity: 0.75;
}

.faq-wrap {
  max-width: 960px;
}

.faq {
  margin-top: 2.15rem;
  display: grid;
  gap: 0;
}

.faq-accordion-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  transition: border-color var(--ease);
}

.faq-accordion-item.active {
  border-color: rgba(227, 63, 19, 0.4);
}

.faq-accordion-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 1.08rem 2.2rem 1.08rem 0;
  font: inherit;
  font-weight: 600;
  color: var(--text);
}

.faq-accordion-trigger::before,
.faq-accordion-trigger::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #8088a2;
  transform: translateY(-50%);
  transition: transform var(--ease), opacity var(--ease), background-color var(--ease);
}

.faq-accordion-trigger::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-accordion-item.active .faq-accordion-trigger::before,
.faq-accordion-item.active .faq-accordion-trigger::after {
  background: var(--primary);
}

.faq-accordion-item.active .faq-accordion-trigger::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq-accordion-body {
  height: 0;
  overflow: hidden;
  transition: height 320ms ease;
}

.faq-accordion-content {
  padding-bottom: 1.05rem;
}

.faq-accordion-content p {
  margin: 0;
  max-width: 74ch;
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-areas:
    "copy form"
    "photo form";
  gap: 1.45rem;
  align-items: start;
}

.contact-copy {
  grid-area: copy;
}

.contact-wrap .form {
  grid-area: form;
}

.contact-photo {
  grid-area: photo;
  width: min(360px, 100%);
  margin-top: 0.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.thankyou-flow {
  padding: 4.8rem 0 5.2rem;
}

.thankyou-shell {
  position: relative;
}

.thankyou-intro {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 820px;
}

.thankyou-intro h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 20ch;
}

.thankyou-intro .hero-sub {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

.thankyou-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.thankyou-steps-card h2,
.thankyou-docs-card h2 {
  margin-bottom: 1.5rem;
}

.thankyou-steps-card,
.thankyou-docs-card {
  height: 100%;
}

.thankyou-timeline {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.thankyou-step {
  padding-bottom: 0.15rem;
}

.thankyou-step-head {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  margin-bottom: 0.4rem;
}

.thankyou-step-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 9px;
  background: rgba(227, 63, 19, 0.12);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.83rem;
  flex: 0 0 auto;
}

.thankyou-step-head h3 {
  margin: 0;
}

.thankyou-docs-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
}

.thankyou-docs-card li {
  margin: 0.38rem 0;
  color: var(--muted);
}

.thankyou-docs-card li::marker {
  color: var(--primary);
}

.thankyou-docs-card .promise {
  margin-top: 0.95rem;
  margin-bottom: 0;
}

.thankyou-urgent {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 0;
}

.thankyou-urgent-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.thankyou-urgent-row h2 {
  margin-bottom: 0.45rem;
}

.btn-sm {
  padding: 0.58rem 0.88rem;
  font-size: 0.86rem;
}

.form {
  display: grid;
  gap: 1rem;
  border-radius: var(--radius-lg);
  padding: 1.55rem;
}

#lead-form .btn {
  min-height: 44px;
  padding: 0 0.84rem;
}

.form-light {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.form-alert {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(227, 63, 19, 0.08);
  border: 1px solid rgba(227, 63, 19, 0.32);
  color: #b3340f;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.form-alert[hidden] {
  display: none;
}

.form.was-validated input:invalid,
.form.was-validated select:invalid,
.form.was-validated textarea:invalid {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 63, 19, 0.14);
}

.form.was-validated .check input:invalid ~ span {
  color: var(--primary);
}

label {
  display: grid;
  gap: 0.42rem;
  color: #3d4661;
  font-size: 0.94rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d5dced;
  background: #fff;
  color: #232c46;
  min-height: 44px;
  padding: 0 0.84rem;
  font: inherit;
  transition: border-color var(--ease), box-shadow var(--ease);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7b839c 50%),
    linear-gradient(135deg, #7b839c 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

textarea {
  min-height: 104px;
  resize: none;
  padding: 0.75rem 0.84rem;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
}

.check input {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.17rem;
}

.check span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.check a {
  color: var(--primary);
  text-decoration: none;
}

.footer {
  position: relative;
  z-index: 140;
  background: linear-gradient(165deg, #111624, #1b2235);
  color: #fff;
  padding: 3.35rem 0;
}

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

.footer .brand {
  color: #fff;
}

.footer p {
  color: #d2dbef;
  margin: 0.32rem 0;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: opacity var(--ease), border-color var(--ease);
}

.footer a:hover {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.6);
}

.footer-title {
  color: #fff !important;
  font-weight: 600;
}

.footer .footer-alias {
  margin-top: 1.6rem;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-alias-name {
  color: var(--primary);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
nav a:focus-visible,
.btn:focus-visible,
.header-cta:focus-visible {
  outline: none;
  border-color: rgba(227, 63, 19, 0.68);
  box-shadow: 0 0 0 3px rgba(227, 63, 19, 0.2);
}

@media (max-width: 1120px) {
  .hero-wrap,
  .split,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-areas:
      "copy"
      "form"
      "photo";
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .testimonials,
  .footer-grid,
  .logos-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 6.2rem 0;
  }

}

@media (max-width: 500px) {
  .contact-photo {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 991.98px) {
  nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 2rem));
  }

  .brand img {
    width: 170px;
  }

  .header-cta {
    padding: 0.62rem 0.84rem;
    font-size: 0.84rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .thankyou-flow {
    padding: 3rem 0;
  }

  .hero-copy {
    padding: 1.35rem;
  }

  .thankyou-intro {
    margin-bottom: 1.5rem;
  }

  .thankyou-urgent-row {
    justify-items: center;
  }

  .hero-actions {
    display: grid;
  }

  .intl-route {
    bottom: 0.55rem;
    width: min(94%, 350px);
  }

  .intl-route-line {
    display: none;
  }

  .intl-flag-token {
    width: 2.5rem;
    height: 2.5rem;
    top: 80%;
  }

  .intl-flag-token.pos-1 {
    left: 7%;
    top: 80%;
  }

  .intl-flag-token.pos-2 {
    left: 22%;
    top: 80%;
  }

  .intl-flag-token.pos-3 {
    left: 36%;
    top: 80%;
  }

  .intl-flag-token.pos-4 {
    left: 50%;
    top: 80%;
  }

  .intl-flag-token.pos-5 {
    left: 64%;
    top: 80%;
  }

  .intl-flag-token.pos-6 {
    left: 78%;
    top: 80%;
  }

  .intl-flag-token.pos-7 {
    left: 93%;
    top: 80%;
  }

  .logos-row,
  .cards,
  .steps,
  .testimonials,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :nth-child(2) {
    order: -1;
  }

  .section {
    padding: 3rem 0;
  }

  .thankyou-columns {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 400px) {
  .container {
    width: min(var(--max), calc(100% - 1.6rem));
  }

  .nav {
    min-height: 68px;
  }

  h1 {
    font-size: clamp(1.72rem, 9vw, 2rem);
    line-height: 1.16;
  }

  h2 {
    font-size: clamp(1.28rem, 6.6vw, 1.6rem);
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-copy {
    padding: 1.1rem;
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .cards article,
  .steps article,
  .testimonials article {
    padding: 1.05rem;
  }

  .copy-card,
  .form {
    padding: 1rem;
  }

  .header-cta {
    padding: 0.56rem 0.74rem;
    font-size: 0.78rem;
  }
}

.cc-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(20, 24, 36, 0.18);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--ease), transform var(--ease);
}

.cc-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cc-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.2rem;
}

.cc-text {
  margin: 0;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cc-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cc-btn {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.62rem 1.2rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: opacity var(--ease), border-color var(--ease);
}

.cc-btn-reject {
  background: #fff;
  color: var(--text);
}

.cc-btn-reject:hover {
  border-color: #b9c0d4;
}

.cc-btn-accept {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  color: #fff;
}

.cc-btn-accept:hover {
  opacity: 0.92;
}

.cookie-prefs {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: opacity var(--ease), border-color var(--ease);
}

.cookie-prefs:hover {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .cc-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .cc-actions {
    justify-content: stretch;
  }

  .cc-btn {
    flex: 1;
  }
}
