/* =========================================================
   DOUBLE G YACHT SALES — Brand Stylesheet
   Palette extracted from logo: deep navy + white
   Font: Plus Jakarta Sans (geometric, modern)
   ========================================================= */

:root {
  --navy: #0F1A2E;
  --navy-mid: #162240;
  --navy-light: #1E2D4A;
  --white: #FFFFFF;
  --off-white: #F4F6F9;
  --ice: #E2E8F0;
  --steel: #7A8CA0;
  --steel-light: #A0AEC0;
  --text: #1A1F2E;
  --accent: #3B7DD8;
  --accent-light: #5A9AE6;
  --overlay: rgba(15, 26, 46, 0.75);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  line-height: 1.1;
  overflow-wrap: break-word;
}

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

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

/* ========== EYEBROW ========== */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-light);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-full { width: 100%; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(15, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 40px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 72px;
  width: auto;
  transition: height 0.4s ease;
}
.nav.scrolled .nav-logo img {
  height: 56px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-cta {
  padding: 10px 24px !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: var(--white) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 100px;
  background:
    linear-gradient(160deg, #0A1220 0%, #0F1A2E 40%, #162B50 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* Replace this gradient with a real hero image via:
   background-image: url('images/hero.jpg'); */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(59,125,216,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(22,43,80,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,26,46,0.3) 0%, rgba(15,26,46,0.6) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.hero .eyebrow {
  color: var(--steel-light);
  margin-bottom: 24px;
}
.hero .eyebrow::before {
  background: var(--accent-light);
}
.hero h1 {
  font-size: clamp(48px, 8vw, 110px);
  margin-bottom: 28px;
  color: var(--white);
}
.hero-thin {
  display: block;
  font-weight: 200;
  letter-spacing: -0.03em;
}
.hero-bold {
  display: block;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--accent);
}
.hero .btn-primary:hover {
  background: var(--accent-light);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: var(--navy);
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 20px 24px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-num {
  display: block;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
}

/* =========================================================
   LISTINGS
   ========================================================= */
.listings {
  padding: 120px 0;
  background: var(--off-white);
}
.listings h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
  color: var(--navy);
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.yacht-card {
  background: var(--white);
  overflow: hidden;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.yacht-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15,26,46,0.12);
}
.yacht-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.yacht-card:hover .yacht-img {
  /* image zoom on hover */
}
.yacht-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  text-transform: uppercase;
}
.yacht-info {
  padding: 24px;
}
.yacht-builder {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.yacht-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.yacht-specs {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 12px;
}
.yacht-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.yacht-price::after {
  content: "\2192";
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.3s;
}
.yacht-card:hover .yacht-price::after {
  transform: translateX(4px);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 120px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
}
.about-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}
.about-content .eyebrow {
  color: var(--accent);
}
.about-content .eyebrow::before {
  background: var(--accent);
}
.about-content h2 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--navy);
}
.about-content p {
  font-size: 16px;
  color: var(--steel);
  margin-bottom: 20px;
  line-height: 1.7;
}
.about-content p strong {
  color: var(--text);
  font-weight: 600;
}
.about-content .btn {
  margin-top: 12px;
}

/* =========================================================
   SOLD
   ========================================================= */
.sold {
  padding: 120px 0;
  background: var(--navy);
  color: var(--white);
}
.sold-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.sold-header .eyebrow {
  color: var(--accent-light);
}
.sold-header .eyebrow::before {
  background: var(--accent-light);
}
.sold-header h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.sold-intro {
  font-size: 16px;
  color: var(--steel-light);
  line-height: 1.7;
}
.sold-table-wrap {
  overflow-x: auto;
  margin-bottom: 56px;
  -webkit-overflow-scrolling: touch;
}
.sold-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.sold-table th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sold-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.sold-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}
.sold-table td:last-child {
  font-weight: 600;
  color: var(--white);
}
.sold-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 48px;
  margin-bottom: 48px;
}
.sold-stat {
  text-align: center;
}
.sold-stat span {
  display: block;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
}
.sold-stat p {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
}

/* =========================================================
   NEW BUILDS
   ========================================================= */
.newbuilds {
  padding: 100px 0;
  background: var(--off-white);
}
.newbuilds-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.newbuilds h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--navy);
}
.newbuilds p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 120px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .eyebrow {
  color: var(--accent);
}
.contact-info .eyebrow::before {
  background: var(--accent);
}
.contact-info h2 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--navy);
}
.contact-info > p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}
.contact-item span:last-child,
.contact-item a {
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}
.contact-item a:hover {
  color: var(--accent);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--ice);
  background: var(--off-white);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea {
  resize: vertical;
}
.contact-form .btn-primary {
  margin-top: 8px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--steel);
  max-width: 28ch;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--steel);
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: 140px 0 80px;
  background: var(--navy);
  color: var(--white);
}
.page-hero .eyebrow {
  color: var(--accent-light);
}
.page-hero .eyebrow::before {
  background: var(--accent-light);
}
.page-hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--steel-light);
  max-width: 54ch;
  line-height: 1.65;
}

