/* =========================================
   KAMASWITHRU — Core Stylesheet
   Design language: thefutur.com
   ========================================= */

/* Fonts loaded via <link> in HTML for better performance */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --white:   #ffffff;
  --off-white: #f2f2f0;
  --light:   #ebebeb;
  --border:  #d8d8d8;
  --muted:   #6b6b6b;
  --body:    #1a1a1a;
  --red:     #C41E3A;
  --red-dark:#9e1830;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container: 1280px;
  --px: clamp(20px, 4vw, 60px);
  --section: clamp(72px, 10vw, 120px);

  --nav-h: 68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ---- Typography ---- */
.label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.label--red { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p { font-size: 1rem; line-height: 1.7; color: var(--muted); }
p.large { font-size: clamp(1rem, 1.5vw, 1.2rem); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 0;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
}
.btn--primary:hover { background: #2a2a2a; border-color: #2a2a2a; }

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--white {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--white);
}
.btn--white:hover { background: var(--off-white); border-color: var(--off-white); }

.btn--white-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--white-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--red {
  background: var(--red);
  color: var(--white);
  border: 1.5px solid var(--red);
}
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-arrow { font-size: 1rem; transition: transform 0.18s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.2s;
  display: flex;
  align-items: stretch;
}

.nav > .container {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.nav--dark {
  background: var(--black);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  width: 100%;
}

.nav__inner .nav__logo { justify-self: start; }

.nav__inner .nav__links { justify-self: center; }

.nav__inner .nav__cta,
.nav__inner .nav__hamburger { justify-self: end; }

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1;
}

.nav--dark .nav__logo { color: var(--white); }

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

.nav--dark .nav__link { color: rgba(255,255,255,0.6); }

.nav__link:hover,
.nav__link.active { color: var(--black); }

.nav--dark .nav__link:hover,
.nav--dark .nav__link.active { color: var(--white); }

.nav__cta {
  margin-left: 20px;
  align-self: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: all 0.2s;
}
.nav--dark .nav__hamburger span { background: var(--white); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px var(--px);
  z-index: 999;
  flex-direction: column;
  gap: 20px;
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
}

/* ---- Page Wrapper ---- */
.page { padding-top: var(--nav-h); }

/* ---- Hero — Dark ---- */
.hero-dark {
  position: relative;
  background: var(--black);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-dark__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-dark__video iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  pointer-events: none;
}

.hero-dark__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.hero-dark__content {
  position: relative;
  z-index: 2;
  padding: var(--section) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-dark__pre {
  color: var(--red);
  margin-bottom: 20px;
}

.hero-dark h1 { color: var(--white); }

.hero-dark h1 em {
  font-style: normal;
  display: block;
  color: rgba(255,255,255,0.35);
}

.hero-dark__sub {
  margin-top: 24px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.65;
  text-align: center;
}

.hero-dark__actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Hero — Light ---- */
.hero-light {
  background: var(--white);
  padding: var(--section) 0;
  border-bottom: 1px solid var(--border);
}

.hero-light h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-light--split { padding: 0; }

.hero-light__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.hero-light__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section) var(--px) var(--section) 0;
}

.hero-light__image {
  position: relative;
  overflow: hidden;
}

.hero-light__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 768px) {
  .hero-light__grid { grid-template-columns: 1fr; }
  .hero-light__image { aspect-ratio: 3/4; position: relative; }
  .hero-light__content { padding: var(--section) 0; }
}

/* ---- Credentials bar ---- */
.credentials {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}

.credentials__inner {
  display: flex;
  align-items: stretch;
}

.credential-item {
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-item:last-child { border-right: none; }

.credential-item__number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
}

.credential-item__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---- Section ---- */
.section { padding: var(--section) 0; }
.section--dark { background: var(--black); }
.section--off { background: var(--off-white); }

.section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

.section__header--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__header .label { margin-bottom: 16px; }

.section__header p {
  max-width: 480px;
  padding-top: 4px;
}

/* ---- Cards ---- */
.card {
  display: flex;
  flex-direction: column;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

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

.card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
}

.card:nth-child(3n) { border-right: none; }
.card-grid--2 .card:nth-child(2n) { border-right: none; }

.card:hover { background: var(--off-white); }
.section--dark .card:hover { background: #1a1a1a; }

.card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--black);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.card:hover .card__image img { transform: scale(1.04); }

.card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__body > ul { flex: 1; }

.card__body > .btn,
.card__body > a.btn { margin-top: auto; }

.card__label { margin-bottom: 12px; }

.card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.2;
}

.card__desc { font-size: 0.9rem; margin-bottom: 20px; }

.card__link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.18s;
}

