/* ============================================================
   SEO Landing Pages — TrueHomeBuild  v2 (UX refresh)
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   1. HERO
   ══════════════════════════════════════════════════════════════ */
.seo-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c1f3a;
}

.seo-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
  z-index: 0;
}

.seo-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(11,61,145,.78) 0%, rgba(12,31,58,.60) 60%, rgba(18,36,58,.45) 100%);
  z-index: 1;
}

.seo-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
  /* Fix: breadcrumbs under fixed 84px header */
  padding: calc(84px + 52px) 0 72px;
}

/* ══════════════════════════════════════════════════════════════
   2. BREADCRUMB
   ══════════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
  letter-spacing: .01em;
}

.breadcrumb a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb__sep {
  margin: 0 2px;
  opacity: .4;
}

/* ══════════════════════════════════════════════════════════════
   3. HERO INNER ELEMENTS
   ══════════════════════════════════════════════════════════════ */
.seo-hero .hero__title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.seo-hero .hero__subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  opacity: .88;
  margin-bottom: 28px;
  max-width: 600px;
}

.seo-hero .hero__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-hero .hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .97rem;
  line-height: 1.45;
  opacity: .92;
}

.seo-hero .hero__list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

.seo-hero .hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   4. SECTION OVERRIDE for SEO pages — override 2-col FAQ grid
   ══════════════════════════════════════════════════════════════ */
main .faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-template-columns: none;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════════════════════════
   5. FAQ ACCORDION — enhanced
   ══════════════════════════════════════════════════════════════ */
main .faq__item {
  background: #fff;
  border: 1.5px solid #e8e4e0;
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

main .faq__item:hover {
  transform: none;
  border-color: #c7cfe8;
  box-shadow: 0 4px 20px rgba(11,61,145,.07);
}

main details[open].faq__item {
  border-color: #0B3D91;
  box-shadow: 0 6px 28px rgba(11,61,145,.12);
}

main .faq__q {
  padding: 20px 54px 20px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: #12243a;
  min-height: auto;
  line-height: 1.4;
  position: relative;
}

main .faq__q::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f0f4ff 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='%230B3D91' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .3s ease, background-color .3s;
  transform: translateY(-50%);
}

main details[open] .faq__q::after {
  transform: translateY(-50%) rotate(180deg);
  background-color: #0B3D91;
  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='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

main .faq__a {
  padding: 0 22px;
  max-height: 0;
  opacity: 0;
  background: #f8faff;
  border-top: 1px solid transparent;
  transition: max-height .35s ease, opacity .3s ease, padding .3s ease, border-color .3s;
}

main details[open] .faq__a {
  padding: 18px 22px 22px;
  max-height: 600px;
  opacity: 1;
  border-color: #e8edf8;
}

main .faq__a p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
  color: #3a312a;
}

main .faq__a p + p {
  margin-top: 12px;
}

/* ══════════════════════════════════════════════════════════════
   6. FEATURE CARDS
   ══════════════════════════════════════════════════════════════ */
.seo-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.seo-feature {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 24px;
  border: 1.5px solid #f0ebe6;
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
  transition: box-shadow .3s, border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}

.seo-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0B3D91, #4A90E2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  border-radius: 18px 18px 0 0;
}

.seo-feature:hover {
  box-shadow: 0 8px 36px rgba(11,61,145,.13);
  border-color: #d0dbf5;
  transform: translateY(-4px);
}

.seo-feature:hover::before {
  transform: scaleX(1);
}

.seo-feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* hide raw emoji if JS hasn't run */
  margin-bottom: 16px;
  flex-shrink: 0;
}

.seo-feature__icon i {
  font-size: 1.4rem;
  color: #0B3D91;
  line-height: 1;
}

.seo-mid-cta__icon i {
  font-size: 2rem;
  color: #0B3D91;
  line-height: 1;
}

.seo-feature__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0B3D91;
  margin-bottom: 8px;
  line-height: 1.3;
}

.seo-feature p {
  font-size: .88rem;
  color: #6b6560;
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   7. STEPS — timeline
   ══════════════════════════════════════════════════════════════ */
.seo-steps {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 48px;
  position: relative;
  counter-reset: seo-step;
}

/* Horizontal connector line */
.seo-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, #0B3D91 0%, #4A90E2 50%, #0B3D91 100%);
  z-index: 0;
}

.seo-step {
  flex: 1;
  min-width: 0;
  padding: 0 12px 32px;
  text-align: center;
  background: none;
  border-radius: 0;
  position: relative;
  counter-increment: seo-step;
}

/* Remove the old watermark number */
.seo-step::before {
  display: none;
}

.seo-step__num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #0B3D91;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 18px rgba(11,61,145,.35);
  border: 3px solid #fff;
  transition: background .25s, box-shadow .25s;
}

.seo-step:hover .seo-step__num {
  background: #D87C4A;
  box-shadow: 0 6px 24px rgba(216,124,74,.4);
}

.seo-step__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: #0B3D91;
  margin-bottom: 8px;
}