/* =========================================================
   ABOUT PREVIEW (homepage)
   ========================================================= */
.about-preview {
  padding: 120px 0;
  background: var(--white);
}

/* =========================================================
   BIO (about page)
   ========================================================= */
.bio {
  padding: 100px 0;
  background: var(--white);
}
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.bio-content h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--navy);
}
.bio-content p {
  font-size: 16px;
  color: var(--steel);
  margin-bottom: 20px;
  line-height: 1.75;
}
.bio-content p strong {
  color: var(--text);
  font-weight: 600;
}

/* =========================================================
   DIFFERENTIATORS (about page)
   ========================================================= */
.differentiators {
  padding: 100px 0;
  background: var(--off-white);
}
.differentiators h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  color: var(--navy);
  text-align: center;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.diff-card {
  background: var(--white);
  padding: 40px 28px;
  transition: all 0.35s ease;
}
.diff-card:hover {
  background: var(--navy);
  color: var(--white);
}
.diff-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
}
.diff-card:hover .diff-icon {
  color: var(--accent-light);
}
.diff-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}
.diff-card:hover h3 {
  color: var(--white);
}
.diff-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}
.diff-card:hover p {
  color: var(--steel-light);
}

/* =========================================================
   SERVICES (homepage)
   ========================================================= */
.services {
  padding: 100px 0;
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--white);
  padding: 48px 32px;
  transition: all 0.35s ease;
}
.service-card:hover {
  background: var(--navy);
  color: var(--white);
}
.service-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.service-card:hover .service-num {
  color: var(--accent-light);
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
}
.service-card:hover h3 {
  color: var(--white);
}
.service-card p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card:hover p {
  color: var(--steel-light);
}
.service-card a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
  transition: color 0.3s;
}
.service-card:hover a {
  color: var(--accent-light);
}

/* =========================================================
   SOLD SECTION (sold page — light version)
   ========================================================= */
.sold-section {
  padding: 80px 0 120px;
  background: var(--navy);
  color: var(--white);
}

/* =========================================================
   SOLD TEASER (homepage)
   ========================================================= */
.sold-teaser {
  padding: 120px 0;
  background: var(--navy);
  color: var(--white);
}
.sold-teaser-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.sold-teaser .eyebrow {
  color: var(--accent-light);
}
.sold-teaser .eyebrow::before {
  background: var(--accent-light);
}
.sold-teaser h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.sold-teaser p {
  font-size: 16px;
  color: var(--steel-light);
  line-height: 1.7;
  margin-bottom: 40px;
}
.sold-teaser-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 40px;
}
.sold-teaser .btn-outline {
  border-color: rgba(255,255,255,0.3);
}
.sold-teaser .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* =========================================================
   SECTION CTA (centered button below sections)
   ========================================================= */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* =========================================================
   CTA SECTION (full-width call to action)
   ========================================================= */
.cta-section {
  padding: 100px 0;
  background: var(--off-white);
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner .eyebrow {
  color: var(--accent);
}
.cta-inner .eyebrow::before {
  background: var(--accent);
}
.cta-inner h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--navy);
}
.cta-inner p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* =========================================================
   CONTACT SERVICES LIST
   ========================================================= */
.contact-services {
  margin-top: 40px;
}
.contact-services h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.contact-services ul {
  list-style: none;
  padding: 0;
}
.contact-services li {
  font-size: 15px;
  color: var(--steel);
  padding: 8px 0;
  border-bottom: 1px solid var(--ice);
}
.contact-services li:last-child {
  border-bottom: none;
}

/* =========================================================
   SPORTFISH INTRO
   ========================================================= */
.sf-intro {
  padding: 100px 0;
  background: var(--white);
}
.sf-intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.sf-intro-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--navy);
}
.sf-intro-content p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.75;
  margin-bottom: 18px;
}
.sf-intro-content p strong {
  color: var(--text);
  font-weight: 600;
}
.sf-intro-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  background: var(--off-white);
}
.sf-stat span {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.sf-stat p {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
}

/* =========================================================
   BUILDERS SECTION
   ========================================================= */
.builders {
  padding: 100px 0;
  background: var(--off-white);
}
.builders-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.builders-header .eyebrow {
  color: var(--accent);
}
.builders-header .eyebrow::before {
  background: var(--accent);
}
.builders-header h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--navy);
}
.builders-sub {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.7;
}
.builders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.builder-card {
  background: var(--white);
  padding: 32px 24px;
  transition: all 0.35s ease;
}
.builder-card:hover {
  background: var(--navy);
}
.builder-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.builder-card:hover h3 {
  color: var(--white);
}
.builder-card p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.6;
  margin-bottom: 14px;
}
.builder-card:hover p {
  color: var(--steel-light);
}
.builder-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.builder-card:hover .builder-tag {
  color: var(--accent-light);
}

