/* ============================================================
   KOLA BEACH LLC — Tropical Modern Design System
   Colors: Ocean Teal + Coral + Sand on Mint-White
   Fonts: Inter (body) + DM Serif Display (headings)
   ============================================================ */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* --- CSS VARIABLES --- */
:root {
  --bg: #F0FDF4;
  --surface: #FFFFFF;
  --alt: #ECFDF5;
  --dark-bg: #0F2B2B;
  --text: #134E4A;
  --secondary: #4B7B78;
  --muted: #8EB1AE;
  --dark-text: #F0FDF4;
  --dark-secondary: #99C7C4;
  --ocean: #0D9488;
  --coral: #F43F5E;
  --sand: #D97706;
  --border: #CCE2DF;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 43, 43, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 43, 43, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 43, 43, 0.10);

  --max-width: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

/* --- UTILITY --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* --- FADE-IN ANIMATION --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 700;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--ocean);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   1. HERO — Full-viewport split layout
   ============================================================ */
.hero {
  display: flex;
  min-height: 100vh;
  padding-top: var(--header-height);
  align-items: center;
  overflow: hidden;
}

.hero-left {
  flex: 0 0 55%;
  padding: 3rem 2rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero-left h1::after {
  content: '';
  display: block;
  width: 100%;
  height: 14px;
  margin-top: 0.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20'%3E%3Cpath d='M0 10 Q50 0 100 10 T200 10 T300 10 T400 10' fill='none' stroke='%230D9488' stroke-width='2.5'/%3E%3C/svg%3E") repeat-x center;
  background-size: 200px 14px;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  max-width: 440px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--ocean);
  color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0F7A6E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

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

.btn-outline:hover,
.btn-outline:focus {
  background: var(--ocean);
  color: #FFFFFF;
}

/* Hero right — abstract island */
.hero-right {
  flex: 0 0 45%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.island-art {
  position: relative;
  width: 420px;
  height: 420px;
}

.island-circle {
  position: absolute;
  border-radius: 50%;
}

.island-circle--1 {
  width: 220px;
  height: 220px;
  background: var(--ocean);
  opacity: 0.18;
  bottom: 40px;
  left: 50px;
}

.island-circle--2 {
  width: 160px;
  height: 160px;
  background: var(--coral);
  opacity: 0.16;
  bottom: 80px;
  left: 160px;
}

.island-circle--3 {
  width: 280px;
  height: 140px;
  border-radius: 140px 140px 0 0;
  background: var(--sand);
  opacity: 0.18;
  bottom: 0;
  left: 30px;
}

.island-circle--4 {
  width: 100px;
  height: 100px;
  background: var(--ocean);
  opacity: 0.22;
  bottom: 140px;
  left: 220px;
}

.island-circle--5 {
  width: 180px;
  height: 180px;
  background: var(--coral);
  opacity: 0.12;
  bottom: 60px;
  left: 100px;
}

.island-ellipse--1 {
  width: 280px;
  height: 100px;
  border-radius: 50%;
  background: var(--ocean);
  opacity: 0.12;
  position: absolute;
  bottom: 20px;
  left: 60px;
}

.island-ellipse--2 {
  width: 200px;
  height: 80px;
  border-radius: 50%;
  background: var(--sand);
  opacity: 0.15;
  position: absolute;
  bottom: 100px;
  left: 120px;
}

/* ============================================================
   2. SERVICES — Horizontal scroll-snap carousel
   ============================================================ */
.services {
  background: var(--surface);
  padding: 5rem 0;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1.5rem 2rem;
  scrollbar-width: none;
  max-width: var(--max-width);
  margin: 0 auto;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: 240px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.service-card-top {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-top svg {
  width: 52px;
  height: 52px;
}

.service-card-top--ocean { background: var(--ocean); }
.service-card-top--coral { background: var(--coral); }
.service-card-top--sand { background: var(--sand); }

.service-card-bottom {
  padding: 1.5rem;
}

.service-card-bottom h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card-bottom p {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.5;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-bottom: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--ocean);
  transform: scale(1.2);
}

/* ============================================================
   3. ABOUT STORY — Wavy river timeline
   ============================================================ */
.about-story {
  background: var(--bg);
  padding: 5rem 0;
  position: relative;
}

.about-story .section-label,
.about-story h2 {
  text-align: center;
}

.about-story h2 {
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.timeline-svg {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  z-index: 0;
}

.timeline-svg path {
  fill: none;
  stroke: var(--ocean);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.timeline-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 2.5rem);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2.5rem);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ocean);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  font-family: var(--font-body);
}

.timeline-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--ocean);
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-card {
  border-left: none;
  border-right: 3px solid var(--ocean);
}

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

.timeline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.timeline-card p {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   4. METRICS — Dashboard strip
   ============================================================ */
.metrics {
  background: var(--dark-bg);
  padding: 3rem 0;
}

.metrics-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--dark-text);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--dark-secondary);
  margin-top: 0.25rem;
}

