:root {
  --bg: #f7f3ea;
  --bg-soft: #fffaf1;
  --ink: #182026;
  --muted: #47515a;
  --brand: #0f7b6c;
  --brand-dark: #09584d;
  --accent: #ff7b42;
  --line: #d8d0bf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 88px;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #ffe4c6 0%, transparent 28%),
    radial-gradient(circle at 85% 20%, #c6efe8 0%, transparent 22%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 100%);
  line-height: 1.6;
}

.hero {
  min-height: auto;
  padding: 1.5rem clamp(1rem, 3vw, 3rem) 3rem;
}

.nav {
  position: fixed;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 2rem));
  z-index: 1100;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(216, 208, 191, 0.95);
  border-radius: 0.95rem;
  background: rgba(255, 251, 241, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(24, 32, 38, 0.1);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.nav.nav-hidden {
  transform: translate(-50%, calc(-100% - 1.4rem));
  opacity: 0;
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  letter-spacing: 0.06em;
  margin-right: 0;
}

.nav-links {
  gap: 0.35rem;
}

.nav-links .nav-link {
  color: var(--ink);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links .nav-link:hover {
  color: var(--brand);
}

.nav-links .nav-link.active {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.navbar-toggler {
  border-color: var(--line);
}

.hero-content {
  max-width: 760px;
  margin-top: clamp(2rem, 8vw, 8rem);
  animation: rise 600ms ease-out both;
}

.hero-layout {
  min-height: auto;
  margin-top: clamp(0.9rem, 2.5vw, 2rem);
}

.hero-layout .hero-content {
  margin-top: 0;
  max-width: none;
}

.hero-image-wrap {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(360px, 56vh, 680px);
  animation: rise 700ms ease-out both;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 6% 4% -6% -8%;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 25% 35%, rgba(15, 123, 108, 0.24), transparent 55%),
    radial-gradient(circle at 72% 30%, rgba(255, 123, 66, 0.23), transparent 50%);
  filter: blur(8px);
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 1.9rem;
  border: 0;
  box-shadow:
    0 36px 60px rgba(24, 32, 38, 0.22),
    0 12px 24px rgba(24, 32, 38, 0.12);
}

.hero-content.compact {
  margin-top: clamp(1.4rem, 4vw, 3rem);
}

.subpage-hero {
  min-height: auto;
  padding-bottom: 1.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: 0.01em;
  margin-bottom: 0.8rem;
}

.hero-copy {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  margin-bottom: 1.5rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border-radius: 0.75rem;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 123, 108, 0.3);
}

.btn-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fffdf8;
}

main {
  padding: 0 clamp(1rem, 3vw, 3rem) 3rem;
}

.panel {
  background: rgba(255, 255, 255, 0.73);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 1rem;
  backdrop-filter: blur(3px);
}

.about-panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.93) 0%, #fff8ea 100%);
}

.about-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid #dfd5c1;
  box-shadow: 0 12px 30px rgba(24, 32, 38, 0.14);
}

.about-company {
  max-width: 72ch;
  margin-bottom: 50px;
}

.about-company p {
  color: var(--muted);
  margin: 0 0 0.8rem;
}

.runners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.runner-card {
  background: #fff;
  border: 1px solid #ece7db;
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
  gap: 1rem;
}

.runner-card .about-photo {
  margin-bottom: 0;
}

.runner-card h3 {
  margin: 0.2rem 0 0.5rem;
}

.runner-card p {
  color: var(--muted);
}

.runner-role {
  margin: 0;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.section-intro {
  margin-top: 0;
  color: var(--muted);
  max-width: 72ch;
}

.symptom-minimal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}

.symptom-minimal-item h3 {
  margin: 0;
  font-size: 1.1rem;
}

.symptom-minimal-item p {
  margin: 0;
  color: var(--muted);
}

.symptom-photo-minimal {
  width: min(100%, 210px);
  height: 140px;
  display: block;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  border: 0;
  background: transparent;
  padding: 0;
}

#symptoms {
  text-align: center;
}

.benefits-panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, #fff7e7 100%);
}

.benefits-panel .section-intro {
  max-width: none;
}

.careers-cta-panel {
  text-align: center;
  background: linear-gradient(160deg, rgba(234, 251, 246, 0.85) 0%, #fff 100%);
}

.careers-cta-panel .section-intro {
  margin-inline: auto;
}

.careers-cta-panel .cta-row,
.apply-panel .cta-row {
  justify-content: center;
}

.runner-info-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, #fff8ed 100%);
}

.runner-info-grid {
  margin-top: 0.3rem;
}

.info-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e8deca;
  border-radius: 1rem;
  padding: 1rem;
}

.info-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.runner-criteria-list {
  margin-top: 0.65rem;
  list-style: none;
  padding-left: 0;
}

.runner-criteria-list li {
  position: relative;
  margin: 0 0 0.65rem;
  padding-left: 1.5rem;
}

