/* =============================================
   NAUTIKA BROKER — Design System
   Palette: Deep Navy + Gold + Ivory
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --navy:       #0a1628;
  --navy-mid:   #112240;
  --navy-light: #1a3358;
  --gold:       #c9a84c;
  --gold-light: #e2c97e;
  --gold-pale:  #f5e9c9;
  --ivory:      #faf8f3;
  --white:      #ffffff;
  --text-dark:  #0d1b2a;
  --text-mid:   #4a5568;
  --text-light: #8a9bb0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --shadow-gold: 0 4px 30px rgba(201,168,76,0.15);
  --shadow-navy: 0 8px 40px rgba(10,22,40,0.4);
  --radius:      4px;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

p { font-size: 0.95rem; line-height: 1.8; color: var(--text-mid); }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 5rem 0; }

/* ---- GOLD DIVIDER ---- */
.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1rem 0 1.5rem;
}
.gold-line.center { margin: 1rem auto 1.5rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0.8rem 0;
}
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}
#site-header.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0.3rem 0;
  box-shadow: var(--shadow-navy);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: auto;
  width: 176px;
  object-fit: contain;
  display: block;
  border-radius: 0 !important;
  background: transparent !important;
  transition: var(--transition);
}
#site-header.scrolled .logo-img {
  width: 136px;
}
.footer-brand .logo-img {
  width: 150px;
  height: auto;
  border-radius: 0 !important;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10,22,40,0.82) 0%, rgba(10,22,40,0.55) 50%, rgba(10,22,40,0.85) 100%),
    url('https://images.unsplash.com/photo-1567899378494-47b22a2ae96a?w=1800&q=80') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--navy) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  animation: heroFadeIn 1.2s ease forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  letter-spacing: 0.05em;
}
.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4rem;
  animation: heroFadeIn 1.5s 0.4s ease both;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* =============================================
   SERVICES
   ============================================= */
#services, #servizi {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
#services::before, #servizi::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,0.7); }
.section-header.light .hero-eyebrow { color: var(--gold-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}
.service-card:hover::before { width: 100%; }

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: block;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.service-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

/* =============================================
   CATALOGO BARCHE
   ============================================= */
#catalogo {
  background: var(--ivory);
}

/* Filtri */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
.filter-bar label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 500;
}
.filter-select {
  padding: 0.55rem 1.2rem;
  border: 1px solid #d4c5a0;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-dark);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9a84c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
  transition: var(--transition);
}
.filter-select:focus {
  outline: none;
  border-color: var(--gold);
}
.filter-btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 500;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--navy);
}

/* Griglia barche */
.boats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1100px) {
  .boats-grid { grid-template-columns: repeat(2, 1fr); }
}

.boat-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(10,22,40,0.08);
  transition: var(--transition);
  border: 1px solid rgba(201,168,76,0.1);
  width: 100%;
  min-width: 0;
}
.boat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-navy);
}
.boat-card:hover .boat-img img {
  transform: scale(1.06);
}

.boat-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.boat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.boat-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}
.boat-price-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: rgba(10,22,40,0.9);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
}

.boat-body { padding: 1.5rem; }
.boat-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.boat-type {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.boat-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
}
.spec-item { text-align: center; }
.spec-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  display: block;
}
.spec-key {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.boat-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.boat-actions .btn {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  padding: 0.7rem 1rem;
}

/* Paginazione */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-num {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-family: var(--font-body);
  border: 1px solid #d4c5a0;
  color: var(--text-mid);
  transition: var(--transition);
  cursor: pointer;
}
.page-num:hover,
.page-num.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* =============================================
   CHI SIAMO
   ============================================= */
#chi-siamo {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  height: 280px;
  object-fit: cover;
  border: 4px solid var(--navy);
  box-shadow: var(--shadow-navy);
}
.about-decoration {
  position: absolute;
  top: -1.5rem; left: -1.5rem;
  width: 120px; height: 120px;
  border: 1px solid rgba(201,168,76,0.3);
  border-right: none;
  border-bottom: none;
}

.about-content h2 { color: var(--white); }
.about-content p { color: rgba(255,255,255,0.65); margin-bottom: 1.2rem; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.value-icon {
  width: 32px; height: 32px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.value-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  font-weight: 400;
}
.value-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   PERCHÉ NOI (strip)
   ============================================= */
#perche-noi {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  padding: 3rem 0;
}
.perche-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.perche-inner > div:not(.perche-divider) {
  padding: 0 1.5rem;
  text-align: center;
}
.perche-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--navy);
  font-weight: 300;
  line-height: 1;
}
.perche-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
}
.perche-text span {
  font-size: 0.78rem;
  color: rgba(10,22,40,0.65);
}
.perche-divider {
  width: 1px;
  height: 50px;
  background: rgba(10,22,40,0.2);
}

