/* ============================================================
   WUKA CARBON — stylesheet
   Palette (Coolors):
     #0a100d  — near-black (primary dark)
     #b9baa3  — warm gray (muted text / borders)
     #d6d5c9  — light warm gray (backgrounds)
     #a22c29  — deep red (primary accent)
     #902923  — dark red (hover accent)
   ============================================================ */

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

:root {
  --black:    #0a100d;
  --dark:     #111610;
  --card:     #161b14;
  --border:   #252c23;
  --warm-lt:  #d6d5c9;
  --warm-md:  #b9baa3;
  --white:    #f0efea;
  --red:      #a22c29;
  --red-dk:   #902923;
  --font:     'Inter', system-ui, -apple-system, sans-serif;
  --max-w:    1200px;
  --radius:   4px;
  --trans:    0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--warm-lt);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--trans);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dk);
  border-color: var(--red-dk);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(214,213,201,0.35);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(214,213,201,0.07);
}
.btn--full { width: 100%; }

/* ── Section ── */
.section { padding: 100px 0; }
.section--dark { background: var(--dark); }

.section__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section__desc {
  font-size: 1.05rem;
  color: #4a5147;
  max-width: 680px;
  line-height: 1.75;
}
.section__header { margin-bottom: 64px; }
.section__header--light .section__title { color: var(--white); }
.section__header--light .section__desc  { color: var(--warm-md); }

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--trans), box-shadow var(--trans);
}
.nav.scrolled {
  background: rgba(10,16,13,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.nav__logo span { color: var(--red); }
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 6px;
}
.nav__logo-img--footer {
  height: 40px;
  border-radius: 6px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(214,213,201,0.65);
  transition: color var(--trans);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  color: var(--red) !important;
  border: 1px solid var(--red);
  padding: 8px 20px;
  border-radius: var(--radius);
}
.nav__cta:hover {
  background: var(--red) !important;
  color: var(--white) !important;
}
button.nav__cta {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
}
.nav__mobile button {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(214,213,201,0.75);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color var(--trans);
}
.nav__mobile button:hover { color: var(--white); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--trans);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(10,16,13,0.98);
  padding: 20px 24px 28px;
  gap: 20px;
}
.nav__mobile a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(214,213,201,0.75);
}
.nav__mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero__texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(185,186,163,0.018) 0px,
      rgba(185,186,163,0.018) 1px,
      transparent 1px,
      transparent 12px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(185,186,163,0.018) 0px,
      rgba(185,186,163,0.018) 1px,
      transparent 1px,
      transparent 12px
    ),
    radial-gradient(ellipse at 65% 40%, rgba(162,44,41,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 75%, rgba(162,44,41,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-md);
  margin-bottom: 24px;
}
.hero__headline {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero__headline em {
  font-style: normal;
  color: var(--red);
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--warm-md);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 48px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(162,44,41,0.7));
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--warm-lt); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card--wide { grid-column: 1 / -1; }

.service-card {
  background: #e8e7dc;
  border: 1px solid #cccbbe;
  padding: 40px 36px;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 0.35s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  background: #f0efea;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10,16,13,0.1);
}
.service-card__icon {
  width: 72px;
  height: 72px;
  background: var(--black);
  border-radius: var(--radius);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover .service-card__icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,16,13,0.18);
}
.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-card__icon--large {
  width: 88px;
  height: 88px;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--black);
}
.service-card p {
  font-size: 0.9rem;
  color: #5a6157;
  line-height: 1.7;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.process__step {
  display: flex;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.process__step:last-child,
.process__step:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.process__step:nth-child(odd)  { padding-right: 48px; border-right: 1px solid var(--border); }
.process__step:nth-child(even) { padding-left: 48px; }

.process__number {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  min-width: 28px;
  padding-top: 4px;
}
.process__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.process__body p {
  font-size: 0.9rem;
  color: var(--warm-md);
  line-height: 1.7;
}

/* ============================================================
   MODIFICATION
   ============================================================ */
.modification { background: var(--warm-lt); }
.modification .section__header { margin-bottom: 64px; }
.modification .section__header .section__desc + .section__desc {
  margin-top: 16px;
}

.development__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.development__card {
  background: #e8e7dc;
  border: 1px solid #cccbbe;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--trans);
}
.development__card:hover {
  background: #f0efea;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10,16,13,0.1);
}
.development__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black);
}
.development__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.development__card:hover .development__image img {
  transform: scale(1.03);
}
.development__content {
  padding: 28px 24px;
}
.development__content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.development__content p {
  font-size: 0.88rem;
  color: #5a6157;
  line-height: 1.7;
}

