/* ==========================================================================
   GIOX ON BOARD — Design System "Midnight Ocean & Champagne Gold"
   Serio · Professionale · Lusso Giovanile
   ========================================================================== */

:root {
  --navy-950: #040915;
  --navy-900: #071124;
  --navy-800: #0d1c38;
  --navy-700: #162a4f;
  --ivory-50: #faf8f2;
  --ivory-100: #f3efe4;
  --ivory-200: #e7e1d1;
  --white: #ffffff;
  --gold-300: #f1d791;
  --gold-400: #e0b75e;
  --gold-500: #c79535;
  --gold-600: #a57721;
  --cyan-400: #38bdf8;
  --emerald-400: #34d399;
  --emerald-700: #047857;
  --rose-400: #fb7185;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 50px -15px rgba(4, 9, 21, 0.25);
  --shadow-soft: 0 10px 30px -10px rgba(7, 17, 36, 0.12);
  --max-w: 1220px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--navy-950);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* Accessibility skip */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   TOP NAVIGATION (Glassmorphic Sticky Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 9, 21, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224, 183, 94, 0.16);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(224, 183, 94, 0.7);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-300);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-300);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   BUTTONS & PILLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: var(--navy-950);
  box-shadow: 0 10px 28px -8px rgba(224, 183, 94, 0.55);
}

.btn-gold:hover {
  box-shadow: 0 14px 32px -6px rgba(224, 183, 94, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-300);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-800);
}

.btn-navy:hover {
  background: var(--navy-800);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(7, 17, 36, 0.25);
}

.btn-outline-dark:hover {
  border-color: var(--navy-900);
  background: rgba(7, 17, 36, 0.05);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.84rem;
}

/* Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-gold {
  background: rgba(224, 183, 94, 0.14);
  border: 1px solid rgba(224, 183, 94, 0.36);
  color: var(--gold-300);
}

.eyebrow-dark {
  background: rgba(7, 17, 36, 0.07);
  border: 1px solid rgba(7, 17, 36, 0.14);
  color: var(--navy-800);
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-400);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.verified-pill-light {
  background: rgba(4, 120, 87, 0.1);
  color: var(--emerald-700);
  border-color: rgba(4, 120, 87, 0.24);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(580px, 82vh, 760px);
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
  background: var(--navy-950);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.03);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 21, 0.92) 0%, rgba(4, 9, 21, 0.72) 52%, rgba(4, 9, 21, 0.35) 100%),
    linear-gradient(180deg, rgba(4, 9, 21, 0.55) 0%, rgba(4, 9, 21, 0.1) 45%, rgba(4, 9, 21, 0.96) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.25rem, 4.7vw, 4rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero h1 .serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-300);
  font-size: 1.08em;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--slate-300);
  max-width: 58ch;
  margin-bottom: 1.85rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.75rem;
  max-width: 560px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.highlight-item strong {
  display: block;
  color: var(--gold-300);
  font-size: 1.35rem;
  font-weight: 800;
}

.highlight-item span {
  font-size: 0.82rem;
  color: var(--slate-400);
}

.highlight-counter strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.highlight-counter span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: livePulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.live-dot.is-offline {
  background: var(--slate-400);
  box-shadow: none;
  animation: none;
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

/* Hero Floating Editorial Snapshot Card */
.hero-card {
  background: rgba(10, 22, 46, 0.78);
  border: 1px solid rgba(224, 183, 94, 0.32);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.65);
  color: var(--white);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-head span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.snapshot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 0.65rem;
}

.snapshot-row strong {
  display: block;
  font-size: 0.92rem;
}

.snapshot-row small {
  color: var(--slate-400);
  font-size: 0.76rem;
}

.snapshot-price {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-300);
  font-size: 0.98rem;
  white-space: nowrap;
}

.hero-card-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--slate-400);
  line-height: 1.45;
}

/* ==========================================================================
   SECTIONS (Alternating Dark Luxury & Editorial Warm Ivory)
   ========================================================================== */
.section {
  padding: clamp(3.75rem, 6.5vw, 5.75rem) 0;
}

.section-ivory {
  background: var(--ivory-50);
  color: var(--slate-900);
}

.section-navy {
  background: var(--navy-900);
  color: var(--white);
}

.section-abyss {
  background: var(--navy-950);
  color: var(--white);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-title {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-title .serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1em;
}

.section-sub {
  margin: 0;
  max-width: 60ch;
  font-size: 1rem;
  opacity: 0.82;
}

/* ==========================================================================
   TRUST MARQUEE / METHOD BAR
   ========================================================================== */
.trust-strip {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--slate-300);
  font-size: 0.88rem;
}

.trust-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(224, 183, 94, 0.14);
  border: 1px solid rgba(224, 183, 94, 0.3);
  color: var(--gold-300);
  font-size: 1.1rem;
}

.trust-item strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

/* ==========================================================================
   FILTER PILLS & COMPARISON CARDS
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(7, 17, 36, 0.16);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--navy-900);
}

.filter-btn.is-active {
  background: var(--navy-900);
  color: var(--gold-300);
  border-color: var(--navy-900);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.deal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(7, 17, 36, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.deal-card.is-hidden {
  display: none;
}

.deal-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-800);
}

.deal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.deal-card:hover .deal-media img {
  transform: scale(1.05);
}

.deal-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(4, 9, 21, 0.84);
  backdrop-filter: blur(8px);
  color: var(--gold-300);
  border: 1px solid rgba(224, 183, 94, 0.42);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.deal-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.deal-source {
  font-size: 0.74rem;
  color: var(--slate-600);
  font-weight: 600;
}

.deal-body h3 {
  margin: 0 0 0.65rem;
  font-size: 1.24rem;
  line-height: 1.25;
  color: var(--navy-900);
}

.deal-body p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.price-compare {
  background: var(--ivory-100);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-top: auto;
  margin-bottom: 1rem;
  border: 1px solid var(--ivory-200);
}

.pc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.36rem 0;
  font-size: 0.84rem;
}

.pc-row + .pc-row {
  border-top: 1px dashed rgba(7, 17, 36, 0.12);
}

.pc-row strong {
  font-family: var(--font-mono);
  color: var(--navy-900);
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.pc-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.73rem;
  color: var(--slate-600);
}

.deal-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   INTERACTIVE COST & PROFILE SIMULATOR
   ========================================================================== */