.seo-step p {
  font-size: .84rem;
  color: #6b6560;
  line-height: 1.55;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   8. PRICE CARDS
   ══════════════════════════════════════════════════════════════ */
.seo-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
  align-items: start;
}

.seo-price-card {
  border-radius: 18px;
  padding: 30px 24px 26px;
  background: #fff;
  border: 1.5px solid #e8e4e0;
  text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
  overflow: visible;
}

.seo-price-card:hover {
  border-color: #0B3D91;
  box-shadow: 0 8px 36px rgba(11,61,145,.12);
  transform: translateY(-3px);
}

.seo-price-card--featured {
  border-color: #0B3D91;
  box-shadow: 0 10px 48px rgba(11,61,145,.18);
  transform: scale(1.04);
  z-index: 1;
}

.seo-price-card--featured:hover {
  transform: scale(1.04) translateY(-3px);
}

.seo-price-card__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #D87C4A 0%, #FFC529 100%);
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(216,124,74,.45);
}

.seo-price-card__name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #12243a;
  margin-bottom: 4px;
}

.seo-price-card__price {
  font-family: 'Manrope', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #0B3D91;
  margin: 14px 0 8px;
  line-height: 1;
}

.seo-price-card--featured .seo-price-card__price {
  color: #D87C4A;
}

.seo-price-card__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  text-align: left;
  font-size: .88rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.seo-price-card__list li {
  padding: 9px 0;
  border-top: 1px solid #f0ebe6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.seo-price-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background: #eef3ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7'%3E%3Cpath d='M1 3.5l2.5 2.5 5-5' stroke='%230B3D91' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat;
  border-radius: 4px;
  flex-shrink: 0;
}

.seo-price-card .btn {
  width: 100%;
}

.seo-prices__note {
  font-size: .82rem;
  color: #888;
  margin-top: 18px;
  text-align: center;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   9. GALLERY SLIDER
   ══════════════════════════════════════════════════════════════ */

/* Original grid (pre-JS) */
.seo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.seo-gallery__item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e8e4e0;
  position: relative;
}

.seo-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.seo-gallery__item:hover .seo-gallery__img {
  transform: scale(1.06);
}

figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(to top, rgba(12,31,58,.75) 0%, transparent 100%);
  color: #fff;
  font-size: .8rem;
  opacity: 0;
  transition: opacity .3s;
}

.seo-gallery__item:hover figcaption {
  opacity: 1;
}

/* Slider mode — added by JS */
.sg-wrap {
  position: relative;
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  background: #0c1f3a;
}

.sg-wrap .seo-gallery {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  margin-top: 0;
  gap: 0;
  border-radius: 0;
}

.sg-wrap .seo-gallery__item {
  min-width: 100%;
  border-radius: 0;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.sg-wrap .seo-gallery__item figcaption {
  opacity: 1;
}

/* Arrow buttons */
.sg-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  transition: background .2s, transform .2s, box-shadow .2s;
  color: #0B3D91;
}

.sg-btn:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}

.sg-btn:active { transform: translateY(-50%) scale(.94); }

.sg-prev { left: 14px; }
.sg-next { right: 14px; }

/* Dots */
.sg-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.sg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}

.sg-dot--active {
  background: #fff;
  transform: scale(1.35);
}

/* Lightbox overlay (JS-created) */
.sg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: sg-fade-in .2s ease;
}

@keyframes sg-fade-in { from { opacity: 0 } to { opacity: 1 } }

.sg-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}

.sg-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}
.sg-lightbox-close:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   10. RELATED LINKS (pill tags)
   ══════════════════════════════════════════════════════════════ */
.seo-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.seo-related__link {
  display: inline-block;
  padding: 9px 20px;
  background: #f0f4ff;
  border-radius: 100px;
  color: #0B3D91;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #d0dbf5;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.seo-related__link:hover {
  background: #0B3D91;
  color: #fff;
  border-color: #0B3D91;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   11. TWO-COLUMN TEXT
   ══════════════════════════════════════════════════════════════ */
.seo-text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 28px;
}

.seo-text-cols img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
}

.seo-text-cols p {
  font-size: .96rem;
  line-height: 1.7;
  color: #3a312a;
  margin-bottom: 16px;
}

/* ══════════════════════════════════════════════════════════════
   12. STATS BAR
   ══════════════════════════════════════════════════════════════ */
.seo-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin: 36px 0;
  background: #fff;
  border-radius: 18px;
  padding: 6px;
  border: 1.5px solid #e8e4e0;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}

.seo-stat {
  flex: 1 1 160px;
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid #f0ebe6;
}

.seo-stat:last-child { border-right: none; }

.seo-stat__val {
  font-family: 'Manrope', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0B3D91;
  line-height: 1;
}

.seo-stat__label {
  font-size: .82rem;
  color: #6b6560;
  margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════════
   13. CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.seo-cta {
  background: linear-gradient(135deg, #0B3D91 0%, #0a3278 100%);
  color: #fff;
  border-radius: 22px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.seo-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}

.seo-cta::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

.seo-cta .h2 {
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.seo-cta p {
  opacity: .8;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.seo-cta-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.seo-cta-form input[type="tel"],
.seo-cta-form input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.2);
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255,255,255,.12);
  color: #fff;
  transition: border-color .2s, background .2s;
}

.seo-cta-form input::placeholder { color: rgba(255,255,255,.5); }

.seo-cta-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.2);
}

