:root {
  --bg: #0c1222;
  --surface: #111a30;
  --surface-alt: #f2f6ff;
  --text: #e8eeff;
  --text-dark: #0f1830;
  --muted: #a7b4d6;
  --primary: #3f7cff;
  --primary-dark: #2d5fd1;
  --accent: #1fd1a5;
  --border: #22355f;
  --shadow: 0 10px 24px rgba(4, 10, 24, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(160deg, #060a15 0%, #0d1834 48%, #102146 100%);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.site-header {
  padding-bottom: 3rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font: inherit;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 4rem 0 1.5rem;
}

.hero-with-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.hero-text {
  min-width: 0;
}

.hero-tag {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.hero h1,
.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.hero p,
.hero-text > p:not(.hero-tag) {
  max-width: 62ch;
  color: var(--muted);
}

.hero-slider-panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-slider-viewport {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s ease;
}

.hero-slide {
  flex: 0 0 100%;
  margin: 0;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 14, 32, 0.65);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.hero-slider-btn:hover {
  background: rgba(63, 124, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-slider-prev {
  left: 0.65rem;
}

.hero-slider-next {
  right: 0.65rem;
}

.hero-slider-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.hero-slider-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider-dots button.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-track {
    transition-duration: 0.01ms;
  }
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 0.72rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: #fff;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface-alt);
  color: var(--text-dark);
}

.section h2 {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  margin: 0 0 0.65rem;
}

.section-intro {
  margin-top: 0;
  margin-bottom: 1.4rem;
  max-width: 64ch;
}

.stats-grid,
.services-grid,
.coaching-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card,
.service-card,
.coach-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-alt .service-card {
  background: #fff;
  border-color: #d9e3ff;
  box-shadow: 0 10px 20px rgba(10, 25, 72, 0.08);
}

.stat-card h3 {
  font-size: 1.7rem;
  margin: 0;
  color: var(--accent);
}

.service-card h3,
.coach-card h3 {
  margin-top: 0;
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid #d9e3ff;
  padding: 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(10, 25, 72, 0.08);
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #c6d4f7;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.review-card h3 {
  margin-top: 0;
}

.review-rating {
  color: var(--accent);
  font-weight: 600;
}

.review-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.google-help-title {
  font-weight: 600;
  margin-top: 1rem;
}

.google-help-list {
  margin-top: 0.35rem;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.small-note {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-content a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-with-slider {
    grid-template-columns: 1fr;
  }

  .hero-with-slider .hero-slider-panel {
    order: -1;
  }

  .stats-grid,
  .services-grid,
  .coaching-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .review-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 4%;
    top: 64px;
    flex-direction: column;
    background: #0e1a36;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .stats-grid,
  .services-grid,
  .coaching-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}
