/* ============================================================
   MOVE TO PILATES - Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900');

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900');


/* ── VARIABLES ── */
:root {
  --cream:        #f9f6f6;
  --warm-white:   #fff9f4;
  --primary-blue: #4f5a7a;
  --primary-teal: #94beb4;
  --primary-coral: #E8614D;
  --charcoal:     #2c2c2c;
  --mid:          #5a5a5a;
  --light-border: #e4ddd5;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-quote:   'Noto Serif', serif;
  --font-body:    'Roboto', sans-serif;
  --nav-h:        80px;
  --max-w:        1200px;
  --transition:   0.22s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

p { color: var(--mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── UTILITY ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 50px;
}

.section      { padding: 5rem 0; }
.section-alt { background: var(--warm-white); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.section-title em { font-style: normal; color: var(--primary-blue); }

.divider {
  width: 48px;
  height: 2px;
  background: var(--primary-teal);
  margin: 0.9rem 0 1.8rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: none;
}

.btn-primary   { background: var(--primary-teal); color: #fff; line-height: 2;}
.btn-primary:hover { background: #74ab9e; }

.btn-dark      { background: var(--primary-blue); color: #fff; }
.btn-dark:hover { background: var(--primary-blue); }

.btn-blue      { background: var(--primary-blue); color: #fff; }

.btn-outline   { background: transparent; color: var(--primary-blue); border: 1.5px solid var(--primary-blue); }
.btn-outline:hover { background: var(--primary-blue); color: #fff; }

.btn-coral {
  background: var(--primary-coral);
  color: white;
}

.btn-coral:hover {
  background: #c44c3a;
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }

.btn-spaced { margin-top: 0.5rem; }
.btn-compact { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-full-width { width: 100%; text-align: center; }

.section-copy { max-width: 620px; }
.section-copy-narrow { max-width: 580px; }

.panel {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 2.5rem;
}
.panel-quiet {
  background: var(--warm-white);
}
.panel-compact { padding: 1.5rem; }
.panel-heading {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.panel-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0.5rem 0 1.5rem;
}
.panel-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}
.panel-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--light-border);
  padding: 1rem 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}
.panel-detail {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--mid);
}
.section-action {
  margin-top: 1.5rem;
}
.panel-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.panel-item {
  font-size: 0.88rem;
  color: var(--mid);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.panel-item-mark { color: var(--primary-blue); flex-shrink: 0; }

.quick-links { display: flex; flex-direction: column; gap: 0.5rem; }
.quick-links-item {
  font-size: 0.88rem;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.feature-details {
  border-left: 3px solid var(--primary-blue);
  padding-left: 1.5rem;
}
.feature-details h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.feature-details p { font-size: 0.9rem; margin: 0; }

.legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--mid);
}
.legend-swatch {
  width: 3px;
  height: 18px;
  border-radius: 1px;
}
.legend-swatch-express { background: var(--primary-teal); }
.legend-swatch-restorative { background: var(--primary-blue); }

.note-text { font-size: 0.82rem; color: var(--mid); margin-top: 1rem; }
.note-text a { color: var(--primary-blue); }

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}
.badge-blush { background: var(--primary-teal);  color: var(--charcoal); }
.badge-green { background: #d6e8d7;       color: var(--primary-blue); }
.badge-spots { background: #d6e8d7;       color: var(--primary-blue); font-size: 0.72rem; }
.badge-full  { background: #f0ddd6;       color: #a05a45; font-size: 0.72rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  border-bottom: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

@media (max-width: 900px) {
  .nav { padding: 0 20px; }
}

.nav-logo {
  background: url(../img/logo/site-logo.png) no-repeat center;
  background-size: contain; 
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: transparent;
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  transition: color var(--transition);
  display: block;
  height: 50px;
  width: 150px;
}
.nav-logo:hover { color: var(--primary-blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary-blue); }

.nav-cta {
  background: var(--primary-blue) !important;
  color: #fff !important;
  padding:0.8rem 1.5rem !important;
  border-radius: 8px;
}
.nav-cta:hover { background: #6f7b9e !important; }

/* Mobile hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}
/* ============================================================
   HERO (used on Home + class pages)
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero:before {
  background-color: rgba(0, 14, 54, .6);
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s linear;
}

.hero-home .hero-bg {
  background-image: url('../img/bg-header-07.webp');
}
.hero-express .hero-bg {
  background-image: url('../img/bg-header-03.webp');
}
.hero-restorative .hero-bg {
  background-image: url('../img/bg-header-06.webp');
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
  padding: 6rem 5%;
  animation: fadeUp 0.8s ease both;
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 1.1rem;
  font-weight: 500;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 0.3rem;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-title em { font-style: normal;  color: var(--primary-teal); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  line-height: 1.5;
  margin: 1.4rem 0 2.2rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fadeUp 0.8s 0.4s ease both;
}

/* ============================================================
   OFFER BAND
   ============================================================ */
.offer-band {
  background: var(--primary-blue);
  color: #fff;
  text-align: center;
  padding: 1rem 5%;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.offer-band strong { font-weight: 500; }
.offer-band a {
   color: var(--primary-teal);
  border-bottom: 1px solid var(--primary-teal);
  padding-bottom: 2px;
  margin-left: 0.4rem;
  transition: opacity var(--transition);
}
.offer-band a:hover { opacity: 0.8; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 2rem;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }

.testimonial-card-stars {
  color: var(--primary-teal);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.testimonial-card blockquote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.testimonial-card-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.testimonial-card-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}
.testimonial-card cite {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mid);
  font-style: normal;
  font-weight: 500;
}

/* ============================================================
   CARDS GRID (feature cards)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--warm-white);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 1.8rem 1.5rem;
  transition: box-shadow var(--transition);
}

.section-alt .feature-card {
  background: #fff;
  border-color: var(--light-border);
}

.feature-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.feature-card-icon { font-size: 1.7rem; margin-bottom: 1.25rem; line-height: 1; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.feature-card p { font-size: 0.88rem; margin: 0; }

.pricing-after-intro .feature-card h3,
.pricing-after-intro .feature-card p {
  margin-bottom: 1rem;
}

/* ============================================================
   SPLIT SECTION (image + text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-reverse .split-visual { order: 2; }
.split-reverse .split-body   { order: 1; }

.split-visual {
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

/* ============================================================
   PRICING - CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.pricing-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.08); }
.pricing-card-featured {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px var(--primary-blue);
}

.pricing-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.pricing-card-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--light-border);
}

.pricing-card-price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.2rem;
  line-height: 1;
}
.pricing-card-price-large {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
}
.pricing-card-price-large sup {
  font-size: 1.3rem;
  vertical-align: top;
  margin-top: 0.5rem;
}
.pricing-card-price sup { font-size: 1.1rem; vertical-align: top; margin-top: 0.4rem; }
.pricing-card-price-note {
  font-size: 0.82rem;
  color: var(--mid);
  margin-bottom: 1.4rem;
}

.pricing-card-features {
  flex: 1;
  margin: 1rem 0 1.5rem 0;
}
.pricing-card-features li {
  font-size: 0.88rem;
  color: var(--mid);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--light-border);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-card .btn { width: 100%; text-align: center; }

/* ============================================================
   TIMETABLE
   ============================================================ */
.timetable-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-family: var(--font-body);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1.5px solid var(--light-border);
  background: #fff;
  color: var(--mid);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
}
.filter-btn:hover       { border-color: var(--primary-blue); color: var(--primary-blue); }
.filter-btn.active      { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }

.timetable-day-group { margin-bottom: 2.5rem; }

.timetable-day-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--light-border);
  margin-bottom: 0.8rem;
}

.class-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 0.7rem;
  transition: box-shadow var(--transition);
}
.class-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.class-card-restorative { border-left: 3px solid var(--primary-blue); }
.class-card-express     { border-left: 3px solid var(--primary-teal); }

.class-card-time {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.3;
}
.class-card-time-dur {
  font-size: 0.75rem;
  color: var(--mid);
  font-family: var(--font-body);
}

.class-card-info h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.class-card-info p {
  font-size: 0.8rem;
  color: var(--mid);
  margin: 0;
  line-height: 1.5;
}

.class-card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  white-space: nowrap;
}
.class-card-price {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--charcoal);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--light-border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.contact-info-text span {
  font-size: 0.9rem;
  color: var(--mid);
}
.contact-info-text a { color: var(--primary-blue); text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem}

.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--charcoal);
  background: #fff;
  border: 1.5px solid var(--light-border);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary-blue); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-success {
  display: none;
  background: #d6e8d7;
  color: var(--primary-blue);
  border-radius: 4px;
  padding: 1rem 1.4rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ============================================================
   TERMS & CONDITIONS
   ============================================================ */
.terms-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

.terms-toc {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  background: var(--warm-white);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  padding: 1.5rem;
}
.terms-toc h3 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--light-border);
}
.terms-toc a {
  display: block;
  font-size: 0.82rem;
  color: var(--mid);
  padding: 0.3rem 0;
  transition: color var(--transition);
  line-height: 1.5;
}
.terms-toc a:hover { color: var(--primary-blue); }