/* =========================================================
   GUIDE / SEO CONTENT
   ========================================================= */
.guide {
  padding: 100px 0;
  background: var(--white);
}
.guide-inner h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  color: var(--navy);
}
.guide-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 14px;
}
.guide-content p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 76ch;
}
.guide-content p strong {
  color: var(--text);
  font-weight: 600;
}

/* =========================================================
   PAGE HERO TALL VARIANT
   ========================================================= */
.page-hero--tall {
  padding: 140px 0 100px;
}

/* =========================================================
   ACTIVE NAV LINK
   ========================================================= */
.nav-links a.active {
  color: var(--white);
}

/* =========================================================
   CATEGORY BAR (link to sportfish page)
   ========================================================= */
.category-bar {
  padding: 0;
  background: var(--navy);
}
.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 48px;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
  gap: 32px;
}
.category-link:hover {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.12);
}
.category-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.category-content h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.category-content p {
  font-size: 14px;
  color: var(--steel-light);
  line-height: 1.6;
  max-width: 60ch;
}
.category-arrow {
  font-size: 32px;
  color: var(--accent-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.category-link:hover .category-arrow {
  transform: translateX(6px);
}

/* =========================================================
   LISTINGS PAGE VARIANT
   ========================================================= */
.listings-page {
  padding-top: 80px;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .bio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image {
    max-width: 480px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .sold-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .sold-teaser-stats {
    gap: 32px;
  }
  .sf-intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .builders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }

  .nav, .nav.scrolled { backdrop-filter: none !important; }
  .nav-toggle { display: flex; z-index: 10000; position: relative; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 9999;
    visibility: hidden;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
  }
  .nav-links a {
    font-size: 16px;
    color: var(--white);
  }

  .hero {
    min-height: 100svh;
    padding: 0 0 60px;
  }
  .hero-scroll { display: none; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat:not(:last-child)::after { display: none; }
  .stat { padding: 20px 16px; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); }

  .listings { padding: 80px 0; }
  .listings-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .listings h2 { margin-bottom: 36px; }
  .mls-stamp { margin: -18px 0 34px; font-size: 15px; }

  .about, .about-preview, .bio { padding: 80px 0; }
  .about-image-accent { display: none; }

  .diff-grid { grid-template-columns: 1fr; }
  .differentiators { padding: 64px 0; }

  .page-hero { padding: 120px 0 56px; }

  .sold, .sold-section { padding: 80px 0; }
  .sold-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .newbuilds { padding: 64px 0; }
  .contact { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }
  .footer-links { gap: 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

/* =========================================================
   YACHT PAGE (individual listing)
   ========================================================= */
.yacht-hero {
  position: relative;
  height: 75vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.yacht-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,26,46,0.1) 0%, rgba(15,26,46,0.7) 80%, rgba(15,26,46,0.95) 100%);
}
.yacht-hero-content {
  position: relative;
  width: 100%;
  padding-bottom: 60px;
}
.yacht-hero-content h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 8px;
}
.yacht-hero-tagline {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--steel-light);
  font-weight: 300;
}

/* Mini specs card */
.yacht-specs-card {
  background: var(--white);
  max-width: 900px;
  margin: -48px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 12px 48px rgba(15,26,46,0.12);
}
.yacht-specs-card .spec-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--ice);
}
.yacht-specs-card .spec-item:last-child {
  border-right: none;
}
.spec-item .spec-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.spec-item .spec-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 24px 0;
  background: var(--white);
}
.breadcrumbs-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--steel);
}
.breadcrumbs-inner a {
  color: var(--steel);
  transition: color 0.3s;
}
.breadcrumbs-inner a:hover {
  color: var(--accent);
}
.breadcrumbs-inner span.sep {
  color: var(--ice);
}

/* Yacht narrative */
.yacht-narrative {
  padding: 80px 0;
  background: var(--white);
}
.yacht-narrative-inner {
  max-width: 780px;
  margin: 0 auto;
}
.yacht-narrative h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--navy);
}
.yacht-narrative p {
  font-size: 17px;
  color: var(--steel);
  line-height: 1.8;
  margin-bottom: 20px;
}
.yacht-narrative p strong {
  color: var(--text);
  font-weight: 600;
}

