/* =========================================================
   Obiettivo Salute Ortopedia — Design system
   Palette viva: turchese (logo) + coral + avorio chiaro
   ========================================================= */

:root {
  --bg:          #F4FAF9;
  --paper:       #FFFFFF;
  --ink:         #16303A;
  --ink-soft:    #3D5A66;
  /* Primari allineati al logo: blu navy + cyan vivo */
  --navy:        #1A3A52;
  --navy-mid:    #2B6B7A;
  --navy-light:  #3D8FA0;
  --teal:        #1F9BB0;
  --teal-bright: #2EC4D6;
  --coral:       #E85D4C;
  --terracotta:  #E85D4C;
  --terracotta-d:#D04A3A;
  --amber:       #FFB347;
  --sand:        #D5E8E6;
  --sand-2:      #E8F5F3;
  --mint:        #3DB89A;
  --hero-from:   #1F9BB0;
  --hero-mid:    #2B7A9B;
  --hero-to:     #3D8FA0;

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono:    'DM Mono', 'Courier New', monospace;

  --radius:    10px;
  --radius-sm: 6px;
  --shadow:    0 8px 32px rgba(31, 155, 176, 0.12);
  --shadow-lg: 0 20px 50px rgba(26, 58, 82, 0.14);
  --max:       1180px;
  --header-h:  84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Tipografia ---------- */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.45em;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.85em;
}

.eyebrow--light { color: var(--amber); }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 48ch;
  line-height: 1.55;
}

/* ---------- Bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9em 1.55em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 93, 76, 0.35);
}
.btn-primary:hover {
  background: var(--terracotta-d);
  box-shadow: 0 6px 22px rgba(232, 93, 76, 0.4);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.28); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-mid); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
  align-items: flex-start;
}

.brand--logo {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.brand-logo,
.custom-logo {
  display: block !important;
  height: 48px !important;
  width: 48px !important;
  max-width: 48px !important;
  min-width: 48px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(26, 58, 82, 0.15);
  visibility: visible !important;
  opacity: 1 !important;
}

/* Logo caricato da Aspetto → Personalizza */
.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

/* Wordmark accanto all’icona — testo evidente */
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  min-width: 0;
  gap: 3px;
}

.brand-text .brand-name {
  font-family: var(--f-display);
  font-size: clamp(1.12rem, 2.6vw, 1.38rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-shadow: 0 0 0 transparent;
}

.brand-text .brand-sub {
  margin-top: 0;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(31, 155, 176, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  max-width: 100%;
}

/* Logo landscape (se in futuro usate un file allungato) */
.brand-logo--wide {
  width: auto;
  height: 48px;
  max-width: min(220px, 50vw);
  border-radius: 4px;
  box-shadow: none;
}

.brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.slogan {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  color: var(--amber);
  font-size: 1.05rem;
  margin: 0 0 0.75em;
  letter-spacing: -0.01em;
}

.hero .slogan {
  color: var(--amber);
  opacity: 0.95;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px 26px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--navy);
  border-color: var(--terracotta);
}

.nav-cta {
  font-weight: 600 !important;
  padding: 0.55em 1.15em !important;
  border-radius: var(--radius-sm) !important;
  background: var(--navy);
  color: #fff !important;
  border-bottom: none !important;
}
.nav-cta:hover {
  background: var(--navy-mid) !important;
  border-color: transparent !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-mid) 48%, var(--hero-to) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(255, 179, 71, 0.28), transparent),
    radial-gradient(ellipse 50% 45% at 5% 90%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(46, 196, 214, 0.2), transparent);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
  min-height: 520px;
}

.hero h1 { color: #fff; }

.hero .lede { color: rgba(255,255,255,0.9); }

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 1.9em;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Collage foto reali al posto del piede stilizzato */
.hero-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  min-height: 340px;
}

.hero-collage .tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(16, 50, 60, 0.22);
  background: #fff;
}

.hero-collage .tile--main {
  grid-row: 1 / span 2;
  min-height: 340px;
}

.hero-collage .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-collage .tile--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fff 0%, #E8F5F3 100%);
  padding: 16px;
}

.hero-collage .tile--logo img {
  width: 72%;
  height: auto;
  object-fit: contain;
  max-height: 120px;
}

.hero-collage .tile-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(16, 48, 58, 0.75));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hero-stats div {
  text-align: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 10px;
  padding: 10px 6px;
  backdrop-filter: blur(6px);
}

.hero-stats strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}

.hero-stats span {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.page-hero {
  min-height: auto !important;
}

.page-hero .wrap {
  grid-template-columns: 1fr;
  min-height: auto;
  padding-top: 56px;
  padding-bottom: 56px;
}

/* ---------- Trust bar ---------- */

.trust-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--sand);
}

