/* ============================================
   Sonoran Spark — Design System
   ============================================ */

:root {
  /* Colors */
  --color-bg: #0a0a0f;
  --color-bg-alt: #111118;
  --color-bg-card: #16161f;
  --color-bg-card-hover: #1c1c28;
  --color-surface: #1e1e2a;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);

  --color-text: #e4e4e7;
  --color-text-muted: #a1a1aa;
  --color-text-dim: #71717a;

  --color-amber-50: #fffbeb;
  --color-amber-200: #fde68a;
  --color-amber-300: #fcd34d;
  --color-amber-400: #fbbf24;
  --color-amber-500: #f59e0b;
  --color-orange-500: #f97316;
  --color-orange-600: #ea580c;

  --gradient-spark: linear-gradient(135deg, #fbbf24, #f59e0b, #f97316);
  --gradient-spark-hover: linear-gradient(135deg, #fcd34d, #fbbf24, #f59e0b);
  --gradient-text: linear-gradient(135deg, #fde68a, #f59e0b);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-max: 1200px;
  --container-padding: clamp(1.25rem, 4vw, 2rem);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

ul {
  list-style: none;
}

/* ============================================
   Utilities
   ============================================ */

.text--accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber-400);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}

.section__description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-spark);
  color: #0a0a0f;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
  background: var(--gradient-spark-hover);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-hover);
}

.btn--ghost:hover {
  border-color: var(--color-amber-500);
  color: var(--color-amber-400);
  background: rgba(245, 158, 11, 0.05);
}

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

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease-out);
}

.nav--scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  padding: 0.6rem 0;
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1001;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
}

.nav__logo-icon--sm {
  width: 28px;
  height: 28px;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-sonoran {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  color: #d4d4d8;
  letter-spacing: 0.02em;
}

.nav__logo-spark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-spark);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--color-amber-400);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--gradient-spark);
  color: #0a0a0f !important;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  bottom: 0;
  left: -50px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-amber-400);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-amber-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero__title--accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__cactus {
  width: 100%;
  max-width: 360px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dim);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
  animation: bounce-scroll 2s ease-in-out infinite;
}

.hero__scroll a:hover {
  color: var(--color-amber-400);
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================
   Services Section
   ============================================ */

.services {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

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

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.25rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-spark);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--featured {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, var(--color-bg-card) 50%);
}

.service-card--featured::before {
  opacity: 1;
}

.service-card__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-amber-400);
  border-radius: 100px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-card__list li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-amber-500);
}

/* ============================================
   About Section
   ============================================ */

.about {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.about__stat {
  display: flex;
  flex-direction: column;
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__stat-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  font-weight: 500;
  margin-top: 0.25rem;
}

.about__card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__value-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
}

.about__value-card:hover {
  border-color: rgba(245, 158, 11, 0.15);
  transform: translateX(4px);
}

.about__value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.06);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.about__value-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
}

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

/* ============================================
   Process Section
   ============================================ */

.process {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

.process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-amber-500), var(--color-orange-500), transparent);
  border-radius: 1px;
}

.process__step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.process__step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--color-bg);
  border: 2px solid var(--color-amber-500);
  border-radius: 50%;
  color: var(--color-amber-400);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.process__step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.process__step-content p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.25s;
}

.contact__detail:hover {
  color: var(--color-amber-400);
}

.contact__detail svg {
  flex-shrink: 0;
  color: var(--color-amber-500);
}

.contact__form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form__input::placeholder {
  color: var(--color-text-dim);
}

.form__input:focus {
  border-color: var(--color-amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form__input--error {
  border-color: #ef4444;
}

.form__input--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form__errors {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
}

.form__errors p {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fca5a5;
  margin-bottom: 0.5rem;
}

.form__errors ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.form__errors li {
  font-size: 0.8rem;
  color: #fca5a5;
  padding: 0.1rem 0;
}

/* Contact form success */
.contact__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}

.contact__success-icon {
  margin-bottom: 1.5rem;
  animation: success-pop 0.5s var(--ease-spring);
}

@keyframes success-pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.contact__success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 0.5rem;
}

.contact__success-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 320px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 4rem 0 2rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin-top: 1rem;
  max-width: 280px;
}

.footer__links h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-dim);
  padding: 0.3rem 0;
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--color-amber-400);
}

.footer__bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ============================================
   Reveal Animations
   ============================================ */

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ============================================
   Responsive
   ============================================ */

/* --- Tablet (1024px and below) --- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__stats {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* --- Mobile (768px and below) --- */
@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .hero__badge {
    justify-content: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero__actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__cactus {
    max-width: 200px;
  }

  .hero__scroll {
    display: none;
  }

  /* Mobile navigation */
  .nav {
    padding: 0.75rem 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    border-left: 1px solid var(--color-border);
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .nav__link--cta {
    margin-top: 1rem;
    text-align: center;
  }

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

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

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

  /* Section spacing */
  .section__header {
    margin-bottom: 2.5rem;
  }

  .section__title {
    font-size: clamp(1.6rem, 6vw, 2.25rem);
  }

  .section__description {
    font-size: 1rem;
  }

  /* Service cards */
  .service-card {
    padding: 1.75rem;
  }

  .service-card__title {
    font-size: 1.15rem;
  }

  /* About */
  .about__stats {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
  }

  .about__stat-number {
    font-size: 1.6rem;
  }

  .about__value-card {
    padding: 1.25rem;
  }

  /* Process */
  .process__timeline::before {
    left: 20px;
  }

  .process__step {
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .process__step-number {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .process__step-content h3 {
    font-size: 1.1rem;
  }

  .process__step-content p {
    font-size: 0.9rem;
  }

  /* Contact */
  .contact__form-wrapper {
    padding: 1.75rem;
  }

  .form__input {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  /* Touch-friendly: prevent iOS zoom on input focus */
  .form__input, .form__select, .form__textarea {
    font-size: 16px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }
}

/* --- Small phone (480px and below) --- */
@media (max-width: 480px) {
  .hero__title {
    font-size: 1.75rem;
  }

  .hero__badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
  }

  .hero__cactus {
    max-width: 160px;
  }

  .btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }

  .contact__form-wrapper {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .about__stats {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .contact__success {
    padding: 2rem 1rem;
  }
}

/* --- Fix for notched phones (safe areas) --- */
@supports (padding: max(0px)) {
  .nav__container {
    padding-left: max(var(--container-padding), env(safe-area-inset-left));
    padding-right: max(var(--container-padding), env(safe-area-inset-right));
  }

  .footer__bottom {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}
