:root {
  --ink: #1c1b1a;
  --muted: #5e5a57;
  --paper: #f7f4f1;
  --mist: #eef2f3;
  --ocean: #2b6a73;
  --sun: #f1b96a;
  --rose: #f4d5cc;
  --night: #0f1f22;
  --card: #ffffff;
  --shadow: 0 20px 60px rgba(10, 10, 10, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: linear-gradient(180deg, #f9f6f2 0%, #ffffff 60%, #f3f4f6 100%);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}

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

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

/* NAV */
.nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav nav a {
  margin-left: 1.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: color 0.2s;
}

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

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
}

/* HAMBURGER TOGGLE */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.2s ease;
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 10rem 2rem 6rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 16, 18, 0.72) 0%, rgba(10, 16, 18, 0.25) 60%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.78);
  padding: 3.2rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* BUTTONS */
.btn {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  margin: 0.4rem 0.4rem 0 0;
  font-size: 0.8rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  min-height: 44px;
  line-height: 1.4;
}

.btn:active {
  transform: scale(0.97);
}

.primary {
  background: var(--ocean);
  color: #fff;
  border: 1px solid transparent;
}

.primary:hover {
  background: #23585f;
}

.secondary {
  border: 1px solid var(--ocean);
  color: var(--ocean);
  background: #fff;
}

.secondary:hover {
  background: var(--ocean);
  color: #fff;
}

.ghost {
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--ink);
  background: transparent;
}

.ghost:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}

/* SECTIONS */
.section {
  padding: 6rem 2rem;
}

.light {
  background: var(--paper);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.center {
  text-align: center;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1.6rem;
}

/* LAYOUTS */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: start;
}

.panel {
  background: var(--card);
  padding: 2.6rem 2.2rem 2.2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.panel h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.subhead {
  font-size: 1.6rem;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
}

.text p {
  margin-bottom: 0.9rem;
}

.text p:last-of-type {
  margin-bottom: 0;
}

.cta-row {
  margin-top: 1.5rem;
}

.contact-buttons {
  margin-top: 1.4rem;
}

.spacer {
  height: 1rem;
}

.checklist {
  list-style: none;
  margin-bottom: 1.4rem;
}

.checklist li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ocean);
  font-size: 1.2rem;
}

.image-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 100%;
  padding-bottom: 1.6rem;
}

.image-card img {
  width: 100%;
  height: auto;
}

.caption {
  padding: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.image-card .cta-row {
  padding: 0 1.4rem;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.price-card {
  background: var(--card);
  padding: 2.2rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-card h4 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.price-card p {
  margin-bottom: 0.4rem;
}

.price-card .btn {
  margin-top: 1rem;
}

.price-card.featured {
  border: 1px solid rgba(43, 106, 115, 0.4);
  background: linear-gradient(160deg, #ffffff 0%, #f2f7f7 100%);
}

.price {
  font-size: 1rem;
  margin-top: 0.6rem;
  font-weight: 400;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ocean);
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 0.9rem;
}

.about-image img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* PARALLAX */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.divider {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-overlay {
  background: rgba(15, 31, 34, 0.6);
  padding: 1rem 2rem;
  border-radius: 999px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

/* CERTS */
.cert-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.cert-list li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--muted);
}

.cert-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ocean);
  font-size: 1.1rem;
}

/* FOOTER */
footer {
  padding: 3rem 2rem;
  background: var(--night);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
}

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

/* -- Tablet & small laptop -- */
@media (max-width: 900px) {
  .section {
    padding: 5rem 1.5rem;
  }

  .split,
  .about {
    gap: 2.4rem;
  }
}

/* -- Tablet-portrait & large phones -- */
@media (max-width: 768px) {
  /* Hamburger menu */
  .nav-toggle {
    display: block;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 0.85rem 1.2rem;
  }

  .nav nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 0 0.2rem;
  }

  .nav nav.open {
    display: flex;
  }

  .nav nav a {
    margin-left: 0;
    padding: 0.85rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav nav a:last-child {
    border-bottom: none;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 6rem 1rem 3rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
    width: 100%;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 0.8rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.5rem;
  }

  /* Sections */
  .section {
    padding: 3.5rem 1rem;
  }

  h2 {
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    margin-bottom: 1.2rem;
  }

  /* Parallax off on mobile */
  .parallax {
    background-attachment: scroll;
  }

  .divider {
    min-height: 22vh;
  }

  .divider-overlay {
    text-align: center;
    padding: 0.8rem 1.4rem;
    font-size: 0.7rem;
  }

  /* Grid layouts */
  .split,
  .about {
    gap: 1.8rem;
  }

  .pricing-grid {
    gap: 1.2rem;
  }

  /* Images */
  .image-card img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    width: 100%;
  }

  .about-image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
  }

  .image-card,
  .about-image {
    width: 100%;
  }

  /* Subhead / Training */
  .subhead {
    font-size: 1.4rem;
    margin-top: 2rem;
  }

  /* Price cards */
  .price-card {
    padding: 1.8rem;
  }

  /* Footer */
  footer {
    padding: 2rem 1.2rem;
    font-size: 0.75rem;
  }

  footer p + p {
    margin-top: 0.4rem;
  }
}

/* -- Phones -- */
@media (max-width: 560px) {
  .nav {
    position: sticky;
    top: 0;
  }

  html {
    scroll-padding-top: 3.5rem;
  }

  .nav-inner {
    padding: 0.7rem 0.9rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  /* Hero */
  .hero {
    padding: 5rem 0.75rem 2.5rem;
  }

  .hero-content {
    padding: 1.6rem 1.2rem;
    border-radius: 14px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  /* Sections */
  .section {
    padding: 2.8rem 0.85rem;
  }

  h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  /* Cards */
  .panel,
  .price-card,
  .image-card {
    border-radius: 14px;
  }

  .price-card {
    padding: 1.5rem;
  }

  .price-card h4 {
    font-size: 1.25rem;
  }

  /* Buttons */
  .btn {
    font-size: 0.75rem;
    padding: 0.65rem 1.3rem;
  }

  /* Lists */
  .checklist li,
  .cert-list li {
    font-size: 0.9rem;
  }

  /* Divider */
  .divider {
    min-height: 18vh;
  }

  .divider-overlay {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    padding: 0.6rem 1rem;
  }

  /* Caption */
  .caption {
    padding: 1rem;
    font-size: 0.88rem;
  }

  /* Note */
  .note {
    font-size: 0.88rem;
  }

  /* Footer */
  footer {
    padding: 1.6rem 0.85rem;
  }
}

/* -- Very small phones (Galaxy Fold, iPhone SE) -- */
@media (max-width: 380px) {
  .hero {
    padding: 4.5rem 0.6rem 2rem;
  }

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

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero p {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }

  .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
  }

  .section {
    padding: 2.2rem 0.7rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .split,
  .about {
    gap: 1.4rem;
  }

  .nav nav a {
    font-size: 0.8rem;
    padding: 0.7rem 0;
  }
}
