/* ==========================================================================
   Trekk Mobility — page-specific sections
   ========================================================================== */

/* ---------- Shared: full-bleed photo hero ---------- */

.photo-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
}
.photo-hero-media { position: absolute; inset: 0; z-index: 0; }
.photo-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero-overlay { position: absolute; inset: 0; z-index: 1; }
.photo-hero.tone-green .photo-hero-overlay {
  background: linear-gradient(100deg, rgba(6,16,14,0.92) 8%, rgba(6,16,14,0.72) 42%, rgba(18,209,142,0.35) 100%);
}
.photo-hero.tone-blue .photo-hero-overlay {
  background: linear-gradient(100deg, rgba(8,14,28,0.92) 8%, rgba(8,14,28,0.72) 42%, rgba(46,107,255,0.4) 100%);
}
.photo-hero > .container { position: relative; z-index: 2; }
.photo-hero .eyebrow { color: var(--accent); }
.photo-hero .eyebrow::before { background: var(--accent); }
.photo-hero h1 { color: #FFFFFF; }
.photo-hero .btn-row p { color: #C6D3D6; max-width: 380px; margin: 0; }
.photo-hero .btn-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 32px; }

.photo-hero .stat-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.photo-hero .stat-pill .stat-num { color: #FFFFFF; }
.photo-hero .stat-pill .stat-label { color: #C6D3D6; }

/* ---------- Shared: Product Showcase (device mockups + carousels) ---------- */

.showcase { overflow: visible; }
.showcase-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.showcase-copy .section-lede { max-width: 460px; margin: 20px 0 32px; }
.showcase-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.showcase-badge .dot-ind { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.showcase-devices {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px 0 56px;
}

.device-laptop { width: 100%; max-width: 620px; }
.device-phone {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 176px;
  z-index: 3;
}

/* Carousel core (shared by both devices) */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0B1220;
  overflow: hidden;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center center; display: block; }

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots .dot.is-active { background: var(--accent); transform: scale(1.35); }
.carousel-dots .dot:hover { background: var(--accent-2); }

/* Laptop frame */
.laptop-mockup { width: 100%; }
.laptop-screen {
  position: relative;
  background: #14171F;
  border-radius: 16px 16px 3px 3px;
  padding: 14px 14px 20px;
  box-shadow: 0 30px 70px rgba(11, 18, 32, 0.28);
}
.laptop-camera {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2A2E38;
}
.laptop-screen .carousel { aspect-ratio: 8 / 5; border-radius: 4px; background: #EEF0F3; }
.laptop-base {
  height: 14px;
  margin: 0 -22px;
  background: linear-gradient(180deg, #E4E7EB 0%, #C3C8CF 100%);
  border-radius: 0 0 10px 10px;
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background: #A8AEB6;
  border-radius: 0 0 6px 6px;
}

/* iPhone frame */
.iphone-mockup { width: 100%; }
.iphone-frame {
  position: relative;
  background: #14171F;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 20px 46px rgba(11, 18, 32, 0.3);
}
.iphone-frame .carousel { aspect-ratio: 393 / 852; border-radius: 26px; }
.iphone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 20px;
  background: #14171F;
  border-radius: 12px;
  z-index: 5;
}

@media (max-width: 900px) {
  .showcase-inner { grid-template-columns: 1fr; }
  .showcase-devices {
    flex-direction: column;
    gap: 36px;
    padding-bottom: 0;
  }
  .device-laptop { max-width: 480px; }
  .device-phone { position: static; width: 200px; }
}

/* ---------- HOME: Hero ---------- */

.home-hero { padding: 120px var(--gutter) 72px; }
.home-hero-copy { max-width: 640px; }
.home-hero .display-xl { margin-bottom: 22px; }

/* ---------- HOME: Full-width banner hero ---------- */

.trekk-hero { overflow: visible; }

.trekk-hero-top {
  background: linear-gradient(150deg, #081A11 0%, #0E2C1C 55%, #123723 100%);
  padding: 120px var(--gutter) 96px;
  position: relative;
  overflow: hidden;
}
.trekk-hero-top::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -14%;
  width: 480px;
  height: 480px;
  max-width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 214, 122, 0.18), rgba(52, 214, 122, 0) 70%);
  pointer-events: none;
}

.trekk-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.trekk-hero-copy { max-width: 560px; }
.trekk-hero-copy .display-xl { color: #FFFFFF; margin-bottom: 28px; }
.trekk-hero-copy .btn-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.trekk-hero-eyebrow {
  display: inline-flex;
  background: rgba(52, 214, 122, 0.12);
  border: 1px solid rgba(52, 214, 122, 0.35);
  color: #7FEBAA;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.trekk-hero-eyebrow::before { background: #34D67A; }

.trekk-hero-lede {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin: 28px 0 0;
}

.trekk-hero-phones {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
}
.trekk-hero-phones .phone-sm {
  width: clamp(88px, 13vw, 150px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.15);
}
.trekk-hero-phones .phone-lg {
  width: clamp(150px, 21vw, 260px);
  border-radius: 34px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 6px solid #0B1710;
  margin-top: -14px;
}

.trekk-hero-cards {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
  margin-top: -56px;
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.trekk-card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(15, 45, 30, 0.14);
  padding: 20px;
}
.trekk-card img { width: 100%; display: block; border-radius: 12px; }

.trekk-card-dashboard .trekk-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.trekk-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EAFBF1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trekk-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #0B1F14;
  flex: 1;
}
.trekk-card-badge {
  font-size: 12px;
  font-weight: 600;
  color: #1FAE63;
  background: #EAFBF1;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.trekk-card-dashboard img { border: 1px solid #EEF3F0; }

.trekk-card-stat { display: flex; align-items: center; justify-content: center; }
.trekk-card-stat img { border-radius: 0; }

@media (max-width: 900px) {
  .trekk-hero-grid { grid-template-columns: 1fr; }
  .trekk-hero-phones { margin-top: 40px; }
  .trekk-hero-cards { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .trekk-card-dashboard { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .trekk-hero-top { padding: 100px var(--gutter) 64px; }
  .trekk-hero-cards { grid-template-columns: 1fr; margin-top: 24px; padding-bottom: 40px; }
}

.home-stats {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.home-stats .stat-pill { width: 190px; }
.home-stats .stat-pill .stat-num { font-size: 30px; }

/* ---------- HOME: Stats bar ---------- */

.stats-section { background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats-bar .stat-block { text-align: center; }
.stats-bar .stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--accent-2);
  display: block;
  margin-bottom: 6px;
}
.stats-bar .stat-label { color: var(--muted); font-size: 15px; }

/* ---------- HOME: About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission-vision h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--ink);
}

.mission-vision p { color: var(--muted); }

.about-photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* ---------- HOME: Why choose us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.why-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.why-grid.cols-1 { grid-template-columns: 1fr; margin-top: 20px; }

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.why-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(18, 209, 142, 0.12);
  color: var(--accent);
}
.why-card:nth-child(2n) .icon { background: rgba(46, 107, 255, 0.1); color: var(--accent-2); }
.why-card h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.why-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- HOME: Industries we power ---------- */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.industry-card .icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 176, 32, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-warm);
}
.industry-card:nth-child(3n+2) .icon { background: rgba(18, 209, 142, 0.12); color: var(--accent); }
.industry-card:nth-child(3n) .icon { background: rgba(46, 107, 255, 0.1); color: var(--accent-2); }
.industry-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.industry-card p { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- HOME: Featured work (photo case studies) ---------- */

.work-section { background: var(--bg-raised); }
.work-grid { display: grid; grid-template-columns: 0.7fr 1fr; gap: 64px; }
.work-intro p { color: var(--muted); margin-top: 20px; }

.work-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.work-card .work-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.work-card .work-photo img { width: 100%; height: 100%; object-fit: cover; }
.work-card .work-body { padding: 20px 22px 24px; }

.work-card.is-dim { opacity: 0.55; }

.work-card .tag { color: var(--accent-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 6px; }
.work-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 19px; margin: 0 0 10px; color: var(--ink); }
.work-card a { color: var(--ink); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.work-card a:hover { color: var(--accent-2); }

/* ---------- SERVICES ---------- */

.services-detail { background: var(--bg); }
.services-layout { max-width: 640px; display: flex; flex-direction: column; gap: 48px; margin: 0 auto; }
.services-layout.split { max-width: none; flex-direction: row; align-items: flex-start; gap: 56px; }

.service-highlight h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 14px; color: var(--ink); }
.service-highlight p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.service-highlight ul { list-style: none; padding: 0; font-size: 15px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.service-highlight ul li { position: relative; padding-left: 26px; }
.service-highlight ul li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(18, 209, 142, 0.15);
  border: 1.5px solid var(--accent);
}

.service-list { display: flex; flex-direction: column; flex: 0 0 320px; }
.service-list li { list-style: none; }
.service-list button {
  width: 100%;
  text-align: left;
  padding: 15px 18px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.service-list button:hover { background: var(--bg-raised); color: var(--ink); }
.service-list button[aria-selected="true"] { color: var(--ink); background: var(--bg-raised); box-shadow: inset 3px 0 0 var(--accent); }

/* ---------- ACADEMY ---------- */

.academy-hero { padding-top: 40px; }
.academy-hero-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 60px var(--gutter);
  box-shadow: var(--shadow-lg);
}
.academy-hero-panel img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; z-index: 0;
}
.academy-hero-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,16,14,0.9) 15%, rgba(6,16,14,0.55) 55%, rgba(18,209,142,0.3) 100%);
  z-index: 0;
}
.academy-hero-content { position: relative; z-index: 1; max-width: 780px; }
.academy-hero-content .eyebrow { color: var(--accent); }
.academy-hero-content .eyebrow::before { background: var(--accent); }
.academy-hero-content h1 { color: #FFFFFF; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.2; }
.academy-hero-content .btn-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.academy-hero-content .btn-row p { color: #E7EEEC; max-width: 460px; margin: 0; font-size: 17px; }

.courses-grid { display: grid; grid-template-columns: 0.75fr 1fr; gap: 64px; align-items: start; }
.course-list { display: flex; flex-direction: column; gap: 20px; }
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.course-card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: rgba(18, 209, 142, 0.12);
  color: var(--accent);
}
.course-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 19px; margin: 0 0 10px; color: var(--ink); }
.course-card p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.course-card a { color: var(--accent-2); font-weight: 600; font-size: 14px; }

.tutors-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.tutors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tutor-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.5; box-shadow: var(--shadow-sm); }
.tutor-card img { width: 100%; height: 100%; object-fit: cover; }
.tutor-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(6,16,14,0.85) 0%, rgba(6,16,14,0) 100%);
  padding: 44px 20px 18px;
}
.tutor-caption p { margin: 0; color: #FFFFFF; }
.tutor-caption .name { font-weight: 600; font-size: 19px; }
.tutor-caption .role { font-weight: 400; font-size: 14px; color: #C6D3D6; }

.testimonials-section { overflow: hidden; background: var(--bg-raised); }
.testimonial-row { display: flex; gap: 20px; }
.testimonial-track { display: flex; flex-direction: column; gap: 18px; }
.testimonial-track .testimonial-row:nth-child(2) { animation: scroll-left 40s linear infinite; }
.testimonial-track .testimonial-row:nth-child(1) { animation: scroll-right 40s linear infinite; }

@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  width: 320px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.testimonial-person { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.testimonial-person img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.testimonial-person .name { font-weight: 600; font-size: 15px; color: var(--ink); }
.testimonial-person .handle { font-weight: 400; font-size: 12px; color: var(--dim); }
.testimonial-card p.quote { font-size: 13px; margin: 0; color: var(--muted); line-height: 1.5; }

/* ---------- CONTACT ---------- */

.contact-hero-top { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.contact-hero-top p { color: var(--muted); max-width: 480px; }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.contact-offices h4, .contact-extra h4 { font-weight: 700; font-size: 18px; margin: 0 0 12px; color: var(--ink); }
.contact-offices p, .contact-extra p { font-size: 14px; color: var(--muted); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.contact-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.contact-form-section { margin-top: 72px; }
.contact-form-section h3 { font-weight: 600; font-size: 28px; margin-bottom: 8px; color: var(--ink); }
.contact-form-section > p { color: var(--muted); max-width: 640px; margin: 0 0 32px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; max-width: 720px; margin: 0 auto; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%235B6B72' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.contact-form select:invalid { color: var(--dim); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--dim); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent-2); }
.contact-form button { align-self: center; width: 100%; }
.contact-form input:invalid:not(:placeholder-shown) { border-color: #E8695B; }
.form-note { font-size: 13px; color: var(--dim); text-align: center; margin: 0; }

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

.phone-field { display: flex; gap: 8px; }
.phone-country-select { flex: 0 0 132px; min-width: 0; padding-left: 12px; padding-right: 34px; font-size: 14px; }
.phone-field input { flex: 1; min-width: 0; }

@media (max-width: 480px) {
  .phone-field { flex-wrap: wrap; }
  .phone-country-select { flex: 1 1 100%; }
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  text-align: left;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}
.form-check a { color: var(--accent-2); text-decoration: underline; }

/* ---------- Shared: checklist grid ---------- */

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 24px;
  margin: 32px 0;
}
.checklist-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}
.checklist-item::before {
  content: "";
  flex-shrink: 0;
  margin-top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(18, 209, 142, 0.15);
  border: 1.5px solid var(--accent);
}
.checklist-item.on-dark { color: #E7EEEC; }

/* ---------- Shared: numbered steps ---------- */

.steps-list { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--accent-2);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 19px; margin: 0 0 8px; color: var(--ink); }
.step-item p { color: var(--muted); font-size: 15px; margin: 0; }
.step-item ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Shared: pricing ---------- */

.currency-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.currency-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.currency-btn.is-active {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.currency-btn:not(.is-active):hover { color: var(--ink); }
.currency-note { font-size: 13px; color: var(--dim); margin: 16px 0 0; }
.currency-note a { color: var(--accent-2); text-decoration: underline; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pricing-card .price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--dim); margin-top: 4px; }
.pricing-card .stat-row { display: flex; gap: 18px; margin: 4px 0 18px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-card .stat-row div { flex: 1; }
.pricing-card .stat-row span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--dim); margin-bottom: 3px; }
.pricing-card .stat-row strong { font-family: var(--font-display); font-size: 15px; color: var(--ink); font-weight: 600; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.pricing-card.is-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  position: relative;
  transform: translateY(-8px);
}
.pricing-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pricing-card .eyebrow { margin-bottom: 6px; }
.pricing-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin: 0 0 4px; color: var(--ink); }
.pricing-card .price { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--ink); margin: 14px 0 4px; }
.pricing-card .price span { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); }
.pricing-card .price-note { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-card li { position: relative; padding-left: 22px; font-size: 14px; color: var(--muted); }
.pricing-card li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(18, 209, 142, 0.15);
  border: 1.5px solid var(--accent);
}
.pricing-card .btn { width: 100%; }

/* ---------- Shared: comparison table ---------- */

.compare-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); background: var(--bg-raised); }
.compare-table tbody td:first-child { color: var(--muted); }
.compare-table tbody td:last-child { color: var(--ink); font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Pricing: full feature comparison matrix ---------- */

.feature-matrix-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); margin-top: 40px; }
.feature-matrix { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--surface); }
.feature-matrix th, .feature-matrix td { padding: 13px 18px; text-align: left; font-size: 13.5px; line-height: 1.4; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.feature-matrix thead th { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); background: var(--bg-raised); vertical-align: middle; }
.feature-matrix thead th:first-child { min-width: 220px; }
.feature-matrix th:not(:first-child), .feature-matrix td:not(:first-child) { text-align: center; width: 21%; }
.feature-matrix tbody th { text-align: left; font-family: var(--font-body); font-weight: 600; font-size: 13.5px; color: var(--ink); background: transparent; }
.feature-matrix tbody tr:last-child td, .feature-matrix tbody tr:last-child th { border-bottom: none; }
.feature-matrix .matrix-section th { background: var(--bg-raised); font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-2); text-align: left; }
.feature-matrix .yes { color: var(--accent); font-weight: 700; }
.feature-matrix .no { color: var(--dim); }
.feature-matrix .opt { color: var(--accent-2); font-weight: 600; font-size: 12px; }
.feature-matrix .matrix-longtext { text-align: left; font-size: 12.5px; }