/* =============================================
   CONTATTI
   ============================================= */
#contatti {
  background: var(--ivory);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { color: var(--navy); margin-bottom: 0.5rem; }
.contact-info p  { color: var(--text-mid); margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-item span {
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  padding: 3rem;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 4px 30px rgba(10,22,40,0.06);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.contact-form-wrap .sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-submit { width: 100%; padding: 1rem; font-size: 0.78rem; letter-spacing: 0.18em; }

/* Privacy note */
.privacy-note {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.8rem;
  line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .site-logo { font-size: 1.4rem; }
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-newsletter input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--white);
  margin-bottom: 0.7rem;
  outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter input:focus { border-color: var(--gold); }
.footer-newsletter .btn { width: 100%; font-size: 0.72rem; padding: 0.7rem; }

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}
.footer-links a:hover { color: var(--gold); }

/* =============================================
   MODAL BARCA
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: var(--white);
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: var(--navy);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  color: var(--gold);
  font-size: 1.2rem;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gold); color: var(--navy); }

.modal-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.modal-content { padding: 2.5rem; }
.modal-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
}
.modal-spec { text-align: center; }
.modal-spec .val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
}
.modal-spec .key {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* =============================================
   SCROLL TOP
   ============================================= */
#scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid  { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  .main-nav.open ul { flex-direction: column; gap: 2rem; }
  .main-nav.open a { font-size: 1rem; }
  .menu-toggle { display: flex; z-index: 1001; }
  .hero-stats { flex-wrap: wrap; gap: 2rem; }
  .perche-divider { display: none; }
  .boats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   ANIMATE ON SCROLL
   ============================================= */
.aos-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.aos-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }
.aos-delay-4 { transition-delay: 0.4s; }

/* ====================== CATALOG TABS ====================== */
.catalog-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.7rem 2.5rem;
  border: 1px solid rgba(201,168,76,0.6);
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ====================== NOLEGGIO ====================== */
.noleggio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.noleggio-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.noleggio-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: var(--transition);
}
.noleggio-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}
.noleggio-card:hover::before { width: 100%; }
.noleggio-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: block;
}
.noleggio-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.noleggio-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

/* ====================== FOOTER SOCIAL & LEGAL ====================== */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(201,168,76,0.35);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 3px;
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}
.footer-contacts a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: var(--transition);
}
.footer-contacts a:hover { color: var(--gold); }
.fc-icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.footer-email-input {
  width: 100%;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  color: #fff;
  font-size: 0.85rem;
  border-radius: 3px;
  outline: none;
}
.footer-email-input:focus { border-color: var(--gold); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.footer-legal-links a:hover { color: var(--gold); }
.footer-disclaimer {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.25rem;
}

/* ====================== COME LAVORIAMO ====================== */
#come-lavoriamo {
  background: var(--navy);
}
.steps-list {
  max-width: 780px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.step-item:last-child { border-bottom: none; }
.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.step-circle {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 300;
}
.step-connector {
  width: 1px;
  min-height: 30px;
  flex: 1;
  background: rgba(201,168,76,0.2);
  margin-top: 8px;
}
.step-item:last-child .step-connector { display: none; }
.step-body { padding-top: 10px; }
.step-tag-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.step-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.step-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}
.step-badge-label {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ====================== COME LAVORIAMO GRID ====================== */
.cl-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.cl-card {
  padding: 2.5rem 1.8rem;
  border-left: 1px solid rgba(201,168,76,0.2);
  position: relative;
}
.cl-card:first-child { border-left: none; }
.cl-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.cl-bar {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.2rem;
}
.cl-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.cl-card p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.85;
}
.cl-card:hover .cl-num { opacity: 1; }
.cl-card:hover { background: rgba(201,168,76,0.04); }
@media (max-width: 900px) {
  .cl-grid { grid-template-columns: 1fr 1fr; }
  .cl-card { border-left: none; border-top: 1px solid rgba(201,168,76,0.2); }
}
@media (max-width: 600px) {
  .cl-grid { grid-template-columns: 1fr; }
}

