/* No Pressure Diving — static site styles */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --color-bg: #f4f8fb;
  --color-bg-alt: #e8f1f8;
  --color-surface: #ffffff;
  --color-text: #021a33;
  --color-muted: #3d5a73;
  --color-accent: #0077cc;
  --color-accent-hover: #005fa3;
  --color-accent-soft: rgba(0, 119, 204, 0.1);
  --color-accent-bright: #00a8e8;
  --color-deep: #023059;
  --color-deep-light: #055a8c;
  --color-border: #d0e2f0;
  --color-hero-overlay: linear-gradient(
    160deg,
    rgba(2, 48, 89, 0.78) 0%,
    rgba(2, 48, 89, 0.55) 45%,
    rgba(2, 48, 89, 0.72) 100%
  );
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --max-width: 1080px;
  --header-height: 4.25rem;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: none;
  --shadow: 0 1px 2px rgba(3, 42, 74, 0.04);
  --shadow-lg: 0 8px 24px rgba(3, 42, 74, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

/* Header & nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 248, 251, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: none;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-deep);
  text-decoration: none;
  margin-right: auto;
  line-height: 1.15;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: block;
  border-radius: 6px;
}

.brand span {
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.header-phone {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-accent);
  white-space: nowrap;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.header-phone:hover {
  color: var(--color-accent-hover);
  background: var(--color-bg);
  border-color: rgba(0, 119, 204, 0.35);
}

.nav-toggle {
  display: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--color-deep);
}

.site-nav {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-muted);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.site-nav a:hover {
  color: var(--color-deep);
  background: var(--color-bg);
}

.site-nav a.active {
  color: var(--color-accent-hover);
  background: transparent;
  font-weight: 700;
  box-shadow: none;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .header-phone {
    margin-left: auto;
    font-size: 0.8125rem;
    padding: 0.4rem 0.6rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 101;
    flex-direction: column;
    align-items: stretch;
    background: rgba(244, 248, 251, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.5rem;
  }
}

/* Layout */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
}

main.wide {
  max-width: 1140px;
}

body:not(:has(.hero)) main > h1:first-child {
  text-align: center;
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

body:not(:has(.hero)) main > .lead {
  text-align: center;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.section {
  margin-bottom: 3rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.35rem 0 0;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
}

h1 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--color-deep);
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.25rem 0 0.85rem;
  color: var(--color-deep);
  letter-spacing: -0.01em;
  font-weight: 700;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--color-deep);
}

p {
  margin: 0 0 1rem;
}

.muted {
  color: var(--color-muted);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.lead--center {
  text-align: center;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */

.hero {
  position: relative;
  min-height: min(88vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--color-deep) url("/resources/images/manta-poster.jpg") center / cover no-repeat;
  margin: 0;
  max-width: none;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-hero-overlay);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: fadeUp 0.7s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__brand {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.35rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.35);
}

.hero__brand span {
  color: var(--color-accent-bright);
  font-weight: 700;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.65;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero {
    min-height: 75vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    background: var(--color-deep) url("/resources/images/manta-poster.jpg") center / cover no-repeat;
  }

  .hero__video {
    display: none;
  }

  .hero__content {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card--photo:hover .card__img,
  .photo-mosaic__item:hover img,
  .photo-strip a:hover img {
    transform: none;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Buttons */

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: none;
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-deep);
  border-color: #fff;
}

/* Fact line (home) */

.fact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--color-muted);
  text-align: center;
}

.fact-line li {
  display: inline;
  padding: 0 0.85rem;
  line-height: 1.5;
}

.fact-line li + li {
  border-left: 1px solid var(--color-border);
}

.fact-line strong {
  color: var(--color-deep);
  font-weight: 700;
}

@media (max-width: 600px) {
  .fact-line {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .fact-line li {
    padding: 0;
  }

  .fact-line li + li {
    border-left: none;
  }
}

/* Stats / features (legacy, other pages) */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.stat {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg-alt) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.stat:hover {
  box-shadow: 0 10px 28px rgba(0, 119, 204, 0.18);
  transform: translateY(-2px);
  border-color: rgba(0, 119, 204, 0.35);
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent-bright);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.95rem;
  color: var(--color-muted);
  font-weight: 500;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  text-align: center;
}

.feature {
  padding: 1.75rem 1.25rem;
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg-alt) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.feature strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent-bright);
  margin-bottom: 0.35rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: none;
  transition: border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: none;
  transform: none;
  border-color: #a8c8de;
}

