:root {
  --ink: #08131f;
  --ink-soft: #1a2b3d;
  --paper: #eef3f7;
  --mist: #d5e2ec;
  --fog: #f7fafc;
  --line: rgba(8, 19, 31, 0.12);
  --muted: #5a6b7c;
  --accent: #0f766e;
  --accent-deep: #0a5550;
  --accent-glow: rgba(15, 118, 110, 0.18);
  --warm: #c4a574;
  --radius: 2px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(15, 118, 110, 0.12), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(28, 70, 110, 0.1), transparent 50%),
    linear-gradient(180deg, #e8f0f5 0%, var(--paper) 35%, #e6edf3 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section {
  padding: 100px 0;
}

.section__head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section__head h2,
.poa__copy h2,
.contact__copy h2,
.tabs__panel h3,
.guarantees h3,
.modal__dialog h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.section__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header.is-solid {
  background: rgba(238, 243, 247, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
align-items: flex-start;
}

.logo__mark {
   display: block;
  height: auto;
  width: auto;
margin-bottom: 5px;
}

.logo__sub,
.footer__tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.nav__cta {
  padding: 10px 18px;
  background: var(--ink);
  color: var(--fog) !important;
  border-radius: 999px;
}

.nav__cta:hover {
  background: var(--accent-deep) !important;
  color: #fff !important;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #f4f7fa;
  overflow: hidden;
}

.hero__media {
   position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__img {
    position: absolute;

    width: auto;
    height: 108%;

    right: 0;
    top: 80px;

    max-width: none;

    object-fit: contain;
    transform: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
 linear-gradient(
      90deg,
      rgba(6,14,24,.42) 0%,
      rgba(6,14,24,.18) 40%,
      rgba(6,14,24,0) 65%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 0 88px;
  max-width: 680px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
}

.hero__brand {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero__lead {
  margin: 0 0 32px;
  font-size: 1.08rem;
  color: rgba(244, 247, 250, 0.82);
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  transform: translateX(-50%);
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.35;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px var(--accent-glow);
}

.btn--primary:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

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

/* Promise */
.promise {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.promise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.promise__item {
  margin: 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 1rem;
}

.promise__item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 4px;
}

/* Services tabs */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 22px;

  border: 1px solid rgba(8, 19, 31, .12);
  border-radius: 999px;

  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);

  color: var(--ink-soft);
  font-weight: 500;
  cursor: pointer;

  transition: .25s ease;
}

.tabs__btn:hover {
  background: rgba(15,118,110,.08);
  border-color: var(--accent);
  color: var(--accent);
}

.tabs__btn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);

  box-shadow: 0 10px 30px rgba(8,19,31,.12);
}

.tabs__panel {
  display: none;
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
  animation: fadeUp 0.45s var(--ease);
}

.tabs__panel.is-active {
  display: block;
}

.tabs__panel h3 {
  font-size: 1.55rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  max-width: 72ch;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.service-list strong {
  color: var(--ink);
}

/* POA */
.poa {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent);
}

.poa__layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.poa__copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.poa__copy p {
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.poa__aside {
  padding: 32px 28px;
  background: var(--ink);
  color: #eef4f7;
  border-radius: 24px;
}

.poa__aside-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 20px;
}

.poa__aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.poa__aside li {
  padding-left: 18px;
  position: relative;
  color: rgba(238, 244, 247, 0.82);
}

.poa__aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm);
}

/* Process */
.steps {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  counter-reset: none;
}

.steps__item {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.steps__item span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.steps__item p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
}

