/* ============================================================
   SHORE WAY MANAGEMENT — Main Stylesheet
   Stack: Vanilla CSS, mobile-first
   Fonts: Instrument Serif (headings) + DM Sans (body)
   ============================================================ */

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  --navy:        #1e3a4f;
  --navy-mid:    #294057;
  --coastal:     #7eb3c8;
  --coastal-lt:  #b8d8e8;
  --sand:        #f0ede6;
  --sand-dark:   #e8e3d8;
  --terracotta:  #c45d3e;
  --terra-dark:  #a84a2e;
  --terra-light: #f5ede9;
  --ink:         #1a1a18;
  --ink-mid:     #3a3a36;
  --ink-soft:    #6a6a60;
  --ink-faint:   #9a9a90;
  --white:       #ffffff;
  --off-white:   #fdfcf8;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 100px;

  --shadow-sm:   0 2px 8px rgba(30,58,79,0.08);
  --shadow-md:   0 6px 24px rgba(30,58,79,0.12);
  --shadow-lg:   0 16px 48px rgba(30,58,79,0.16);

  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width:   1200px;
  --section-gap: 80px;
  --section-gap-sm: 56px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.15rem; }

.serif-italic { font-style: italic; }

p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.text-sm  { font-size: 0.875rem; }
.text-xs  { font-size: 0.75rem; }
.text-lg  { font-size: 1.125rem; }

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-sm {
  padding: var(--section-gap-sm) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

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

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: var(--navy);
  padding: 16px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--terra-dark) !important; transform: translateY(-1px); }

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

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

.nav-mobile a {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity var(--transition);
}

.nav-mobile a:hover { opacity: 1; }

.nav-mobile .nav-cta {
  font-size: 1rem !important;
  padding: 14px 32px;
  margin-top: 16px;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196,93,62,0.3);
}

.btn-primary:hover {
  background: var(--terra-dark);
  box-shadow: 0 8px 24px rgba(196,93,62,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.btn-arrow::after {
  content: '→';
  font-style: normal;
  transition: transform var(--transition);
}

.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── SECTION LABELS ─────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--terracotta);
  flex-shrink: 0;
}

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/PROMPT_A_—_202604011955.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
  display: none;
  transform: scale(1.05);
  will-change: transform;
}

/* Gradient overlay — stronger at bottom for text separation */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,58,79,0.82) 0%,
    rgba(30,58,79,0.55) 50%,
    rgba(30,58,79,0.30) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-badge span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 620px;
}

.hero h1 em {
  font-style: italic;
  color: var(--coastal-lt);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 300;
}

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

/* ─── HERO VIDEO (full-bleed background) ─────────────────── */
.hero-3d-zone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 0 8% 0);
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.45;
}

/* ─── HERO SCROLL INDICATOR ──────────────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.hero-scroll:hover { opacity: 0.9; }

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 6px 0 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number .suffix {
  font-size: 60%;
  vertical-align: middle;
  color: var(--coastal-lt);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ─── PROBLEM SECTION ────────────────────────────────────── */
.problem-section {
  background: var(--sand);
  padding: var(--section-gap) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.problem-col {
  padding: 48px 36px;
  background: var(--white);
  position: relative;
}

.problem-col.highlighted {
  background: var(--navy);
}

.problem-col-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.problem-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  font-family: 'DM Sans', sans-serif;
}

.problem-col.highlighted h4 {
  color: var(--white);
}

.problem-col-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.65;
}

.problem-col.highlighted .problem-col-desc {
  color: rgba(255,255,255,0.65);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-list li {
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.problem-col.highlighted .problem-list li {
  color: rgba(255,255,255,0.75);
}

.problem-list li::before {
  content: '✕';
  color: #d4736a;
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.problem-col.highlighted .problem-list li::before {
  content: '✓';
  color: var(--coastal);
}

/* ─── SERVICES SECTION ───────────────────────────────────── */
.services-section {
  background: var(--off-white);
  padding: var(--section-gap) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid rgba(30,58,79,0.07);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30,58,79,0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--terra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-card h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
}

.service-card-tag {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ─── INVESTORS SECTION ──────────────────────────────────── */
.investors-section {
  background: var(--navy);
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

.investors-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(126,179,200,0.06);
  pointer-events: none;
}

.investors-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.investors-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: rgba(255,255,255,0.06);
}

.investors-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.investors-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 2px dashed rgba(126,179,200,0.3);
  border-radius: var(--radius-md);
}

.investors-image-placeholder span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(126,179,200,0.5);
  text-align: center;
}

.investors-content .label {
  display: block;
  margin-bottom: 20px;
}

.investors-content h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.investors-content h2 em {
  font-style: italic;
  color: var(--coastal-lt);
}

.investors-content p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  line-height: 1.8;
}

