/* ══════════════════════════════════════
   DESIGN TOKENS – Tavolozza Mediterranea
══════════════════════════════════════ */
:root {
  --ocean:      #063d52;
  --ocean-mid:  #0d6c8a;
  --aqua:       #1bb8cc;
  --aqua-light: #a8e6ef;
  --sand:       #c9a96e;
  --sand-light: #f0e2c8;
  --white:      #fafaf7;
  --cream:      #f5f0e8;
  --dark:       #0c1a22;
  --gray:       #6b7f86;
  --gray-light: #e4eaec;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Jost', sans-serif;

  --radius:   12px;
  --radius-lg: 24px;
  --shadow:   0 8px 40px rgba(6,61,82,0.12);
  --shadow-lg: 0 20px 60px rgba(6,61,82,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════
   UTILITIES
══════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--ocean);
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--aqua);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--sand);
  color: var(--white);
}
.btn-primary:hover { background: var(--ocean); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-ocean {
  background: var(--ocean);
  color: var(--white);
}
.btn-ocean:hover { background: var(--ocean-mid); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(6,61,82,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--aqua-light); }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aqua-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  background:
    linear-gradient(to bottom, rgba(6,61,82,0.55) 0%, rgba(6,61,82,0.2) 40%, rgba(6,61,82,0.7) 100%),
    url('https://www.spiaggiazzurra.com/gallery/eae60e4e65fd42f8a8ad0111108daa4a.Jpeg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(27,184,204,0.12) 0%, transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23fafaf7' d='M0,60 C240,120 480,0 720,60 C960,120 1200,0 1440,60 L1440,120 L0,120 Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27,184,204,0.2);
  border: 1px solid rgba(27,184,204,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua-light);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '🔵';
  font-size: 0.9rem;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--aqua-light);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  margin-top: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ══════════════════════════════════════
   ABOUT / CHI SIAMO
══════════════════════════════════════ */
.about {
  padding: 120px 0 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 80%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 50%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}

.about-badge-float {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ocean);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-badge-float strong {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 900;
  display: block;
  color: var(--sand);
}

.about-badge-float span { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }

.about-awards {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.award-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean);
}

/* ══════════════════════════════════════
   TERRITORIO / GEO SECTION
══════════════════════════════════════ */
.territory {
  background: var(--ocean);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.territory::before {
  content: '';
  position: absolute;
  top: -60px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(27,184,204,0.08);
}

.territory-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.territory .section-title { color: var(--white); }
.territory .section-lead  { color: rgba(255,255,255,0.7); }

.territory-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.fact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  transition: background 0.3s;
}

.fact-card:hover { background: rgba(255,255,255,0.12); }

.fact-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.fact-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--aqua-light);
  margin-bottom: 6px;
}

.fact-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

.territory-map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.map-embed {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
}

/* ══════════════════════════════════════
   SERVIZI / STABILIMENTO
══════════════════════════════════════ */
.services {
  padding: 100px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-lead { margin: 16px auto 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--sand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   ESPERIENZE
══════════════════════════════════════ */
.experiences {
  background: var(--cream);
  padding: 100px 0;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.exp-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.exp-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.exp-card:hover img { transform: scale(1.08); }

.exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,61,82,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.exp-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aqua-light);
  margin-bottom: 6px;
}

.exp-name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* ══════════════════════════════════════
   TARIFFE / PACCHETTI
══════════════════════════════════════ */
.pricing {
  padding: 100px 0;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1px solid var(--gray-light);
  position: relative;
  transition: all 0.3s;
}

.price-card:hover { box-shadow: var(--shadow); }

.price-card.featured {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
  transform: translateY(-12px);
}

.price-card.featured .price-name,
.price-card.featured .price-period,
.price-card.featured .price-item { color: rgba(255,255,255,0.8); }

.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--sand);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
}

.price-period {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.price-amount {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--ocean);
  line-height: 1;
  margin-bottom: 4px;
}