.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding: 20px 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.trust-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

/* ---------- Sezioni ---------- */

section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .lede {
  margin-left: auto;
  margin-right: auto;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--sand);
  margin: 0;
}

/* ---------- Servizi grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--amber);
  transform: translateY(-3px);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sand-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 4px;
}

.service-card .icon svg {
  width: 24px;
  height: 24px;
}

.service-card .code {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--terracotta);
  letter-spacing: 0.1em;
}

.service-card h3 { margin-bottom: 0; color: var(--navy); }

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  flex: 1;
}

.service-card .more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 8px;
}

/* ---------- Process ---------- */

.process {
  background: var(--paper);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  position: relative;
  padding-top: 24px;
  border-top: 3px solid var(--navy);
}

.process-step .num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.55em;
  font-weight: 500;
}

.process-step h3 {
  font-size: 1.05rem;
  color: var(--navy);
}

.process-step p { font-size: 0.93rem; margin-bottom: 0; }

/* ---------- About teaser ---------- */

.about-teaser .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--sand-2);
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-figure--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--sand);
}

.about-list {
  margin: 1.5em 0 1.8em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  font-size: 0.97rem;
  color: var(--ink-soft);
  padding-left: 28px;
  position: relative;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.85;
  box-shadow: inset 0 0 0 3px var(--sand-2);
}

/* ---------- Products grid ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, var(--sand-2), var(--sand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-light);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.04);
}

.product-card .thumb svg {
  width: 56px;
  height: 56px;
  opacity: 0.5;
}

.product-card .thumb--contain {
  background: #fff;
  padding: 12px;
}

.product-card .thumb--contain img {
  object-fit: contain;
}

.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  padding: 0.35em 0.7em;
  border-radius: 4px;
  z-index: 1;
}

.product-card .badge--nolo {
  background: var(--terracotta);
}

/* Showcase strip home */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.showcase-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.showcase-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.showcase-item .pic {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand-2);
}

.showcase-item .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-item .label {
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* Privacy prose */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-content h2 {
  margin-top: 2em;
  color: var(--navy);
  font-size: 1.35rem;
}

.privacy-content h3 {
  margin-top: 1.4em;
  font-size: 1.1rem;
  color: var(--navy-mid);
}

.privacy-content p,
.privacy-content li {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 1.2em;
}

.privacy-content li { margin-bottom: 0.35em; }

.privacy-meta {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 2em;
  padding: 14px 18px;
  background: var(--sand-2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--terracotta);
}

@media (max-width: 960px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

.product-card .body {
  padding: 24px;
}

.product-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.4em;
}

.product-card p {
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ---------- Feature split ---------- */

.feature-split {
  background: var(--sand-2);
}

.feature-split .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-panel {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
}

.feature-panel h3 {
  color: var(--navy);
  margin-bottom: 0.6em;
}

.data-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand);
  font-size: 0.92rem;
}

.data-row:last-child { border-bottom: none; padding-bottom: 0; }

.data-row span { color: var(--ink-soft); }
.data-row strong {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--navy);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--hero-from) 0%, var(--navy-mid) 55%, var(--navy) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 88px 28px;
}

.cta-band h2 {
  color: #fff;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .lede {
  margin: 0 auto 1.8em;
  color: rgba(255,255,255,0.75);
}

.cta-band .btn-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Contatti layout ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.contact-card .code {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}

.contact-card h3 {
  color: var(--navy);
  margin-bottom: 0.5em;
}

.contact-card p { margin-bottom: 1em; }

.contact-card a.btn { margin-top: 4px; }

.map-wrap {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
  aspect-ratio: 21/9;
  min-height: 280px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Content page ---------- */

.content-prose {
  max-width: 720px;
}

.content-prose h2 {
  margin-top: 1.6em;
  color: var(--navy);
}

.content-prose ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 1.2em;
  color: var(--ink-soft);
}

.content-prose li { margin-bottom: 0.4em; }

/* ---------- Two col info ---------- */

.info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.info-box {
  background: var(--paper);
  border-left: 4px solid var(--terracotta);
  padding: 24px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
}

.info-box h3 {
  color: var(--navy);
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #C5CDD8;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid h4 {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.1em;
  font-weight: 500;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.9rem;
  color: #C5CDD8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.55em;
  line-height: 1.5;
}