/* ====================== HERO SOCIAL BUTTONS ====================== */
.hero-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.06);
  transition: var(--transition);
}
.hero-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

/* ====================== COME LAVORIAMO v2 ====================== */
.cl-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(201,168,76,0.15);
  max-width: 860px;
  margin: 0 auto;
}
.cl2-card {
  background: var(--ivory);
  padding: 2.8rem 2.5rem;
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  transition: background 0.3s ease;
}
.cl2-card:hover { background: #fff; }
.cl2-full { grid-column: 1 / 3; }
.cl2-num {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 5px;
  min-width: 24px;
}
.cl2-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.cl2-body p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.9;
}
.cl2-tag {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 2px;
}
@media (max-width: 640px) {
  .cl-grid2 { grid-template-columns: 1fr; }
  .cl2-full { grid-column: 1; }
}

/* Social buttons su sfondo chiaro (sezione contatti) */
#contatti .social-btn {
  border-color: rgba(10,22,40,0.3);
  color: var(--navy);
}
#contatti .social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =============================================
   MOBILE — Ottimizzazione completa
   ============================================= */
@media (max-width: 768px) {

  /* Container padding ridotto */
  .container { padding: 0 1.2rem; }

  /* Section padding ridotto */
  .section-pad { padding: 3.5rem 0; }

  /* Hero */
  .hero-content { padding: 0 1.2rem; }
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 0.85rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-social { gap: 0.5rem; }
  .hero-social-btn span { display: none; }
  .hero-social-btn { padding: 0.5rem 0.75rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 1.5rem 1.2rem; }

  /* Logo più piccolo su mobile */
  .logo-img { width: 130px !important; }
  #site-header.scrolled .logo-img { width: 100px !important; }

  /* Servizi */
  .services-grid { grid-template-columns: 1fr; gap: 1px; }
  .service-card { padding: 2rem 1.5rem; }

  /* Perché noi — impila verticalmente */
  .perche-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 2rem 1.2rem; }
  .perche-inner > div:not(.perche-divider) { padding: 0; }

  /* Catalogo tabs */
  .catalog-tabs { gap: 0.5rem; }
  .tab-btn { padding: 0.6rem 1.2rem; font-size: 0.68rem; }

  /* Griglia barche — 1 colonna */
  .boats-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Noleggio */
  .noleggio-grid { grid-template-columns: 1fr; }

  /* Come Lavoriamo */
  .cl-grid2 { grid-template-columns: 1fr; }
  .cl2-full { grid-column: 1; }
  .cl2-card { padding: 2rem 1.5rem; }

  /* Chi Siamo */
  .about-grid { grid-template-columns: 1fr; }
  .about-content { padding: 0; }

  /* Contatti */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-wrap { padding: 1.5rem; }

  /* Sezione titoli */
  .section-header h2 { font-size: 2rem; }
  .hero-title { font-size: 2.4rem; }

  /* Modal */
  .modal-box { width: 95vw; margin: 1rem; }
  .modal-img { height: 200px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-legal-links { flex-wrap: wrap; gap: 1rem; }
  .footer-social { gap: 0.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2rem; }
  .perche-inner { grid-template-columns: 1fr; }
  .cl2-card { gap: 1rem; }
  .section-header h2 { font-size: 1.7rem; }
  .about-values { grid-template-columns: 1fr; }
  .filter-bar { flex-wrap: wrap; gap: 0.5rem; }
  .boat-card .boat-specs { grid-template-columns: repeat(3, 1fr); }
}

/* ====================== CHI SIAMO — nuovo layout ====================== */
.about-new-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-photos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about-photo-main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.about-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.about-photo-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.about-values-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}
.aval-item {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}
.aval-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.aval-item p {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .about-new-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo-main img { height: 240px; }
  .about-photo-row img { height: 140px; }
}
@media (max-width: 480px) {
  .about-values-new { grid-template-columns: 1fr; }
}

/* ====================== BOAT MODAL ====================== */
.boat-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,22,40,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.boat-modal-box {
  background: var(--white);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border-radius: 4px;
}
.boat-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  z-index: 10;
}
.boat-modal-gallery img:first-child {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.boat-modal-thumbs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #f0f0f0;
}
.boat-modal-thumbs img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.boat-modal-thumbs img:hover { opacity: 1; }
.boat-modal-content {
  padding: 2rem;
}
.boat-modal-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.boat-modal-specs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.modal-spec .val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 400;
}
.modal-spec .key {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.boat-modal-content p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 0.75rem;
}
.boat-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.boat-modal-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
}
.boat-modal-price span {
  font-size: 1rem;
  color: var(--text-mid);
}
@media (max-width: 600px) {
  .boat-modal-specs { grid-template-columns: repeat(2,1fr); }
  .boat-modal-footer { flex-direction: column; gap: 1rem; }
}