.card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.card p:last-child {
  margin-bottom: 0;
  margin-top: auto;
  padding-top: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.card-link::after {
  content: "→";
  transition: transform var(--transition);
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* Photo layouts */

.card--photo {
  padding: 0;
  overflow: hidden;
}

.card--photo .card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card--photo:hover .card__img {
  transform: scale(1.045);
}

.card--photo .card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card--photo .card__body > p:last-child {
  margin-top: auto;
  padding-top: 1rem;
}

.page-banner {
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  background: var(--color-deep);
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 48, 89, 0.08) 0%,
    rgba(2, 48, 89, 0.22) 100%
  );
  pointer-events: none;
}

.page-banner img {
  width: 100%;
  height: clamp(200px, 26vw, 300px);
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 0.65rem;
  margin: 2rem 0 0;
}

.photo-mosaic__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.photo-mosaic__item img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.photo-mosaic__item--hero {
  grid-column: span 7;
  grid-row: span 2;
}

.photo-mosaic__item--tall {
  grid-column: span 5;
  grid-row: span 2;
}

.photo-mosaic__item--wide {
  grid-column: span 4;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.photo-strip a {
  display: block;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.photo-gallery-cta {
  margin-top: 2.5rem;
}

.photo-gallery-cta__link {
  text-align: center;
  margin: 1.25rem 0 0;
}

.photo-gallery-cta__link a {
  font-weight: 600;
  text-decoration: none;
}

.course-banner {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
}

.course-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.contact-illustration {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .photo-mosaic {
    grid-template-columns: 1fr;
    margin: 1.25rem 0 0;
  }

  .photo-mosaic__item--hero {
    grid-column: 1;
    grid-row: 1;
  }

  .photo-mosaic__item--hero img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .photo-mosaic__item--tall,
  .photo-mosaic__item--wide {
    display: none;
  }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.agency-logos {
  text-align: center;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.agency-logos__label {
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.agency-logos__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.agency-logos__grid img {
  max-height: 88px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
}

.partnership-band {
  margin-top: 1rem;
  padding: 2.5rem 1.5rem;
  background: var(--color-surface);
  border: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
}

.partnership-band__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.partnership-band h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.partnership-band p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.partnership-band a {
  font-weight: 600;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0 0;
}

.specialty-item {
  padding: 0.65rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-deep);
  box-shadow: none;
  transition: color var(--transition);
}

.specialty-item:hover {
  border-color: var(--color-border);
  box-shadow: none;
  transform: none;
  color: var(--color-accent);
}

.specialty-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.specialty-tile {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: none;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 4 / 3;
  transition: opacity var(--transition);
}

.specialty-tile:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
  opacity: 0.92;
}

.specialty-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.specialty-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 48, 89, 0.88) 100%);
  pointer-events: none;
}

.specialty-tile span {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.7rem;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.specialty-tile:hover img {
  transform: scale(1.03);
}

.specialty-tile--static {
  cursor: default;
}

.specialty-tile--static:hover {
  opacity: 1;
}

.specialty-tile--static:hover img {
  transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .specialty-tile:hover img {
    transform: none;
  }
}

/* CTA band */

.cta-band {
  background: var(--color-deep);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
  margin: 0;
  max-width: none;
  box-shadow: none;
}

.cta-band h2 {
  color: #fff;
  margin-top: 0;
  font-size: 1.85rem;
}

.cta-band p {
  opacity: 0.88;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-deep);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--color-bg);
  color: var(--color-deep);
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.975rem;
}

th,
td {
  padding: 0.9rem 0;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  background: none;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: transparent;
}

td:last-child,
th:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.price-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.price-list__item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--color-border);
}

.price-list__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.price-list__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-deep);
}

.price-list__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-deep);
  white-space: nowrap;
}

.price-list__note {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.price-note {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 1.25rem;
  line-height: 1.6;
  max-width: 42rem;
}

/* Pricing page */

.pricing-hero {
  background: var(--color-deep);
  color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  text-align: center;
}

.pricing-hero__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.pricing-hero .section-eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.25rem);
  margin: 0.75rem 0 0.85rem;
  letter-spacing: -0.03em;
}

.pricing-hero__lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-accent-bright);
}

.pricing-hero__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 1.05rem;
}

.pricing-page {
  padding-top: 2.5rem;
}

.pricing-page.wide {
  max-width: 1140px;
}

.pricing-section-lead {
  text-align: center;
  max-width: 38rem;
  margin: -0.25rem auto 2rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.pricing-owd {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 3.5rem;
}

.pricing-owd__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  margin-bottom: 1.25rem;
}

.pricing-owd__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.25rem;
}

