:root {
  --bg: #eef5f9;
  --surface: #ffffff;
  --text: #102a43;
  --muted: #486581;
  --primary: #227c9d;
  --primary-soft: #dbeef5;
  --border: #cbd8e3;
  --shadow: 0 20px 60px rgba(16, 42, 67, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  color: var(--text);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Home Page Hero */

.hero-section {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: 4rem 0;
  background-image: linear-gradient(
      rgba(14, 50, 60, 0.5),
      rgba(14, 50, 60, 0.5)
    ),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

/* Hero Banners for Other Pages */

.page-hero {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 4rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.services-hero {
  background-image: linear-gradient(
      rgba(14, 50, 60, 0.5),
      rgba(14, 50, 60, 0.5)
    ),
    url("https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?auto=format&fit=crop&w=1600&q=80");
}

.areas-hero {
  background-image: linear-gradient(
      rgba(14, 50, 60, 0.5),
      rgba(14, 50, 60, 0.5)
    ),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80");
}

.approach-hero {
  background-image: linear-gradient(
      rgba(14, 50, 60, 0.5),
      rgba(14, 50, 60, 0.5)
    ),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1600&q=80");
}

.book-hero {
  background-image: linear-gradient(
      rgba(14, 50, 60, 0.5),
      rgba(14, 50, 60, 0.5)
    ),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1600&q=80");
}

/* Hero Text */

.hero-content {
  text-align: center;
  max-width: 760px;
}

.hero-content h1 {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.75rem, 4vw, 4.25rem);
  line-height: 1.04;
}

.hero-content p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero-content .eyebrow {
  margin: 0 0 1rem;
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #dbeef5;
  color: #1f6f8b;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary-soft);
}

.hero-section .button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.tertiary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

/* Sections */

.section-light,
.section-dark,
.contact-section {
  padding: 5rem 0;
}

.section-light {
  background: #ffffff;
}

.section-dark {
  background: var(--primary-soft);
}

.section-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

/* Cards */

.card-grid,
.approach-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.approach-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.card h3,
.approach-card h3 {
  margin-top: 0;
}

.link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.link-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.85rem;
}

.img-credit {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Regular Page Images */

.about-image-wrapper {
  margin: 2rem 0 2.5rem;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
}

.about-image-wrapper img {
  width: 100%;
  max-height: 420px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 1.5rem;
}

/* Feature List */

.feature-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

/* Book Section */

.book-section .container {
  display: flex;
  justify-content: center;
}

.book-section .book-cta {
  width: min(720px, 100%);
}

.book-section .contact-form {
  margin: 0 auto;
}

.book-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 3rem 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

/* Contact Form */

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #f7fbfd;
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 1.25rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-contact p {
  margin: 0;
  font-size: 0.95rem;
}

/* Tablet */

@media (max-width: 960px) {
  .section-grid,
  .card-grid,
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    padding: 1rem 0;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .hero-section,
  .page-hero {
    padding: 2.5rem 0;
    min-height: 360px;
    background-position: center 30%;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 6vw, 2.25rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .card-grid,
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .link-card img {
    height: 200px;
    border-radius: 12px;
  }

  .about-image-wrapper img {
    max-height: 260px;
  }

  .book-cta {
    padding: 2rem 1.25rem;
  }
}