.metric-divider {
  width: 1px;
  height: 48px;
  background: rgba(240, 253, 244, 0.15);
}

/* ============================================================
   5. EXPERTISE — Mind map layout
   ============================================================ */
.expertise {
  background: var(--surface);
  padding: 5rem 0;
}

.expertise-header {
  text-align: center;
  margin-bottom: 3rem;
}

.mind-map {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mind-map-center {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ocean);
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--alt);
  border-radius: var(--radius-xl);
  border: 2px solid var(--ocean);
  flex: 0 0 auto;
}

.mind-bubble {
  padding: 1rem 1.75rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFFFFF;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.mind-bubble:hover {
  transform: scale(1.08);
}

.mind-bubble--teal-1 { background: var(--ocean); padding: 1.2rem 2rem; font-size: 1rem; }
.mind-bubble--teal-2 { background: #0F7A6E; padding: 1rem 1.5rem; font-size: 0.9rem; }
.mind-bubble--coral-1 { background: var(--coral); padding: 1rem 2.2rem; font-size: 1rem; }
.mind-bubble--coral-2 { background: #E11D48; padding: 0.9rem 1.6rem; font-size: 0.9rem; }
.mind-bubble--sand-1 { background: var(--sand); padding: 1.1rem 1.8rem; font-size: 1rem; }
.mind-bubble--sand-2 { background: #B45309; padding: 0.85rem 1.4rem; font-size: 0.85rem; }

/* ============================================================
   6. APPROACH — Alternating numbered circles
   ============================================================ */
.approach {
  background: var(--bg);
  padding: 5rem 0;
}

.approach-header {
  text-align: center;
  margin-bottom: 3rem;
}

.approach-list {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Vertical connecting line */
.approach-list::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ocean);
  opacity: 0.3;
  border-radius: 2px;
}

.approach-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.approach-row:last-child {
  margin-bottom: 0;
}

.approach-circle {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ocean);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-display);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}

.approach-text {
  flex: 1;
  padding-top: 0.3rem;
}

.approach-text h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.approach-text p {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   7. TESTIMONIALS — Chat bubble cards
   ============================================================ */
.testimonials {
  background: var(--surface);
  padding: 5rem 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.testimonial-card {
  background: var(--alt);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--coral);
  padding: 2rem;
  position: relative;
}

/* Speech bubble tail */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid var(--coral);
}

.testimonial-card:nth-child(1) { margin-top: 0; }
.testimonial-card:nth-child(2) { margin-top: 2rem; }
.testimonial-card:nth-child(3) { margin-top: -1rem; }
.testimonial-card:nth-child(4) { margin-top: 1rem; }

.testimonial-quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--secondary);
  margin-top: 0.15rem;
}

/* ============================================================
   8. CTA — Wave pattern
   ============================================================ */
