/* =================================================================
   Yehovah Builders — Landing Page Styles
   Design: Architectural Minimalist
   Colors: Navy #1B2A4A, Blue #047ABD, Off-White #F5F3EF
   Font: Work Sans
   ================================================================= */

/* ── Tokens ─────────────────────────────────── */
:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1A2E;
  --navy-light: #2A3F6A;
  --blue: #047ABD;
  --blue-light: #1A8ED4;
  --blue-dark: #036199;
  --offwhite: #F5F3EF;
  --white: #FFFFFF;
  --charcoal: #2C2C2C;
  --gray-100: #F7F7F7;
  --gray-200: #E8E8E8;
  --gray-300: #D1D1D1;
  --gray-500: #888;
  --gray-700: #444;
  --font: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --card-radius: 4px;
  --section-pad-y: 100px;
  --section-pad-x: 48px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  padding-top: 64px;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Skip Link ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  font-size: 14px;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--card-radius);
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(4, 122, 189, 0.3);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--full {
  width: 100%;
}

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--section-pad-x);
  max-width: 1400px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 20%;
  box-shadow:
    0 2px 8px rgba(27, 42, 74, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav__logo-text .nav__logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.nav__logo-text .nav__logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__links li a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray-700);
  transition: color var(--transition);
}

.nav__links li a:hover {
  color: var(--navy);
}

.nav__cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--card-radius) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  transition: background var(--transition) !important;
}

.nav__cta:hover {
  background: var(--blue-dark) !important;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all var(--transition);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80');
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.6) 0%, rgba(27, 42, 74, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 60px var(--section-pad-x);
  max-width: 720px;
}

.hero__logo {
  width: 200px;
  height: auto;
  margin-bottom: 32px;
  opacity: 0.85;
}

.hero__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Trust Bar ──────────────────────────────── */
.trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 28px var(--section-pad-x);
  background: var(--offwhite);
  color: var(--navy);
  flex-wrap: wrap;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

/* ── Section Template ───────────────────────── */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section--white {
  background: var(--white);
}

.section--offwhite {
  background: var(--offwhite);
}

.section--navy {
  background: var(--navy);
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Services ───────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-card__img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
}

.service-card__body {
  padding: 28px;
}

.service-card__body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card__body p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card__list {
  margin-bottom: 24px;
}

.service-card__list li {
  font-size: 14px;
  color: var(--gray-700);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition);
}

.service-card__cta:hover {
  color: var(--blue-dark);
}

/* ── Portfolio ──────────────────────────────── */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio__item {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: var(--card-radius);
  overflow: hidden;
  display: block;
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(27, 42, 74, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--transition);
}

.portfolio__item:hover .portfolio__overlay {
  background: linear-gradient(transparent 20%, rgba(27, 42, 74, 0.95));
}

.portfolio__cat {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.portfolio__title {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
}

/* ── Process ────────────────────────────────── */
.process__timeline {
  display: flex;
  justify-content: center;
  gap: 0;
}

.process__step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.process__step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: var(--gray-200);
}

.process__step:last-child::after {
  display: none;
}

.process__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  background: var(--offwhite);
  color: var(--navy);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.process__step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.process__step p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── Why Us ─────────────────────────────────── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.why__item {
  text-align: center;
}

.why__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 8px;
  color: var(--navy);
}

.why__item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.why__item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── Testimonials ───────────────────────────── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  background: var(--offwhite);
  padding: 36px;
  border-radius: var(--card-radius);
}

.testimonial__stars {
  color: var(--blue);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-style: italic;
  border: none;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}

.testimonial__project {
  font-size: 12px;
  color: var(--gray-500);
}

/* ── Estimator Form ─────────────────────────── */
.estimator {
  max-width: 720px;
  margin: 0 auto;
  background: var(--offwhite);
  padding: 48px;
  border-radius: 8px;
}

.estimator__progress {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.estimator__step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-300);
  transition: color var(--transition);
}

.estimator__step-indicator.active {
  color: var(--blue);
}

.estimator__step-indicator.done {
  color: var(--navy);
}

.estimator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: background var(--transition);
}

.estimator__step-indicator.active .estimator__dot {
  background: var(--blue);
}

.estimator__step-indicator.done .estimator__dot {
  background: var(--navy);
}

.estimator__options {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.estimator__options--2col {
  grid-template-columns: repeat(2, 1fr);
}

.estimator__option {
  padding: 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--card-radius);
  text-align: center;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.estimator__option:hover {
  border-color: var(--blue-light);
}

.estimator__option:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.estimator__option.selected {
  border-color: var(--blue);
  background: rgba(4, 122, 189, 0.05);
}

.estimator__option strong {
  font-weight: 600;
}

.estimator__option span {
  font-size: 12px;
  color: var(--gray-500);
}

.estimator__back {
  font-size: 13px;
  color: var(--gray-500);
  padding: 8px 0;
  transition: color var(--transition);
}

.estimator__back:hover {
  color: var(--navy);
}

/* Contact form fields */
.estimator__contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.estimator__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.estimator__field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}

