/* ==========================================================
   COLORS & VARIABLES
========================================================== */
:root {
  --navy: #0b1a2e;
  --navy-deep: #071220;
  --navy-light: #12263f;
  --gold: #c9a84c;
  --gold-light: #dcc16e;
  --gold-dark: #a8893a;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text-primary: #f0ece4;
  --text-muted: #9ba8b8;
  --max-w: 1100px;
  --max-w-narrow: 700px;
  --radius: 4px;
  --transition: 0.3s ease;
}

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

html {
  font-family: 'Barlow', Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  color: var(--text-primary);
  background: var(--navy);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; font-family: 'Barlow', sans-serif; font-weight: 500; }

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

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

/* ==========================================================
   SKIP LINK
========================================================== */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--gold); color: var(--navy);
  padding: 0.5rem 1rem; z-index: 1001;
}
.skip-link:focus { top: 0; }

/* ==========================================================
   NAVIGATION
========================================================== */
#nav {
  display: flex; align-items: center; justify-content: space-between;
  position: fixed; width: 100%; top: 0; z-index: 1000;
  padding: 1rem 2rem;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#nav.scrolled {
  background: rgba(11, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.nav-logo {
  color: var(--gold);
  text-decoration: none;
}

.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500 !important;
  transition: opacity var(--transition) !important;
}
.nav-cta:hover { opacity: 0.9; }

.nav-hamburger {
  background: none; border: none; cursor: pointer;
  display: none;
}
.nav-hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--gold); margin: 5px 0;
  border-radius: 1px;
  transition: all var(--transition);
}

/* Mobile menu */
.nav-mobile {
  position: fixed; top: 0; right: -280px;
  width: 280px; height: 100vh;
  background: var(--navy-deep);
  transition: right 0.35s ease;
  z-index: 999;
  padding-top: 5rem;
}
.nav-mobile[aria-hidden="false"] { right: 0; }

.nav-mobile a {
  display: block; padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  color: var(--text-primary); text-decoration: none;
  font-size: 0.95rem; letter-spacing: 0.02em;
  transition: background var(--transition);
}
.nav-mobile a:hover { background: rgba(201, 168, 76, 0.05); }

.nav-mobile .mobile-cta {
  background: var(--gold); color: var(--navy);
  text-align: center; margin: 1.5rem;
  border-radius: var(--radius);
  font-weight: 500; border: none;
}

/* ==========================================================
   HERO
========================================================== */
.hero {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  min-height: 100vh; overflow: hidden;
}

.hero-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    url('https://images.unsplash.com/photo-1528154291023-a6525fabe5b4?auto=format&fit=crop&w=1800&q=80')
    center / cover no-repeat;
}

.hero-overlay {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 46, 0.5) 0%,
    rgba(11, 26, 46, 0.65) 50%,
    rgba(11, 26, 46, 0.9) 100%
  );
}

.hero-content {
  text-align: center; color: var(--text-primary);
  z-index: 1; padding: 2rem 1.5rem;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Bold + underline emphasis for key phrases */
strong.key {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.hero-title {
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Hero form */
.hero-form { max-width: 560px; margin: 0 auto; }

.hero-form textarea {
  resize: vertical;
  min-height: 70px;
}

.form-row {
  display: flex; gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.form-group {
  display: flex; flex-direction: column; gap: 0.3rem;
  flex: 1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.optional { 
  font-weight: 300; 
  text-transform: none; 
  letter-spacing: 0;
  opacity: 0.6;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(155, 168, 184, 0.5);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-full { width: 100%; padding: 1rem; font-size: 0.9rem; }

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.success-msg {
  color: var(--gold) !important;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================
   SECTIONS — GENERAL
========================================================== */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-narrow {
  max-width: var(--max-w-narrow);
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  color: var(--cream);
}

.section-desc {
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.7;
}

.section-alt {
  background: var(--navy-deep);
}

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
  opacity: 0.7;
}

/* ==========================================================
   HOW IT WORKS — STEPS
========================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.02);
  transition: border-color var(--transition), background var(--transition);
}
.step-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  background: rgba(201, 168, 76, 0.04);
}

.step-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step-card h3 {
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================
   IMAGE BREAKS
========================================================== */
.image-break {
  height: 45vh;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Drone shot of yacht in clear water — Mike Swigunski */
.image-break-1 {
  background-image: url('https://images.unsplash.com/photo-1672573565003-5e46e9f28e40?auto=format&fit=crop&w=1800&q=80');
}

/* Yacht in Maldives — Alina Kacharho */
.image-break-2 {
  background-image: url('https://images.unsplash.com/photo-1605281317010-fe5ffe798166?auto=format&fit=crop&w=1800&q=80');
}

/* Fallback for mobile where fixed attachment doesn't work well */
@supports (-webkit-touch-callout: none) {
  .image-break { background-attachment: scroll; }
}

/* ==========================================================
   WHY CO-OWN
========================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.why-lead {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.why-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.savings-callout {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.04);
}

.savings-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.savings-numbers {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.savings-item { text-align: center; }

.savings-old {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(201, 168, 76, 0.4);
}

.savings-new {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 500;
}

.savings-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.savings-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
}

.savings-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  opacity: 0.7;
}

.why-features { display: flex; flex-direction: column; gap: 1rem; }

.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.feature-item:hover {
  background: rgba(201, 168, 76, 0.03);
}

.feature-icon {
  color: var(--gold);
  font-size: 0.75rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================
   FAQ
========================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-list details {
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.faq-list summary {
  font-weight: 500;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 1.25rem 0;
  color: var(--cream);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}
.faq-list summary:hover { color: var(--gold); }

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================
   CONTACT
========================================================== */
.section-contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    url('https://images.unsplash.com/photo-1567899378494-47b22a2ae96a?auto=format&fit=crop&w=1800&q=80')
    center / cover no-repeat;
}

.contact-overlay {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(11, 26, 46, 0.88);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================
   FOOTER
========================================================== */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ==========================================================
   FADE-IN ANIMATIONS
========================================================== */
.section, .hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section.visible, .hero.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #nav { padding: 0.75rem 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .hero-content { padding: 2rem 1rem; }

  .hero-form {
    max-width: 100%;
    width: 100%;
    text-align: left;
  }

  .form-row {
    flex-direction: column;
  }
  .form-row .form-group {
    flex: none;
    width: 100%;
  }
  .form-row .btn-primary { width: 100%; }

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

  .section { padding: 3.5rem 1.25rem; }

  .image-break {
    height: 35vh;
    min-height: 200px;
    background-attachment: scroll;
  }

  .savings-numbers {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .hero-badge { font-size: 0.65rem; }
}