.card:hover .card__link { gap: 10px; }

/* ---- Service cards ---- */
.service-card {
  padding: 40px 36px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-card:nth-child(3n)  { border-right: none; }
.card-grid--4 .service-card:nth-child(3n)  { border-right: 1px solid var(--border); }
.card-grid--4 .service-card:nth-child(4n)  { border-right: none; }
.card-grid--2 .service-card:nth-child(2n)  { border-right: none; }

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 12px;
}

.service-card__desc { font-size: 0.9rem; margin-bottom: 24px; }

.service-card__price {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ---- Split section ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--black);
}

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

.split__content {
  padding: clamp(40px, 6vw, 80px);
}

.split__content .label { margin-bottom: 20px; }
.split__content p { margin-top: 20px; max-width: 440px; }
.split__content .btn { margin-top: 36px; }

/* ---- Video embed ---- */
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--black);
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

.pricing-card {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.pricing-card:last-child { border-right: none; }

.pricing-card--featured {
  background: var(--black);
  color: var(--white);
}

.pricing-card__label { margin-bottom: 16px; }
.pricing-card--featured .pricing-card__label { color: var(--red); }

.pricing-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-card--featured .pricing-card__title { color: var(--white); }

.pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
  margin: 20px 0 4px;
}

.pricing-card--featured .pricing-card__price { color: var(--white); }

.pricing-card__period {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.pricing-card--featured .pricing-card__period { color: rgba(255,255,255,0.5); }

.pricing-card__features {
  flex: 1;
  margin-bottom: 32px;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--body);
}

.pricing-card--featured .pricing-card__feature {
  border-top-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}

.pricing-card__check {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--border); }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  background: none;
  border: none;
}

.faq-item__q svg {
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-item__q svg { transform: rotate(45deg); }

.faq-item__a {
  display: none;
  padding-bottom: 24px;
}

.faq-item.open .faq-item__a { display: block; }

.faq-item__a p { color: var(--muted); font-size: 0.95rem; }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

.testimonial {
  padding: 36px;
  border-right: 1px solid var(--border);
}

.testimonial:last-child { border-right: none; }

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 24px;
}

.testimonial__quote::before { content: '\201C'; color: var(--red); font-size: 1.4em; }
.testimonial__quote::after  { content: '\201D'; color: var(--red); font-size: 1.4em; }

.testimonial__name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
}

.testimonial__role { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* ---- CTA Band ---- */
.cta-band {
  background: var(--black);
  padding: clamp(60px, 8vw, 100px) 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 { color: var(--white); }

.cta-band p {
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin-top: 16px;
}

.cta-band__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ---- Form ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.form-side {
  padding: clamp(32px, 5vw, 64px);
}

.form-side--dark {
  background: var(--black);
}

.form-side--dark h2 { color: var(--white); }
.form-side--dark p { color: rgba(255,255,255,0.5); margin-top: 16px; }

.form-side--dark .form-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.form-side--dark .form-detail strong { color: var(--white); display: block; margin-bottom: 2px; font-family: var(--font-display); font-weight: 700; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 400;
}

.form-check label a { text-decoration: underline; }

/* ---- About page ---- */
.accolades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}

.accolade {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
}

.accolade:last-child { border-right: none; }

.accolade__year {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.accolade__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}

.accolade__desc { font-size: 0.85rem; }

.timeline { margin-top: 48px; }

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.timeline-item__year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  padding-top: 4px;
}

.timeline-item__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}

.timeline-item__desc { font-size: 0.9rem; }

/* ---- Legal pages ---- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px var(--px);
}

.legal-content h1 { margin-bottom: 8px; }
.legal-content .legal-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 48px; }

.legal-content h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
}

.legal-content h3 { font-size: 1rem; margin: 24px 0 8px; }

.legal-content p { margin-bottom: 16px; font-size: 0.95rem; }

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.legal-content a { text-decoration: underline; }

/* ---- Footer ---- */
.footer {
  background: var(--black);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__main {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

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

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: all 0.18s;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer__social:hover {
  border-color: var(--white);
  color: var(--white);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.15s;
}

.footer__link:hover { color: var(--white); }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.15s;
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ---- Announcement Bar ---- */
:root { --bar-h: 44px; }

.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-dark);
  padding: 0 var(--px);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  z-index: 1001;
}

.announce-bar a { text-decoration: underline; opacity: 0.85; }
.announce-bar a:hover { opacity: 1; }

