/* ===================================================
   7 Stars Cleaning & Upkeep — Main Stylesheet
   Mobile-first responsive design | Poppins font
   Design tokens: css/tokens.css
=================================================== */

@import url('tokens.css');

/* ---- Global polish ---- */
::selection {
  background: var(--yellow);
  color: var(--black);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h4 { font-size: 1rem; }
p  { color: var(--gray-700); }
.lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: #222;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img {
  height: 46px;
  width: auto;
}
.logo-fallback {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}
.logo-fallback .accent { color: var(--yellow); }

/* Header right: phone + hamburger */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 2px solid var(--yellow);
  transition: var(--transition);
  white-space: nowrap;
}
.header-phone:hover {
  background: var(--yellow);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--black);
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.site-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--black);
  z-index: 199;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-nav.is-open {
  display: block;
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  padding: 12px 0 16px;
}
.site-nav a {
  display: block;
  padding: 13px 24px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1rem;
  border-left: 4px solid transparent;
  transition: var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--yellow);
  border-left-color: var(--yellow);
  background: rgba(255,255,255,0.04);
}

/* ---- Desktop Nav ---- */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
    border: none;
    align-items: center;
    margin-left: 8px;
  }
  .site-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 2px;
    align-items: center;
  }
  .site-nav a {
    padding: 8px 13px;
    color: var(--text);
    font-size: 0.88rem;
    border-left: none;
    border-radius: var(--radius);
  }
  .site-nav a:hover,
  .site-nav a.active {
    color: var(--black);
    background: var(--yellow);
    border-left-color: transparent;
  }
  .header-inner {
    gap: 20px;
  }
}

/* ---- Hero (Home) ---- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  background: var(--black);
  overflow: hidden;
  isolation: isolate;
}
/* Directional gradient — darkens text side, fades to image on right */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.42) 52%,
    rgba(0,0,0,0.16) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.52;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 96px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: heroRise 0.7s var(--easing-out) 0.05s both;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 680px;
  animation: heroRise 0.75s var(--easing-out) 0.18s both;
}
.hero .lead {
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
  animation: heroRise 0.75s var(--easing-out) 0.3s both;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  animation: heroRise 0.7s var(--easing-out) 0.42s both;
}

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

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--black);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
/* Subtle warm glow on the right side */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 88% 50%,
    rgba(234,193,50,0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}
/* Yellow accent bar — bottom left */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  height: 4px;
  background: var(--yellow);
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  font-size: 1.05rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }

/* ---- Sections ---- */
.section {
  padding: 72px 0;
}
.section-sm {
  padding: 48px 0;
}
.section-alt {
  background: var(--gray-100);
}
.section-dark {
  background: var(--black);
}
.section-dark h2 { color: var(--white); }
.section-dark p   { color: rgba(255,255,255,0.7); }
.section-dark .lead { color: rgba(255,255,255,0.7); }

.section-header {
  margin-bottom: 48px;
}
.section-header h2 {
  margin-bottom: 12px;
}
.section-header p {
  max-width: 560px;
}
.section-header.centered { text-align: center; }
.section-header.centered p { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.divider {
  width: 56px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 14px 0 22px;
}
.divider-center {
  margin-inline: auto;
}

/* ---- Service Overview Cards (Home) ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: var(--transition);
}
.service-card:hover {
  border-bottom-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card-icon {
  width: 54px;
  height: 54px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 {
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.93rem;
  margin-bottom: 20px;
}
.service-card ul {
  margin-bottom: 20px;
}
.service-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-700);
  padding: 4px 0;
}
.service-card ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--black);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
  transition: var(--transition);
}
.card-link:hover { color: var(--yellow-dark); }

/* ---- Features / Why Choose Us ---- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 600px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-item {
  text-align: center;
  padding: 28px 20px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(234,193,50,0.12);
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--yellow);
}
.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--white);
}
.feature-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 5.5rem;
  color: var(--yellow);
  line-height: 1;
  font-weight: 700;
  opacity: 0.25;
}
.t-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--yellow);
}
.t-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.7;
}
.t-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}
.t-location {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--yellow);
  padding: 64px 0;
}
.cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .cta-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}
.cta-banner h2 {
  color: var(--black);
  margin-bottom: 8px;
}
.cta-banner p {
  color: rgba(0,0,0,0.65);
}
.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---- About / Split Layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-content h2 { margin-bottom: 14px; }
.split-content p  { margin-bottom: 14px; }
.split-content p:last-of-type { margin-bottom: 0; }

/* ---- Stats ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {
  text-align: center;
  padding: 24px 12px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-top: 4px solid var(--yellow);
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-top: 4px;
}

/* ---- Services Page ---- */
.service-category {
  padding: 56px 0;
}
.service-category + .service-category {
  border-top: 1px solid var(--gray-200);
}
.category-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}
.category-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.35;
}
.category-header h2 { margin-bottom: 8px; }

