/* ============================================
   SPARQO — Apple-inspired dark theme
   v2.0
   ============================================ */

:root {
  --bg-black: #000000;
  --bg-dark: #0a0a0a;
  --bg-gray: #111111;
  --bg-card: #1a1a1a;
  --bg-light: #f5f5f7;
  --bg-white: #ffffff;

  --text-white: #f5f5f7;
  --text-gray: #86868b;
  --text-muted: #6e6e73;
  --text-dark: #1d1d1f;

  --accent: #2997ff;
  --accent-hover: #0077ed;
  --accent-green: #30d158;
  --accent-teal: #5ac8fa;

  --line-dark: rgba(255,255,255,.08);
  --line-light: rgba(0,0,0,.08);

  --font: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, monospace;

  --max: 1080px;
  --header-h: 52px;
  --section-pad: clamp(80px, 12vw, 160px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-black);
  color: var(--text-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
select, input, textarea { font: inherit; }

/* ---- Container ---- */
.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0,0,0,.72);
  border-bottom: 1px solid var(--line-dark);
  transition: background .3s;
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text-white);
  white-space: nowrap;
}
.header__logo span {
  font-weight: 400;
  color: var(--text-gray);
  font-size: .75rem;
  margin-left: 6px;
  letter-spacing: .06em;
}

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: .8125rem;
  color: var(--text-gray);
  transition: color .2s;
}
.nav__link:hover { color: var(--text-white); }
.nav__cta {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-white);
  background: var(--accent);
  padding: 7px 18px;
  border-radius: 980px;
  transition: background .2s;
}
.nav__cta:hover { background: var(--accent-hover); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 20px;
  padding: 4px 0;
  z-index: 210;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all .3s;
}
.burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0,0,0,.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity .35s;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
}
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-white);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--accent); }

@media (max-width: 820px) {
  .nav { display: none; }
  .burger { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 980px;
  padding: 14px 28px;
  transition: all .25s;
  white-space: nowrap;
}
.btn--blue {
  background: var(--accent);
  color: #fff;
}
.btn--blue:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}
.btn--ghost {
  color: var(--accent);
  background: transparent;
}
.btn--ghost:hover {
  text-decoration: underline;
}
.btn--outline {
  color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,.2);
  background: transparent;
}
.btn--outline:hover {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 80px;
  background: var(--bg-black);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(41,151,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-gray);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  max-width: 14ch;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-gray);
  max-width: 640px;
  line-height: 1.5;
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__stats {
  margin-top: 72px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat__val {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero-stat__label {
  font-size: .8125rem;
  color: var(--text-gray);
  margin-top: 4px;
}

/* ============================================
   SECTIONS — common
   ============================================ */
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--bg-dark); }
.section--gray { background: var(--bg-gray); }
.section--light {
  background: var(--bg-light);
  color: var(--text-dark);
}
.section--light .text-muted { color: #6e6e73; }

.section__eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.section--light .section__eyebrow { color: var(--accent); }

.section__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  max-width: 18ch;
}
.section--center { text-align: center; }
.section--center .section__title { margin: 0 auto; }
.section--center .section__desc { margin: 0 auto; }

.section__desc {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 600px;
  line-height: 1.55;
}
.section--light .section__desc { color: #6e6e73; }

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--line-dark);
  transition: border-color .3s, transform .3s;
}
.service-card:hover {
  border-color: rgba(255,255,255,.15);
  transform: translateY(-4px);
}
.service-card__num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.service-card__text {
  margin-top: 14px;
  color: var(--text-gray);
  font-size: .9375rem;
  line-height: 1.55;
}
.service-card__label {
  margin-top: 24px;
  font-size: .6875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.service-card ul {
  margin-top: 10px;
  padding-left: 18px;
  list-style: disc;
  color: var(--text-gray);
  font-size: .875rem;
  line-height: 1.6;
}
.service-card li + li { margin-top: 6px; }
.service-card__for {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-size: .8125rem;
  color: var(--text-muted);
}
.service-card__for strong {
  color: var(--text-gray);
}

/* ============================================
   BENEFITS — horizontal scroll cards
   ============================================ */
.benefits-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.benefit {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 32px 28px;
}
.benefit__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -.01em;
}
.benefit__text {
  margin-top: 10px;
  font-size: .875rem;
  color: #6e6e73;
  line-height: 1.55;
}

/* ============================================
   PROCESS — Apple-style timeline
   ============================================ */