.footer-grid a:hover { color: #fff; }

.footer-brand {
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.6em;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: #7A8699;
}

.footer-bottom a {
  color: #7A8699;
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--sand);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 28px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--sand);
  }

  .main-nav .nav-cta {
    text-align: center;
    margin-top: 8px;
    border-bottom: none !important;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 40px;
    min-height: auto;
  }

  .hero-visual { order: -1; max-width: 400px; margin: 0 auto; width: 100%; }
  .hero-collage { min-height: 280px; }
  .hero-collage .tile--main { min-height: 280px; }

  .services-grid,
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }

  .about-teaser .wrap,
  .feature-split .wrap,
  .contact-grid,
  .info-cols { grid-template-columns: 1fr; }

  .about-figure { aspect-ratio: 16/10; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  section { padding: 60px 0; }

  .services-grid,
  .products-grid,
  .process-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }

  .hero-stats { grid-template-columns: 1fr; gap: 16px; }

  .map-wrap { aspect-ratio: 4/3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card, .product-card { transition: none; }
}

/* ---------- Form prenota ritiro ---------- */
.booking-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.booking-intro {
  color: var(--ink-soft);
  margin: 0 0 1.4em;
  font-size: 0.98rem;
}
.booking-form .form-row { margin-bottom: 1.1em; }
.booking-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35em;
}
.booking-form input[type="text"],
.booking-form input[type="tel"],
.booking-form input[type="email"],
.booking-form input[type="date"],
.booking-form textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}
.booking-form input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--teal, #1F9BB0);
  box-shadow: 0 0 0 3px rgba(31, 155, 176, 0.15);
}
.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-legal {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.5em 0 1.2em;
}
.btn-block { width: 100%; justify-content: center; border: none; cursor: pointer; }
.form-alert {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.97rem;
}
.form-alert--ok {
  background: #e6f7f1;
  border: 1px solid #8fd4b8;
  color: #145a3f;
}
.form-alert--err {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #8a1f1a;
}
.form-alert a { font-weight: 600; }
.booking-side-note {
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.oso-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
@media (max-width: 560px) {
  .form-row--2 { grid-template-columns: 1fr; }
}

/* Social footer */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
}
.footer-social-label {
  font-family: var(--f-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber, #E8A87C);
  margin-right: 8px;
}
.footer-social-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9FD6D0 !important;
  text-decoration: none;
  padding: 0.35em 0.75em;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
}
.footer-social-link:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* Cerca prodotto + selezione */
.product-search {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.product-search__label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5em;
  font-size: 0.95rem;
}
.product-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.product-search input[type="search"],
.product-search select {
  flex: 1 1 160px;
  min-width: 140px;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--f-body);
}
.product-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.product-card--link .code {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--terracotta);
  letter-spacing: 0.08em;
}
.product-card--link .more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 8px;
  display: inline-block;
}
.product-picked {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  background: var(--sand-2);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.product-picked__img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4/3;
}
.product-picked__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-picked__body .code {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--terracotta);
  letter-spacing: 0.1em;
}
.product-picked__body h2 {
  color: var(--navy);
  margin: 0.3em 0 0.5em;
  font-size: 1.45rem;
}
.product-picked__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.2em;
}
.legal-banner {
  background: #eef6f5;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 28px 0;
}
.legal-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 85ch;
}
@media (max-width: 720px) {
  .product-picked { grid-template-columns: 1fr; }
}

/* Sede Carlo Felice / baropodometria */
.sede-banner {
  background: linear-gradient(120deg, #1A3A52 0%, #1F9BB0 55%, #2B7A9B 100%);
  color: #fff;
  padding: 48px 0;
}
.sede-banner__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}
.sede-banner h2 {
  color: #fff;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 0.5em;
}
.sede-banner p { color: rgba(255,255,255,0.9); margin: 0 0 0.8em; }
.sede-banner .about-list li { color: rgba(255,255,255,0.9); }
.sede-banner .about-list li::before { background: var(--amber, #E8A87C); }
.sede-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.2em;
}
.sede-banner__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-lg);
}
.sede-banner__map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
.sede-gallery-section { padding: 56px 0; }
.sede-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sede-gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--sand-2);
}
.sede-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sedi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.sede-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.sede-card--highlight {
  border-color: var(--teal, #1F9BB0);
  box-shadow: 0 8px 28px rgba(31, 155, 176, 0.15);
}
.sede-card .code {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--terracotta);
  letter-spacing: 0.1em;
}
.sede-card h3 {
  color: var(--navy);
  margin: 0.4em 0 0.5em;
  font-family: var(--f-display);
}
.sede-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1em 0;
}
.map-wrap--sm {
  aspect-ratio: 16/10;
  min-height: 200px;
  margin-top: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--sand);
}
.map-wrap--sm iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 200px;
}
.sede-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.sede-thumbs img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .sede-banner__inner,
  .sedi-grid,
  .sede-gallery { grid-template-columns: 1fr; }
}

