/* ═══════════════════════════════════════════════════════
   SUPREMA YACHTS — Noleggio Page Styles
   Extends: style.css + guide.css (must be loaded before)
═══════════════════════════════════════════════════════ */


/* ── NOL HERO ────────────────────────────────────────── */
.nol-hero {
  position: relative;
  width: 100%;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: var(--s5);
}

.nol-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.nol-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,12,0.30) 0%,
    rgba(12,12,12,0.45) 35%,
    rgba(12,12,12,0.82) 65%,
    rgba(12,12,12,0.97) 100%
  );
}

.nol-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--s6)) var(--pad-x) var(--s7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nol-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--s2);
}

.nol-hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(240,238,232,0.72);
  line-height: 1.65;
  margin-bottom: var(--s4);
  max-width: 520px;
}


/* ── NOL STEPS ───────────────────────────────────────── */
.nol-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin: var(--s4) 0 var(--s5);
}

.nol-step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s4);
  position: relative;
  transition: border-color 250ms ease, background 250ms ease;
}

.nol-step:hover {
  border-color: rgba(75,168,204,0.3);
  background: rgba(75,168,204,0.04);
}

.nol-step__num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.22;
  letter-spacing: -0.05em;
  margin-bottom: var(--s2);
  display: block;
}

.nol-step__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: var(--s1);
}

.nol-step p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 0;
}


/* ── NOL MODELS ──────────────────────────────────────── */
.nol-models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin: var(--s4) 0 var(--s5);
}

.nol-model-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 250ms ease, transform 250ms ease;
}

.nol-model-card:hover {
  border-color: rgba(75,168,204,0.3);
  transform: translateY(-2px);
}

.nol-model-card--accent {
  border-color: rgba(75,168,204,0.3);
  background: rgba(75,168,204,0.03);
}

.nol-model-card--accent:hover {
  border-color: rgba(75,168,204,0.55);
}

.nol-model-card__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nol-model-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
  display: block;
}

.nol-model-card:hover .nol-model-card__img-wrap img {
  transform: scale(1.04);
}

.nol-model-card__body {
  padding: var(--s3) var(--s4) var(--s4);
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--border);
}

.nol-model-card--accent .nol-model-card__body {
  border-top-color: rgba(75,168,204,0.2);
}

.nol-model-card__tag {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s1);
}

.nol-model-card__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: var(--s2);
}

.nol-model-card__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s3);
}

.nol-model-card__specs li {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nol-model-card__specs li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.7;
}

.nol-model-card__specs li:last-child {
  border-bottom: none;
}

.nol-model-card__body > p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: var(--s3);
  flex: 1;
}


/* ── NOL PRICING ─────────────────────────────────────── */
.nol-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin: var(--s4) 0;
}

.nol-price-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: border-color 250ms ease;
}

.nol-price-card:hover {
  border-color: var(--border-h);
}

.nol-price-card--mid {
  background: var(--bg-3);
  border-color: rgba(75,168,204,0.25);
}

.nol-price-card--mid:hover {
  border-color: rgba(75,168,204,0.5);
}

.nol-price-card__label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
}

.nol-price-card--mid .nol-price-card__label {
  color: var(--accent);
}

.nol-price-card__price {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0;
}

.nol-price-card__price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

.nol-price-card > p {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}


/* ── NOL TRUST GRID ──────────────────────────────────── */
.nol-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  margin: var(--s4) 0 var(--s5);
}

.nol-trust-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s4);
  transition: border-color 250ms ease, background 250ms ease;
}

.nol-trust-item:hover {
  border-color: rgba(75,168,204,0.28);
  background: rgba(75,168,204,0.035);
}

.nol-trust-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--s3);
  transition: border-color 250ms ease;
  flex-shrink: 0;
}

.nol-trust-item:hover .nol-trust-item__icon {
  border-color: rgba(75,168,204,0.4);
}

.nol-trust-item h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: var(--s1);
  line-height: 1.3;
}

.nol-trust-item p {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.65;
}


/* ── RESPONSIVE ──────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  .nol-hero {
    min-height: 60vh;
  }

  .nol-steps {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }

  .nol-pricing {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }

  .nol-price-card {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--s2);
  }

  .nol-price-card__label { flex: 0 0 100%; }
  .nol-price-card__price { flex: 0 0 auto; }
  .nol-price-card > p { flex: 1; min-width: 200px; }
}

/* Mobile */
@media (max-width: 767px) {
  .nol-hero {
    min-height: 56vh;
  }

  .nol-hero__content {
    padding-top: calc(var(--nav-h) + var(--s4));
    padding-bottom: var(--s6);
  }

  .nol-hero__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .nol-hero__sub {
    font-size: 1rem;
    max-width: 100%;
  }

  .nol-hero__content .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }

  .nol-models {
    grid-template-columns: 1fr;
  }

  .nol-model-card__img-wrap {
    aspect-ratio: 16/9;
  }

  .nol-model-card__title {
    font-size: 1.3rem;
  }

  .nol-trust-grid {
    grid-template-columns: 1fr;
  }

  .nol-pricing {
    grid-template-columns: 1fr;
  }

  .nol-price-card {
    flex-direction: column;
  }

  .nol-price-card__price {
    font-size: 1.5rem;
  }

  .nol-step {
    padding: var(--s3);
  }

  .nol-step__num {
    font-size: 2.4rem;
  }

  .nol-trust-item {
    padding: var(--s3);
  }

  .article-cta__actions {
    flex-direction: column;
  }

  .article-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .nol-hero__title {
    font-size: 1.9rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nol-model-card,
  .nol-step,
  .nol-trust-item,
  .nol-price-card {
    transition: none;
  }
  .nol-model-card__img-wrap img {
    transition: none;
  }
}
