/* ==========================================================================
   Rinascimento Capelli — Preview v0.2 (palette bianco/verde + immagini reali)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f8faf8;
  --green-dark: #1b4332;
  --green: #2d6a4f;
  --green-light: #52b788;
  --green-pale: #d8f3dc;
  --teal: #136069;
  --teal-dark: #0e4a52;
  --ink: #1a1a1a;
  --grey: #5c6b63;
  --grey-dim: #8a948e;
  --border: rgba(45, 106, 79, 0.16);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.75);

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.9s var(--ease);
  --transition: 0.4s var(--ease);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-serif { font-family: var(--font-serif); }

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow { max-width: 760px; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

section { position: relative; padding: 140px 0; }

/* Grain texture overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.eyebrow.center { display: block; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; color: var(--green-dark); }

h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }

h2.center { max-width: 760px; margin-left: auto; margin-right: auto; }

p { color: var(--grey); font-weight: 300; }

.intro { font-size: 1.15rem; color: var(--grey); max-width: 760px; margin: 0 auto 60px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
  border: 1px solid var(--green);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-solid {
  background: var(--green);
  color: #ffffff;
}

.btn-solid:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(45, 106, 79, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(27, 67, 50, 0.2);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(19, 96, 105, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(14, 74, 82, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.nav-logo {
  height: 50px;
  width: auto;
  border-radius: 6px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--green-light);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; gap: 12px; }
.nav-cta .btn { padding: 10px 22px; font-size: 13px; }
.nav-cta .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.3); }
.nav-cta .btn-ghost:hover { border-color: var(--green-light); color: var(--green-light); }
.nav-cta .btn-solid { background: var(--green-light); border-color: var(--green-light); color: var(--green-dark); }
.nav-cta .btn-solid:hover { background: #ffffff; border-color: #ffffff; color: var(--green-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: #ffffff;
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 22px;
  padding: 0 32px 32px;
  background: rgba(14, 74, 82, 0.97);
  backdrop-filter: blur(18px);
}

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

.nav-mobile a { font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.nav-mobile .btn { width: fit-content; }
.nav-mobile .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.3); }
.nav-mobile .btn-solid { background: var(--green-light); border-color: var(--green-light); color: var(--green-dark); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -8% -4%;
  z-index: -3;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: -8% -4%;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(14, 43, 34, 0.78) 0%, rgba(19, 96, 105, 0.62) 55%, rgba(11, 33, 26, 0.85) 100%);
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 5%;
  right: -15%;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: -3%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(16rem, 34vw, 30rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.09);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow { color: rgba(255, 255, 255, 0.8); }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-title .anim-line { display: block; }
.hero-title .accent { color: var(--green-light); font-style: italic; }

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions.center { margin-top: 44px; justify-content: center; }

.btn-hero-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-hero-outline:hover {
  background: #ffffff;
  color: var(--green-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-hero-fill {
  background: #ffffff;
  color: var(--green-dark);
  border: 1px solid #ffffff;
}

.btn-hero-fill:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-hero-light {
  background: var(--green-light);
  color: #ffffff;
  border: 1px solid var(--green-light);
}

.btn-hero-light:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.scroll-text {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-arrow {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), transparent);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  transform: translateX(-50%) rotate(45deg);
}

/* Entrance animation — respects prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-anim] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: var(--d, 0s);
  }

  .hero.loaded [data-anim] {
    opacity: 1;
    transform: translateY(0);
  }

  .hero.loaded .scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
  }

  .hero-glow { animation: float 12s ease-in-out infinite; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 40px); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ==========================================================================
   Split layout (image + text sections)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-text .eyebrow { display: block; }
.split-text h2 { margin-bottom: 20px; }
.split-text .role {
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.split-text p { margin-bottom: 16px; }
.split-text .btn { margin-top: 12px; }

.split-media { position: relative; }

.placeholder-img {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-pale) 0%, #eef7f1 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-dim);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img.portrait { aspect-ratio: 3 / 4; }
.placeholder-img.landscape { aspect-ratio: 16 / 10; }
.placeholder-img.gold { border-color: var(--green-light); }
.placeholder-img.dark { background: linear-gradient(135deg, #e4f2e9, #d8f3dc); }

.split-media:hover .placeholder-img { transform: scale(1.02); }

.media-frame {
  position: absolute;
  top: 20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--green-light);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.6;
}

/* ==========================================================================
   Feature sections
   ========================================================================== */

.feature-section.alt {
  background: var(--bg-alt);
}

.feature-section.alt::before,
.feature-section.alt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.feature-section.alt::after { top: auto; bottom: 0; }

.benessere-visual {
  position: relative;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.split-media:hover .benessere-visual { transform: scale(1.02); }

.benessere-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.25) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.4;
}

.benessere-visual span {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: #ffffff;
  text-align: center;
  padding: 0 40px;
}