.terms-content h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 0.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-border);
}
.terms-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.terms-content h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--charcoal);
  margin: 1.5rem 0 0.5rem;
}
.terms-content p  { font-size: 0.9rem; margin-bottom: 0.8rem; }
.terms-content ol { padding-left: 1.5rem; color: var(--mid); font-size: 0.9rem; }
.terms-content ol li { margin-bottom: 0.6rem; line-height: 1.7; }
.terms-content ul  { padding-left: 1.5rem; color: var(--mid); font-size: 0.9rem; }
.terms-content ul li { margin-bottom: 0.4rem; list-style: disc; }
.terms-content a   { color: var(--primary-blue); text-decoration: underline; }
.terms-content strong { font-weight: 600; color: var(--charcoal); }

/* ============================================================
   PAGE HERO (inner pages - no full-bleed bg)
   ============================================================ */
.page-hero {
  background: var(--primary-blue);
  border-bottom: 1px solid var(--light-border);
  padding: 6rem 50px;
}

.page-hero .container {
  padding: 0;
}

.page-hero .eyebrow {
  color: var(--primary-teal);
}

.page-hero-title {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-hero-title em {
  font-style: italic;
  color: var(--primary-teal);
}
.page-hero p { 
  color: whitesmoke;
  max-width: 540px; 
  margin-top: 0.5rem; 
}

/* ============================================================
   ABOUT (home page about strip)
   ============================================================ */
.about-strip {
  background: var(--primary-blue);
  color: rgba(255,255,255,0.88);
}
.about-strip .section-title { color: #fff; }
.about-strip .section-title em {  color: var(--primary-teal); }
.about-strip p { color: rgba(255,255,255,0.72); }
.about-strip .divider { background: var(--primary-teal); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-section {
  background: white;
  text-align: center;
  padding: 5rem 5%;
}

.cta-section-alt {
  background: var(--warm-white);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.cta-section h2 em { font-style: normal; color: var(--primary-teal); }
.cta-section p { max-width: 500px; margin: 0 auto 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary-blue);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { width: 100%; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.35); border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; margin-top: 0.5rem; }

/* ============================================================
   NAV DROPDOWN
   ============================================================ */
.nav-dropdown { position: relative; }

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: auto;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--mid);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
  line-height: 1;
  margin-top: 3px;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--primary-blue);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--transition);
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 8px;
  min-width: 200px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 300;
}

