/* ============================================================
   ByteBase Tutoring — Light Neumorphism Design System
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
  /* Surface & Background */
  --bg: #e8ecf1;

  /* Neumorphic Shadows */
  --shadow-dark: rgba(163, 177, 198, 0.6);
  --shadow-light: rgba(255, 255, 255, 0.8);
  --shadow-inset-dark: rgba(163, 177, 198, 0.5);
  --shadow-inset-light: rgba(255, 255, 255, 0.5);

  /* Accent Colors */
  --accent: #4a7cf7;
  --accent-hover: #3a6ae0;
  --accent-soft: #6b9aff;
  --accent-amber: #e8973f;
  --accent-green: #48bb78;

  /* Text Colors */
  --text-heading: #2d3748;
  --text-body: #4a5568;
  --text-muted: #8896ab;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radii */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 50px;

  /* Transitions */
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  font-family: var(--font-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-main);
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.center {
  text-align: center;
}

/* ── SECTION LABELS & TITLES ────────────────────────────────── */
.section-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--text-heading);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── NEUMORPHIC UTILITIES ───────────────────────────────────── */
.neu-raised {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

.neu-raised:hover {
  box-shadow:
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.neu-inset {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow:
    inset 4px 4px 8px var(--shadow-inset-dark),
    inset -4px -4px 8px var(--shadow-inset-light);
}

.neu-raised-sm {
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow:
    3px 3px 6px var(--shadow-dark),
    -3px -3px 6px var(--shadow-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px rgba(0,0,0,0.15),
    inset -3px -3px 6px rgba(255,255,255,0.1);
}

.btn-ghost {
  background: var(--bg);
  color: var(--text-heading);
  box-shadow:
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

.btn-ghost:hover {
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  transform: translateY(-2px);
  color: var(--accent);
}

.btn-ghost:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px var(--shadow-inset-dark),
    inset -3px -3px 6px var(--shadow-inset-light);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: var(--bg);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow:
    0 4px 12px var(--shadow-dark);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  gap: 0;
}

.logo-bracket {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  font-style: normal;
  font-variant-ligatures: none;
}

.logo-name {
  color: var(--text-heading);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.float-el {
  position: absolute;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--text-muted);
  opacity: 0.1;
  left: var(--x);
  top: var(--y);
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay);
  user-select: none;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 20px;
  min-height: 1.3em;
}

.typing-text {
  display: inline;
}

.cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.social-proof {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.proof-pill {
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-icon {
  font-size: 1.1rem;
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.about-photo-col {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-placeholder {
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  border-radius: 50%;
}

.photo-icon {
  font-size: 5rem;
}

.credential-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
}

.about-text {
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1rem;
}

.about-quote {
  padding: 24px 28px;
  margin-top: 24px;
  border-left: 3px solid var(--accent);
}

.about-quote p {
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.service-card {
  padding: 40px 32px;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-family: var(--font-mono);
  color: var(--accent);
  border-radius: 50%;
}

.code-icon {
  font-family: var(--font-mono);
  font-style: normal;
  font-variant-ligatures: none;
  letter-spacing: 2px;
  white-space: nowrap;
}

.service-name {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.service-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.topic-tag {
  padding: 6px 14px;
  background: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-muted);
  box-shadow:
    2px 2px 4px var(--shadow-dark),
    -2px -2px 4px var(--shadow-light);
}

.service-grades {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.grade-badge {
  padding: 6px 14px;
  background: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  box-shadow:
    2px 2px 4px var(--shadow-dark),
    -2px -2px 4px var(--shadow-light);
}

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

.service-card-wide {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  max-width: 700px;
  margin: 0 auto;
}

.service-card-wide:hover {
  transform: translateY(-2px);
}

.service-icon-sm {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.service-wide-content h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.service-wide-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 40px auto 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 30px;
  min-width: 40px;
  gap: 0;
}

.connector-line {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--shadow-dark), var(--accent), var(--shadow-dark));
  opacity: 0.4;
  border-radius: 1px;
  min-width: 20px;
}

.connector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── PRICING ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
  align-items: start;
}

.pricing-card {
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-featured {
  transform: scale(1.05);
  z-index: 1;
  border: 2px solid var(--accent);
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-amber);
  color: #fff;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-tier {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.pricing-grades {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-amount {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price-dollar {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 8px;
}

.price-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}

.price-unit {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(163, 177, 198, 0.15);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.check {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1rem;
}

.pricing-note {
  max-width: 650px;
  margin: 0 auto;
  padding: 20px 28px;
  text-align: center;
}

.pricing-note p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-note strong {
  color: var(--text-heading);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  max-width: 750px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.active {
  box-shadow:
    inset 4px 4px 8px var(--shadow-inset-dark),
    inset -4px -4px 8px var(--shadow-inset-light);
}

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

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  display: inline-block;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(-90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
}

.label-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.form-input {
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--text-heading);
  border: none;
  outline: none;
  background: var(--bg);
  transition: box-shadow var(--transition);
  border-radius: var(--radius-sm);
}

.form-input:focus {
  box-shadow:
    inset 4px 4px 8px var(--shadow-inset-dark),
    inset -4px -4px 8px var(--shadow-inset-light),
    0 0 0 2px var(--accent);
}

.form-input.error {
  box-shadow:
    inset 4px 4px 8px var(--shadow-inset-dark),
    inset -4px -4px 8px var(--shadow-inset-light),
    0 0 0 2px #e53e3e;
}

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

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  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='M1 1l5 5 5-5' stroke='%238896ab' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-error {
  font-size: 0.8rem;
  color: #e53e3e;
  min-height: 1.2em;
}

.checkbox-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.checkbox-label {
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  transition: box-shadow var(--transition), transform var(--transition);
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-label.checked,
.checkbox-label:has(input:checked) {
  box-shadow:
    inset 3px 3px 6px var(--shadow-inset-dark),
    inset -3px -3px 6px var(--shadow-inset-light);
  color: var(--accent);
  font-weight: 600;
}

.checkbox-text {
  pointer-events: none;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon {
  font-size: 2rem;
  color: var(--accent-green);
  font-weight: 700;
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--text-heading);
}

.form-success p {
  color: var(--text-muted);
  font-size: 1rem;
}

.contact-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.email-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.email-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  padding: 60px 0 30px;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-body);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── SCROLL REVEAL ANIMATION ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for grid items */
.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

/* ── RESPONSIVE: TABLET (max-width: 1024px) ─────────────────── */
@media (max-width: 1024px) {
  .pricing-featured {
    transform: scale(1.02);
  }

  .pricing-featured:hover {
    transform: scale(1.02) translateY(-4px);
  }

  .pricing-grid {
    gap: 20px;
  }
}

/* ── RESPONSIVE: MOBILE (max-width: 768px) ──────────────────── */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 24px;
    box-shadow:
      -8px 0 24px var(--shadow-dark);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .about-photo {
    margin: 0 auto;
    width: 220px;
    height: 220px;
  }

  .credential-badges {
    justify-content: center;
  }

  .about-quote {
    text-align: left;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  /* Steps */
  .steps-grid {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .step {
    max-width: 360px;
  }

  .step-connector {
    transform: rotate(90deg);
    min-height: 30px;
    min-width: auto;
    padding-top: 0;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-featured {
    transform: none;
    order: -1;
  }

  .pricing-featured:hover {
    transform: translateY(-4px);
  }

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

  .contact-form-wrap {
    padding: 28px 20px;
  }
}

/* ── RESPONSIVE: SMALL MOBILE (max-width: 480px) ────────────── */
@media (max-width: 480px) {
  .social-proof {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .checkbox-group {
    flex-direction: column;
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .proof-pill {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