.service-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .service-items-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .service-items-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-item {
  display: flex;
  gap: 16px;
  padding: 22px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  border-left: 4px solid var(--yellow);
  transition: var(--transition);
}
.service-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.service-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-item h4 {
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.service-item p {
  font-size: 0.88rem;
}

/* ---- Service Area Page ---- */
.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-200);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-500);
  margin-bottom: 48px;
  font-weight: 600;
}
.map-placeholder svg { opacity: 0.4; }

.towns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) {
  .towns-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .towns-grid { grid-template-columns: repeat(4, 1fr); }
}
.town-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition);
}
.town-item:hover {
  border-color: var(--yellow);
  background: #fdfbee;
}
.town-item.is-featured {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.town-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.town-item.is-featured .town-dot {
  background: var(--black);
}

.coverage-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.keyword-tag {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ---- Contact Page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 340px 1fr; }
}
.contact-info-card {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: var(--white);
  height: fit-content;
}
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 28px;
  font-size: 1.3rem;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.ci-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
.ci-value a {
  color: var(--white);
  transition: var(--transition);
}
.ci-value a:hover { color: var(--yellow); }
.contact-phone-big {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
  transition: var(--transition);
}
.contact-phone-big:hover {
  background: var(--yellow-dark);
}

/* ---- Form Card ---- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.form-card h3 {
  margin-bottom: 6px;
}
.form-card .lead {
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 0 20px; }
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 7px;
}
.form-group .required-star {
  color: var(--yellow-dark);
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(234,193,50,0.18);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
.form-group select {
  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 d='M6 8L0 0h12z' fill='%23111111'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Checkboxes / Radio */
.check-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 4px;
}
.check-label,
.radio-label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}
.check-label:hover,
.radio-label:hover {
  border-color: var(--yellow);
  background: #fdfbee;
}
.check-label input,
.radio-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--yellow);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
}
.check-label input:checked ~ span,
.radio-label input:checked ~ span {
  color: var(--black);
}

/* ---- Join Team Page ---- */
.perks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
@media (min-width: 600px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .perks-grid { grid-template-columns: repeat(3, 1fr); } }