.process-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-radius: 20px;
  overflow: hidden;
}
.process-step {
  background: var(--bg-card);
  padding: 36px 28px;
}
.process-step__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.06);
  line-height: 1;
}
.process-step__title {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.process-step__text {
  margin-top: 10px;
  font-size: .875rem;
  color: var(--text-gray);
  line-height: 1.55;
}

/* ============================================
   CASES
   ============================================ */
.cases-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 32px 28px;
}
.case-card__tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 980px;
  background: rgba(41,151,255,.08);
  margin-bottom: 14px;
}
.case-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -.015em;
  line-height: 1.2;
}
.case-card__text {
  margin-top: 12px;
  font-size: .875rem;
  color: #6e6e73;
  line-height: 1.55;
}
.case-card__label {
  margin-top: 20px;
  font-size: .6875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.case-card ul {
  margin-top: 8px;
  padding-left: 16px;
  list-style: disc;
  color: #6e6e73;
  font-size: .8125rem;
  line-height: 1.6;
}
.case-card li + li { margin-top: 4px; }

/* ============================================
   ABOUT / COMPANY
   ============================================ */
.about-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}
.about-content {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid var(--line-dark);
}
.about-content__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.about-content p {
  margin-top: 16px;
  color: var(--text-gray);
  font-size: .9375rem;
  line-height: 1.6;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid var(--line-dark);
}
.value-card__title {
  font-size: 1rem;
  font-weight: 700;
}
.value-card__text {
  margin-top: 8px;
  font-size: .8125rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  margin-top: 48px;
  max-width: 760px;
}
.section--center .faq-list { margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--line-dark);
}
.faq-item:first-child { border-top: 1px solid var(--line-dark); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-gray);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item__body {
  padding-bottom: 22px;
  color: var(--text-gray);
  font-size: .9375rem;
  line-height: 1.6;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: var(--section-pad) 0;
  text-align: center;
  background: var(--bg-dark);
}
.cta__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  max-width: 18ch;
  margin: 0 auto;
}
.cta__text {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--text-gray);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.cta__actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__note {
  margin-top: 20px;
  font-size: .8125rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line-dark);
  background: var(--bg-black);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand { max-width: 380px; }
.footer__name {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.footer__desc {
  margin-top: 8px;
  font-size: .8125rem;
  color: var(--text-gray);
  line-height: 1.5;
}
.footer__copy {
  margin-top: 8px;
  font-size: .75rem;
  color: var(--text-muted);
}
.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: .8125rem;
  color: var(--text-gray);
  transition: color .2s;
}
.footer__links a:hover { color: var(--text-white); }
.footer__links-group + .footer__links-group { margin-top: 12px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 48px;
  text-align: center;
  background: var(--bg-black);
}
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 12px auto 0;
}
.page-hero__desc {
  margin-top: 12px;
  font-size: 1.0625rem;
  color: var(--text-gray);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: start;
}
.contact-sidebar { display: grid; gap: 16px; }
.contact-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid var(--line-dark);
}
.contact-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-item {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  transition: border-color .2s;
}
.contact-item:hover { border-color: rgba(255,255,255,.2); }
.contact-item + .contact-item { margin-top: 10px; }
.contact-item__label {
  font-size: .6875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-item__value {
  font-size: .9375rem;
  font-weight: 600;
  margin-top: 3px;
}
.contact-card--dark {
  background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
}
.contact-card--dark ol {
  padding-left: 18px;
  list-style: decimal;
  color: var(--text-gray);
  font-size: .875rem;
  line-height: 1.6;
}
.contact-card--dark li + li { margin-top: 10px; }

/* Form */
.form-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--line-dark);
}
.form-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.form-card__desc {
  margin-top: 8px;
  color: var(--text-gray);
  font-size: .875rem;
}
.form { margin-top: 24px; display: grid; gap: 18px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: grid; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field__label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-gray);
}
.form-field__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--text-white);
  font: inherit;
  font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-field__input::placeholder { color: var(--text-muted); }
.form-field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41,151,255,.15);
}
select.form-field__input {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
textarea.form-field__input { min-height: 140px; resize: vertical; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8125rem;
  color: var(--text-gray);
}
.form-check input { margin-top: 3px; accent-color: var(--accent); }
.form-check a { color: var(--accent); text-decoration: underline; }
.form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form__note {
  font-size: .8125rem;
  color: var(--text-muted);
}
.form__hidden {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================
   THANK YOU
   ============================================ */
.thankyou {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg-black);
  text-align: center;
  padding: 24px;
}
.thankyou__card {
  max-width: 600px;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 48px 40px;
  border: 1px solid var(--line-dark);
}
.thankyou__title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.thankyou__text {
  margin-top: 14px;
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.55;
}
.thankyou__actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   404
   ============================================ */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg-black);
  text-align: center;
  padding: 24px;
}
.notfound__code {
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255,255,255,.04);
  line-height: 1;
}
.notfound__title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: -12px;
}
.notfound__text {
  margin-top: 12px;
  color: var(--text-gray);
  max-width: 440px;
}
.notfound__actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ============================================
   LEGAL
   ============================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid var(--line-dark);
}
.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 28px;
  letter-spacing: -.01em;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul {
  margin-top: 10px;
  color: var(--text-gray);
  font-size: .9375rem;
  line-height: 1.6;
}
.legal ul { padding-left: 20px; list-style: disc; }
.legal li + li { margin-top: 6px; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1000px) {
  .services-grid,
  .cases-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .faq-item__body { animation: none; }
  .service-card, .btn, .nav__link, .contact-item { transition: none; }
}

/* ---- Focus visible ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 300;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .benefits-grid,
  .process-grid,
  .values-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .hero__actions,
  .cta__actions,
  .thankyou__actions,
  .notfound__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { width: 100%; text-align: center; }
}
