/* ══════════════════════════════════════
   OPTIMAPS — style.css
   ══════════════════════════════════════ */

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

:root {
  --g-red:    #EA4335;
  --g-blue:   #4285F4;
  --g-green:  #34A853;
  --g-yellow: #FBBC05;
  --white:    #ffffff;
  --gray-50:  #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-400: #9aa0a6;
  --gray-600: #5f6368;
  --text:     #1a1a2e;
  --text-light: #5f6368;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 24px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --r:    16px;
  --r-sm:  8px;
  --r-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.03em;
}
h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
p { color: var(--text-light); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }

/* ── SVG icon base ── */
svg { display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--g-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(66,133,244,.35);
}
.btn-primary:hover {
  background: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66,133,244,.42);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--gray-200);
}
.btn-ghost:hover {
  border-color: var(--g-blue);
  color: var(--g-blue);
}
.btn-green {
  background: var(--g-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(52,168,83,.32);
}
.btn-green:hover {
  background: #2d9249;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52,168,83,.40);
}
.btn-full { width: 100%; }

/* ── Scroll progress ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--g-blue), var(--g-green));
  z-index: 400;
  transition: width .08s linear;
}

/* ══════════ NAVBAR ══════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  padding: 14px 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
nav.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-dots {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.ld {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.ld-b { background: var(--g-blue);   top: 0;   left: 0; }
.ld-r { background: var(--g-red);    top: 0;   right: 0; }
.ld-y { background: var(--g-yellow); bottom: 0; left: 0; }
.ld-g { background: var(--g-green);  bottom: 0; right: 0; }

/* Nav links */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: .85rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-link:hover  { color: var(--text); }
.nav-link.active { color: var(--g-blue); border-color: var(--g-blue); }

.nav-cta { padding: 9px 20px; font-size: .83rem; }

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

/* ══════════ HERO ══════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(155deg, #ffffff 0%, #f0f4ff 50%, #fffbea 100%);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -25%; right: -15%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66,133,244,.07) 0%, transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,168,83,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: linear-gradient(90deg, var(--g-blue) 0%, var(--g-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 460px;
  margin: 18px 0 28px;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-stars {
  display: flex;
  gap: 2px;
}
.sp-stars svg {
  width: 16px; height: 16px;
  fill: var(--g-yellow);
}
.social-proof p {
  font-size: .82rem;
  color: var(--text-light);
}
.social-proof strong { color: var(--text); }

/* Maps card */
.hero-visual {
  position: relative;
  padding: 16px 16px 56px;
}

.maps-card {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 340px;
  margin: 0 auto;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.mc-photo {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.mc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mc-rank {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--g-blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 50px;
  letter-spacing: .3px;
}

.mc-body { padding: 14px 16px 8px; }
.mc-cat  { font-size: .68rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.mc-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }

.mc-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 9px;
}
.mc-score { font-weight: 700; font-size: .88rem; color: var(--text); }
.mc-stars-row {
  display: flex;
  gap: 1px;
}
.mc-stars-row svg {
  width: 13px; height: 13px;
  fill: var(--g-yellow);
}
.mc-count { font-size: .73rem; color: var(--text-light); }

.mc-info { display: flex; flex-direction: column; gap: 4px; }
.mc-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  color: var(--text-light);
}
.mc-info-row svg {
  width: 13px; height: 13px;
  fill: var(--text-light);
  flex-shrink: 0;
}
.online-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--g-green);
  flex-shrink: 0;
}

.mc-actions {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--gray-100);
  margin-top: 10px;
}
.mc-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--g-blue);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.mc-btn:not(:last-child) { border-right: 1px solid var(--gray-100); }
.mc-btn:hover { background: var(--gray-50); }
.mc-btn svg {
  width: 16px; height: 16px;
  fill: var(--g-blue);
}

/* Bubble review */
.hero-bubble {
  position: absolute;
  bottom: 10px; right: 0;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 13px 16px;
  max-width: 190px;
  animation: float 7s ease-in-out infinite 3.5s;
}
.bubble-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 5px;
}
.bubble-stars svg {
  width: 12px; height: 12px;
  fill: var(--g-yellow);
}
.bubble-text {
  font-size: .74rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 4px;
}
.bubble-who {
  font-size: .68rem;
  color: var(--text-light);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .social-proof { justify-content: center; }
  .hero-bubble { display: none; }
  .maps-card { max-width: 300px; }
}