.cta-section {
  background: var(--dark-bg);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q75 0 150 30 T300 30 T450 30 T600 30 T750 30 T900 30 T1050 30 T1200 30 V60 H0 Z' fill='%23F0FDF4'/%3E%3C/svg%3E") repeat-x bottom;
  background-size: 600px 64px;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q75 60 150 30 T300 30 T450 30 T600 30 T750 30 T900 30 T1050 30 T1200 30 V0 H0 Z' fill='%23F0FDF4'/%3E%3C/svg%3E") repeat-x top;
  background-size: 600px 64px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
}

.cta-inner h2 {
  color: var(--dark-text);
  margin-bottom: 1rem;
}

.cta-inner p {
  color: var(--dark-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.2fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.7;
}

.footer-col a {
  display: block;
  margin-bottom: 0.35rem;
  transition: color 0.2s ease;
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--ocean);
  border-color: var(--ocean);
}

.footer-social a:hover svg {
  fill: #FFFFFF;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: var(--secondary);
  transition: fill 0.2s ease;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--ocean);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ============================================================
   LEGAL PAGES (privacy.html / terms.html)
   ============================================================ */
.legal-page {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  background: var(--bg);
}

.legal-hero {
  background: var(--dark-bg);
  padding: 4rem 0;
  text-align: center;
}

.legal-hero h1 {
  color: var(--dark-text);
}

.legal-hero .last-updated {
  color: var(--dark-secondary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.legal-layout {
  display: flex;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

/* Sidebar TOC */
.legal-toc {
  flex: 0 0 240px;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: flex-start;
  max-height: calc(100vh - var(--header-height) - 4rem);
  overflow-y: auto;
}

.legal-toc h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 1rem;
}

.legal-toc ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-toc a {
  font-size: 0.9rem;
  color: var(--secondary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.legal-toc a:hover,
.legal-toc a:focus {
  color: var(--ocean);
  background: var(--alt);
  border-left-color: var(--ocean);
}

.legal-toc a.active {
  color: var(--ocean);
  font-weight: 600;
  border-left-color: var(--ocean);
  background: var(--alt);
}

/* Legal content */
.legal-content {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--secondary);
  line-height: 1.75;
  font-size: 1rem;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-content li {
  color: var(--secondary);
  line-height: 1.75;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.legal-content strong {
  color: var(--text);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding-top: var(--header-height);
    min-height: auto;
  }

  .hero-left {
    flex: 0 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
    align-items: center;
  }

  .hero-tagline {
    max-width: 100%;
  }

  .hero-right {
    flex: 0 0 auto;
    min-height: 350px;
  }

  .island-art {
    transform: scale(0.75);
  }

  .service-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 200px;
  }

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

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .testimonial-card:nth-child(n) {
    margin-top: 0;
  }

  .legal-layout {
    flex-direction: column;
  }

  .legal-toc {
    position: static;
    flex: 0 0 auto;
    max-height: none;
  }

  .legal-toc ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .legal-toc a {
    border-left: none;
    border-bottom: 2px solid transparent;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }

  .legal-toc a:hover,
  .legal-toc a.active {
    border-left-color: transparent;
    border-bottom-color: var(--ocean);
  }

  .mind-map {
    gap: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s ease;
    gap: 1.5rem;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .service-card {
    flex: 0 0 calc(80% - 1rem);
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: column;
    padding: 0 0 0 3rem;
  }

  .timeline-dot {
    left: 0;
    transform: none;
  }

  .timeline-svg {
    left: 22px;
  }

  .timeline-item:nth-child(even) .timeline-card {
    border-left: 3px solid var(--ocean);
    border-right: none;
  }

  .metrics-strip {
    flex-direction: column;
    gap: 1.5rem;
  }

  .metric-divider {
    width: 60px;
    height: 1px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .mind-map {
    flex-direction: column;
    align-items: center;
  }

  .mind-bubble {
    max-width: 260px;
  }
}