.perk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
}
.perk-icon {
  width: 46px;
  height: 46px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.perk-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.perk-item p {
  font-size: 0.87rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 52px;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
}
.footer-brand img {
  height: 42px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand-name .accent { color: var(--yellow); }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 11px;
}
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--yellow); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--yellow);
  margin-top: 1px;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-contact-item a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.footer-bottom a:hover { color: var(--yellow); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-sm  { margin-top: 16px; }
.mt-md  { margin-top: 24px; }
.mt-lg  { margin-top: 40px; }
.mb-sm  { margin-bottom: 16px; }
.mb-md  { margin-bottom: 24px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ---- Responsive section padding ---- */
@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .page-hero { padding: 72px 0 68px; }
}

/* =============================================
   SCROLL REVEAL — CSS class-based
   JS adds .is-visible when element enters view.
   Stagger delays set via --reveal-delay.
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity  0.65s var(--easing-out),
    transform 0.65s var(--easing-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Grid stagger delays */
.services-grid .service-card:nth-child(2)     { --reveal-delay: 100ms; }
.services-grid .service-card:nth-child(3)     { --reveal-delay: 200ms; }

.features-grid .feature-item:nth-child(2)     { --reveal-delay: 100ms; }
.features-grid .feature-item:nth-child(3)     { --reveal-delay: 200ms; }
.features-grid .feature-item:nth-child(4)     { --reveal-delay: 300ms; }

.testimonials-grid .testimonial-card:nth-child(2) { --reveal-delay: 100ms; }
.testimonials-grid .testimonial-card:nth-child(3) { --reveal-delay: 200ms; }

.service-items-grid .service-item:nth-child(2) { --reveal-delay: 80ms; }
.service-items-grid .service-item:nth-child(3) { --reveal-delay: 160ms; }

.perks-grid .perk-item:nth-child(2)  { --reveal-delay: 60ms; }
.perks-grid .perk-item:nth-child(3)  { --reveal-delay: 120ms; }
.perks-grid .perk-item:nth-child(4)  { --reveal-delay: 180ms; }
.perks-grid .perk-item:nth-child(5)  { --reveal-delay: 240ms; }
.perks-grid .perk-item:nth-child(6)  { --reveal-delay: 300ms; }

.stats-row .stat-item:nth-child(2)   { --reveal-delay: 75ms; }
.stats-row .stat-item:nth-child(3)   { --reveal-delay: 150ms; }
.stats-row .stat-item:nth-child(4)   { --reveal-delay: 225ms; }

/* =============================================
   MOBILE CTA BAR — fixed bottom, hidden ≥1024px
============================================= */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 300;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.18);
}
.mobile-cta-call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 56px;
  padding: 0 16px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-family-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition);
}
.mobile-cta-call:hover { background: #1a1a1a; }
.mobile-cta-quote {
  flex: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 20px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-family-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition);
}
.mobile-cta-quote:hover { background: var(--yellow-dark); }

/* Offset page content so bar doesn't overlap footer */
body { padding-bottom: 56px; }

@media (min-width: 1024px) {
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
}

/* =============================================
   FORM FEEDBACK & UTILITIES
============================================= */
.form-success {
  background: var(--yellow);
  color: var(--black);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 12px;
  text-align: center;
}

.legend-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 10px;
}

/* =============================================
   TESTIMONIALS SLIDER — multi-card responsive
   Desktop: 3 per view · Tablet: 2 · Mobile: 1
   JS reads --t-per-view to compute layout.
============================================= */
:root { --t-per-view: 1; }
@media (min-width: 640px) { :root { --t-per-view: 2; } }
@media (min-width: 900px) { :root { --t-per-view: 3; } }

.t-slider {
  position: relative;
}

.t-slider-viewport {
  overflow: hidden;
}

.t-slider-track {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.48s var(--easing-out);
  will-change: transform;
}

/* Slide widths match per-view: 1 card = 100%, 2 = half-gap, 3 = third-gap */
.t-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
}
@media (min-width: 640px) {
  .t-slide { flex: 0 0 calc(50% - 12px); }
}
@media (min-width: 900px) {
  .t-slide { flex: 0 0 calc(33.333% - 16px); }
}

/* Cards fill slide height so all cards in a row are equal height */
.t-slide .testimonial-card {
  flex: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.t-slide .testimonial-card .t-text {
  flex: 1;
}

/* Controls: prev · dots · next */
.t-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

/* Hide controls when all slides are visible (JS adds this class) */
.t-slider.is-all-visible .t-slider-controls {
  display: none;
}

.t-slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.t-slider-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.t-slider-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.t-slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.t-slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), border-color var(--transition), transform 0.22s var(--easing-out);
}
.t-slider-dot.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.3);
}
.t-slider-dot:hover:not(.is-active) {
  border-color: var(--yellow);
}
.t-slider-dot:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* =============================================
   PREFERS-REDUCED-MOTION
============================================= */
@media (prefers-reduced-motion: reduce) {
  /* Skip slider animation */
  .t-slider-track {
    transition: none;
  }

  /* Skip all reveal transitions */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* Skip hero entrance animations */
  .hero-eyebrow,
  .hero h1,
  .hero .lead,
  .hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
  /* Reduce all other motion to near-zero */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
