/* ===== DESIGN TOKENS ===== */
:root {
  --navy: #0F172A; /* Deeper, sleeker navy/slate */
  --navy-light: #1E293B;
  --gold: #F59E0B; /* Vibrant Amber/Gold for better contrast and modern feel */
  --gold-dark: #D97706;
  --gold-tint: #FEF3C7;
  --bg-white: #FFFFFF;
  --bg-gray: #F9FAFB; /* Softer, extreme light gray */
  --txt-dark: #0F172A;
  --txt-sub: #64748B;
  --txt-white: #FFFFFF;
  --ai-border: #E2E8F0;
  --font: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  color: var(--txt-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  word-break: keep-all;
}

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

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

ul,
ol {
  list-style: none;
}

.card__icon .icon,
.grid-card__icon .icon {
  font-size: 28px;
  line-height: 1;
}

.checklist__icon.icon {
  font-size: 24px;
  line-height: 1;
}

/* ===== UTILITIES ===== */
.highlight {
  color: var(--gold);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 12px; /* More rounded */
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn--outline-gold:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 12px 24px;
  font-size: 16px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn--submit {
  width: 100%;
  height: 56px;
  font-size: 19px;
  font-weight: 700;
  border-radius: 10px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background: rgba(15, 23, 42, 0.2); /* Transparent by default */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav--scrolled {
  background: rgba(15, 23, 42, 0.85); /* Darken nicely on scroll */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.logo__img {
  height: 72px;
  width: auto;
  object-fit: contain;
  transform: scale(1.45);
  transform-origin: left center;
  transition: opacity 0.2s, transform 0.2s;
}

.logo__img:hover {
  opacity: 0.85;
}

.logo__img--footer {
  height: 96px;
  transform: scale(1.6);
  transform-origin: left center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.nav__link {
  color: var(--txt-white);
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav__link:hover {
  color: var(--gold);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--txt-white);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 20px 40px 28px;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu__link {
  color: var(--txt-white);
  font-size: 17px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__link:hover {
  color: var(--gold);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-top: 80px; /* nav height */
  min-height: 780px;
  overflow: hidden;
}

.hero__bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      to bottom,
      rgba(13, 43, 78, 0.94) 0%,
      rgba(13, 43, 78, 0.69) 50%,
      rgba(13, 43, 78, 0.50) 100%
  );
  z-index: 1;
}

.hero__bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  animation: heroAnimation 18s infinite linear;
}

.slide-1 {
  background-image: url("./images/generated-1776323188647.png");
  animation-delay: 0s;
}

.slide-2 {
  background-image: url("./images/hero_slider_2.png");
  animation-delay: 6s;
}

.slide-3 {
  background-image: url("./images/hero_slider_3.png");
  animation-delay: 12s;
}

@keyframes heroAnimation {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 700px;
  padding: 0 40px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 0 240px 0;
  z-index: 2;
}

.hero__headline {
  color: var(--txt-white);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.02em; /* Tighter tracking for large type */
}

.hero__sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.65; /* Increased for modern, comfortable reading and balanced vertical layout */
  letter-spacing: -0.015em; /* Tighter letter spacing for cohesive typography */
}

.hero__btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 120px;
  z-index: 3;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat__value {
  color: var(--gold);
  font-size: 42px;
  font-weight: 800;
}

.stat__label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
}

/* ===== SECTION LAYOUT ===== */
.section {
  width: 100%;
}

.section--white {
  background: var(--bg-white);
}

.section--gray {
  background: var(--bg-gray);
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px;
}

.section__inner--centered {
  text-align: center;
}

.section__title {
  font-size: 42px;
  font-weight: 800;
  color: var(--txt-dark);
  margin-bottom: 12px;
  letter-spacing: -0.03em; /* Tighter tracking for large titles to enhance cohesion with generous vertical spacing */
}

.section__sub {
  font-size: 18px;
  color: var(--txt-sub);
  margin-bottom: 48px;
  letter-spacing: -0.015em; /* Subtle tighter tracking for descriptions to look clean and premium */
}

.section__note {
  font-size: 17px;
  color: var(--txt-sub);
  margin-top: 32px;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  gap: 32px;
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  border-radius: 24px; /* More rounded */
  padding: 48px 40px; /* More padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card:hover {
  transform: translateY(-12px) scale(1.02); /* More dynamic hover */
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.card--tint {
  background: var(--gold-tint);
}

.card--white {
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon--navy {
  background: var(--navy);
}

.card__icon--navy .icon {
  color: var(--txt-white);
}

.card__icon--tint {
  background: var(--gold-tint);
}

.card__icon--tint .icon {
  color: var(--gold-dark);
}

.card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--txt-dark);
}

.card__desc {
  font-size: 18px;
  color: var(--txt-sub);
  line-height: 1.5;
}

/* ===== GRID 2x2 (Why AllIns) ===== */
.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  border: 1px solid var(--ai-border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.grid-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--gold-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-card__icon .icon {
  color: var(--gold-dark);
  font-size: 24px;
}

.grid-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--txt-dark);
}

.grid-card__desc {
  font-size: 16px;
  color: var(--txt-sub);
  line-height: 1.5;
}

/* ===== YACHT SPOTLIGHT ===== */
.yacht {
  background: var(--navy);
}

.yacht__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 40px;
}

