/* =========================================================
   GR Contact v2 — Green Premium Magazine
   Completamente diverso da grcontact v1
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand palette — blue from logo */
  --primary:        #2A6F97;
  --primary-dark:   #01497C;
  --primary-deeper: #012A4A;
  --primary-light:  #A9D6E5;
  --primary-xlight: #E1F1F7;

  --coral:        #F97316;
  --coral-dark:   #EA580C;
  --coral-light:  #FFEDD5;

  --ink:          #111827;
  --ink-2:        #1F2937;
  --ink-3:        #374151;
  --muted:        #6B7280;
  --muted-2:      #9CA3AF;
  --line:         #E5E7EB;

  --bg:           #FFFFFF;
  --bg-soft:      #F9FAFB;
  --bg-blue:      #F0F9FF;

  /* Dark section bg */
  --dark-bg:      #012A4A;
  --dark-bg-2:    #011E36;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #01497C 0%, #2A6F97 50%, #468FAF 100%);
  --grad-coral: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
  --grad-dark:  linear-gradient(160deg, #012A4A 0%, #013A63 100%);
  --grad-hero:  linear-gradient(160deg, rgba(1,73,124,.92) 0%, rgba(42,111,151,.75) 60%, rgba(70,143,175,.5) 100%);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-2xl:  40px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:    0 24px 64px rgba(0,0,0,.14);
  --shadow-green: 0 16px 48px -8px rgba(5,150,105,.40);
  --shadow-coral: 0 16px 40px -8px rgba(249,115,22,.40);

  --gutter: 24px;
  --section: 110px;
  --maxw: 1200px;
  --ease: cubic-bezier(.25,.8,.25,1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ─── Layout helpers ─── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section) 0; }

/* ─── HEADER — dark glass ─── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
/* Ensure the footer logo is always white */
.main-footer .logo img {
  filter: brightness(0) invert(1);
}
.logo-mark {
  display: none;
}
.logo-text {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-display);
  transition: color .2s;
}
.nav-link:hover { color: var(--primary); }
.btn-header {
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--r-pill);
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-header:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--r-pill);
  border: 2px solid rgba(255,255,255,.5);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}