.pricing-owd__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.pricing-owd h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.pricing-owd__tagline {
  margin: 0.65rem 0 0;
  color: var(--color-muted);
  max-width: 28rem;
  line-height: 1.6;
}

.pricing-owd__price-block {
  text-align: right;
}

.pricing-owd__price {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-deep);
  margin: 0;
}

.pricing-owd__price-note {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.pricing-owd__promise {
  margin: 0 0 1.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-deep);
  line-height: 1.55;
}

.pricing-owd__list-title {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.pricing-check {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.75rem;
}

.pricing-check li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--color-text);
  line-height: 1.45;
  font-size: 0.98rem;
}

.pricing-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.pricing-check--on-dark li {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-check--on-dark li::before {
  background: var(--color-accent-bright);
}

.pricing-owd__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.pricing-owd__details {
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.25rem;
}

.pricing-value {
  margin-bottom: 3.5rem;
}

.pricing-value__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

.pricing-value__grid article {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.pricing-value__grid h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.pricing-value__grid p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pricing-compare {
  background: var(--color-deep);
  color: #fff;
  padding: clamp(2.75rem, 6vw, 4rem) 1.5rem;
  margin: 0 calc(50% - 50vw) 3.5rem;
  width: 100vw;
}

.pricing-compare__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.pricing-compare h2 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1.25;
}

.pricing-compare__inner > p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2rem;
  line-height: 1.7;
}

.pricing-compare__panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: left;
}

.pricing-compare__brand {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.pricing-compare__amount {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 1.15rem;
  color: #fff;
}

.pricing-compare h2.pricing-compare__amount {
  margin: 0.35rem 0 1.15rem;
}

.pricing-compare .pricing-check {
  margin-bottom: 1.25rem;
}

.pricing-compare__end {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-accent-bright);
}

.pricing-next {
  margin-bottom: 3rem;
}

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

.pricing-course {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--color-border);
}

.pricing-course h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.pricing-course__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-deep);
  margin: 0 0 0.75rem;
}

.pricing-course__price--text {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.pricing-course p {
  color: var(--color-muted);
  margin-bottom: 1.15rem;
  line-height: 1.6;
}

.pricing-course .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .pricing-next__grid {
    grid-template-columns: 1fr;
  }
}

.pricing-intro {
  margin-bottom: 3rem;
  padding: 2.25rem 1rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.pricing-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 34rem;
  margin: 0 auto;
}

.pricing-intro h2 {
  margin: 0.35rem 0 0.75rem;
}

.pricing-intro__inner > div:first-child p:not(.section-eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.pricing-intro__aside {
  text-align: center;
}

.pricing-intro__price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-deep);
  margin: 0 0 0.85rem;
}

.pricing-specs {
  margin-bottom: 2rem;
}

.pricing-specs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  max-width: 40rem;
  margin-inline: auto;
}

.pricing-specs__list li {
  border-bottom: 1px solid var(--color-border);
}

.pricing-specs__list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  text-decoration: none;
  color: var(--color-deep);
  font-weight: 600;
}

