/* =========================================================
   Tobali Surf — Stylesheet
   Inspired by Bali ocean, sunset, sand. Modern, warm, calm.
   ========================================================= */

/* ---------- 1. Reset & root ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  /* Palette */
  --ocean-deep: #0a3d52;
  --ocean: #1f6e8c;
  --ocean-light: #84b9ce;
  --foam: #e6f1f5;
  --sand: #f5ecdc;
  --sand-warm: #e8d5b0;
  --sunset: #ef7b4f;
  --sunset-soft: #f5a982;
  --ink: #16242c;
  --muted: #5a6b75;
  --line: rgba(22, 36, 44, 0.08);
  --white: #ffffff;

  /* Typography */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container: 1200px;
  --gutter: 1.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 6px rgba(10, 61, 82, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 61, 82, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 61, 82, 0.18);
}

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

/* Anchors land below the sticky header */
section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

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

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

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

p {
  color: var(--muted);
  max-width: 65ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  margin: 1rem auto 0;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sunset);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #e96939;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s ease;
}

.site-header.scrolled .brand,
.site-header.light .brand {
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Fallback if logo image fails: show a sunset-tinted T */
.brand-mark--text {
  background: var(--sunset);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
}

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

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

.site-header.scrolled .nav-links a,
.site-header.light .nav-links a {
  color: var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sunset);
  transition: width 0.25s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.site-header.scrolled .menu-toggle,
.site-header.light .menu-toggle {
  background: var(--ink);
  color: var(--white);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ocean-deep);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: grid;
  place-items: center;
}

.mobile-nav-links {
  margin-top: 3rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-foot {
  margin-top: auto;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 61, 82, 0.45) 0%, rgba(10, 61, 82, 0.25) 40%, rgba(10, 61, 82, 0.7) 100%),
    url("../tobasurfing.jpeg") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sunset);
  box-shadow: 0 0 0 4px rgba(239, 123, 79, 0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 2rem;
  margin-top: auto;
}

.hero-meta-item .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}

.hero-meta-item .value {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  z-index: 1;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0.75rem auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}

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

/* ---------- 7. Page hero (smaller) ---------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 61, 82, 0.45) 0%, rgba(10, 61, 82, 0.75) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  max-width: 14ch;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

.page-hero .eyebrow {
  color: var(--sunset-soft);
}

/* ---------- 8. About / Two-column ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split-reverse {
  grid-template-columns: 1fr 1.1fr;
}

.split-reverse .split-media {
  order: -1;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.split-text h2 {
  margin-bottom: 1.5rem;
}

.split-text p + p {
  margin-top: 1rem;
}

.split-text .btn {
  margin-top: 2rem;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem !important;
  line-height: 1.45;
  color: var(--ocean-deep) !important;
  border-left: 3px solid var(--sunset);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem !important;
  max-width: 100% !important;
}

.about-stats-wrap {
  margin-top: clamp(3rem, 6vw, 5rem);
}

/* ---------- 9. Surf Levels ---------- */
.levels-bg {
  background: var(--sand);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.level-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border-top: 4px solid transparent;
}

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

.level-card.beginner { border-top-color: var(--ocean-light); }
.level-card.intermediate { border-top-color: var(--ocean); }
.level-card.advanced { border-top-color: var(--sunset); }

.level-badge {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.level-card h3 {
  margin-bottom: 1rem;
}

.level-card > p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.level-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.level-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;
  font-size: 0.93rem;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}

.level-list li:last-child {
  border-bottom: none;
}

.level-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sunset);
}

.level-goal {
  margin-top: auto;
  padding: 1.25rem;
  background: var(--foam);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.level-goal strong {
  display: block;
  color: var(--ocean-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

/* ---------- 9a. Where we surf (Uluwatu Area) ---------- */
.area-section {
  background: var(--sand);
}

.area-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.area-map {
  border-radius: var(--radius-lg);
  min-height: 480px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--foam);
  position: relative;
  z-index: 1;
}

.area-spots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.area-spot {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  cursor: default;
}

.area-spot:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.spot-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sunset);
  font-weight: 600;
  line-height: 1;
  padding-top: 0.2rem;
}

.area-spot h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.area-spot p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* Custom Leaflet marker pin */
.surf-pin {
  background: transparent !important;
  border: none !important;
}

.surf-pin-dot {
  width: 20px;
  height: 20px;
  background: var(--sunset);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(239, 123, 79, 0.55);
  display: block;
  transition: transform 0.2s ease;
}

.leaflet-marker-icon:hover .surf-pin-dot,
.surf-pin-dot.active {
  transform: scale(1.35);
}

.surf-pin-label {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.leaflet-container {
  font-family: var(--font-body) !important;
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md);
  padding: 4px;
}

.leaflet-popup-content {
  font-size: 0.92rem;
  margin: 8px 12px;
}