.guarantees {
  padding: 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.guarantees h3 {
  font-size: 1.35rem;
}

.guarantees__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guarantees__grid p {
  margin: 0;
  color: var(--ink-soft);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Cases */

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.case-card {
  text-align: left;
  width: 100%;
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px rgba(8, 19, 31, 0.08);
}

.case-card__country {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.case-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin: 16px 0 24px;
  display: block;
}

.case-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
}

.case-card__excerpt {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card__more {
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ */
.faq__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 10px;
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-item__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--ink);
}

.acc-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.acc-item.is-open .acc-item__icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.acc-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.acc-item.is-open .acc-item__panel {
  grid-template-rows: 1fr;
}

.acc-item__panel > div {
  overflow: hidden;
}

.acc-item__panel p,
.acc-item__panel li {
  margin: 0 0 12px;
  color: var(--muted);
}

.acc-item__panel ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

/* Contact */
.contact {
  padding-bottom: 120px;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__copy p {
  color: var(--ink-soft);
  max-width: 36ch;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.contact__links a {
  font-weight: 600;
  color: var(--accent-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.form {
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(8, 19, 31, 0.06);
}

.form__row {
  display: grid;
  gap: 8px;
}

.form__row label {
  font-size: 0.85rem;
  font-weight: 550;
}

.form__row input,
.form__row select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__row input:focus,
.form__row select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
}

.form__check input {
  margin-top: 3px;
}

.form__note {
  margin: 0;
  color: var(--accent-deep);
  font-weight: 500;
  font-size: 0.92rem;
}

/* Footer */
.footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  background: rgba(8, 19, 31, 0.03);
}

.footer__logo {
  display: block;
  max-width: 148px;
  height: auto;
  margin-bottom: 6px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 24px;
  align-items: end;
}

.footer__meta,
.footer__links a {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

.footer__meta {
  display: grid;
  gap: 8px;
}

.footer__meta a {
  color: var(--accent-deep);
  width: fit-content;
}

.footer__meta a:hover {
  text-decoration: underline;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

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

.form__check a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Legal page */
.page-legal {
  background: var(--paper);
}

.page-legal .header {
  position: sticky;
  background: rgba(238, 243, 247, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.page-legal .nav__cta {
  padding: 10px 18px;
  background: var(--ink);
  color: var(--fog) !important;
  border-radius: 999px;
  font-size: 0.92rem;
}

.legal {
  padding: calc(var(--header-h) + 48px) 0 96px;
}

.legal__inner {
  max-width: 760px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.legal__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 36px;
}

.legal section {
  margin-bottom: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 10px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.legal ul {
  margin: 0;
  padding-left: 18px;
}

.legal a {
  color: var(--accent-deep);
}

.legal__back {
  margin-top: 40px;
}

.legal__back a {
  font-weight: 600;
}

/* Legal documents (privacy / consent) */
.legal--doc .legal__inner {
  max-width: 820px;
}

.legal--doc .legal__title {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-bottom: 24px;
  max-width: 30ch;
}

.legal--doc .legal__meta {
  margin: 0 0 40px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.legal__toc {
  margin: 0 0 8px;
  padding: 26px 30px;
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
}

.legal__toc li {
  margin: 0;
  counter-increment: toc;
  font-size: 0.95rem;
}

.legal__toc li::before {
  content: counter(toc) ".";
  margin-right: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--accent);
}

.legal__toc a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal__toc a:hover {
  color: var(--accent-deep);
  border-bottom-color: currentColor;
}

.legal--doc section {
  margin-bottom: 40px;
  padding-top: 32px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.legal--doc h2 {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1.3;
  margin: 0 0 20px;
}

.legal--doc p,
.legal--doc li {
  line-height: 1.72;
  text-align: justify;
  hyphens: auto;
}

.legal--doc p {
  margin: 0 0 14px;
}

.legal--doc .legal__sub {
  margin: 28px 0 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.legal--doc .legal__list {
  margin: 0 0 20px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.legal--doc .legal__list--dash {
  padding-left: 22px;
  list-style: none;
}

.legal--doc .legal__list--dash > li {
  text-indent: -22px;
}

.legal__note {
  margin: 0 0 20px;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.62);
}

.legal--doc .legal__note p:last-child {
  margin-bottom: 0;
}

.legal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.legal .btn--primary {
  color: #fff;
}

.legal .btn--outline {
  color: var(--ink);
}

.legal .btn--outline:hover {
  color: var(--accent-deep);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 24, 0.62);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

.modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(84vh, 760px);
  overflow: auto;
  background: var(--fog);
  border-radius: 24px;
  padding: 36px 32px 32px;
  animation: modalIn 0.4s var(--ease);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
}

.modal__body h4 {
  margin: 22px 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.modal__body p {
  margin: 0;
  color: var(--ink-soft);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .promise__grid,
  .steps,
  .guarantees__grid,
  .cases__grid,
  .poa__layout,
  .faq__layout,
  .contact__layout,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__links {
    align-items: flex-start;
  }

  .hero__content {
    margin-left: auto;
    margin-right: auto;
    max-width: min(1120px, calc(100% - 40px));
  }

  .hero__img {
    object-position: 85% 15%;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(6, 14, 24, 0.42) 0%, rgba(6, 14, 24, 0.22) 32%, rgba(6, 14, 24, 0.9) 100%),
      linear-gradient(90deg, rgba(6, 14, 24, 0.55), rgba(6, 14, 24, 0.15));
  }
}

@media (max-width: 780px) {
  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(238, 243, 247, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    margin-top: 12px;
    text-align: center;
    border: 0 !important;
  }

  .section {
    padding: 72px 0;
  }

  .hero__brand {
    font-size: clamp(2.4rem, 14vw, 3.4rem);
  }

  .hero__title {
    max-width: none;
  }

  .form {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__img,
  .hero__scroll span,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ===== Success Message ===== */

.form-success {
    margin-top: 24px;
    padding: 36px;
    border-radius: 24px;

    background: rgba(21,161,140,.08);
    border: 1px solid rgba(21,161,140,.18);

    text-align: center;

    animation: fadeUp .4s ease;
}

.form-success__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;

    border-radius: 50%;
    background: var(--accent);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 34px;
    font-weight: 700;
}

.form-success h3 {
    margin: 0 0 12px;
    font-size: 32px;
    color: var(--ink);
}

.form-success p {
    margin: 0;
    font-size: 18px;
    color: var(--ink);
}

.form-success span {
    display: block;
    margin-top: 10px;
    color: var(--ink-soft);
}

.form {
    transition: opacity .35s ease, transform .35s ease;
}

.form.is-hidden {
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
}
/* =========================
   Mobile Hero
========================= */
@media (max-width: 780px) {

  .header {
    height: 64px;
  }

  .logo__mark {
    height: 22px;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero__content {
    width: calc(100% - 40px);
    max-width: none;
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 40px;
    z-index: 2;
  }

  .hero__brand {
    font-size: clamp(48px, 14vw, 62px);
    line-height: .9;
    margin-bottom: 16px;
  }

  .hero__title {
    font-size: 20px;
    line-height: 1.15;
    max-width: 320px;
  }

  .hero__lead {
    font-size: 18px;
    line-height: 1.5;
    max-width: 320px;
    margin-bottom: 28px;
  }

  .hero__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

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

  .hero__img {
    height: 72%;
    width: auto;
    right: -70px;
    top: 80px;
    transform: none;
  }

  .hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(8,15,25,.25) 0%,
        rgba(8,15,25,.20) 35%,
        rgba(8,15,25,.78) 100%
      );
  }

  .hero__scroll {
    bottom: 22px;
  }

}

/* =========================
   Mobile legal documents
========================= */
@media (max-width: 780px) {
  .legal--doc p,
  .legal--doc li {
    text-align: left;
  }

  .legal__toc {
    padding: 22px 20px;
  }

  .legal__note {
    padding: 18px;
  }

  .legal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .legal__actions .btn {
    width: 100%;
    text-align: center;
  }
}