/* ====================== GALLERY SLIDER ====================== */
.gallery-slider {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #000;
}
.gallery-slider .slide-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-slider .slide-img.active {
  opacity: 1;
}
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,22,40,0.7);
  color: #c9a84c;
  border: 1px solid rgba(201,168,76,0.4);
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-prev:hover, .slider-next:hover {
  background: rgba(201,168,76,0.3);
}
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: #c9a84c; }
@media (max-width: 600px) {
  .gallery-slider { height: 240px; }
}

/* ====================== MOBILE FIX COMPLETO ====================== */
@media (max-width: 768px) {

  /* Header e menu */
  .container { padding: 0 1.2rem; }
  #site-header { padding: 0.6rem 0; }
  .logo-img { width: 140px !important; }
  .menu-toggle { display: flex !important; z-index: 1100; }
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
  }
  .main-nav.open { display: flex !important; }
  .main-nav ul {
    flex-direction: column !important;
    gap: 1.8rem !important;
    text-align: center;
    list-style: none;
    padding: 0;
  }
  .main-nav a {
    font-size: 1rem !important;
    color: #fff !important;
  }
  .nav-cta {
    margin-top: 1rem;
    border: 1px solid #c9a84c !important;
    color: #c9a84c !important;
    padding: 0.6rem 2rem !important;
  }

  /* Hero */
  #hero { min-height: 100vh; }
  .hero-content {
    padding: 7rem 1.2rem 2rem;
    text-align: center;
  }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 0.85rem; }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }
  .hero-social { justify-content: center; margin-top: 1.5rem; }
  .hero-social-btn span { display: none; }
  .hero-social-btn { padding: 0.5rem 0.75rem; }
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1.5rem 1rem;
    flex-wrap: wrap;
  }
  .stat-item { padding: 1rem 0.5rem; }
  .stat-num { font-size: 2rem; }

  /* Sezioni */
  .section-pad { padding: 3rem 0; }
  .section-header h2 { font-size: 1.9rem; }

  /* Servizi */
  .services-grid { grid-template-columns: 1fr; gap: 1px; }
  .service-card { padding: 1.8rem 1.5rem; }

  /* Perché noi */
  .perche-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }
  .perche-inner > div { padding: 0 !important; text-align: center; }
  .perche-divider { display: none; }

  /* Catalogo */
  .catalog-tabs { gap: 0.5rem; }
  .tab-btn { padding: 0.6rem 1rem; font-size: 0.65rem; }
  .boats-grid { grid-template-columns: 1fr; }

  /* Noleggio */
  .noleggio-grid { grid-template-columns: 1fr; }

  /* Come lavoriamo */
  .cl-grid2 { grid-template-columns: 1fr; }
  .cl2-full { grid-column: 1; }
  .cl2-card { padding: 1.8rem 1.5rem; }

  /* Chi siamo */
  .about-new-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-main img { height: 240px; }
  .about-photo-row img { height: 130px; }
  .about-values-new { grid-template-columns: 1fr; }

  /* Contatti */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-items { margin-top: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-legal { flex-direction: column; gap: 0.75rem; }
  .footer-legal-links { flex-wrap: wrap; gap: 0.75rem; }

  /* Modal */
  .boat-modal-box { width: 95vw; max-height: 85vh; }
  .boat-modal-specs { grid-template-columns: repeat(2,1fr); }
  .boat-modal-footer { flex-direction: column; gap: 1rem; text-align: center; }
  .gallery-slider { height: 220px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2rem; }
  .perche-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ====================== MOBILE HERO FIX ====================== */
@media (max-width: 768px) {
  #hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    padding: 7rem 1.2rem 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-title { font-size: 2.2rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.83rem; margin: 0.8rem auto; max-width: 300px; }
  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    margin-top: 1.2rem;
  }
  .hero-actions .btn { width: 260px; text-align: center; }
  .hero-social { justify-content: center; margin-top: 1rem; gap: 0.5rem; }
  .hero-social-btn span { display: none; }
  .hero-social-btn { padding: 0.45rem 0.7rem; }
  .hero-stats {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    background: rgba(10,22,40,0.7);
    padding: 1.2rem 0.5rem;
    z-index: 2;
  }
  .stat-item { padding: 0.6rem 0.3rem; }
  .stat-num { font-size: 1.8rem !important; }
  .stat-label { font-size: 0.55rem !important; letter-spacing: 0.1em; }
}