.pricing-specs__list a span:last-child {
  color: var(--color-muted);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-specs__list a:hover {
  color: var(--color-accent-hover);
}

.pricing-fineprint {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto 1rem;
  text-align: center;
}

.pricing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.cta-band .pricing-cta-faq {
  margin: 0;
  opacity: 0.88;
  font-size: 0.95rem;
  max-width: none;
}

.pricing-cta-faq a {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-cta-faq a:hover {
  color: #fff;
}

.cta-band.pricing-cta-band {
  padding-bottom: 2.5rem;
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .pricing-value__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pricing-owd__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-owd__price-block {
    text-align: left;
  }

  .pricing-check {
    grid-template-columns: 1fr;
  }

  .pricing-value__grid,
  .pricing-next__grid {
    grid-template-columns: 1fr;
  }

  .pricing-intro__inner {
    align-items: center;
  }

  .pricing-intro__aside {
    text-align: center;
    width: auto;
  }

  .pricing-intro__aside .btn {
    width: auto;
    min-width: 12rem;
    text-align: center;
  }

  .pricing-owd__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .pricing-cta-actions .btn {
    width: 100%;
    max-width: 20rem;
  }
}

/* Gallery */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

.gallery-filter {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.15rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--color-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.gallery-filter:hover {
  color: var(--color-deep);
  background: none;
}

.gallery-filter.is-active {
  color: var(--color-deep);
  background: none;
  border-bottom-color: var(--color-accent);
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
}

.gallery-toolbar h2 {
  margin: 0;
}

.gallery-count {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.gallery-grid picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-grid a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 48, 89, 0.96);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: calc(100% - 8rem);
  border-radius: var(--radius);
  user-select: none;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  z-index: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 2rem;
  line-height: 1;
  padding: 0.75rem 1rem;
  cursor: pointer;
  z-index: 1;
  transition: background var(--transition);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

@media (max-width: 600px) {
  .lightbox img { max-width: 100%; }
  .lightbox__nav { font-size: 1.5rem; padding: 0.5rem 0.75rem; }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
}

/* Certifications */

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

.cert-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cert-list li:hover {
  border-color: #c5d9e8;
  box-shadow: var(--shadow);
}

.cert-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-deep);
}

.cert-list a:hover {
  color: var(--color-accent);
}

.cert-list .icon {
  font-size: 1.25rem;
  opacity: 0.7;
}

/* Team */

.about-team-photo {
  margin: 1.25rem 0 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-team-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 72%;
}

@media (max-width: 700px) {
  .about-team-photo img {
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.team-card {
  text-align: center;
  background: none;
  border: none;
  border-radius: 0;
  padding: 1rem 0.5rem;
  box-shadow: none;
  transition: none;
}

.team-card:hover {
  box-shadow: none;
  transform: none;
  border-color: transparent;
}

.team-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 1rem;
  background: var(--color-border);
  border: 2px solid var(--color-border);
  box-shadow: none;
}

.team-card h3 {
  margin-bottom: 0.35rem;
}

.team-card .muted {
  font-size: 0.9rem;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0.75rem 0 0;
  text-align: center;
}

/* About */

.about-page .section-heading {
  margin-bottom: 0.75rem;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.about-intro h2 {
  margin-top: 0;
}

.about-intro__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-team-intro {
  text-align: center;
  max-width: 32rem;
  margin: -0.5rem auto 1.5rem;
  color: var(--color-muted);
}

.about-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-surface) 100%);
  border: 1px solid rgba(0, 119, 204, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 119, 204, 0.1);
}

.about-cta h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.about-cta p {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  color: var(--color-muted);
}

.about-cta__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-outline-dark:hover {
  background: var(--color-bg);
  color: var(--color-deep);
  border-color: var(--color-accent);
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro__photo {
    order: -1;
  }
}

/* Contact */

.contact-page {
  text-align: center;
  padding: 2.5rem 2rem 3rem;
}

.contact-page .section-heading h1 {
  margin-bottom: 0.5rem;
}

.contact-page .lead {
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 72rem;
  margin: 0 auto;
  align-items: start;
  text-align: left;
  width: 100%;
  min-width: 0;
}

.contact-illustration {
  box-shadow: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  position: sticky;
  top: 5.5rem;
  align-self: start;
}

.contact-panel {
  max-width: none;
  margin: 0;
  text-align: left;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: visible;
  min-width: 0;
  padding: 2rem 2.25rem 2.25rem;
}

.contact-channels {
  display: grid;
  gap: 1.15rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-phone {
  text-align: left;
  padding: 0;
  background: none;
}

.contact-phone--email .contact-phone__number {
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  letter-spacing: 0;
  word-break: break-word;
}

.contact-phone__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.contact-phone__number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-deep);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-phone__number:hover {
  color: var(--color-accent);
  opacity: 1;
}

.contact-phone__hint {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0 1.35rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.contact-form-section {
  padding: 0;
}

.contact-form {
  gap: 1.15rem;
  min-width: 0;
  width: 100%;
}

.contact-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.15rem;
  min-width: 0;
}

.contact-form label {
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-deep);
  min-width: 0;
}

.contact-form .field-error {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color var(--transition), background var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8aa0b5;
  font-weight: 400;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233d5a73' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: none;
  background: #fff;
}

.contact-form input.input-invalid,
.contact-form textarea.input-invalid,
.contact-form select.input-invalid {
  border-color: #dc2626;
  box-shadow: none;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.6;
}

.contact-form .btn[type="submit"] {
  justify-self: start;
  width: auto;
  min-width: 12rem;
  margin-top: 0.25rem;
  border: none;
  box-shadow: none;
}

.contact-form .btn[type="submit"]:hover {
  transform: none;
  box-shadow: none;
}

.contact-form .btn[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.contact-info {
  max-width: 28rem;
  margin: 1.5rem auto 2.5rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.contact-form-wrap {
  max-width: 36rem;
  margin: 0 auto;
  text-align: left;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    max-width: 40rem;
  }

  .contact-layout .contact-illustration {
    position: static;
    max-width: min(36rem, 100%);
    margin: 0 auto;
  }

  .contact-form textarea {
    min-height: 10rem;
  }
}

@media (max-width: 700px) {
  .contact-grid,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 1.5rem 1.5rem 1.75rem;
  }

  .contact-form .btn[type="submit"] {
    width: 100%;
  }
}