/* Yacht video */
.yacht-video {
  padding: 0 0 80px;
  background: var(--white);
}
.yacht-video-inner {
  max-width: 960px;
  margin: 0 auto;
}
.yacht-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--navy);
}
.yacht-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Yacht gallery */
.yacht-gallery {
  padding: 80px 0;
  background: var(--off-white);
}
.yacht-gallery h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--navy);
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s;
}
.gallery-grid img:hover {
  opacity: 0.85;
}
.gallery-grid img.gallery-wide {
  grid-column: span 2;
}
.gallery-grid img.gallery-tall {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

/* Horizontal scroll gallery (mobile carousel) */
.gallery-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar {
  display: none;
}
.gallery-scroll img {
  flex: 0 0 85%;
  max-width: 85%;
  aspect-ratio: 16/10;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: 0;
}
.gallery-scroll-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Yacht features checklist */
.yacht-features {
  padding: 80px 0;
  background: var(--white);
}
.yacht-features h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--navy);
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.feature-col h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.feature-col ul {
  list-style: none;
  padding: 0;
}
.feature-col li {
  font-size: 15px;
  color: var(--steel);
  padding: 8px 0;
  border-bottom: 1px solid var(--ice);
  padding-left: 20px;
  position: relative;
}
.feature-col li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

/* Full spec table */
.yacht-full-specs {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}
.yacht-full-specs h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  text-align: center;
}
.specs-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.specs-table td {
  padding: 14px 16px;
  font-size: 15px;
}
.specs-table td:first-child {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  width: 40%;
}
.specs-table td:last-child {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* Pull quote */
.yacht-quote {
  padding: 80px 0;
  background: var(--off-white);
}
.yacht-quote blockquote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: -0.01em;
  position: relative;
  padding: 0 24px;
}
.yacht-quote blockquote::before {
  content: "\201C";
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  opacity: 0.3;
}
.yacht-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  font-style: normal;
  color: var(--steel);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Yacht page responsive */
@media (max-width: 1024px) {
  .yacht-specs-card {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .yacht-hero {
    height: 55vh;
    min-height: 380px;
  }
  .yacht-specs-card {
    grid-template-columns: repeat(2, 1fr);
    margin: -32px 16px 0;
  }
  .yacht-narrative, .yacht-video,
  .yacht-features, .yacht-full-specs, .yacht-quote {
    padding: 56px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  /* Hide desktop grid galleries on mobile */
  .yacht-gallery {
    display: none;
  }
  /* Show mobile scroll galleries */
  .yacht-gallery-mobile {
    display: block !important;
    padding: 48px 0;
    background: var(--off-white);
  }
  .yacht-gallery-mobile + .yacht-gallery-mobile {
    padding-top: 0;
  }
}

/* Hide mobile galleries on desktop */
.yacht-gallery-mobile {
  display: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   VESSEL SEARCH
   ========================================================= */
.vsearch {
  padding: 36px 0 0;
}
.vsearch-bar {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  background: #fff;
  border: 1.5px solid var(--ice);
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(15, 26, 46, 0.06);
}
.vsearch-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}
.vsearch-field-grow {
  flex: 2;
  min-width: 220px;
}
.vsearch-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.vsearch-field input,
.vsearch-field select {
  padding: 14px 16px;
  border: 1.5px solid var(--ice);
  background: var(--off-white);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.vsearch-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230F1A2E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
  cursor: pointer;
}
.vsearch-field input:focus,
.vsearch-field select:focus {
  border-color: var(--accent);
}
.vsearch-clear {
  padding: 14px 20px;
  border: 1.5px solid var(--ice);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.vsearch-clear:hover {
  color: var(--navy);
  border-color: var(--navy);
}
.mls-stamp {
  margin: -34px 0 44px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--steel);
  max-width: 760px;
}
.vsearch-count {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--steel);
  min-height: 18px;
}
.vsearch-sold {
  margin-top: 44px;
  border: 1.5px solid var(--ice);
  background: #fff;
  padding: 26px 28px;
}
.vsearch-sold-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.vsearch-sold-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.2fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ice);
  font-size: 14px;
  color: var(--text);
}
.vsearch-sold-row:last-of-type {
  border-bottom: none;
}
.vsearch-sold-name {
  font-weight: 600;
  color: var(--navy);
}
.vsearch-sold-price {
  text-align: right;
  font-weight: 600;
}
.vsearch-sold-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.vsearch-empty {
  margin-top: 44px;
  text-align: center;
  border: 1.5px solid var(--ice);
  background: #fff;
  padding: 56px 28px;
}
.vsearch-empty h3 {
  font-size: 28px;
  color: var(--navy);
  margin: 12px 0 14px;
}
.vsearch-empty p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 26px;
  color: var(--steel);
  line-height: 1.7;
}
.vsearch-empty .eyebrow {
  justify-content: center;
}
@media (max-width: 720px) {
  .vsearch-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .vsearch-field,
  .vsearch-field-grow {
    min-width: 0;
  }
  .vsearch-sold-row {
    grid-template-columns: 1fr 1fr;
  }
  .vsearch-sold-price {
    text-align: left;
  }
}

/* Footer social links */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.footer-social svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