.btn-coral {
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover {
  background: var(--coral-dark);
  box-shadow: var(--shadow-coral);
}

/* ─── HERO — full viewport photo ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  transition: transform 8s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 120px 24px 100px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  color: #A9D6E5;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(110,231,183,.3);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 .hl {
  color: #A9D6E5;
}
.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.scroll-dot {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot::after {
  content: '';
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0%   { opacity:1; transform: translateY(0); }
  100% { opacity:0; transform: translateY(10px); }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
}
.trust-bar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}
.trust-item .ico {
  width: 32px;
  height: 32px;
  background: var(--primary-xlight);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
}

/* ─── SECTION HEADERS ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 18px;
}
.section-title .hl { color: var(--primary); }
.section-title .ul {
  position: relative;
  display: inline-block;
}
.section-title .ul::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.7;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .section-sub { margin: 0 auto 0; }

/* ─── FEATURE CARDS (rounded magazine style) ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
}
.feat-card .ico {
  width: 60px;
  height: 60px;
  background: var(--primary-xlight);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: background .2s;
}
.feat-card:hover .ico {
  background: var(--primary);
  color: #fff;
}
.feat-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}
.feat-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ─── PHOTO SPLIT SECTIONS ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.split-img:hover img { transform: scale(1.04); }
.split-img .badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(13,31,21,.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(110,231,183,.2);
  border-radius: var(--r-md);
  padding: 14px 18px;
  color: #fff;
}
.split-img .badge .label {
  font-size: 11px;
  color: #A9D6E5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.split-img .badge .val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}
.split-img .badge .unit {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.divider-line {
  width: 48px;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
  margin: 20px 0 28px;
}

/* ─── HOW IT WORKS — timeline ─── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, #468FAF 100%);
  opacity: .3;
}
.tl-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.tl-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-green);
  position: relative;
  z-index: 1;
}
.tl-step h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.tl-step p {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  margin: 0;
}

/* ─── DARK SECTION ─── */
.dark-section {
  background: var(--grad-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark-section .section-title { color: #fff; }
.dark-section .section-sub { color: rgba(255,255,255,.7); }
.dark-section .eyebrow { color: #A9D6E5; }
.dark-section .eyebrow .dot { background: #A9D6E5; }

/* ─── PHOTO BACKGROUND SECTION ─── */
.photo-section {
  position: relative;
  overflow: hidden;
}
.photo-section .photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.photo-section .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,78,59,.93) 0%, rgba(5,150,105,.8) 100%);
  z-index: 1;
}
.photo-section .container { position: relative; z-index: 2; }

/* ─── STATS STRIP ─── */
.stat-strip {
  background: var(--primary-deeper);
  padding: 60px 24px;
}
.stat-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .n {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: #A9D6E5;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .l {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── REVIEWS ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .3s;
}
.review-card:hover { transform: translateY(-4px); }
.review-stars {
  color: var(--coral);
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.review-quote {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.review-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}
.featured-review {
  grid-column: span 1;
  background: var(--grad-primary);
  color: #fff;
}
.featured-review .review-stars { color: #FCD34D; }
.featured-review .review-quote { color: rgba(255,255,255,.85); }
.featured-review .review-name { color: #A9D6E5; }

/* ─── OFFER CARDS ─── */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.offer-card {
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
}
.offer-ribbon {
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}
.offer-ribbon.luce-res  { background: linear-gradient(90deg, #0284C7, #0EA5E9); }
.offer-ribbon.luce-placet { background: linear-gradient(90deg, #0057C8, #3B82F6); }
.offer-ribbon.gas-res   { background: linear-gradient(90deg, #B45309, #D97706); }
.offer-ribbon.gas-placet { background: linear-gradient(90deg, #92400E, #B45309); }
.offer-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.offer-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.offer-type {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.offer-price-box {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.offer-price-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.offer-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}
.offer-price-alt {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-xlight);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.offer-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offer-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.offer-feats li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.offer-note {
  font-size: 12px;
  color: var(--muted-2);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.offer-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .2s, transform .2s;
  margin-top: auto;
}
.offer-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ─── TAB BAR ─── */
.tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: all .2s;
}
.tab-btn.active,
.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-xlight);
}

/* ─── CONTACT ─── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-card {
  background: var(--dark-bg);
  border-radius: var(--r-xl);
  padding: 36px;
  color: #fff;
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  margin-bottom: 28px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .ico {
  width: 40px;
  height: 40px;
  background: rgba(110,231,183,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A9D6E5;
  flex-shrink: 0;
}
.contact-item .ico svg { width: 18px; height: 18px; stroke: currentColor; }
.contact-item .label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.contact-item .val { font-family: var(--font-display); font-weight: 600; color: #fff; }
.contact-item a { color: #A9D6E5; font-weight: 600; }

.offer-promo-card {
  background: var(--grad-primary);
  border-radius: var(--r-xl);
  padding: 32px;
  color: #fff;
}
.offer-promo-card .tag {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.offer-promo-card .name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
}
.offer-promo-card .price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: #D1FAE5;
  margin-bottom: 4px;
}
.offer-promo-card .price small { font-size: 16px; font-weight: 600; }
.offer-promo-card .note { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.offer-promo-card .link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #D1FAE5;
  font-weight: 700;
  font-size: 14px;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-form-card .sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-soft);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5,150,105,.1);
  background: #fff;
}
.form-input.textarea { resize: vertical; min-height: 130px; }
.consent-label {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.6;
  align-items: flex-start;
}
.consent-label input { flex-shrink: 0; margin-top: 3px; accent-color: var(--primary); }

/* ─── GLOSSARY ─── */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.glossary-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: background .2s;
}
.glossary-card:hover { background: rgba(255,255,255,.1); }
.glossary-card .ico {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(110,231,183,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #A9D6E5;
}
.glossary-card .ico svg { width: 22px; height: 22px; stroke: currentColor; }
.glossary-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}
.glossary-card p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.65; margin: 0; }

/* ─── FOOTER ─── */
.main-footer {
  background: var(--dark-bg-2);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  margin: 20px 0 0;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
  transition: color .2s;
}
.footer-col a:hover { color: #A9D6E5; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding: 24px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ─── Prose pages (privacy / condizioni) ─── */
.prose {
  max-width: 820px;
  margin: 80px auto 100px;
  padding: 0 24px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 17px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 48px 0 14px;
}
.prose a { color: var(--primary); font-weight: 500; }
.prose ul { padding-left: 24px; }
.prose li { margin-bottom: 6px; }

/* ─── Page hero (inner pages) ─── */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero .photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,78,59,.92) 0%, rgba(5,150,105,.78) 100%);
}
.page-hero .inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(40px, 6vw, 64px);
  margin-top: 16px;
  margin-bottom: 18px;
}
.page-hero h1 .hl { color: var(--primary-light); }
.page-hero p {
  font-size: 19px;
  color: rgba(255,255,255,.8);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .glossary-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --section: 70px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 20px 80px; }
  .hero h1 { font-size: 40px; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .glossary-grid { grid-template-columns: 1fr 1fr; }
}