/* ══════════ SECTION HEADER ══════════ */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.label-red    { color: var(--g-red); }
.label-blue   { color: var(--g-blue); }
.label-green  { color: var(--g-green); }
.label-yellow { color: var(--g-yellow); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header p {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 1rem;
  line-height: 1.65;
}

/* ══════════ IL PROBLEMA ══════════ */
#problema { background: var(--gray-50); }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.listing-card {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.lc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.lc-header svg { width: 16px; height: 16px; flex-shrink: 0; }
.lc-bad  .lc-header { background: #fce8e6; color: var(--g-red);   }
.lc-bad  .lc-header svg { fill: var(--g-red); }
.lc-good .lc-header { background: #e6f4ea; color: var(--g-green); }
.lc-good .lc-header svg { fill: var(--g-green); }

.lc-body { padding: 20px; }

/* Photo areas */
.lc-photo { width: 100%; height: 120px; border-radius: var(--r-sm); margin-bottom: 14px; overflow: hidden; }
.lc-no-photo {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: .2px;
}
.lc-with-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.lc-name { font-weight: 700; font-size: .95rem; color: var(--text); margin-bottom: 7px; }

.lc-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
  font-size: .78rem;
}
.lc-rating svg { width: 13px; height: 13px; }
.lc-rating span { margin-left: 4px; }
.lc-rating-bad  svg  { fill: var(--gray-300); }
.lc-rating-bad  span { color: var(--gray-400); }
.lc-rating-good svg  { fill: var(--g-yellow); }
.lc-rating-good span { color: var(--text-light); }

.lc-rows { display: flex; flex-direction: column; gap: 5px; }
.lc-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--text-light);
}
.lc-row svg { width: 15px; height: 15px; flex-shrink: 0; }
.lc-row-bad  svg { fill: var(--g-red);   }
.lc-row-good svg { fill: var(--g-green); }

.lc-position {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  font-size: .78rem;
  font-weight: 700;
}
.lc-position svg { width: 15px; height: 15px; flex-shrink: 0; }
.lc-pos-bad  { background: #fce8e6; color: var(--g-red);   }
.lc-pos-bad  svg { fill: var(--g-red); }
.lc-pos-good { background: #e6f4ea; color: var(--g-green); }
.lc-pos-good svg { fill: var(--g-green); }

@media (max-width: 560px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* ══════════ SERVIZI ══════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc-card {
  padding: 30px 26px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.svc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc-icon svg { width: 26px; height: 26px; }
.ic-blue   { background: rgba(66,133,244,.10); }
.ic-blue   svg { fill: var(--g-blue); }
.ic-red    { background: rgba(234,67,53,.10); }
.ic-red    svg { fill: var(--g-red); }
.ic-yellow { background: rgba(251,188,5,.10); }
.ic-yellow svg { fill: var(--g-yellow); }
.ic-green  { background: rgba(52,168,83,.10); }
.ic-green  svg { fill: var(--g-green); }

.svc-card h3 { margin-bottom: 10px; }
.svc-card > p { font-size: .88rem; line-height: 1.65; margin-bottom: 16px; }

.svc-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-light);
}
.svc-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--g-green);
  flex-shrink: 0;
  margin-top: 6px;
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ══════════ PORTFOLIO ══════════ */
#portfolio { background: var(--gray-50); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pf-card {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pf-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.pf-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-cgnotes    { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.pf-restaurant { background: var(--gray-100); }

.pf-thumb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
}
.pf-thumb-inner svg {
  width: 48px; height: 48px;
  fill: rgba(255,255,255,.85);
}
.pf-thumb-inner span {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Portfolio photo placeholder */
.pf-photo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%; height: 100%;
  color: var(--gray-400);
}
.pf-photo-area svg {
  width: 40px; height: 40px;
  fill: var(--gray-400);
}
.pf-photo-area span {
  font-size: .82rem;
  font-weight: 500;
}

.pf-soon-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.14);
  backdrop-filter: blur(6px);
  color: var(--gray-600);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.pf-body { padding: 22px 24px; }