/* Forms */

form {
  display: grid;
  gap: 1.15rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-deep);
}

input,
textarea,
select {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
  background: var(--color-surface);
}

input.input-invalid,
textarea.input-invalid,
select.input-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-error {
  font-size: 0.85rem;
  font-weight: 500;
  color: #dc2626;
  min-height: 1.25em;
}

.field-error:empty {
  display: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

button[type="submit"] {
  font: inherit;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  justify-self: start;
  box-shadow: none;
  transition: background var(--transition);
}

button[type="submit"]:hover {
  background: var(--color-accent-hover);
  transform: none;
  box-shadow: none;
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  padding: 0.85rem 0;
  border-radius: 0;
  display: none;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-status.success {
  display: block;
  background: none;
  color: #065f46;
  border: none;
  border-bottom: 1.5px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background: none;
  color: #991b1b;
  border: none;
  border-bottom: 1.5px solid #fecaca;
}

/* News */

.post-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.post-list a {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--color-deep);
}

.post-list a:hover {
  color: var(--color-accent);
}

.post-list .date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

/* FAQ */

.faq {
  margin: 2rem auto 0;
  padding: 0;
  max-width: 48rem;
  border-top: 1px solid var(--color-border);
}

.faq dt {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  padding: 1.35rem 0 0.4rem;
  color: var(--color-deep);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.faq dt:first-child {
  padding-top: 1.15rem;
}

.faq dd {
  margin: 0;
  padding: 0 0 1.35rem;
  color: var(--color-muted);
  line-height: 1.7;
  border-bottom: 1px solid var(--color-border);
}

.faq dd:last-of-type {
  border-bottom: none;
}

/* 404 */

.error-page {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.error-illustration {
  max-width: min(320px, 80vw);
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
}

.error-page .btn {
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  background: var(--color-deep);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-bottom: 1.5rem;
}

.site-footer nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.site-footer nav a:hover {
  color: var(--color-accent-bright);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__contact,
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.85rem !important;
}

.site-footer__contact {
  font-size: 1.05rem;
  font-weight: 600;
}

.site-footer__contact a {
  color: #fff !important;
  text-decoration: none;
}

.site-footer__contact a:hover {
  color: var(--color-accent-bright) !important;
}

.site-footer__social a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__social a:hover {
  color: var(--color-accent-bright);
}

.site-footer p a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer p a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.85rem;
  }

  main {
    padding: 2rem 1.25rem 3.5rem;
  }
}

/* Course detail pages */

.course-page .section-heading h1 {
  margin-bottom: 0.5rem;
}

.course-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  color: var(--color-muted);
}

.course-breadcrumb a {
  text-decoration: none;
  font-weight: 600;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.15rem;
  margin: 1.25rem auto 2rem;
  max-width: 44rem;
  width: 100%;
  padding: 0;
  text-align: center;
}

.course-meta__item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0 0.55rem;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.5;
}

.course-meta__item:not(:last-child)::after {
  content: "·";
  margin-left: 0.7rem;
  color: var(--color-border);
  font-weight: 700;
  speak: never;
}

.course-meta__item strong {
  display: inline;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-deep);
  margin: 0;
  letter-spacing: -0.01em;
}

.course-meta__item span {
  display: inline;
  font-size: 1.15rem;
  color: var(--color-muted);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .course-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  .course-meta__item {
    padding: 0;
  }

  .course-meta__item:not(:last-child)::after {
    display: none;
  }
}

.course-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.75rem;
  counter-reset: course-step;
}

.course-steps__item {
  padding: 0 0 0 3rem;
  position: relative;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  counter-increment: course-step;
}

.course-steps__item::before {
  content: counter(course-step);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-accent);
  line-height: 1.4;
}

.course-steps__item h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--color-deep);
}

.course-steps__item p:last-child {
  margin-bottom: 0;
}

.course-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.75;
  color: var(--color-text);
}

.course-list li {
  margin-bottom: 0.5rem;
}

.course-story h2:first-child {
  margin-top: 0;
}

.course-story h2:not(:first-child) {
  margin-top: 2.25rem;
}

.course-highlight {
  padding: 2rem 1.75rem;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, rgba(0, 119, 204, 0.08) 100%);
  border: 1px solid rgba(0, 119, 204, 0.25);
  border-radius: var(--radius);
}

.course-highlight h2 {
  margin-top: 0;
}

.course-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.course-split h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.course-cta {
  margin-top: 2.5rem;
}

@media (max-width: 700px) {
  .course-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