.modification__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
  align-items: start;
}

.ideal-for {
  background: var(--dark);
  color: var(--white);
  padding: 36px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.ideal-for h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.ideal-for ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ideal-for li {
  font-size: 0.9rem;
  color: var(--warm-md);
  padding-left: 16px;
  position: relative;
}
.ideal-for li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background: var(--red);
}

.pipeline {
  background: #e0dfd4;
  padding: 36px 40px;
  border-radius: var(--radius);
  border: 1px solid #cccbbe;
}
.pipeline h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.pipeline__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pipeline__step {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--black);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.pipeline__arrow {
  color: var(--red);
  font-size: 1rem;
  font-weight: 300;
}

/* ============================================================
   WHY US
   ============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.why__card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px 36px;
  transition: background var(--trans);
}
.why__card:hover { background: #1c231a; }

.why__icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  margin-bottom: 20px;
}
.why__icon svg { width: 100%; height: 100%; }
.why__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why__card p {
  font-size: 0.88rem;
  color: var(--warm-md);
  line-height: 1.7;
}

/* ============================================================
   CONTACT CTA STRIP
   ============================================================ */
.contact-cta {
  background: var(--dark);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.contact-cta__inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.contact-cta__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.contact-cta__sub {
  font-size: 1rem;
  color: rgba(185,186,163,0.5);
  margin-bottom: 40px;
  line-height: 1.75;
}
.contact-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.contact-cta__email {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(185,186,163,0.5);
  border-bottom: 1px solid rgba(185,186,163,0.2);
  transition: color var(--trans), border-color var(--trans);
}
.contact-cta__email:hover {
  color: var(--warm-lt);
  border-color: var(--warm-lt);
}


.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a5147;
}
.form__group input,
.form__group textarea {
  padding: 14px 16px;
  border: 1px solid #c8c7ba;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--black);
  background: #e8e7dc;
  transition: border-color var(--trans), background var(--trans);
  resize: vertical;
}
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #f0efea;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: #9b9d8e; }

.form__req { color: var(--red); }
.form__hint {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #9b9d8e;
  margin-left: 6px;
}

/* Radio group */
.form__radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.form__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #4a5147;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.form__radio input[type="radio"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--red);
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}
.form__radio input[type="radio"]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* File upload */
.form__upload {
  position: relative;
  border: 1px dashed #c8c7ba;
  border-radius: var(--radius);
  background: #e8e7dc;
  transition: border-color var(--trans), background var(--trans);
  overflow: hidden;
}
.form__upload:hover { border-color: var(--red); background: #eeede2; }
.form__upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
}
.form__upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  color: #9b9d8e;
  font-size: 0.85rem;
  pointer-events: none;
}
.form__upload-label svg { color: var(--red); }
.form__upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}
.form__upload-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #cccbbe;
}

.form__note {
  font-size: 0.78rem;
  color: #9b9d8e;
  text-align: center;
  margin-top: -8px;
}
.form__note--success {
  color: #3a7d44;
  font-weight: 600;
}
.form__note--error {
  color: var(--red);
  font-weight: 600;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8,12,9,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  position: relative;
  background: #141a12;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(185,186,163,0.05);
  transform: translateY(24px);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(185,186,163,0.15) transparent;
}
.modal-overlay.open .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(185,186,163,0.14);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-md);
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.modal-close:hover {
  background: rgba(162,44,41,0.12);
  border-color: var(--red);
  color: var(--white);
}
.modal-close:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Progress indicator */
.modal-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.modal-progress__steps {
  display: flex;
  gap: 6px;
}
.modal-progress__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(185,186,163,0.18);
  transition: background var(--trans), transform var(--trans);
}
.modal-progress__dot.active {
  background: var(--red);
  transform: scale(1.35);
}
.modal-progress__dot.done {
  background: rgba(162,44,41,0.5);
}
.modal-progress__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(185,186,163,0.35);
}