.pf-tag  { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.tag-purple { color: #4f46e5; }
.tag-orange { color: #f97316; }
.pf-body h3 { margin-bottom: 8px; }
.pf-body p  { font-size: .86rem; margin-bottom: 16px; }

.pf-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--g-blue);
  font-weight: 700;
  font-size: .83rem;
  text-decoration: none;
  transition: gap .2s;
}
.pf-link svg { width: 16px; height: 16px; fill: var(--g-blue); }
.pf-link:hover { gap: 9px; }

.pf-link-dim {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-400);
  font-size: .83rem;
  font-weight: 600;
}
.pf-link-dim svg { width: 15px; height: 15px; fill: var(--gray-400); }

@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ══════════ PREZZI ══════════ */
.pricing-wrap { max-width: 520px; margin: 0 auto; }

.price-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 2px solid var(--g-blue);
}

.price-top {
  background: linear-gradient(140deg, var(--g-blue) 0%, #5b9cf6 100%);
  padding: 36px 36px 30px;
  color: #fff;
  text-align: center;
}
.price-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  padding: 4px 13px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .3px;
}
.price-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; }

.price-amount-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  margin-bottom: 4px;
}
.price-currency { font-size: 1.6rem; font-weight: 800; line-height: 1; padding-bottom: 8px; }
.price-amount   { font-size: 4rem;   font-weight: 900; line-height: 1; }
.price-period   { font-size: .9rem;  opacity: .8; margin-bottom: 5px; }
.price-note     { font-size: .73rem; opacity: .65; }

.price-body { padding: 28px 32px 32px; }