/* ====================== SHARE BUTTONS ====================== */
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid rgba(10,22,40,0.2);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-share:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ====================== CATALOG TABS WRAP + SORT ====================== */
.catalog-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.sort-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sort-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-mid);
}
.sort-btn {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(10,22,40,0.2);
  background: transparent;
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.sort-btn:hover, .sort-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}
@media (max-width: 600px) {
  .catalog-tabs-wrap { flex-direction: column; align-items: flex-start; }
}

/* ═══ BLOG ═══ */
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 400;
  margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 400;
  margin: 2rem 0 0.8rem;
}
.article-body p {
  margin-bottom: 1.4rem;
}
.article-body strong {
  color: var(--navy);
  font-weight: 600;
}
.article-body a {
  color: var(--gold);
  text-decoration: underline;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.article-body ul li, .article-body ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.8rem 1.5rem;
  margin: 2rem 0;
  background: rgba(201,168,76,0.05);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
}
.article-body img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE-FIRST IMPROVEMENTS — v55
   ═══════════════════════════════════════════════════════ */

/* FIX 1 — Leggibilità */
@media (max-width: 768px) {
  body { font-size: 17px; }
  p { font-size: 1rem; line-height: 1.85; }
  .boat-modal-body p { font-size: 0.95rem; line-height: 1.9; }
  .service-card p, .noleggio-card p { font-size: 0.95rem; }
}

/* FIX 2 — Tap targets >= 48px */
@media (max-width: 768px) {
  .btn, .tab-btn, .sort-btn, .slider-prev, .slider-next,
  .boat-modal-close, .menu-toggle { min-height: 48px; min-width: 48px; }
  .btn { padding: 0.9rem 1.8rem; }
  .tab-btn { padding: 0.75rem 1.4rem; font-size: 0.72rem; }
  .hero-social-btn { padding: 0.75rem 1rem; min-height: 48px; }
  .boat-modal-close { width: 44px; height: 44px; top: 0.75rem; right: 0.75rem; }
  .footer-legal-links a { padding: 0.4rem 0; display: inline-block; min-height: 44px; line-height: 44px; }
}