.leaflet-popup-content strong {
  color: var(--ocean-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  .area-grid {
    grid-template-columns: 1fr;
  }
  .area-map {
    min-height: 380px;
    order: 2;
  }
  .area-spots {
    order: 1;
  }
}

/* ---------- 9b. Pricing ---------- */
.pricing-section {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--foam);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.pricing-card:nth-child(2) {
  background: var(--ocean-deep);
  color: var(--white);
  position: relative;
  box-shadow: 0 24px 50px rgba(10, 61, 82, 0.25);
}

.pricing-card:nth-child(2) h3,
.pricing-card:nth-child(2) .pricing-tagline {
  color: var(--white);
}

.pricing-card:nth-child(2) .pricing-tagline {
  opacity: 0.8;
}

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

.pricing-card:nth-child(2):hover {
  box-shadow: 0 30px 60px rgba(10, 61, 82, 0.35);
}

.pricing-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sunset);
  margin-bottom: 0.5rem;
}

.pricing-card:nth-child(2) .pricing-label {
  color: var(--sunset-soft);
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.pricing-tagline {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.pricing-tiers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.pricing-tiers li {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.pricing-card:nth-child(2) .pricing-tiers li {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.pricing-tiers li.featured {
  border-color: var(--sunset);
  background: linear-gradient(135deg, var(--sand) 0%, var(--white) 100%);
  position: relative;
}

.pricing-card:nth-child(2) .pricing-tiers li.featured {
  background: linear-gradient(135deg, rgba(239, 123, 79, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: var(--sunset);
}

.tier-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pricing-card:nth-child(2) .tier-name {
  color: var(--white);
}

.tier-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--sunset);
  color: var(--white);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
}

.tier-price strong {
  font-size: 1.5rem;
  color: var(--ocean-deep);
  font-weight: 600;
}

.pricing-card:nth-child(2) .tier-price strong {
  color: var(--white);
}

.tier-price .per {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.pricing-card:nth-child(2) .tier-price .per {
  color: rgba(255, 255, 255, 0.7);
}

.tier-extra {
  font-size: 0.78rem;
  color: var(--ocean);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pricing-card:nth-child(2) .tier-extra {
  color: var(--sunset-soft);
}

.pricing-footnote {
  text-align: center;
  margin: 2.5rem auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- 10. Testimonials ---------- */
.testimonials-bg {
  background: var(--ocean-deep);
  color: var(--white);
}

.testimonials-bg h2,
.testimonials-bg .eyebrow {
  color: var(--white);
}

.testimonials-bg .eyebrow {
  color: var(--sunset-soft);
}

.testimonials-bg .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

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

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonial-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  /* Fallback gradient shown when no image is provided yet */
  background: linear-gradient(135deg, var(--ocean) 0%, var(--sunset) 100%);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.testimonial:hover .testimonial-photo img {
  transform: scale(1.04);
}

.testimonial-body {
  padding: 2rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--sunset);
  margin-bottom: 0.75rem;
}

.testimonial p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sunset);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.author-name {
  font-weight: 600;
  color: var(--white);
}

.author-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 11. CTA Band ---------- */
.cta-band {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0;
  background:
    linear-gradient(135deg, rgba(10, 61, 82, 0.85), rgba(239, 123, 79, 0.7)),
    url("https://images.unsplash.com/photo-1505459668311-8dbac7952bf0?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ---------- 12. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-info-block {
  margin-bottom: 1.75rem;
}

.contact-info-block .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-info-block .value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  display: block;
  transition: color 0.2s ease;
}

a.contact-info-block:hover .value {
  color: var(--sunset);
}

.contact-form {
  background: var(--sand);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-field label .req {
  color: var(--sunset);
}

.form-field input,
.form-field textarea {
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(31, 110, 140, 0.12);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ---------- 12b. WhatsApp-first contact ---------- */
.contact-section {
  background: var(--foam);
}

.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-lead {
  margin: 1rem auto 2.5rem;
  font-size: 1.1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 2rem 1.1rem 1.5rem;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: left;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.btn-whatsapp-line1 {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.btn-whatsapp-line2 {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.contact-meta {
  margin: 2.5rem auto 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-meta a {
  color: var(--ocean);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-meta a:hover {
  color: var(--sunset);
}

@media (max-width: 560px) {
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 1.5rem;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

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

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

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

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--sunset);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 14. WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08) rotate(-6deg);
}

/* ---------- 15. Story / Timeline ---------- */
.story-content {
  max-width: 720px;
  margin: 0 auto;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.story-content p.lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ocean-deep);
  border-left: 3px solid var(--sunset);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem 0;
  padding: 2rem;
  background: var(--foam);
  border-radius: var(--radius-lg);
}

.story-stat {
  text-align: center;
}

.story-stat .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--ocean-deep);
  display: block;
  line-height: 1;
}

.story-stat .lbl {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ---------- 16. Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 960px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* On mobile, text comes first, image second (regardless of HTML order) */
  .split .split-text,
  .split-reverse .split-text {
    order: 1;
  }
  .split .split-media,
  .split-reverse .split-media {
    order: 2;
  }

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

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

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

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

  .hero {
    min-height: 90vh;
  }

  .hero-meta {
    gap: 1.5rem;
  }

  .hero-meta-item .value {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    right: 1rem;
  }
}