.sim-shell {
  background: linear-gradient(155deg, rgba(13, 28, 56, 0.95) 0%, rgba(5, 11, 24, 0.98) 100%);
  border: 1px solid rgba(224, 183, 94, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.65);
}

.sim-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.sim-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 0.65rem;
}

.seg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.seg-pill {
  padding: 0.62rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--slate-300);
  font-weight: 600;
  font-size: 0.86rem;
  transition: all 0.16s ease;
}

.seg-pill.is-active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  border-color: transparent;
}

.sim-result-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.5rem;
  align-items: stretch;
}

.sim-breakdown {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.sim-breakdown h3 {
  margin: 0 0 0.3rem;
  font-size: 1.32rem;
  color: var(--white);
}

.sim-route {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--gold-300);
}

.sim-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.sim-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--slate-300);
}

.sim-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--white);
}

.sim-verdict {
  background: rgba(224, 183, 94, 0.09);
  border: 1px solid rgba(224, 183, 94, 0.3);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-big-price {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1.1;
  margin: 0.4rem 0;
}

/* ==========================================================================
   GUIDES SECTION + MODAL READER
   ========================================================================== */
.guide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(7, 17, 36, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.guide-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-content {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-bottom: 0.45rem;
}

.guide-content h3 {
  margin: 0 0 0.65rem;
  font-size: 1.18rem;
  color: var(--navy-900);
}

.guide-content p {
  margin: 0 0 1.2rem;
  font-size: 0.91rem;
  color: var(--slate-700);
  flex: 1;
}

/* ==========================================================================
   AMAZON KIT + EXCURSIONS PORTS
   ========================================================================== */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}

.kit-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 183, 94, 0.5);
}

.kit-thumb {
  background: var(--white);
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  padding: 0.65rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.kit-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.kit-tag {
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kit-card h3 {
  margin: 0.3rem 0 0.45rem;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.25;
}

.kit-card p {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  color: var(--slate-300);
  flex: 1;
}

.ports-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.port-card {
  background: var(--white);
  border: 1px solid rgba(7, 17, 36, 0.09);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.port-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--navy-900);
}

.port-card p {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--slate-700);
}

/* ==========================================================================
   FOUNDER / CHI E' GIOX + QUOTE FORM
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.founder-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(224, 183, 94, 0.35);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  aspect-ratio: 4 / 5;
  background: var(--navy-800);
}

.founder-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(4, 9, 21, 0.84);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.founder-caption strong {
  display: block;
  color: var(--gold-300);
  font-size: 0.95rem;
}

.founder-caption span {
  font-size: 0.78rem;
  color: var(--slate-300);
}

.method-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 1.75rem;
  display: grid;
  gap: 0.8rem;
}

.method-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--slate-300);
}

.method-check {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.16);
  color: var(--emerald-400);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  margin-top: 2px;
}

/* Request Quote Builder */
.funnel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(7, 17, 36, 0.1);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(7, 17, 36, 0.2);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--ivory-50);
  color: var(--slate-900);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold-500);
  border-color: transparent;
}

.msg-preview {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--slate-300);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  white-space: pre-wrap;
  border: 1px solid rgba(224, 183, 94, 0.3);
}

/* ==========================================================================
   MODAL READER (Clean Full Guide Display)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 9, 21, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  width: min(100%, 720px);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  position: relative;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(7, 17, 36, 0.15);
  background: var(--ivory-100);
  font-weight: 800;
  font-size: 1rem;
}

.modal-dialog h2 {
  margin: 0.5rem 0 1rem;
  font-size: 1.55rem;
  color: var(--navy-900);
  line-height: 1.22;
}

.modal-dialog ul {
  padding-left: 1.25rem;
}

.modal-dialog li {
  margin-bottom: 0.55rem;
}

/* ==========================================================================
   FOOTER & LEGAL SUBPAGES
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  border-top: 1px solid rgba(224, 183, 94, 0.2);
  padding: 3.5rem 0 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-legal-box {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  opacity: 0.9;
}

.visit-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.34rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(224, 183, 94, 0.28);
  color: var(--slate-300);
  font-size: 0.76rem;
}

.visit-counter-badge strong {
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* Legal standalone article layout */
.legal-wrap {
  background: var(--ivory-50);
  color: var(--slate-900);
  padding: 4rem 0 5rem;
}

.legal-card {
  width: min(100%, 860px);
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(7, 17, 36, 0.08);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin: 0.4rem 0 0.85rem;
  color: var(--navy-900);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.legal-card h2 {
  margin-top: 1.85rem;
  color: var(--navy-900);
  font-size: 1.2rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .kit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .sim-result-grid,
  .founder-grid,
  .funnel-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sim-controls {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.25rem 1.5rem;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(224, 183, 94, 0.22);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .cards-3,
  .kit-grid,
  .ports-grid,
  .trust-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .nav-actions .btn-gold {
    display: none;
  }
}