/* FIX 3 — CTA sticky WhatsApp FAB */
.sticky-wa-fab { display: none; }
@media (max-width: 768px) {
  .sticky-wa-fab {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background: #22c55e;
    color: #fff;
    border-radius: 50px;
    padding: 0.75rem 1.2rem 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 990;
    box-shadow: 0 4px 16px rgba(34,197,94,0.35);
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .sticky-wa-fab:hover { transform: scale(1.04); color: #fff; }
  .sticky-wa-fab.hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
}

/* FIX 4 — Spaziature */
@media (max-width: 768px) {
  .section-pad { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .boat-card .boat-body { padding: 1.25rem 1rem; }
  .boat-card .boat-specs { gap: 0.5rem; margin: 0.75rem 0; }
}

/* FIX 5 — Moduli: font 16px evita zoom iOS */
@media (max-width: 768px) {
  .contact-form-wrap input,
  .contact-form-wrap textarea,
  .contact-form-wrap select,
  .footer-email-input {
    font-size: 16px !important;
    min-height: 52px;
    padding: 0.9rem 1rem;
    border-radius: 6px;
  }
  .contact-form-wrap textarea { min-height: 100px; }
  .form-group { margin-bottom: 1rem; }
  .form-row { gap: 0.9rem; }
  .contact-form-wrap .btn { width: 100%; padding: 1rem; min-height: 52px; }
}

/* FIX 6 — Skeleton loader immagini */
.boat-img img, .gallery-slider .slide-img {
  background: linear-gradient(90deg, #e8e4d9 25%, #f0ede4 50%, #e8e4d9 75%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.4s infinite;
}
.boat-img img.loaded, .gallery-slider .slide-img.loaded {
  animation: none; background: none;
}
@keyframes sk-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .boat-img img, .gallery-slider .slide-img { animation: none; }
}

/* FIX 7 — Card barca: bottone outline nascosto su mobile */
@media (max-width: 768px) {
  .boat-card .boat-name { font-size: 1.15rem; }
  .boat-card .boat-type { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.06em; }
  .boat-card .boat-actions .btn-outline { display: none; }
  .boat-card .boat-actions .btn { width: 100%; text-align: center; }
}

/* FIX 8 — Modal come bottom sheet su mobile */
@media (max-width: 768px) {
  .boat-modal-overlay { padding: 0; align-items: flex-end; }
  .boat-modal-box {
    width: 100vw;
    max-width: 100vw;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
  }
  .boat-modal-box::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: rgba(0,0,0,0.15);
    border-radius: 2px;
    margin: 10px auto 0;
  }
  .gallery-slider { height: 220px; }
  .boat-modal-body { padding: 1.25rem; }
  .boat-modal-body h2 { font-size: 1.5rem; }
  .boat-modal-footer {
    position: sticky; bottom: 0;
    background: #fff;
    border-top: 1px solid rgba(201,168,76,0.2);
    padding: 1rem 1.25rem;
    flex-direction: row; flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center; justify-content: space-between;
  }
  .boat-modal-price { font-size: 1.5rem; }
  .boat-modal-footer .btn-gold {
    flex: 1; text-align: center;
    min-height: 48px;
    display: flex; align-items: center; justify-content: center;
  }
  .btn-share { min-height: 44px; min-width: 44px; }
}

/* FIX 9 — Hero altezza corretta su mobile */
@media (max-width: 768px) {
  #hero { min-height: 100svh; }
  .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.15;
  }
  .hero-subtitle { font-size: 0.9rem; line-height: 1.7; }
  .hero-actions .btn { padding: 1rem; min-height: 52px; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.62rem; }
}

/* FIX 10 — Contatti: form prima delle info su mobile */
@media (max-width: 768px) {
  .contact-grid { display: flex; flex-direction: column-reverse; }
  .contact-social .social-btn { min-height: 52px; padding: 0.85rem 1.5rem; }
}

/* Accessibilità: focus ring visibile */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 768px) {
  .dot { width: 10px; height: 10px; }
  .slider-prev, .slider-next { width: 40px; height: 40px; }
  .sort-bar { flex-wrap: wrap; gap: 0.4rem; }
  .sort-btn { min-height: 40px; }
}

/* ═══════════════════════════════════════════════════════
   CARD AD ALTA CONVERSIONE — v57
   ═══════════════════════════════════════════════════════ */

/* Badge categoria (barca/gommone) sopra foto */
.bc-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
}
.bc-cat--barca {
  background: rgba(29,78,124,0.9);
  color: #e2c97e;
}
.bc-cat--gommone {
  background: rgba(10,22,40,0.88);
  color: #c9a84c;
}

/* Contatore foto */
.bc-photos {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 500;
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.9);
  padding: 3px 7px;
  border-radius: 3px;
  z-index: 2;
  letter-spacing: 0.04em;
}

/* Micro-copy optional */
.bc-micro {
  font-size: 0.72rem !important;
  color: var(--text-mid) !important;
  line-height: 1.4 !important;
  padding: 6px 8px;
  background: var(--ivory);
  border-radius: 4px;
  margin: 0 0 0.75rem !important;
  border-left: 2px solid var(--gold);
}

/* Risposta entro 2h */
.bc-reply {
  font-size: 0.65rem !important;
  color: var(--text-light) !important;
  text-align: center;
  margin: 0.4rem 0 0 !important;
  letter-spacing: 0.04em;
}

/* Bottone WhatsApp nella card */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #22c55e;
  color: #fff !important;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-wa:hover {
  background: #16a34a;
  color: #fff !important;
  transform: none;
}
.btn-wa svg { flex-shrink: 0; }

/* Card con doppia CTA — bottone outline rimosso */
.boat-card.hcv .boat-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.boat-card.hcv .boat-name {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.1rem;
}
/* Rimuovi boat-type (spostato in bc-cat) */
.boat-card.hcv .boat-type { display: none; }

@media (max-width: 480px) {
  .boat-card.hcv .boat-actions { grid-template-columns: 1fr; }
  .bc-cat { font-size: 0.6rem; }
}

/* ═══════════════════════════════════════════════════════
   SEZIONE NOLEGGIO — selezione esperienza + form
   ═══════════════════════════════════════════════════════ */