.yacht__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold-tint);
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
}

.yacht__headline {
  color: var(--txt-white);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em; /* Tight letter-spacing for impact-driven hero header */
}

.yacht__sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em; /* Balanced body letter-spacing */
}

.yacht__tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.tag {
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.tag:hover {
  background: rgba(201, 168, 76, 0.15);
}

.yacht__img-wrap {
  width: 520px;
  height: 440px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
}

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

/* ===== SOCIAL PROOF ===== */
.metrics {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.metric-card {
  width: 220px;
  background: var(--bg-white);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
}

.metric-card__value {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
}

.metric-card__label {
  font-size: 16px;
  color: var(--txt-sub);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.4s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
}

.testimonial__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--txt-dark);
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  flex-shrink: 0;
}

.testimonial__avatar--gold {
  background: var(--gold);
}

.testimonial__avatar--navy {
  background: var(--navy);
}

.testimonial__avatar--gold-dark {
  background: var(--gold-dark);
}

.testimonial__name {
  font-size: 15px;
  color: var(--txt-sub);
}

/* ===== CEO MESSAGE ===== */
.ceo-message {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0;
}

.ceo-message__quote {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.ceo-message__text {
  font-size: 19px;
  color: var(--txt-sub);
  line-height: 1.6;
  margin-bottom: 40px;
  word-break: keep-all;
}

.ceo-message__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ceo-message__avatar {
  width: 120px;
  height: 120px;
  background-color: var(--navy);
  border-radius: 50%;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

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

.ceo-message__avatar i {
  font-size: 36px;
  color: var(--gold);
}

.ceo-message__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--txt-dark);
}

.ceo-message__title {
  font-size: 15px;
  color: var(--txt-sub);
  letter-spacing: 0.05em;
}

/* ===== CHECKLIST ===== */
.checklist {
  max-width: 800px;
  margin: 0 auto;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ai-border);
  font-size: 18px;
  color: var(--txt-dark);
  text-align: left;
}

.checklist__item--last {
  border-bottom: none;
}

.checklist__icon {
  color: var(--gold);
  font-size: 24px;
  flex-shrink: 0;
}

/* ===== CTA FORM SECTION ===== */
.cta-section {
  background: var(--navy);
}

.cta-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section__title {
  color: var(--txt-white);
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.025em; /* Tighter tracking for bold call-to-action header */
}

.cta-section__sub {
  color: rgba(255, 255, 255, 0.67);
  font-size: 20px;
  margin-top: 12px;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.015em; /* Balanced spacing for subheadings with generous bottom margin */
}

.cta-form {
  width: 100%;
  max-width: 600px;
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-form__row {
  display: flex;
  gap: 16px;
}

.cta-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.cta-form__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt-dark);
}

.cta-form__input {
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--ai-border);
  padding: 0 14px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--txt-dark);
  outline: none;
  transition: border-color 0.2s;
}

.cta-form__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.cta-form__input::placeholder {
  color: var(--txt-sub);
}

.cta-form__textarea {
  width: 100%;
  min-height: 80px;
  border-radius: 8px;
  border: 1px solid var(--ai-border);
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--txt-dark);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}

.cta-form__textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.cta-form__textarea::placeholder {
  color: var(--txt-sub);
}

.cta-form__checks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-form__check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--txt-dark);
  cursor: pointer;
}

.cta-form__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  border-radius: 4px;
  cursor: pointer;
}

.cta-form__privacy {
  font-size: 14px;
  color: var(--txt-sub);
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--txt-dark);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 40px;
}

.footer__top {
  display: flex;
  gap: 80px;
  margin-bottom: 32px;
}

.footer__brand {
  width: 320px;
  flex-shrink: 0;
}

.logo--footer {
  margin-bottom: 4px;
}

.footer__tagline {
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.6;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-title {
  color: var(--txt-white);
  font-size: 16px;
  font-weight: 600;
}

.footer__col-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: color 0.2s;
}