/* Chip categorie + sezioni + paginazione */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 4px 0 8px;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  border: 1.5px solid var(--sand);
  background: var(--paper);
  color: var(--navy) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cat-chip:hover {
  border-color: var(--teal, #1F9BB0);
  color: var(--teal, #1F9BB0) !important;
}
.cat-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
}
.cat-chip__n {
  font-weight: 500;
  opacity: 0.75;
  font-size: 0.82em;
}
.cat-section {
  margin-bottom: 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand);
}
.cat-section:last-of-type { border-bottom: none; }
.cat-section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  align-items: end;
  margin-bottom: 20px;
}
.cat-section__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.cat-section__head h2 { margin: 0; }
.cat-count {
  font-size: 0.85em;
  font-weight: 500;
  color: var(--ink-soft);
}
.cat-section__all {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal, #1F9BB0) !important;
  text-decoration: none;
  white-space: nowrap;
}
.cat-section__more {
  text-align: center;
  margin: 20px 0 0;
}
.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 36px;
}
.catalog-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--sand);
  background: var(--paper);
  color: var(--navy) !important;
  text-decoration: none !important;
  font-weight: 600;
}
.catalog-pagination__link.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
}
@media (max-width: 600px) {
  .cat-section__head { grid-template-columns: 1fr; }
}

/* Promo */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.promo-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.promo-card__img {
  min-height: 200px;
  background: var(--sand-2);
}
.promo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}
.promo-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1F9BB0, #1A3A52);
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.4rem;
}
.promo-card__body { padding: 28px 26px; }
.promo-card__date {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-family: var(--f-mono);
}
.promo-card__body h2 {
  font-family: var(--f-display);
  color: var(--navy);
  margin: 0.35em 0 0.6em;
  font-size: 1.35rem;
}
.promo-card__text { color: var(--ink-soft); font-size: 0.97rem; }
.promo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.2em;
}
.promo-disclaimer {
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 60ch;
}
.promo-home-banner {
  background: linear-gradient(100deg, #fff5f0 0%, #e8f7f5 100%);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 36px 0;
}
.promo-home-banner__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.promo-home-banner__head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--f-display);
}
.promo-home-banner__all {
  font-weight: 600;
  color: var(--teal, #1F9BB0) !important;
  text-decoration: none;
}
.promo-home-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.promo-home-item {
  display: block;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.promo-home-item:hover {
  border-color: var(--coral, #E85D4C);
  box-shadow: var(--shadow);
}
.promo-home-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35em;
  font-size: 1.02rem;
}
.promo-home-item span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
@media (max-width: 800px) {
  .promo-card { grid-template-columns: 1fr; }
  .promo-home-list { grid-template-columns: 1fr; }
}

/* Dettaglio prodotto in evidenza — più chiaro e leggibile */
.product-picked {
  display: block;
  background: #fff;
  border: 2px solid var(--teal, #1F9BB0);
  border-radius: var(--radius);
  padding: 20px 22px 24px;
  margin: 8px 0 32px;
  box-shadow: 0 12px 40px rgba(26, 58, 82, 0.14);
  scroll-margin-top: 100px;
  outline: none;
}
.product-picked__label {
  margin: 0 0 12px;
  font-family: var(--f-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta, #E85D4C);
  font-weight: 600;
}
.product-picked__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}
.product-picked__img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand-2, #f0f4f3);
  aspect-ratio: 4/3;
  border: 1px solid var(--sand);
}
.product-picked__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-picked__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.product-picked__body .code {
  font-family: var(--f-mono, monospace);
  font-size: 0.72rem;
  color: var(--terracotta, #E85D4C);
  letter-spacing: 0.1em;
}
.product-picked__body h2 {
  color: var(--navy);
  margin: 0.35em 0 0.65em;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-family: var(--f-display, Georgia, serif);
  line-height: 1.2;
}
.product-picked__desc {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}
.product-picked__desc p {
  margin: 0 0 0.85em;
  color: var(--ink-soft);
}
.product-picked__desc p:last-child { margin-bottom: 0; }
.product-picked__nolo {
  margin: 1em 0 0;
  padding: 10px 12px;
  background: #fff5f0;
  border-radius: 8px;
  font-size: 0.95rem;
}
.product-picked__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.4em;
}
.product-card .body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  max-height: 4.35em;
}
@media (max-width: 800px) {
  .product-picked__grid { grid-template-columns: 1fr; }
}
