:root {
  --red: #b40000;
  --red-dark: #8f0000;
  --dark: #111;
  --gray: #f4f4f4;
  --text-muted: #555;
  --white: #fff;
  --gold: #f6c343;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--dark);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

button,
summary {
  color: inherit;
  font: inherit;
}

.site-header {
  align-items: center;
  background: var(--dark);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 6%;
  position: relative;
  z-index: 10;
}

.home-page .site-header {
  position: sticky;
  top: 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--red);
}

nav {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 22px;
}

nav a:hover,
nav a:focus-visible {
  color: var(--gold);
}

.btn {
  background: var(--red);
  border: none;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  padding: 13px 22px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover,
.btn:focus-visible {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn.secondary {
  background: var(--white);
  color: var(--dark);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  background: #f0f0f0;
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
  padding: 11px 20px;
}

.btn.outline:hover,
.btn.outline:focus-visible {
  background: var(--red);
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions.centered {
  justify-content: center;
}

.section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

footer {
  background: var(--dark);
  color: var(--white);
  font-size: 0.95rem;
  padding: 32px 6%;
  text-align: center;
}

/* Homepage */

.home-page main > section {
  padding: 75px 6%;
}

.home-page .hero {
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.68)),
    url("images/hero.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: flex;
  min-height: 78vh;
  padding: 80px 6%;
}

.home-page .hero-content {
  max-width: 760px;
}

.home-page .eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.home-page h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.home-page .hero p {
  font-size: 1.25rem;
  margin-bottom: 28px;
  max-width: 620px;
}

.home-page .section-title {
  margin-bottom: 44px;
}

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border-radius: 18px;
  border-top: 6px solid var(--red);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p,
.faq-item p {
  color: var(--text-muted);
}

.gray {
  background: var(--gray);
}

.split {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
}

.split img {
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.split h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.split p {
  color: #444;
  margin-bottom: 18px;
}

.offer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.offer h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 12px;
}

.offer p {
  font-size: 1.15rem;
  margin: 0 auto 26px;
  max-width: 720px;
}

.price {
  color: var(--gold);
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 28px;
}

.testimonials {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

blockquote {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 1.05rem;
  padding: 28px;
}

blockquote cite {
  color: var(--red);
  display: block;
  font-style: normal;
  font-weight: 700;
  margin-top: 18px;
}

.contact {
  text-align: center;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.contact-box {
  align-items: center;
  background: var(--gray);
  border: 2px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 175px;
  padding: 30px 24px;
  transition: 0.2s ease;
}

.contact-box:hover,
.contact-box:focus-visible {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.contact-box h3 {
  color: var(--dark);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.contact-box p {
  color: #444;
  margin-bottom: 12px;
}

.contact-action {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-box:hover .contact-action,
.contact-box:focus-visible .contact-action {
  color: var(--red-dark);
}

.faq-list {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 900px;
}

.faq-item {
  background: var(--white);
  border-left: 6px solid var(--red);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  color: var(--gold);
  font-weight: 700;
}

/* Trial scheduler */

.trial-page .hero,
.schedule-page .hero {
  background: var(--gray);
  padding: 70px 6%;
  text-align: center;
}

.trial-page .eyebrow,
.schedule-page .eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.trial-page h1,
.schedule-page h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.trial-page .hero p,
.schedule-page .hero p {
  color: #444;
  font-size: 1.15rem;
  margin: 0 auto;
  max-width: 720px;
}

.trial-page main {
  padding: 60px 6%;
}

.trial-page .section-title {
  margin-bottom: 36px;
}

.age-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1100px;
}

.age-card {
  background: var(--white);
  border: 0;
  border-radius: 18px;
  border-top: 6px solid var(--red);
  box-shadow: var(--shadow);
  cursor: pointer;
  padding: 28px;
  text-align: left;
  transition: 0.2s ease;
}

.age-card:hover,
.age-card:focus-visible {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.age-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

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

.results {
  display: none;
  margin: 0 auto;
  max-width: 900px;
}

.results.active {
  display: block;
}

.back-button {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.slot-list {
  display: grid;
  gap: 18px;
}

.slot {
  align-items: center;
  background: var(--gray);
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 22px;
}

.slot strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.slot span {
  color: var(--text-muted);
}

.contact-menu {
  position: relative;
}

.contact-menu summary {
  list-style: none;
}

.contact-menu summary::-webkit-details-marker {
  display: none;
}

.contact-options {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
  padding: 10px;
  position: absolute;
  right: 0;
  width: max-content;
  z-index: 2;
}

.contact-options a {
  border-radius: 999px;
  color: var(--red);
  font-weight: 800;
  padding: 8px 12px;
}

.contact-options a:hover,
.contact-options a:focus-visible {
  background: var(--gray);
}

.note {
  background: #fff7df;
  border-left: 6px solid var(--gold);
  border-radius: 14px;
  color: #333;
  margin-top: 28px;
  padding: 22px;
}

.trial-page footer {
  margin-top: 40px;
}

/* Schedule page */

.schedule-main {
  margin: 0 auto;
  max-width: 1280px;
  padding: 48px 6% 75px;
}

.schedule-toolbar {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.schedule-toolbar h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.schedule-toolbar p {
  color: var(--text-muted);
}

.schedule-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.pdf-viewer {
  background: var(--gray);
  border: 1px solid #ddd;
  border-radius: 18px;
  height: calc(100vh - 230px);
  min-height: 620px;
  overflow: hidden;
  width: 100%;
}

.pdf-viewer p {
  padding: 32px;
  text-align: center;
}

.pdf-viewer a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 850px) {
  .home-page .site-header {
    position: static;
  }

  nav {
    gap: 14px;
  }

  .cards,
  .split,
  .testimonials,
  .contact-grid,
  .age-grid {
    grid-template-columns: 1fr;
  }

  .home-page .hero {
    min-height: auto;
    padding: 70px 6%;
  }

  .slot {
    align-items: flex-start;
  }

  .contact-menu,
  .contact-menu summary {
    width: 100%;
  }

  .contact-options {
    justify-content: center;
    position: static;
    width: 100%;
  }

  .schedule-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-actions,
  .schedule-actions .btn {
    width: 100%;
  }

  .pdf-viewer {
    height: 72vh;
    min-height: 480px;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .contact-options {
    flex-direction: column;
  }
}