/* Steps */
.modal-step { display: none; }
.modal-step.active { display: block; }
.modal-step__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 10px;
}
.modal-step__desc {
  font-size: 0.875rem;
  color: rgba(185,186,163,0.5);
  margin-bottom: 28px;
  line-height: 1.6;
}
.modal-step__error {
  font-size: 0.775rem;
  color: var(--red);
  font-weight: 600;
  margin-top: 12px;
  min-height: 1.2em;
}

/* Dark-context form input overrides */
.modal-card .form__group { gap: 10px; }
.modal-card .form__group label,
.modal-card .form__group-label {
  color: rgba(185,186,163,0.6);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.modal-card .form__group input,
.modal-card .form__group textarea {
  background: rgba(255,255,255,0.04);
  border-color: rgba(185,186,163,0.13);
  color: var(--warm-lt);
}
.modal-card .form__group input:focus,
.modal-card .form__group textarea:focus {
  border-color: var(--red);
  background: rgba(162,44,41,0.06);
}
.modal-card .form__group input::placeholder,
.modal-card .form__group textarea::placeholder {
  color: rgba(185,186,163,0.22);
}
.modal-card .form__upload {
  border-color: rgba(185,186,163,0.13);
  background: rgba(255,255,255,0.025);
}
.modal-card .form__upload:hover {
  border-color: rgba(162,44,41,0.55);
  background: rgba(162,44,41,0.05);
}
.modal-card .form__upload-label { color: rgba(185,186,163,0.3); }
.modal-card .form__upload-label svg { color: rgba(162,44,41,0.7); }
.modal-card .form__note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.78rem;
}

/* Radio cards */
.form__radio-group--cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 0;
}
.form__radio-card { display: block; cursor: pointer; }
.form__radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.form__radio-card__inner {
  display: block;
  padding: 13px 14px;
  border: 1.5px solid rgba(185,186,163,0.12);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--warm-md);
  background: rgba(255,255,255,0.03);
  transition: border-color var(--trans), background var(--trans), color var(--trans);
  text-align: center;
  line-height: 1.4;
  user-select: none;
}
.form__radio-card:hover .form__radio-card__inner {
  border-color: rgba(162,44,41,0.45);
  color: var(--warm-lt);
  background: rgba(162,44,41,0.04);
}
.form__radio-card input[type="radio"]:checked + .form__radio-card__inner {
  border-color: var(--red);
  background: rgba(162,44,41,0.1);
  color: var(--white);
  font-weight: 600;
}
.form__radio-card input[type="radio"]:focus-visible + .form__radio-card__inner {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Modal footer */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(185,186,163,0.07);
}
.modal-footer__right { display: flex; gap: 10px; }
.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(185,186,163,0.38);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: color var(--trans);
  padding: 0;
}
.modal-back:hover { color: rgba(185,186,163,0.75); }
.modal-back:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 32px 0 20px;
}
.modal-success__check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(162,44,41,0.1);
  border: 1.5px solid rgba(162,44,41,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--red);
}
.modal-success__title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 12px;
}
.modal-success__sub {
  font-size: 0.92rem;
  color: rgba(185,186,163,0.5);
  line-height: 1.75;
  margin-bottom: 28px;
}
.modal-success .btn {
  width: 100%;
  margin-bottom: 16px;
}
.modal-skip {
  display: inline-block;
  background: none;
  border: none;
  color: rgba(185,186,163,0.4);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s ease;
}
.modal-skip:hover {
  color: var(--warm-md);
}

/* Responsive */
@media (max-width: 600px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-card {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 12px 12px 0 0;
    padding: 28px 20px 36px;
  }
  .contact-cta__actions { flex-direction: column; gap: 16px; }
}
@media (max-width: 380px) {
  .form__radio-group--cards { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--warm-md);
  opacity: 0.5;
  letter-spacing: 0.06em;
}
.footer__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(185,186,163,0.4);
  transition: color var(--trans);
}
.footer__links a:hover { color: var(--white); }
.footer__copy {
  font-size: 0.72rem;
  color: rgba(185,186,163,0.2);
  margin-top: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: 1 / -1; }
  .process__steps { grid-template-columns: 1fr; }
  .process__step {
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .process__step:last-child { border-bottom: none; }
  .development__grid { grid-template-columns: repeat(2, 1fr); }
  .modification__footer { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .development__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .hero__headline { font-size: clamp(2.5rem, 12vw, 4rem); }
  .pipeline__steps { gap: 6px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .ideal-for, .pipeline { padding: 28px 24px; }
  .service-card, .why__card { padding: 28px 24px; }
}