.footer__col-link:hover {
  color: var(--gold);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

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

.footer__copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.footer__legal {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.cards .animate-on-scroll:nth-child(2) {
  transition-delay: 0.12s;
}

.cards .animate-on-scroll:nth-child(3) {
  transition-delay: 0.24s;
}

.grid-2x2 .animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.grid-2x2 .animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.grid-2x2 .animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.metrics .animate-on-scroll:nth-child(2) {
  transition-delay: 0.08s;
}

.metrics .animate-on-scroll:nth-child(3) {
  transition-delay: 0.16s;
}

.metrics .animate-on-scroll:nth-child(4) {
  transition-delay: 0.24s;
}

.testimonials .animate-on-scroll:nth-child(2) {
  transition-delay: 0.12s;
}

.testimonials .animate-on-scroll:nth-child(3) {
  transition-delay: 0.24s;
}

.checklist .animate-on-scroll:nth-child(2) {
  transition-delay: 0.06s;
}

.checklist .animate-on-scroll:nth-child(3) {
  transition-delay: 0.12s;
}

.checklist .animate-on-scroll:nth-child(4) {
  transition-delay: 0.18s;
}

.checklist .animate-on-scroll:nth-child(5) {
  transition-delay: 0.24s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__headline {
    font-size: 42px;
  }

  .hero__left {
    flex: 0 0 50%;
  }

  .section__title,
  .cta-section__title,
  .yacht__headline {
    font-size: 34px;
  }

  .yacht__img-wrap {
    width: 400px;
    height: 360px;
  }

  .footer__top {
    gap: 40px;
    flex-wrap: wrap;
  }

  .footer__brand {
    width: 100%;
  }

  .stats-bar {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {

  .nav__links,
  .nav .btn--sm,
  .mobile-hidden {
    display: none !important;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__inner {
    padding: 0 20px;
  }

  .hero__inner {
    flex-direction: column;
  }

  .hero__left {
    flex: none;
    width: 100%;
    padding: 60px 20px 40px;
  }

  .hero__headline {
    font-size: 32px;
  }

  .hero__sub {
    font-size: 17px;
    line-height: 1.6; /* Comfortable line-height for mobile viewport */
    letter-spacing: -0.015em;
  }

  .hero__right {
    width: 100%;
    min-height: 300px;
    flex: none;
  }

  .stats-bar {
    position: relative;
    bottom: auto;
    padding: 24px 20px;
    height: auto;
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat {
    width: 40%;
  }

  .section__inner {
    padding: 60px 20px;
  }

  .section__title {
    font-size: 28px;
  }

  .section__sub {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .cards--3 {
    grid-template-columns: 1fr;
  }

  .grid-2x2 {
    grid-template-columns: 1fr;
  }

  .yacht__inner {
    flex-direction: column;
    padding: 60px 20px;
    gap: 40px;
  }

  .yacht__headline {
    font-size: 28px;
  }

  .yacht__img-wrap {
    width: 100%;
    height: 280px;
  }

  .metrics {
    gap: 16px;
  }

  .metric-card {
    width: calc(50% - 8px);
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .checklist__item {
    font-size: 16px;
    padding: 16px 12px;
  }

  .cta-section__inner {
    padding: 60px 20px;
  }

  .cta-section__title {
    font-size: 28px;
  }

  .cta-form {
    padding: 28px 20px;
  }

  .cta-form__row {
    flex-direction: column;
  }

  .cta-form__checks {
    flex-direction: column;
    gap: 10px;
  }

  .footer__inner {
    padding: 40px 20px;
  }

  .footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .footer__brand {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: 26px;
  }

  .hero__btns {
    flex-direction: column;
    width: 100%;
  }

  .hero__btns .btn {
    width: 100%;
  }

  .section__title {
    font-size: 24px;
  }

  .yacht__headline {
    font-size: 24px;
  }

  .cta-section__title {
    font-size: 24px;
  }

  .metric-card {
    width: 100%;
  }

  .badge {
    font-size: 13px;
  }
}

/* ========== LOCATION MODAL ========== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.location-modal {
  background: var(--bg-white);
  width: 90%;
  max-width: 800px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .location-modal {
  transform: translateY(0) scale(1);
}

.location-modal__header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--ai-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-modal__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em; /* Symmetrical spacing for modal title */
}

.location-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--txt-sub);
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px;
}

.location-modal__close:hover {
  color: #EF4444;
}

.location-modal__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-modal__map {
  width: 100%;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-gray);
  border: 1px solid var(--ai-border);
}

.location-modal__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media(max-width: 600px) {
  .location-modal__body { padding: 20px; }
  .location-modal__map { height: 250px; }
}

/* ========== TYPOGRAPHIC UTILITIES FOR DYNAMIC TRACKING ========== */
/* Apply these to any custom selection/element based on font-size and vertical margin */

/* 1. Large Titles / Headers (Heavy weight, generous top/bottom margins) */
.tracking-title-lg {
  letter-spacing: -0.03em !important; /* Extremely tight to balance out expansive font size and margins */
}

/* 2. Standard Subtitles / Section Intro Text (Medium weight, moderate margins) */
.tracking-subtitle-md {
  letter-spacing: -0.015em !important; /* Slightly tighter for cohesive sentence layout */
}

/* 3. Regular Body Text / Lists (Normal weight, standard margins) */
.tracking-body-sm {
  letter-spacing: -0.005em !important; /* Optimized readability for multi-line paragraphs */
}

/* 4. Small Badges / Micro Labels / Inline text (Tight vertical spacing) */
.tracking-micro-xs {
  letter-spacing: 0.03em !important; /* Slightly positive tracking to keep letters distinguishable in narrow tags */
  text-transform: uppercase;
}