/* ══════════════════════════════════════════════════════════════
   14. MID-PAGE CTA (auto-injected by JS)
   ══════════════════════════════════════════════════════════════ */
.seo-mid-cta {
  background: linear-gradient(135deg, #eef3ff 0%, #f5f0ff 100%);
  border: 1.5px solid #d0dbf5;
  border-radius: 18px;
  padding: 32px 36px;
  margin: 0 0 0;
}

.seo-mid-cta__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.seo-mid-cta__icon {
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
}

.seo-mid-cta__text {
  flex: 1;
  min-width: 200px;
}

.seo-mid-cta__text h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #0B3D91;
  margin: 0 0 6px;
}

.seo-mid-cta__text p {
  font-size: .9rem;
  color: #4b5878;
  margin: 0;
}

.seo-mid-cta__form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.seo-mid-cta__form input[type="tel"] {
  padding: 13px 18px;
  border: 1.5px solid #c0ccee;
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: #12243a;
  min-width: 200px;
  transition: border-color .2s;
}

.seo-mid-cta__form input:focus {
  outline: none;
  border-color: #0B3D91;
}

/* Container wrapper for mid-cta */
.seo-mid-cta-wrap {
  padding: 0 0 48px;
}

/* ══════════════════════════════════════════════════════════════
   15. SCROLL REVEAL (requires JS to add .seo-ux-ready to <html>)
   ══════════════════════════════════════════════════════════════ */
.seo-ux-ready .seo-feature,
.seo-ux-ready .seo-step,
.seo-ux-ready .seo-price-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.seo-ux-ready .seo-feature.is-visible,
.seo-ux-ready .seo-step.is-visible,
.seo-ux-ready .seo-price-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for feature cards */
.seo-ux-ready .seo-features .seo-feature:nth-child(2) { transition-delay: .08s; }
.seo-ux-ready .seo-features .seo-feature:nth-child(3) { transition-delay: .16s; }
.seo-ux-ready .seo-features .seo-feature:nth-child(4) { transition-delay: .24s; }
.seo-ux-ready .seo-features .seo-feature:nth-child(5) { transition-delay: .32s; }
.seo-ux-ready .seo-features .seo-feature:nth-child(6) { transition-delay: .40s; }

/* Stagger for steps */
.seo-ux-ready .seo-steps .seo-step:nth-child(2) { transition-delay: .1s; }
.seo-ux-ready .seo-steps .seo-step:nth-child(3) { transition-delay: .2s; }
.seo-ux-ready .seo-steps .seo-step:nth-child(4) { transition-delay: .3s; }
.seo-ux-ready .seo-steps .seo-step:nth-child(5) { transition-delay: .4s; }

/* Stagger for price cards */
.seo-ux-ready .seo-prices .seo-price-card:nth-child(2) { transition-delay: .12s; }
.seo-ux-ready .seo-prices .seo-price-card:nth-child(3) { transition-delay: .24s; }

/* ══════════════════════════════════════════════════════════════
   16. SECTION SPACING
   ══════════════════════════════════════════════════════════════ */
.section {
  padding: 68px 0;
}

.section--muted {
  background: #F8F5F2;
}

/* ══════════════════════════════════════════════════════════════
   17. RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .seo-gallery { grid-template-columns: repeat(2, 1fr); }
  .seo-steps { flex-wrap: wrap; }
  .seo-steps::before { display: none; }
  .seo-step { flex: 1 1 45%; text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .seo-step__num { margin: 0; flex-shrink: 0; width: 56px; height: 56px; font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .seo-hero { min-height: 540px; }
  .seo-hero__content { padding-top: calc(84px + 28px); padding-bottom: 48px; }
  .seo-hero .hero__title { font-size: 26px; }
  .seo-hero .hero__subtitle { font-size: 15px; }

  .seo-features,
  .seo-steps,
  .seo-prices { grid-template-columns: 1fr; }

  .seo-steps { flex-direction: column; }
  .seo-step { flex: none; width: 100%; }

  .seo-prices .seo-price-card--featured { transform: none; }
  .seo-prices .seo-price-card--featured:hover { transform: translateY(-3px); }

  .seo-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }

  .seo-text-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .seo-stats { flex-direction: column; }
  .seo-stat { border-right: none; border-bottom: 1px solid #f0ebe6; }
  .seo-stat:last-child { border-bottom: none; }

  .seo-cta { padding: 30px 22px; }
  .seo-cta-form { flex-direction: column; }
  .seo-cta-form input { min-width: auto; }

  .seo-mid-cta { padding: 24px 20px; }
  .seo-mid-cta__inner { gap: 20px; }

  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .seo-gallery { grid-template-columns: 1fr; }
  .seo-mid-cta__form { flex-direction: column; }
  .seo-mid-cta__form input { min-width: auto; }
}