.price-card.featured .price-amount { color: var(--white); }

.price-unit {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 28px;
}

.price-card.featured .price-unit { color: rgba(255,255,255,0.6); }

.price-divider {
  height: 1px;
  background: var(--gray-light);
  margin-bottom: 24px;
}

.price-card.featured .price-divider { background: rgba(255,255,255,0.15); }

.price-items { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.price-item {
  font-size: 0.85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-item::before {
  content: '✓';
  display: inline-flex;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--aqua-light);
  color: var(--ocean);
  font-size: 0.7rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.price-card.featured .price-item::before {
  background: rgba(27,184,204,0.3);
  color: var(--aqua-light);
}

.price-cta { margin-top: 32px; width: 100%; display: flex; justify-content: center; }

/* ══════════════════════════════════════
   TARIFFE GIORNALIERE (tabella)
══════════════════════════════════════ */
.daily-rates {
  background: var(--cream);
  padding: 80px 0;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rate-table thead { background: var(--ocean); }

.rate-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.rate-table td {
  padding: 14px 20px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
}

.rate-table tr:last-child td { border-bottom: none; }
.rate-table tr:hover td { background: var(--cream); }

.rate-price {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocean);
}

.rate-peak { background: rgba(201,169,110,0.1) !important; }

.rate-note {
  background: var(--ocean);
  color: var(--white);
  padding: 20px 28px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.83rem;
  opacity: 0.9;
}

/* ══════════════════════════════════════
   SOSTENIBILITÀ / BANDIERA BLU
══════════════════════════════════════ */
.sustainability {
  padding: 100px 0;
  background: linear-gradient(135deg, #e8f6f8 0%, #f5f0e8 100%);
}

.sust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.sust-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--aqua);
}

.pillar-icon { font-size: 1.4rem; margin-bottom: 8px; }
.pillar-title { font-size: 0.85rem; font-weight: 700; color: var(--ocean); margin-bottom: 4px; }
.pillar-text  { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }

.blueflag-box {
  background: var(--ocean);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.blueflag-icon { font-size: 4rem; margin-bottom: 16px; }

.blueflag-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.blueflag-text { font-size: 0.88rem; opacity: 0.75; line-height: 1.65; }

/* ══════════════════════════════════════
   WEDDING & EVENTI
══════════════════════════════════════ */
.events {
  padding: 100px 0;
  position: relative;
  background:
    linear-gradient(to right, rgba(6,61,82,0.92) 0%, rgba(6,61,82,0.75) 100%),
    url('https://www.spiaggiazzurra.com/gallery/08f1a16fdd3f482592ee65d7b80a1dbd.Jpeg') center/cover no-repeat;
  color: var(--white);
}

.events-content {
  max-width: 640px;
}

.events .section-title { color: var(--white); }
.events .section-lead  { color: rgba(255,255,255,0.75); }

.event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.event-icon { font-size: 1.5rem; }

.event-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.event-desc { font-size: 0.8rem; opacity: 0.7; }

/* ══════════════════════════════════════
   TESTIMONIANZE
══════════════════════════════════════ */
.reviews {
  padding: 100px 0;
  background: var(--cream);
}

.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-header .section-lead { margin: 16px auto 0; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(6,61,82,0.06);
}

.review-stars { color: var(--sand); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }

.review-text {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.review-name { font-size: 0.85rem; font-weight: 700; color: var(--ocean); }
.review-origin { font-size: 0.75rem; color: var(--gray); }

/* ══════════════════════════════════════
   FAQ – GEO CRITICAL SECTION
══════════════════════════════════════ */
.faq {
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ocean);
  gap: 16px;
}

.faq-question span { flex: 1; text-align: left; }

.faq-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s;
  flex-shrink: 0;
  color: var(--ocean);
}

.faq-item.open .faq-arrow { background: var(--ocean); color: var(--white); transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ══════════════════════════════════════
   COME ARRIVARE
══════════════════════════════════════ */
.how-to-reach {
  background: var(--ocean);
  padding: 80px 0;
}

.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.reach-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.reach-icon { font-size: 2rem; margin-bottom: 12px; }

.reach-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--aqua-light);
  margin-bottom: 8px;
}