/* Tab selezione esperienza */
.nol-exp-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0 2rem;
  flex-wrap: wrap;
}
.nol-exp-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  padding: 1.2rem 2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 130px;
  color: rgba(255,255,255,0.7);
}
.nol-exp-btn:hover {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.5);
  color: #fff;
}
.nol-exp-btn.active {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold);
  color: #fff;
}
.nol-exp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}
.nol-exp-btn.active .nol-exp-icon {
  background: rgba(201,168,76,0.3);
}
.nol-exp-label {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
}
.nol-exp-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
}

/* Form noleggio */
.nol-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  padding: 2rem 2.5rem;
}
.nol-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.nol-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.nol-field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
}
.nol-field input,
.nol-field select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  color: #fff;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
}
.nol-field input::placeholder { color: rgba(255,255,255,0.3); }
.nol-field input:focus,
.nol-field select:focus {
  border-color: var(--gold);
  outline: none;
  background: rgba(255,255,255,0.1);
}
.nol-field select option { background: var(--navy-mid); color: #fff; }
.nol-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  min-height: 52px;
}
.nol-success {
  margin-top: 1rem;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: #86efac;
  font-size: 0.85rem;
  text-align: center;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .nol-exp-tabs { gap: 0.6rem; }
  .nol-exp-btn { padding: 0.9rem 1.2rem; min-width: 100px; }
  .nol-form-wrap { padding: 1.5rem 1.25rem; }
  .nol-form-grid { grid-template-columns: 1fr; }
  .nol-field input,
  .nol-field select { font-size: 16px !important; }
}

/* ═══════════════════════════════════════════════════════
   FONT UPGRADE + OVERLAY FIX + MODAL PREMIUM — v59
   ═══════════════════════════════════════════════════════ */

/* ── FONT SYSTEM UPGRADE ──
   Titoli hero: DM Serif Display (elegante, nautico, moderno)
   Titoli card/modal: Cormorant Garamond (già presente, raffinato)
   Body/UI: Inter (leggibilità massima, rimpiazza Montserrat)
*/
:root {
  --font-display: 'DM Serif Display', 'Cormorant Garamond', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', 'Montserrat', sans-serif;
}

/* Titolo hero con DM Serif Display */
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
/* Titoli sezione H2 con Cormorant */
h2 { font-family: var(--font-serif); }
/* H3 card con Inter semi-bold */
.boat-name, .boat-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}
/* Body testo con Inter */
body, p, .boat-modal-body p, .service-card p {
  font-family: var(--font-body);
  font-weight: 400;
}
/* Prezzi con Cormorant (numero elegante) */
.boat-modal-price,
.boat-price-badge,
.scheda-price-val {
  font-family: var(--font-serif);
}
/* Bottoni uppercase Inter */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
}
/* Nav Inter */
.main-nav a, .tab-btn, .sort-btn {
  font-family: var(--font-body);
}

/* ── CARD OVERLAY FIX ──
   Prezzo: angolo in basso a SINISTRA (non destra)
   Badge categoria: angolo in alto a SINISTRA
   Contatore foto: angolo in basso a DESTRA — separato dal prezzo
   Badge "Ottimo/Full Optional": in alto a DESTRA
*/
.boat-price-badge {
  bottom: 0;
  left: 0;
  right: auto;
  border-radius: 0 4px 0 0;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01em;
}
/* Badge stato (Ottimo, Full Optional ecc.) → alto destra */
.boat-badge {
  top: 0.7rem;
  right: 0.7rem;
  left: auto;
  border-radius: 3px;
}
/* Contatore foto → basso destra, ben distanziato dal prezzo */
.bc-photos {
  bottom: 0.5rem;
  right: 0.6rem;
  font-size: 0.62rem;
  padding: 2px 6px;
  background: rgba(0,0,0,0.55);
  border-radius: 3px;
  z-index: 3;
}
/* Badge categoria → alto sinistra */
.bc-cat {
  top: 0.7rem;
  left: 0.7rem;
  right: auto;
}

/* ── MODAL PREMIUM REDESIGN ──
   Struttura nuova:
   [Gallery fullwidth senza overlay testo]
   [Header barra: titolo sx · prezzo dx]
   [Tabs: Galleria | Info tecniche | Descrizione]
   [CTA sticky footer: WhatsApp + Info]
*/

/* Override modal container */
.boat-modal-box {
  border-radius: 12px;
  overflow: hidden;
  max-width: 960px;
}

/* Gallery senza elementi sovrapposti al centro */
.gallery-slider {
  height: 420px;
  border-radius: 0;
  background: #0a1628;
}
/* Frecce più grandi e posizionate meglio */
.slider-prev, .slider-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,22,40,0.75);
  border: 1px solid rgba(201,168,76,0.4);
  font-size: 1.1rem;
}
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }
/* Dots più grandi */
.slider-dots { bottom: 1rem; gap: 7px; }
.dot { width: 9px; height: 9px; }