.estimator__field .optional {
  color: var(--gray-500);
  font-weight: 400;
}

.estimator__field input,
.estimator__field textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--card-radius);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
}

.estimator__field input:focus,
.estimator__field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.estimator__field input.error,
.estimator__field textarea.error {
  border-color: #D32F2F;
}

.estimator__field .error-msg {
  font-size: 12px;
  color: #D32F2F;
  display: none;
}

.estimator__field input.error~.error-msg,
.estimator__field textarea.error~.error-msg {
  display: block;
}

.estimator__privacy {
  text-align: center;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 8px;
}

.estimator__privacy a {
  color: var(--blue);
  text-decoration: underline;
}

/* Success / Error states */
.estimator__success,
.estimator__error {
  text-align: center;
  padding: 40px 20px;
}

.estimator__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.estimator__success h3,
.estimator__error h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

.estimator__success p,
.estimator__error p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.estimator__error .btn {
  margin-top: 24px;
}

/* ── Final CTA ──────────────────────────────── */
.final-cta {
  position: relative;
  text-align: center;
  padding: 120px var(--section-pad-x);
  background: var(--navy);
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.final-cta__content {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

.final-cta .hero__ctas {
  justify-content: center;
}

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 60px var(--section-pad-x) 32px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo-wrap {
  margin-bottom: 8px;
}

.footer__logo-img {
  height: 80px;
  width: auto;
  border-radius: 20%;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
  margin-top: 12px;
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 16px;
}

.footer__col li {
  font-size: 14px;
  padding: 4px 0;
  opacity: 0.7;
}

.footer__col a:hover {
  opacity: 1;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
}

/* ── Scroll Animations ──────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ─────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-pad-x: 32px;
    --section-pad-y: 80px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .service-card__img {
    height: 100%;
    min-height: 280px;
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid .portfolio__item:last-child {
    grid-column: 1 / -1;
    height: 280px;
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process__timeline {
    flex-wrap: wrap;
    gap: 24px;
  }

  .process__step {
    flex: 0 0 calc(33.333% - 16px);
  }

  .process__step::after {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-pad-x: 20px;
    --section-pad-y: 64px;
  }

  /* Nav mobile */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links li a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__links li:last-child a {
    border-bottom: none;
    text-align: center;
    margin-top: 8px;
  }

  .nav__toggle {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: 70vh;
  }

  .hero__content {
    padding: 40px var(--section-pad-x);
  }

  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    text-align: center;
  }

  /* Trust mobile */
  .trust {
    gap: 16px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust__item {
    font-size: 14px;
  }

  /* Service cards mobile */
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card__img {
    height: 220px;
  }

  /* Portfolio mobile */
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio__item {
    height: 260px;
  }

  .portfolio__grid .portfolio__item:last-child {
    grid-column: auto;
    height: 260px;
  }

  /* Process mobile */
  .process__timeline {
    flex-direction: column;
    gap: 20px;
  }

  .process__step {
    flex: none;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    padding: 0;
  }

  .process__num {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  /* Why Us mobile */
  .why__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .why__icon {
    margin: 0;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
  }

  /* Testimonials mobile */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Estimator mobile */
  .estimator {
    padding: 28px 20px;
  }

  .estimator__progress {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
  }

  .estimator__options--2col {
    grid-template-columns: 1fr;
  }

  .estimator__field-row {
    grid-template-columns: 1fr;
  }

  /* Final CTA mobile */
  .final-cta {
    padding: 80px var(--section-pad-x);
  }

  .final-cta .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Section header */
  .section__header {
    margin-bottom: 40px;
  }
}

/* Small mobile */
@media (max-width: 375px) {
  .hero__title {
    font-size: 32px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 12px;
  }

  .estimator {
    padding: 20px 16px;
  }
}

/* ── Micro-interactions ─────────────────────── */
.process__num {
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.process__step:hover .process__num {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.08);
}

.why__icon {
  transition: transform var(--transition), box-shadow var(--transition);
}

.why__item:hover .why__icon {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.trust__item {
  transition: color var(--transition);
}

.trust__item:hover {
  color: var(--blue);
}

.portfolio__item {
  transition: transform var(--transition);
}

.portfolio__item:hover {
  transform: scale(1.01);
}

.testimonial {
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.estimator__option {
  transition: all var(--transition), transform 0.15s ease;
}

.estimator__option:active {
  transform: scale(0.97);
}

/* ── Hero Entrance ─────────────────────────── */
.hero__content {
  animation: heroFadeIn 0.8s ease-out both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state */
.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}