.reach-text { font-size: 0.83rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

.how-to-reach .section-title { color: var(--white); text-align: center; margin-bottom: 8px; }
.how-to-reach .section-label { text-align: center; display: block; }
.reach-header { text-align: center; margin-bottom: 48px; }

/* ══════════════════════════════════════
   PARTNER
══════════════════════════════════════ */
.partners {
  padding: 80px 0;
  background: var(--cream);
}

.partners-header { text-align: center; margin-bottom: 48px; }

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--gray-light);
  transition: all 0.3s;
}

.partner-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.partner-stars { color: var(--sand); font-size: 0.85rem; margin-bottom: 4px; }
.partner-name { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; color: var(--ocean); margin-bottom: 8px; }
.partner-desc { font-size: 0.82rem; color: var(--gray); }
.partner-link { color: var(--aqua); font-size: 0.8rem; font-weight: 600; margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; }

/* ══════════════════════════════════════
   GALLERY STRIP
══════════════════════════════════════ */
.gallery {
  padding: 80px 0 0;
}

.gallery-header { text-align: center; margin-bottom: 40px; }

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
}

.gallery-strip .g-item {
  overflow: hidden;
  border-radius: 8px;
}

.gallery-strip .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-strip .g-item:nth-child(4) { grid-column: span 2; }

.gallery-strip .g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  aspect-ratio: 1;
}

.gallery-strip .g-item:nth-child(1) img { aspect-ratio: auto; height: 100%; }

.gallery-strip .g-item:hover img { transform: scale(1.06); }

/* ══════════════════════════════════════
   CONTATTI / CTA FINALE
══════════════════════════════════════ */
.contact-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-mid) 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(27,184,204,0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-cta .section-title { color: var(--white); }
.contact-cta .section-lead  { color: rgba(255,255,255,0.7); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
}

.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.contact-value { font-size: 0.95rem; font-weight: 500; margin-top: 2px; }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-title {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--aqua); background: var(--white); }

.form-group textarea { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--dark);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo span { color: var(--aqua); }

.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 12px; }

.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.social-btn:hover { background: var(--aqua); }

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse-wa 2.5s infinite;
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.65); }
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

/* ══════════════════════════════════════
   BLAZOR LOADING
══════════════════════════════════════ */
.loading-progress {
  position: relative;
  display: block;
  width: 8rem;
  height: 8rem;
  margin: 20vh auto 1rem;
}

.loading-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

.loading-progress circle:last-child {
  stroke: var(--aqua);
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
  position: absolute;
  text-align: center;
  font-weight: bold;
  inset: calc(20vh + 3.25rem) 0 auto 0;
  font-size: 1.8rem;
  color: var(--ocean);
}

.loading-progress-text:after {
  content: var(--blazor-load-percentage-text, "Loading");
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

/* ══════════════════════════════════════
   HAMBURGER
══════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile-cta { display: none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ocean);
    padding: 16px 0 24px;
    gap: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links a:hover { background: rgba(255,255,255,0.06); }

  .nav-mobile-cta {
    display: block;
    padding: 16px 28px 0;
    border-bottom: none;
  }

  .nav-mobile-cta a {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px !important;
    border-bottom: none !important;
  }

  .about-grid, .territory-grid, .sust-grid,
  .events-content, .contact-grid, .faq-grid,
  .pricing-header { grid-template-columns: 1fr; }
  .services-grid, .exp-grid, .reviews-grid,
  .reach-grid, .partners-grid,
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-images { height: 360px; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip .g-item:nth-child(1) { grid-column: span 3; }
  .hero-stats { gap: 24px; }
  .price-card.featured { transform: none; }
  .territory-grid { gap: 40px; }
}


h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}