/* ==========================================================================
   Glass cards
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 90px;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 36px 28px;
  transition: all var(--transition);
  box-shadow: 0 4px 24px -12px rgba(27, 67, 50, 0.12);
}

.glass-card:hover {
  background: var(--glass-strong);
  border-color: var(--green);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(27, 67, 50, 0.25);
}

.card-index {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 18px;
}

.glass-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.glass-card p { font-size: 0.92rem; margin: 0; }

.quality-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px 0;
  margin-bottom: 50px;
}

.quality-item h4 {
  color: var(--green);
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
}

.quality-item p { font-size: 0.92rem; margin: 0; }

.closing-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--green-dark);
  max-width: 700px;
}

/* La Protesi — intro con immagine */
.prodotto-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}

.prodotto-intro .placeholder-img { aspect-ratio: 3 / 4; }
.prodotto-intro .intro { margin: 0; text-align: left; }
.prodotto-intro .eyebrow.center,
.prodotto-intro h2.center { text-align: left; margin-left: 0; }

/* ==========================================================================
   Come funziona / steps
   ========================================================================== */

.come-funziona { background: var(--bg-alt); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 70px;
  position: relative;
}

.step {
  position: relative;
  padding: 40px 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  transition: all var(--transition);
}

.step:hover {
  border-color: var(--green);
  transform: translateY(-6px);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--green-light);
  opacity: 0.9;
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 12px; font-size: 1.2rem; }
.step p { font-size: 0.92rem; margin-bottom: 18px; }
.step-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Mappa centri (Leaflet)
   ========================================================================== */

.mappa .intro { margin-bottom: 50px; }

.centri-map {
  height: 500px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -25px rgba(27, 67, 50, 0.3);
}

.map-pin span {
  display: block;
  width: 20px;
  height: 20px;
  background: var(--green);
  border: 2px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.map-pin-amber span { background: #e8a020; }

.leaflet-popup-content-wrapper {
  border-radius: 14px;
  border: 1px solid var(--green);
  box-shadow: 0 12px 30px -12px rgba(27, 67, 50, 0.35);
}

.leaflet-popup-content {
  font-family: var(--font-sans);
  margin: 14px 16px;
}

.leaflet-popup-tip {
  border: 1px solid var(--green);
}

.map-popup-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-popup-badge {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #e8a020;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 999px;
}

.map-popup-address {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 10px;
}

.map-popup-text {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0;
}

.map-popup-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-popup-contacts a {
  font-size: 0.85rem;
  color: var(--green);
  transition: color var(--transition);
}

.map-popup-contacts a:hover { color: var(--green-dark); text-decoration: underline; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial p {
  font-style: italic;
  font-size: 0.95rem;
  margin: 0;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
}

.avatar-pink { background: #d23f5f; }
.avatar-blue { background: #4285f4; }

.review-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.review-stars {
  color: #f5b400;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.review-source {
  color: var(--grey-dim);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq { background: var(--bg-alt); }

.accordion { margin-top: 60px; }

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  text-align: left;
  padding: 26px 4px;
  cursor: pointer;
  transition: color var(--transition);
}

.accordion-header:hover { color: var(--green); }

.accordion-icon {
  font-size: 1.4rem;
  color: var(--green);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
}

.accordion-item.open .accordion-body {
  max-height: 300px;
  padding-bottom: 26px;
}

.accordion-body p { font-size: 0.95rem; }

/* ==========================================================================
   CTA Final
   ========================================================================== */

.cta-final {
  text-align: center;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--green-pale) 100%);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(82, 183, 136, 0.28), transparent 70%);
  z-index: -1;
}

.cta-final h2 {
  max-width: 780px;
  margin: 0 auto;
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--teal);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 0;
}

.footer-logo { display: inline-block; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-tag {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-company {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links, .footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links h4, .footer-contacts h4 {
  color: var(--green-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}

.footer-links a, .footer-contacts a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover, .footer-contacts a:hover { color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 32px;
  text-align: center;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--green-light); }

.footer-legal span { color: rgba(255, 255, 255, 0.25); }

.powered-by {
  margin-top: 10px;
  font-size: 11px !important;
  color: var(--green-light) !important;
}

.powered-by a {
  color: var(--green-light);
  transition: color var(--transition);
}

.powered-by a:hover { color: #ffffff; text-decoration: underline; }

/* ==========================================================================
   Legal pages (Privacy / Cookie policy)
   ========================================================================== */

.legal-page p {
  font-size: 0.98rem;
  line-height: 1.8;
}

.legal-page a { color: var(--green); text-decoration: underline; }

.legal-hidden {
  display: none;
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--green-dark);
  padding: 22px 32px;
  transform: translateY(120%);
  transition: transform var(--transition-slow);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
  max-width: 640px;
}

.cookie-banner a {
  color: var(--green-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-list { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .testimonial-grid, .testimonial-grid.two-col { grid-template-columns: 1fr; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-watermark { font-size: clamp(12rem, 40vw, 20rem); opacity: 0.7; }
  .prodotto-intro { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .split, .split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }
  .split-media { order: -1; }
  .media-frame { display: none; }
}

@media (max-width: 640px) {
  section { padding: 90px 0; }
  .container { padding: 0 22px; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .navbar-inner { padding: 16px 22px; }
  .centri-map { height: 350px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}
