:root {
  --bg: #f5f3ed;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --surface-dark: #0f1720;
  --text: #18212b;
  --muted: #586270;
  --line: rgba(24, 33, 43, 0.1);
  --primary: #f25c2a;
  --primary-deep: #ca4213;
  --accent: #0fa3b1;
  --accent-soft: #d9f5f7;
  --shadow-lg: 0 28px 60px rgba(12, 24, 36, 0.16);
  --shadow-md: 0 20px 40px rgba(12, 24, 36, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 163, 177, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(242, 92, 42, 0.16), transparent 30%),
    linear-gradient(180deg, #f7f3ea 0%, #f5f3ed 50%, #f1efe8 100%);
}

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

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

p,
li {
  line-height: 1.7;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(245, 243, 237, 0.84);
  border-bottom: 1px solid rgba(24, 33, 43, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--primary), #ff9b54);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 28px rgba(242, 92, 42, 0.28);
}

.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #ff8b4a);
  color: #fff;
  box-shadow: 0 18px 32px rgba(242, 92, 42, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 40px rgba(242, 92, 42, 0.3);
}

.button-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.24);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #1ebe5d;
  box-shadow: 0 22px 40px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.button-secondary {
  border-color: rgba(24, 33, 43, 0.14);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}

.button-small {
  min-height: 2.9rem;
  padding-inline: 1.1rem;
}

.hero-section {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero-copy h1,
.section-heading h2,
.site-footer h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.hero-text {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.trust-points li {
  position: relative;
  padding-left: 1.3rem;
  font-weight: 700;
}

.trust-points li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #78d9de);
}

.hero-visual {
  position: relative;
  min-height: 42rem;
}

.visual-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.visual-main {
  inset: 2.5rem 0 4rem 4rem;
}

.visual-main img {
  height: 100%;
  object-fit: cover;
}

.visual-detail {
  left: 0;
  bottom: 9rem;
  width: 15rem;
  padding: 1.2rem 1.25rem;
  background: rgba(255, 253, 248, 0.95);
}

.detail-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.visual-badge {
  right: 1rem;
  bottom: 0;
  padding: 1.1rem 1.25rem;
  background: var(--surface-dark);
  color: #fff;
}

.visual-badge span {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.intro-strip {
  padding: 0 0 2.4rem;
}

.intro-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.intro-strip-grid p {
  margin: 0;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.6);
  font-weight: 800;
}

.section {
  padding: 5.5rem 0;
}

.two-column,
.benefits-grid,
.cta-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  line-height: 1.02;
}

.section-heading p {
  max-width: 62ch;
  color: var(--muted);
}

.section-heading-center {
  max-width: 50rem;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-heading-center .eyebrow {
  justify-content: center;
}

.section-heading-center h2,
.section-heading-center p {
  max-width: none;
}

.about-panel {
  padding: 1.15rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 33, 43, 0.08);
  box-shadow: var(--shadow-md);
}

.about-panel img {
  height: 25rem;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 0.4rem);
}

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

.about-facts article,
.benefits-list article,
.faq-grid details {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid rgba(24, 33, 43, 0.08);
}

.about-facts strong,
.benefits-list strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  border: 1px solid rgba(24, 33, 43, 0.08);
  box-shadow: var(--shadow-md);
}

.service-card img {
  height: 16rem;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-index {
  margin: 0 0 0.4rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-content h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.service-content p {
  color: var(--muted);
}

.service-content ul,
.site-footer ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

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

.faq-grid details p {
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta {
  padding-top: 2rem;
}

.cta-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(15, 163, 177, 0.2), transparent 32%),
    linear-gradient(135deg, #111a22, #16212d);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-panel .eyebrow {
  color: #8de2e8;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 1rem;
}

.contact-link {
  font-weight: 700;
  color: #fff;
}

.site-footer {
  padding: 3rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(24, 33, 43, 0.12);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 0.8rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    align-items: center;
  }

  .hero-grid,
  .two-column,
  .benefits-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2 {
    max-width: none;
  }

  .section-heading,
  .section-heading-center {
    max-width: 100%;
  }

  .about-panel,
  .cta-panel,
  .service-card,
  .faq-grid details {
    width: 100%;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .visual-main {
    inset: 2rem 0 3.5rem 2rem;
  }

  .cta-actions {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .hero-section {
    padding-top: 2.5rem;
  }

  .hero-grid,
  .services-grid,
  .benefits-list,
  .faq-grid,
  .about-facts,
  .intro-strip-grid,
  .trust-points {
    grid-template-columns: 1fr;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .button-small {
    width: 100%;
  }

  .hero-copy,
  .section-heading,
  .section-heading-center,
  .site-footer,
  .cta-panel {
    text-align: center;
  }

  .hero-text,
  .section-heading p,
  .section-heading h2 {
    margin-inline: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 13vw, 4.1rem);
  }

  .hero-visual {
    display: grid;
    gap: 1rem;
    min-height: auto;
  }

  .visual-card {
    position: static;
    width: 100%;
  }

  .visual-main {
    inset: auto;
  }

  .visual-main img {
    height: 22rem;
    border-radius: var(--radius-xl);
  }

  .visual-detail,
  .visual-badge {
    width: 100%;
    text-align: left;
  }

  .hero-actions,
  .trust-points,
  .cta-actions {
    justify-content: center;
  }

  .trust-points li {
    text-align: left;
  }

  .intro-strip-grid p,
  .about-facts article,
  .benefits-list article,
  .service-content,
  .faq-grid details,
  .footer-grid > div {
    text-align: left;
  }

  /* Mantiene proporzioni simili ai vecchi placeholder (900×700, 800×540) senza altezze eccessive */
  .about-panel img {
    height: auto;
    aspect-ratio: 900 / 700;
    object-fit: cover;
  }

  .service-card img {
    height: auto;
    aspect-ratio: 800 / 540;
    object-fit: cover;
  }

  .cta-actions {
    justify-items: center;
  }

  .contact-link {
    text-align: center;
  }

  .section,
  .site-footer {
    padding-block: 4rem;
  }

  .cta-panel,
  .service-content,
  .faq-grid details,
  .about-facts article,
  .benefits-list article {
    padding: 1.2rem;
  }
}
