/* =========================================================
   SPIAGGIACLICK — Landing Page Pubbliche Indicizzabili
   Stile condiviso da ombrelloni.php, citta.php e lido.php
   ========================================================= */
:root {
  --sea-deep: #064e5b;
  --sea-cyan-600: #0284c7;
  --sea-cyan-700: #0369a1;
  --sea-light: #e0f2fe;
  --sand-gold: #f59e0b;
  --sand-light: #fef3c7;
  --bg-body: #f8fafc;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-400: #94a3b8;
  --success: #16a34a;
  --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

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

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--bg-body);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--sea-cyan-700); }

/* ---------- HEADER ---------- */
.seo-header {
  background: linear-gradient(135deg, #064e5b 0%, #0284c7 100%);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.25);
}

.seo-brand {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.seo-brand-tld { opacity: 0.75; font-weight: 700; }

.seo-topnav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.seo-topnav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.seo-topnav a:hover { background: rgba(255, 255, 255, 0.18); }

.seo-topnav a.seo-cta-mini {
  background: var(--sand-gold);
  color: #422006;
}

.seo-topnav a.seo-cta-mini:hover { background: #fbbf24; }

/* ---------- LAYOUT ---------- */
.seo-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px 60px;
}

.seo-hero {
  background: linear-gradient(180deg, #0284c7 0%, #38bdf8 65%, var(--bg-body) 100%);
  color: #fff;
  padding: 28px 18px 34px;
  text-align: center;
}

.seo-hero-inner { max-width: 860px; margin: 0 auto; }

.seo-hero h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin: 6px 0 10px;
  letter-spacing: -0.02em;
}

.seo-hero p {
  font-size: clamp(14px, 2vw, 17px);
  margin: 0 auto 20px;
  max-width: 680px;
  opacity: 0.96;
}

.seo-hero-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.seo-hero-stat {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 120px;
}

.seo-hero-stat strong { display: block; font-size: 20px; font-weight: 800; }
.seo-hero-stat span { font-size: 11.5px; opacity: 0.9; }

/* ---------- BREADCRUMB ---------- */
.seo-breadcrumb {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 18px 0;
  font-size: 12.5px;
  color: var(--ink-600);
}

.seo-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.seo-breadcrumb li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--ink-400);
}

.seo-breadcrumb a { color: var(--ink-600); text-decoration: none; }
.seo-breadcrumb a:hover { color: var(--sea-cyan-600); text-decoration: underline; }
.seo-breadcrumb [aria-current] { font-weight: 700; color: var(--ink-900); }

/* ---------- CARD & SEZIONI ---------- */
.seo-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 22px;
  box-shadow: var(--shadow-card);
}

.seo-section > h2 {
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.seo-section > h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.seo-section p { color: var(--ink-700); margin: 0 0 12px; }
.seo-section p:last-child { margin-bottom: 0; }

.seo-lead { font-size: 16px; }

/* ---------- GRIGLIA LIDI / CITTÀ ---------- */
.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.seo-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.16);
  border-color: #bae6fd;
}

.seo-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
}

.seo-card-meta { font-size: 12.5px; color: var(--ink-600); }

.seo-card-price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.seo-card-price strong { font-size: 20px; color: var(--sea-cyan-600); font-weight: 800; }
.seo-card-price span { font-size: 11.5px; color: var(--ink-600); }

.seo-rating { color: var(--sand-gold); font-weight: 700; }

/* ---------- PILLS SERVIZI ---------- */
.seo-pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }

.seo-pills li {
  background: var(--sea-light);
  color: var(--sea-cyan-700);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Testo riservato agli screen reader (caption tabelle, label) */
.seo-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- TABELLA PREZZI ---------- */
.seo-table-wrap { overflow-x: auto; margin-top: 14px; }

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 420px;
}

.seo-table th, .seo-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.seo-table th {
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-600);
}

.seo-table td strong { color: var(--sea-cyan-600); font-size: 15px; }
.seo-table tr:last-child td { border-bottom: none; }

/* ---------- CTA ---------- */
.seo-cta-box {
  background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea-cyan-600) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 22px;
  text-align: center;
}

.seo-cta-box h2 { font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; margin: 0 0 8px; }
.seo-cta-box p { opacity: 0.95; margin: 0 auto 18px; max-width: 560px; }

.seo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand-gold);
  color: #422006;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease;
}

.seo-btn:hover { transform: translateY(-2px); }

.seo-btn.secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

/* ---------- FAQ ---------- */
.seo-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: #fff;
}

.seo-faq details[open] { border-color: #bae6fd; background: #f8fdff; }

.seo-faq summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: '+'; color: var(--sea-cyan-600); font-size: 20px; line-height: 1; }
.seo-faq details[open] summary::after { content: '−'; }
.seo-faq details p { margin: 12px 0 0; color: var(--ink-700); font-size: 14.5px; }

/* ---------- STEP "COME FUNZIONA" ---------- */
.seo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.seo-steps li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  position: relative;
  counter-increment: step;
}

.seo-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sea-cyan-600);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
}

.seo-steps h3 { font-size: 15.5px; font-weight: 800; margin: 0 0 4px; }
.seo-steps p { font-size: 13.5px; color: var(--ink-600); margin: 0; }

/* ---------- FOOTER ---------- */
.seo-footer {
  background: var(--sea-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 18px 0;
  margin-top: 40px;
}

.seo-footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
}

.seo-footer-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.seo-footer-list { list-style: none; margin: 0; padding: 0; }
.seo-footer-list li { margin-bottom: 8px; }

.seo-footer-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13.5px;
}

.seo-footer-list a:hover { color: #fff; text-decoration: underline; }

.seo-footer-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 0;
  line-height: 1.6;
}

.seo-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .seo-header { padding: 12px 14px; }
  .seo-brand { font-size: 17px; }
  .seo-topnav a { font-size: 12px; padding: 6px 11px; }
  .seo-section { padding: 20px 16px; }
  .seo-cta-box { padding: 22px 18px; }
}