/* Push nav below the bar on pages that have it */
body:has(.announce-bar) .nav { top: var(--bar-h); }
body:has(.announce-bar) .page { padding-top: calc(var(--nav-h) + var(--bar-h)); }
body:has(.announce-bar) .nav__mobile { top: calc(var(--nav-h) + var(--bar-h)); }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }
.text-red { color: var(--red); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.divider--dark { border-top-color: rgba(255,255,255,0.08); }

/* ---- Nav scrolled state (homepage: dark→light past hero) ---- */
.nav { transition: background 0.3s, border-color 0.3s; }

/* When .nav--dark is removed on scroll, these revert to default (white nav) */
/* The btn--white-outline swap is handled in JS */

/* ---- Shared hero actions row ---- */
.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ---- Mobile hero: static image fallback when video is hidden ---- */
@media (max-width: 768px) {
  .hero-dark {
    background-image: url('https://cdn.voyagela.com/wp-content/uploads/2024/08/c-1722575085614-personal_rudy_reynon_jss_0015.jpg');
    background-size: cover;
    background-position: center top;
  }
}

/* ---- Footer email link (replaces inline onmouseover) ---- */
.footer-email-link {
  color: rgba(255,255,255,0.45);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s;
}
.footer-email-link:hover { color: rgba(255,255,255,0.9); }

/* ---- Global alignment & breathing room ---- */

/* Section label + heading should always have consistent top-gap  */
.section__header .label,
.section__header--center .label { display: block; }

/* Hero sub-text shouldn't bleed to the edge on mid widths */
.hero-dark__content { max-width: 900px; }
.hero-light .container > * { max-width: 100%; }

/* Split: align content column to the top (not stretched to image height center) */
.split__content {
  align-self: center;
}

/* Service cards in 3-col homepage grid: last bottom row has no bottom border needed */
.card-grid .service-card:last-child { border-bottom: none; }

/* Credential items last row: remove extra bottom padding appearance */
.credentials__inner .credential-item:last-child { border-right: none; }

/* Testimonial grid: last item never has a right border */
.testimonials-grid .testimonial:last-child { border-right: none; }

/* Ensure pricing cards have consistent internal top padding */
.pricing-card__features .pricing-card__feature:first-child {
  border-top: none;
  padding-top: 0;
}

/* Timeline breathing room */
.timeline { border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; }

/* FAQ: last item no extra visual weight */
.faq-item:last-child { border-bottom: none; }

/* Legal content links are readable */
.legal-content a { color: var(--black); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid .card:nth-child(3n) { border-right: 1px solid var(--border); }
  .card-grid .card:nth-child(2n) { border-right: none; }

  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 .service-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .card-grid--4 .service-card:nth-child(4n) { border-right: 1px solid var(--border); }
  .card-grid--4 .service-card:nth-child(2n) { border-right: none; }
  .card-grid--4 .service-card:nth-child(3),
  .card-grid--4 .service-card:nth-child(4) { border-top: 1px solid var(--border); }

  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card:nth-child(2) { border-right: none; }
  .pricing-card:nth-child(3) { border-top: 1px solid var(--border); border-right: none; grid-column: 1/-1; }

  .accolades { grid-template-columns: repeat(2, 1fr); }
  .accolade:nth-child(even) { border-right: none; }
  .accolade:nth-child(n+3) { border-top: 1px solid var(--border); }
  .accolade:nth-child(odd):not(:first-child) { border-top: 1px solid var(--border); }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial { border-right: none; border-bottom: 1px solid var(--border); }
  .testimonial:last-child { border-bottom: none; }

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

  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { justify-content: center; }
  .cta-band p { margin: 16px auto 0; }

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

@media (max-width: 768px) {
  :root { --section: 56px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero-dark__video { display: none; }

  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .split__image { aspect-ratio: 4/3; }

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

  .card-grid,
  .card-grid--2,
  .card-grid--4 { grid-template-columns: 1fr; }
  .card { border-right: none !important; }
  .card__image { aspect-ratio: 3/2; }

  .curriculum-grid { grid-template-columns: 1fr !important; }
  .curriculum-grid > div { border-right: none !important; border-bottom: 1px solid var(--border); padding: 28px 24px !important; }
  .curriculum-grid > div:last-child { border-bottom: none; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; border-bottom: 1px solid var(--border); }
  .pricing-card--featured .pricing-card__feature { border-top-color: rgba(255,255,255,0.1); }

  .footer__main { grid-template-columns: 1fr; gap: 32px; }

  .credentials__inner { flex-direction: column; }
  .credential-item { border-right: none; border-bottom: 1px solid var(--border); }
  .credential-item:last-child { border-bottom: none; }

  .accolades { grid-template-columns: 1fr; }
  .accolade { border-right: none; border-bottom: 1px solid var(--border); }

  .timeline-item { grid-template-columns: 72px 1fr; gap: 16px; }
}