/* ---------- Shared: FAQ accordion ---------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent-2);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; margin: 0 0 20px; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .pricing-grid, .pricing-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .services-hero-grid, .work-grid, .about-grid, .about-lower,
  .courses-grid, .contact-hero-top { grid-template-columns: 1fr; }
  .why-grid, .why-grid.cols-3, .contact-offices, .contact-extra, .tutors-grid, .industries-grid, .work-cards, .form-row { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .services-layout.split { flex-direction: column; }
  .service-list { flex: none; }
  .footer-offices { grid-template-columns: repeat(2, 1fr); }
  .mission-vision { grid-template-columns: 1fr; }
  .home-stats { flex-direction: column; }
  .home-stats .stat-pill { width: 100%; }
  .checklist-grid, .checklist-grid.cols-2 { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid.cols-3 { grid-template-columns: 1fr; }
  .pricing-card.is-featured { transform: none; }
  .pricing-card .stat-row { flex-wrap: wrap; gap: 12px; }
  .step-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 16px; }
}

/* ---------- SCOOTEASY PARTNER PAGES ---------- */

.scooteasy-hero { min-height: 560px; }

.scooteasy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.scooteasy-copy {
  color: var(--muted);
  font-size: 18px;
}

.scooteasy-copy p:first-child { margin-top: 0; }

.scooteasy-links-section {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}

.scooteasy-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.scooteasy-link-card {
  min-height: 230px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.scooteasy-link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.scooteasy-link-card span {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scooteasy-link-card strong {
  display: block;
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
}

.scooteasy-link-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.legal-hero {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.legal-hero-inner {
  max-width: 900px;
}

.legal-hero-inner p:last-child {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

.legal-document {
  max-width: 900px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.legal-document h2 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  margin: 34px 0 10px;
}

.legal-document h2:first-of-type { margin-top: 26px; }

.legal-document p {
  color: var(--muted);
  margin: 0 0 16px;
}

.legal-document a,
.support-panel a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: underline;
}

.support-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.support-panel h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 12px;
}

.support-panel p {
  color: var(--muted);
  margin: 0;
}

.account-delete-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .scooteasy-grid,
  .scooteasy-links,
  .support-panel { grid-template-columns: 1fr; }
  .scooteasy-link-card { min-height: auto; }
}