.price-features { list-style: none; margin-bottom: 26px; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.price-features li:last-child { border-bottom: none; }

.pf-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pf-ico svg { width: 18px; height: 18px; }

.pf-text { flex: 1; }
.pf-text strong { display: block; font-size: .88rem; color: var(--text); margin-bottom: 2px; }
.pf-text span   { font-size: .79rem; color: var(--text-light); line-height: 1.45; }

.price-footer {
  text-align: center;
  font-size: .79rem;
  color: var(--text-light);
  margin-top: 14px;
}

/* ══════════ COME FUNZIONA ══════════ */
#come-funziona { background: var(--gray-50); }

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

.step-card {
  background: #fff;
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .22s ease, box-shadow .22s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-num svg { width: 22px; height: 22px; }
.sn-blue   { background: rgba(66,133,244,.12); }
.sn-blue   svg { fill: var(--g-blue); }
.sn-red    { background: rgba(234,67,53,.12); }
.sn-red    svg { fill: var(--g-red); }
.sn-yellow { background: rgba(251,188,5,.12); }
.sn-yellow svg { fill: var(--g-yellow); }
.sn-green  { background: rgba(52,168,83,.12); }
.sn-green  svg { fill: var(--g-green); }

.step-body { flex: 1; }
.step-n {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .8px;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.step-body h3 { margin-bottom: 7px; font-size: .97rem; }
.step-body p  { font-size: .82rem; line-height: 1.6; }

@media (max-width: 860px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ══════════ CTA ══════════ */
#cta {
  background: linear-gradient(145deg, #0f0f1e, #1a1a35);
  color: #fff;
  text-align: center;
}
#cta h2 { color: #fff; margin-bottom: 12px; }

.cta-sub {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.cta-form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 34px;
  max-width: 440px;
  margin: 0 auto;
}

.fld { margin-bottom: 14px; text-align: left; }
.fld label {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .79rem;
  font-weight: 500;
  margin-bottom: 5px;
}
.fld input, .fld textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.fld input::placeholder, .fld textarea::placeholder {
  color: rgba(255,255,255,.3);
}
.fld input:focus, .fld textarea:focus {
  border-color: var(--g-blue);
}
.fld textarea { height: 88px; resize: vertical; }

.cta-alt {
  margin-top: 28px;
  color: rgba(255,255,255,.4);
  font-size: .82rem;
}
.cta-alt p { margin-bottom: 12px; }
.cta-alt-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.cta-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-weight: 600;
  font-size: .84rem;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px;
  transition: color .2s, border-color .2s, background .2s;
}
.cta-channel svg { width: 15px; height: 15px; fill: currentColor; }
.cta-channel:hover {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
}

/* ══════════ FOOTER ══════════ */
footer { background: #08080f; }

.google-strip { display: flex; height: 4px; }
.gs-b { flex:1; background: var(--g-blue); }
.gs-r { flex:1; background: var(--g-red); }
.gs-y { flex:1; background: var(--g-yellow); }
.gs-g { flex:1; background: var(--g-green); }

.footer-inner {
  padding: 22px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-inner p { color: rgba(255,255,255,.3); font-size: .78rem; }
.footer-inner a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-inner a:hover { color: rgba(255,255,255,.8); }

/* ══════════ ANIMATIONS ══════════ */
.fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade.in {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   MOBILE — tutto quello che serve per
   un'esperienza perfetta su iPhone
   ══════════════════════════════════════ */

/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background .2s;
  flex-shrink: 0;
}
.hamburger:active { background: var(--gray-100); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu overlay ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 24px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mm-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--r);
  width: 100%;
  text-align: center;
  transition: background .15s, color .15s;
}
.mm-link:active { background: var(--gray-100); }
.mm-cta {
  margin-top: 16px;
  width: 100%;
  font-size: 1rem;
  padding: 16px;
}

@media (max-width: 820px) {
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .nav-cta { display: none; }
}

/* ── Global mobile adjustments ── */
@media (max-width: 600px) {
  section { padding: 64px 0; }

  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: .92rem; }

  /* Hero */
  #hero { padding-top: 72px; min-height: 100svh; align-items: flex-start; padding-bottom: 48px; }
  .hero-grid { gap: 32px; padding-top: 16px; }

  h1 { font-size: 2.4rem; letter-spacing: -.025em; }
  .hero-sub { font-size: .95rem; margin: 14px 0 22px; }

  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; padding: 16px; font-size: 1rem; }

  .social-proof { flex-direction: column; gap: 4px; text-align: center; }
  .social-proof p { font-size: .8rem; }

  /* Maps card — più compatto su iPhone */
  .hero-visual { padding: 0 0 16px; }
  .maps-card { max-width: 100%; border-radius: var(--r); }
  .mc-photo { height: 140px; }
  .mc-name { font-size: .92rem; }
  .mc-btn { font-size: .65rem; padding: 10px 2px; }

  /* Comparison */
  .compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .lc-photo { height: 100px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-card { padding: 22px 20px; }
  .svc-card:hover { transform: none; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .pf-thumb { height: 160px; }
  .pf-card:hover { transform: none; }

  /* Pricing */
  .price-top { padding: 28px 24px 24px; }
  .price-amount { font-size: 3.2rem; }
  .price-body { padding: 22px 22px 28px; }
  .price-features li { padding: 10px 0; gap: 10px; }
  .pf-ico { width: 30px; height: 30px; border-radius: 8px; }
  .pf-ico svg { width: 15px; height: 15px; }
  .pf-text strong { font-size: .84rem; }
  .pf-text span { font-size: .76rem; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .step-card { padding: 20px 18px; }
  .step-card:hover { transform: none; }

  /* CTA */
  #cta { padding: 64px 0; }
  .cta-form { padding: 24px 20px; border-radius: var(--r); }
  .cta-alt-links { flex-direction: column; align-items: center; gap: 10px; }
  .cta-channel { width: 100%; justify-content: center; padding: 13px 24px; }

  /* Buttons — touch targets grandi */
  .btn { min-height: 48px; }

  h2 { font-size: 1.7rem; }
  h3 { font-size: 1rem; }
}

/* ── iPhone SE e schermi molto piccoli ── */
@media (max-width: 380px) {
  h1 { font-size: 2rem; }
  .container { padding: 0 16px; }
  .maps-card { font-size: .85rem; }
}

/* ── Disabilita animazioni hover su touch ── */
@media (hover: none) {
  .svc-card:hover,
  .pf-card:hover,
  .step-card:hover,
  .btn:hover { transform: none; box-shadow: inherit; }
}

/* ── Altezza schermo dinamica (barra Safari) ── */
@supports (min-height: 100svh) {
  #hero { min-height: 100svh; }
}