/* Contatore foto nel modal — in alto a destra SENZA sovrapporsi a nulla */
.modal-photo-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 5;
  letter-spacing: 0.06em;
  pointer-events: none;
}

/* Header barca sotto la gallery — titolo + prezzo su stessa riga */
.modal-header-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  background: #fff;
  gap: 1rem;
}
.modal-header-left {}
.modal-header-left .modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 0.2rem;
  line-height: 1.2;
}
.modal-header-left .modal-subtitle {
  font-size: 0.75rem;
  color: var(--text-mid);
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.modal-header-right {
  text-align: right;
  flex-shrink: 0;
}
.modal-header-right .modal-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin: 0 0 0.2rem;
}
.modal-header-right .modal-price-note {
  font-size: 0.7rem;
  color: var(--text-mid);
  font-family: var(--font-body);
  margin: 0;
}
.modal-avail-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(34,197,94,0.12);
  color: #15803d;
  border: 1px solid rgba(34,197,94,0.3);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

/* Specifiche tecniche — griglia orizzontale compatta */
.modal-specs-row {
  display: flex;
  gap: 0;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  background: var(--ivory);
  overflow-x: auto;
}
.modal-spec-item {
  flex: 1;
  padding: 1rem 0.5rem;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.15);
  min-width: 80px;
}
.modal-spec-item:last-child { border-right: none; }
.modal-spec-item .sv {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}
.modal-spec-item .sk {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 3px;
}

/* Micro-optional nel modal */
.modal-optional-strip {
  padding: 0.9rem 2rem;
  background: #fff;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.modal-opt-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--ivory);
  color: var(--text-mid);
  border: 1px solid rgba(201,168,76,0.2);
  letter-spacing: 0.03em;
}

/* Descrizione nel modal */
.modal-desc-wrap {
  padding: 1.5rem 2rem;
  background: #fff;
}
.modal-desc-wrap p {
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  line-height: 1.85 !important;
  color: var(--text-mid) !important;
  margin-bottom: 0.75rem !important;
}
.modal-disclaimer {
  font-size: 0.72rem !important;
  color: var(--text-light) !important;
  padding: 0.75rem 1rem;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
  margin-top: 1rem;
}

/* CTA footer premium — sticky nel modal */
.modal-cta-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 10;
}
.modal-cta-footer .mcf-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 400;
  line-height: 1;
}
.modal-cta-footer .mcf-note {
  font-size: 0.65rem;
  color: var(--text-mid);
  font-family: var(--font-body);
  margin-top: 2px;
}
.modal-cta-footer .mcf-btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.modal-cta-footer .btn-wa-modal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
}
.modal-cta-footer .btn-info-modal {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--gold-light);
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
}

/* Close button upgrade */
.boat-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-size: 1.1rem;
  top: 1rem;
  right: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

/* Hide old modal structures */
.boat-modal-content,
.boat-modal-footer,
.boat-modal-body > h2,
.boat-modal-body > .boat-type {
  /* Overridden by new classes below */
}

/* Mobile modal */
@media (max-width: 768px) {
  .gallery-slider { height: 240px; }
  .modal-header-bar { padding: 1.1rem 1.25rem 0.9rem; }
  .modal-header-left .modal-title { font-size: 1.35rem; }
  .modal-header-right .modal-price { font-size: 1.5rem; }
  .modal-specs-row { padding: 0 1.25rem; }
  .modal-optional-strip { padding: 0.75rem 1.25rem; }
  .modal-desc-wrap { padding: 1.25rem; }
  .modal-cta-footer { padding: 0.85rem 1.25rem; flex-wrap: wrap; }
  .modal-cta-footer .mcf-btns { width: 100%; }
  .modal-cta-footer .btn-wa-modal,
  .modal-cta-footer .btn-info-modal { flex: 1; justify-content: center; }
  .boat-modal-overlay { padding: 0; align-items: flex-end; }
  .boat-modal-box { border-radius: 16px 16px 0 0; max-height: 94vh; width: 100vw; max-width: 100vw; }
}
@media (max-width: 480px) {
  .modal-specs-row { flex-wrap: wrap; }
  .modal-spec-item { min-width: 70px; flex: none; width: 33.333%; }
}