.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mid) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition);
}

.nav-dropdown-menu a:hover {
  color: var(--primary-blue) !important;
  background: var(--warm-white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .split           { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse .split-visual,
  .split-reverse .split-body { order: unset; }
  .contact-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .terms-layout    { grid-template-columns: 1fr; }
  .terms-toc       { position: static; }
  .nav-cta { display: none !important; }

  /* Tablet-size hero tweaks: content column narrower than desktop's 50%
     text gets, but not yet full mobile width */
  .hero-content { max-width: 65%; }
  .hero-title   { font-size: 2.3rem; }
}

/* ============================================================
   PDF DOWNLOAD PROMPT + MODAL
   ============================================================ */

/* Inline PDF prompt banner — split design */
.pdf-prompt {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0;
  margin: auto auto 2.5rem auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--light-border);
  max-width: 800px;
}

.pdf-prompt-body {
  background: var(--warm-white);
  padding: 1.4rem 2rem;
}

.pdf-prompt-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.pdf-prompt-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.pdf-prompt-sub {
  font-size: 0.8rem;
  color: var(--mid);
  margin: 0;
  line-height: 1.5;
}

.pdf-prompt-cta {
  background: none;
  border: none;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 0rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.pdf-prompt-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.pdf-prompt-cta:hover .pdf-prompt-cta-icon { transform: translateY(2px); }

.pdf-prompt-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}
.pdf-prompt-cta-text strong {
  font-size: 0.88rem;
  font-weight: 600;
}
.pdf-prompt-cta-text small {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* Modal overlay */
.pdf-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(20,24,40,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pdf-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal card */
.pdf-modal {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2.2rem 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.pdf-modal-overlay.open .pdf-modal {
  transform: translateY(0) scale(1);
}

.pdf-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--mid);
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.pdf-modal-close:hover { color: var(--charcoal); background: var(--cream); }

.pdf-modal-icon {
  margin-bottom: 1.2rem;
}

.pdf-modal-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.pdf-modal-sub {
  font-size: 0.88rem;
  color: var(--mid);
  margin-bottom: 1.6rem;
  line-height: 1.6;
}

.pdf-modal-form .form-group {
  margin-bottom: 1rem;
}

.pdf-email-error {
  display: block;
  font-size: 0.78rem;
  color: #c0524a;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.pdf-modal-note {
  font-size: 0.75rem;
  color: var(--mid);
  text-align: center;
  margin-top: 0.9rem;
  opacity: 0.7;
}

/* Success state */
.pdf-modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding-top: 0.5rem;
}

.pdf-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #d6e8d7;
  color: var(--primary-blue);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.pdf-modal-success h3 {
  font-size: 1.2rem;
  color: var(--charcoal);
}

.pdf-modal-success p {
  font-size: 0.88rem;
  color: var(--mid);
}

.pdf-direct-download {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 680px) {
  .pdf-prompt { grid-template-columns: 1fr; }
  .pdf-prompt-cta { border-left: none; border-top: 1px dashed rgba(255,255,255,0.25); justify-content: center; }
  .pdf-modal { padding: 2rem 1.5rem 1.8rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--light-border);
    padding: 1.5rem 5%;
    gap: 1.2rem;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }

  /* Every row now stretches full width (align-items: stretch above);
     center each row's own content explicitly instead of relying on the
     row shrinking to fit, which shifted when the submenu opened */
  .nav-links > li { text-align: center; }

  /* Fix mobile CTA button */
  .nav-cta {
    display: inline-block !important;
    width: fit-content !important;
    padding: 0.7rem 1.2rem !important;
    font-size: 0.75rem !important;
  }

  /* Mobile dropdown */
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.3rem 0;
    margin-top: 0;
  }

  /* Touchscreens trigger :hover on tap, which fights with the click
     toggle below — disable hover-open on mobile and rely on .open only */
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0.25rem 0;
    margin-top: 0.25rem;
    width: 100%;
    text-align: center;
  }
  .nav-dropdown-menu a {
    padding: 0.4rem 0.5rem;
  }

  /* Hero: on small screens the text column should use the full width
     instead of the desktop 50%/tablet 65% split, and font sizes need
     to scale down so titles don't overflow or wrap awkwardly */
  .hero-content        { max-width: 100%; padding: 3.5rem 6% 3rem; }
  .hero-title          { font-size: 2rem; }
  .hero-sub            { font-size: 16px; max-width: 100%; margin: 1rem 0 1.6rem; }
  .hero-actions         { gap: 0.6rem; }
  .hero-actions .btn    { width: 100%; text-align: center; }

  .class-card           { grid-template-columns: 1fr; gap: 0.7rem; }
  .class-card-action   { align-items: flex-start; flex-direction: row; align-items: center; }
  .form-row             { grid-template-columns: 1fr; }
  .footer               { flex-direction: column; text-align: center; }
  .footer-links        { flex-wrap: wrap; justify-content: center; }
  .pricing-grid         { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.65rem; }
}