.investors-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}

.investors-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.investors-stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  color: var(--coastal-lt);
  line-height: 1;
  margin-bottom: 4px;
}

.investors-stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ─── PROPERTIES SECTION ─────────────────────────────────── */
.properties-section {
  background: var(--sand);
  padding: var(--section-gap) 0;
}

.properties-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

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

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-image {
  height: 220px;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}

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

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.property-image-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(30,58,79,0.85);
  color: var(--coastal-lt);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.property-info {
  padding: 24px;
}

.property-location {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.property-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.property-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--sand-dark);
}

.property-rate {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.property-rate strong {
  color: var(--ink);
  font-weight: 600;
}

.property-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-mid);
}

.property-stars::before {
  content: '★';
  color: #f0a500;
  font-size: 0.9rem;
}

.property-review {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sand-dark);
}

.property-review-stars {
  color: #f0a500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.property-review-quote {
  font-size: 0.82rem;
  color: var(--ink-mid);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-section {
  background: var(--off-white);
  padding: var(--section-gap) 0;
  overflow: hidden;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid rgba(30,58,79,0.07);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: 'Instrument Serif', serif;
  font-size: 5rem;
  color: var(--sand-dark);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars span {
  color: #f0a500;
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand-dark);
  overflow: hidden;
  flex-shrink: 0;
}

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

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-property {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 1px;
}

/* ─── PARTNERS ───────────────────────────────────────────── */
.partners-section {
  background: var(--navy);
  padding: 60px 0;
}

.partners-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
  white-space: nowrap;
}

.partner-logo:hover { color: rgba(255,255,255,0.7); }

.partner-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.12);
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  background: var(--sand);
  padding: var(--section-gap) 0;
}

.cta-inner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 80px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(126,179,200,0.08);
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 40%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(196,93,62,0.06);
  pointer-events: none;
}

.cta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coastal-lt);
  display: block;
  margin-bottom: 16px;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 480px;
}

.cta-inner h2 em {
  font-style: italic;
  color: var(--coastal-lt);
}

.cta-inner p {
  color: rgba(255,255,255,0.6);
  max-width: 440px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cta-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 72px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo-text {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  color: var(--white);
}

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ─── UTILITY CLASSES ────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-navy   { color: var(--navy); }
.text-terra  { color: var(--terracotta); }

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-56 { margin-bottom: 56px; }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* GSAP animation starting states */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .hero-3d-zone { display: none; }
  .hero-bg { display: block; }
  .cta-inner { grid-template-columns: 1fr; padding: 56px 48px; }
  .cta-actions { flex-direction: row; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 72px;
    --section-gap-sm: 52px;
  }

  .container { padding: 0 20px; }

  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .nav-menu-btn { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .page-hero { padding: 120px 0 64px !important; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .problem-grid { grid-template-columns: 1fr; gap: 2px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .investors-inner { grid-template-columns: 1fr; gap: 40px; }
  .investors-image { display: none; }
  .properties-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .partners-row { gap: 28px; }
  .cta-inner { padding: 40px 28px; }
  .cta-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .properties-header { flex-direction: column; align-items: flex-start; }
  /* Income potential + comparison sections */
  .income-grid-two { grid-template-columns: 1fr !important; gap: 40px !important; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .investors-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }

  /* Town page stats bars → single column */
  .stats-grid { grid-template-columns: 1fr !important; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
  .stat-item:nth-last-child(1) { border-bottom: none !important; }

  /* Comparison table — compact on small screens */
  .comparison-table { font-size: 0.78rem !important; min-width: 0 !important; }
  .comparison-table th,
  .comparison-table td { padding: 10px 8px !important; }
  .comparison-table th:first-child,
  .comparison-table td:first-child { width: 38%; }

  /* Problem columns */
  .problem-col { padding: 32px 20px; }

  /* Button sizing */
  .btn { padding: 12px 20px; font-size: 0.875rem; }

  /* Hero scroll indicator */
  .hero-scroll { bottom: 20px; }
}