.runner-criteria-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f7b6c 0%, #09584d 100%);
}

.apply-panel {
  text-align: center;
  background: linear-gradient(160deg, #fff7ec 0%, #ffffff 100%);
}

.apply-panel p {
  color: var(--muted);
  max-width: 64ch;
  margin: 0.45rem auto 1rem;
}

.packages-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
  margin-top: 0.6rem;
}

.package-card {
  position: relative;
  background: linear-gradient(170deg, #ffffff 0%, #fff8ef 100%);
  border: 1px solid #e8deca;
  border-radius: 1.15rem;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow:
    0 8px 22px rgba(24, 32, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: #d4c6a9;
  box-shadow:
    0 16px 28px rgba(24, 32, 38, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.package-card.featured {
  background: linear-gradient(170deg, #ffffff 0%, #eafbf6 100%);
  border-color: #9dd8ca;
  box-shadow:
    0 16px 32px rgba(15, 123, 108, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tag {
  margin: 0 0 0.1rem;
  color: #06473e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  background: #dcf5ef;
  border: 1px solid #a7ded0;
  border-radius: 999px;
  width: fit-content;
  padding: 0.18rem 0.5rem;
}

.price {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.price span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.package-card > p:not(.price):not(.tag) {
  margin: 0;
  color: #3f4a53;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.package-card .btn {
  margin-top: auto;
  text-align: center;
  border-radius: 0.85rem;
}

.session-includes {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid #e7dbc5;

}

.session-includes h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
}

.session-includes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.45rem 0.9rem;
}

.session-includes li {
  position: relative;
  margin: 0;
  padding-left: 1.4rem;
  color: #3f4a53;
}

.session-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f7b6c 0%, #09584d 100%);
}

.contact-panel {
  text-align: center;
  background: linear-gradient(160deg, #fff8ea 0%, #fff 100%);
}

.contact-panel p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0.4rem auto 1rem;
}

.contact-panel .cta-row {
  justify-content: center;
}

.form-status {
  max-width: 720px;
  margin: 0 auto 1rem;
  border-radius: 0.8rem;
  padding: 0;
  font-weight: 700;
}

.form-status.success,
.form-status.error {
  padding: 0.75rem 0.9rem;
  border: 1px solid;
}

.form-status.success {
  color: #0b5d52;
  background: #eafaf6;
  border-color: #95dacc;
}

.form-status.error {
  color: #6d2c15;
  background: #fff1e9;
  border-color: #ffc7ad;
}

.contact-form {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.runner-application-panel {
  text-align: left;
}

.runner-application-panel > h2,
.runner-application-panel > p {
  text-align: center;
}

.runner-application-panel .form-section-title {
  margin: 0.6rem 0 0.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eadfcf;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  font-size: 1.65rem;
}

.runner-application-panel .contact-form > .col-12:first-child .form-section-title {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.option-box {
  background: #fff;
  border: 1px solid #e2d8c6;
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
}

.option-box .form-check + .form-check {
  margin-top: 0.45rem;
}

.contact-form .form-label {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.contact-form .form-control,
.contact-form .form-select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8d0bf;
  border-radius: 0.65rem;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fffefb;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus,
.contact-form textarea:focus {
  outline: 2px solid #9adbd0;
  outline-offset: 1px;
  border-color: #9adbd0;
}

.full-width {
  margin-top: 0.85rem;
}

.hp-field {
  display: none;
}

.form-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-footer {
  padding: 0 1rem 1.2rem;
}

.home-bottom-banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 300px;
  min-height: 300px;
  margin: 0;
}

.home-bottom-banner img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.home-bottom-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(24, 32, 38, 0.08) 0%,
    rgba(24, 32, 38, 0.45) 100%
  );
  z-index: 1;
}

.site-footer.site-footer-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding-bottom: 1.2rem;
}

.footer-inner {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--brand);
}

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

@media (max-width: 720px) {
  body {
    padding-top: 78px;
  }

  .nav {
    top: 0.4rem;
    width: calc(100% - 1rem);
    border-radius: 0.8rem;
  }

  .nav.nav-hidden {
    transform: translate(-50%, calc(-100% - 0.9rem));
  }

  .nav-links {
    gap: 0;
  }

  .nav-links .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-layout {
    min-height: auto;
    margin-top: clamp(1.6rem, 6vw, 2.4rem);
  }

  .hero-image-wrap {
    min-height: auto;
    margin-top: 0.25rem;
  }

  .hero-image {
    height: auto;
    max-height: 520px;
    border-radius: 1.2rem;
  }

  .home-bottom-banner img {
    object-fit: cover;
    object-position: center bottom;
  }

  .about-photo {
    max-width: 320px;
  }

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

  .runner-card {
    grid-template-columns: 1fr;
  }

  .runner-card .about-photo {
    margin-bottom: 0.75rem;
  }

}
