:root {
  --navy: #2e3192;
  --navy-deep: #1b1d5e;
  --ink: #14163a;
  --red: #ed1c24;
  --red-deep: #c4121a;
  --muted: #5b5f80;
  --line: #e4e6f2;
  --tint: #f4f5fb;
  --radius: 20px;
  --nav-h: 76px;
  --top-h: 40px;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: "Jost", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2, .about__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 700 1rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(237, 28, 36, .7); }
.btn--red:hover { background: var(--red-deep); }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--white { background: #fff; color: var(--navy); }
.btn--sm { padding: 11px 20px; font-size: .92rem; }

/* Logo */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__word { font: 400 2rem/1 var(--logo); letter-spacing: -.01em; display: inline-flex; }
.logo__medi { color: var(--navy); }
.logo__pet { color: var(--red); }
.logo__i { position: relative; }
.logo__i::before { content: ""; position: absolute; left: 50%; top: -.02em; width: .3em; height: .24em; transform: translateX(-50%); background: var(--navy); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.logo__sub { font-size: .66rem; font-weight: 600; color: var(--red); letter-spacing: .04em; margin-top: 4px; padding-left: 2px; }
.logo--light .logo__medi { color: #fff; }
.logo--light .logo__i::before { background: #fff; }
.logo--light .logo__sub { color: rgba(255, 255, 255, .7); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .35s ease, background .3s, box-shadow .3s; }
.nav__in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar { display: none; }
.nav--top .topbar { display: block; height: var(--top-h); font-size: .8rem; color: rgba(255, 255, 255, .78); border-bottom: 1px solid rgba(255, 255, 255, .12); background: rgba(10, 12, 40, .28); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.topbar__item svg { width: 14px; height: 14px; fill: var(--red); }
a.topbar__item:hover { color: #fff; }
.topbar__lic { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.topbar__cta { margin-left: auto; color: #fff; font-weight: 700; }
.nav--top.is-solid { transform: translateY(calc(-1 * var(--top-h))); }
.nav .logo__medi { color: #fff; }
.nav .logo__i::before { background: #fff; }
.nav .logo__sub { color: rgba(255, 255, 255, .8); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .9; transition: opacity .2s; }
.nav__links a:not(.btn):hover { opacity: 1; }
.nav__phone { font-variant-numeric: tabular-nums; }
.nav.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(20, 22, 58, .35); }
.nav.is-solid .logo__medi { color: var(--navy); }
.nav.is-solid .logo__i::before { background: var(--navy); }
.nav.is-solid .logo__sub { color: var(--red); }
.nav.is-solid .nav__links a:not(.btn) { color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-solid .nav__toggle span, .nav.is-open .nav__toggle span { background: var(--ink); }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-deep); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; animation: heroZoom 18s ease-out both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 22, 70, .94) 0%, rgba(30, 33, 110, .82) 38%, rgba(46, 49, 146, .35) 70%, rgba(46, 49, 146, .15) 100%), linear-gradient(0deg, rgba(14, 15, 50, .55), transparent 40%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: calc(var(--nav-h) + 64px) 0 clamp(56px, 8vw, 104px); }
.nav--top ~ main .hero__in { padding-top: calc(var(--nav-h) + var(--top-h) + 56px); }
.hero__copy { max-width: 720px; animation: rise .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.hero .hl { color: #ff5a61; }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.hero__login { display: inline-block; margin-top: 22px; color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .95rem; }
.hero__login b { color: #fff; }
.hero__login:hover b { text-decoration: underline; }

/* Marquee */
.marquee { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 30px; overflow: hidden; }
.marquee__title { text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee__item img { height: 46px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Split section heads */
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 56px; align-items: end; }
.section__head--split h2 { margin-bottom: 0 !important; }

/* Audience */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud__card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 30px 30px; border-radius: 24px; background: #fff; color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 24px 48px -36px rgba(20, 22, 58, .45); transition: background .35s, color .35s, transform .35s; }
.aud__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.aud__card:hover { background: var(--navy); color: #fff; transform: translateY(-6px); }
.aud__card:hover::after { transform: scaleX(1); }
.aud__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy); margin-bottom: 10px; transition: background .35s; }
.aud__card:hover .aud__icon { background: var(--red); }
.aud__icon svg { width: 26px; height: 26px; fill: #fff; }
.aud__card h3 { font-size: 1.3rem; font-weight: 800; }
.aud__card p { color: var(--muted); transition: color .35s; }
.aud__card:hover p { color: rgba(255, 255, 255, .75); }
.aud__link { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--red); }
.aud__card:hover .aud__link { color: #fff; }

/* Product groups */
.groups__grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 20px; align-items: start; }
.group { background: #fff; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -36px rgba(20, 22, 58, .45); }
.group__head { display: flex; gap: 16px; align-items: flex-start; }
.group__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); }
.group__icon svg { width: 24px; height: 24px; fill: #fff; }
.group h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.group p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.group__logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.groups__grid .group:nth-child(2) .group__logos { grid-template-columns: repeat(3, 1fr); }
.group__logos li { border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; place-items: center; aspect-ratio: 3 / 1.5; transition: border-color .25s, box-shadow .25s; }
.group__logos li:hover { border-color: transparent; box-shadow: 0 14px 28px -20px rgba(20, 22, 58, .5); }
.group__logos img { width: 100%; height: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s; }
.group__logos li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .group__logos img, .marquee__item img { filter: none; opacity: 1; } }

/* Process */
.process { color: #fff; background: radial-gradient(80% 120% at 100% 0%, rgba(74, 79, 196, .45), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(237, 28, 36, .18), transparent 60%), var(--ink); }
.process .section__head p:not(.eyebrow) { color: rgba(255, 255, 255, .72); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 53px; right: -20px; width: 20px; height: 2px; background: rgba(255, 255, 255, .25); }
.step__no { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); font-weight: 800; font-size: 1.1rem; margin-bottom: 20px; box-shadow: 0 0 0 6px rgba(237, 28, 36, .18); }
.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.dealer--top { padding-top: clamp(72px, 10vw, 128px); }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge { display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); backdrop-filter: blur(14px); min-width: 240px; animation: rise .9s .35s cubic-bezier(.2, .7, .2, 1) both; }
.hero__badge-no { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero__badge-no::after { content: ""; display: block; width: 28px; height: 3px; background: var(--red); border-radius: 3px; margin: 12px 0 8px; }
.hero__badge-t { font-weight: 700; }
.hero__badge-s { font-size: .86rem; color: rgba(255, 255, 255, .7); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Facts */
.facts { background: var(--navy); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(255, 255, 255, .14); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.fact span { font-size: .92rem; color: rgba(255, 255, 255, .72); }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__media { margin: 0; position: relative; }
.about__media img { border-radius: 28px; aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: 0 40px 80px -40px rgba(20, 22, 58, .45); }
.about__media::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 46%; height: 46%; border-radius: 28px; background: var(--red); z-index: -1; opacity: .9; }
.about__media figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .72rem; color: #fff; background: rgba(0, 0, 0, .35); padding: 3px 10px; border-radius: 999px; }
.about__copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 16px; font-size: 1.04rem; }
.timeline { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px 26px; display: flex; flex-direction: column; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--navy); }
.timeline li:last-child::before { box-shadow: inset 0 0 0 3px var(--red); }
.timeline b { color: var(--navy); font-weight: 800; }
.timeline span { color: var(--muted); font-size: .95rem; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: clamp(56px, 8vw, 96px); }
.card { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(20, 22, 58, .4); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -30px rgba(46, 49, 146, .45); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); margin-bottom: 22px; transition: background .3s; }
.card:hover .card__icon { background: var(--red); }
.card__icon svg { width: 24px; height: 24px; fill: #fff; }
.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 88px); }
.split img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split--rev img { order: 2; }
.split__copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.split__copy p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; }

/* Brands */
.brands__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.brands__grid li { background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 18px 14px; aspect-ratio: 3 / 1.5; transition: border-color .25s, transform .25s, box-shadow .25s; }
.brands__grid li:hover { border-color: transparent; transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(20, 22, 58, .45); }
.brands__grid img { width: 100%; max-width: 168px; height: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .25s, opacity .25s; }
.brands__grid li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .brands__grid img { filter: none; opacity: 1; } }

/* Dealer CTA */
.dealer { padding: 0 0 clamp(72px, 10vw, 128px); }
.dealer__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(36px, 5vw, 60px); border-radius: 28px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #4a4fc4 0%, transparent 55%), linear-gradient(120deg, var(--navy-deep), var(--navy)); position: relative; overflow: hidden; }
.dealer__in::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); opacity: .9; transform: rotate(-12deg); }
.dealer__in > * { position: relative; z-index: 1; }
.dealer h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.dealer p:not(.eyebrow) { color: rgba(255, 255, 255, .8); max-width: 560px; }
.dealer__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--tint); text-decoration: none; font-weight: 600; transition: background .2s; }
a.info:hover { background: #e9ebf8; }
.info small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.info__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); }
.info__icon svg { width: 20px; height: 20px; fill: #fff; }
.map { grid-column: 1 / -1; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { padding: clamp(26px, 3.5vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(20, 22, 58, .5); display: grid; gap: 16px; }
.form h3 { font-size: 1.4rem; font-weight: 800; }
.form__hint { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea { font: 500 1rem var(--sans); color: var(--ink); padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--tint); transition: border-color .2s, background .2s; resize: vertical; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.form__note { font-size: .82rem; color: var(--muted); }
.form .btn { justify-self: start; }
.form__err { color: var(--red); font-weight: 600; font-size: .9rem; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 72px 0 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__legal { margin-top: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer__bottom p:first-child { flex: 1 1 520px; }


/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* KVKK page */
.page-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; padding: calc(var(--nav-h) + 56px) 0 56px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 680px; }
.legal { padding: 56px 0 96px; }
.legal__in { max-width: 860px; }
.legal h2 { font-size: 1.4rem; font-weight: 800; margin: 40px 0 14px; color: var(--navy); }
.legal p, .legal li { color: #3b3f63; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .94rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--tint); font-weight: 700; color: var(--ink); }
.legal td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.legal .note { padding: 16px 18px; border-radius: 14px; background: var(--tint); border-left: 4px solid var(--red); }
.table-scroll { overflow-x: auto; }

/* Application page */
.apply { padding: 48px 0 96px; }
.apply__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.apply__form, .apply__done { grid-column: 1; grid-row: 1; }
.apply__h { font-size: 1.05rem !important; font-weight: 800; color: var(--navy); margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.apply__types { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.apply__types legend { font-size: .88rem; font-weight: 700; margin-bottom: 8px; padding: 0; }
.apply__types .field__err { grid-column: 1 / -1; }
.type { position: relative; cursor: pointer; display: block !important; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--tint); transition: border-color .2s, background .2s, box-shadow .2s; }
.type b { font-size: .98rem; }
.type small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.type input:checked + span { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(46, 49, 146, .14); }
.type input:checked + span b { color: var(--navy); }
.type input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.field__err { color: var(--red); font-size: .8rem; font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.form [aria-invalid="true"] { border-color: var(--red); background: #fff6f6; }
.check { display: flex !important; grid-template-columns: none; gap: 12px !important; align-items: flex-start; font-weight: 500 !important; color: var(--muted); }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply__side { position: sticky; top: calc(var(--nav-h) + 24px); padding: 28px; border-radius: 24px; background: var(--tint); }
.apply__side h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 18px; }
.apply__side .timeline { margin: 0 0 22px; }
.apply__secure { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.apply__secure svg { width: 20px; height: 20px; flex: none; fill: #1d9a52; }
.apply__help { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.apply__help a { color: var(--navy); font-weight: 700; }
.apply__done { padding: 48px 36px; border-radius: 24px; border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; outline: none; }
.apply__done[hidden] { display: none; }
.apply__done h2 { font-size: 1.8rem; font-weight: 800; }
.apply__done p { color: var(--muted); max-width: 440px; }
.apply__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1d9a52; }
.apply__check svg { width: 34px; height: 34px; fill: #fff; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* Responsive */
@media (min-width: 901px) and (max-height: 820px) {
  .hero h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); margin-bottom: 16px; }
  .nav--top ~ main .hero__in { padding-top: calc(var(--nav-h) + var(--top-h) + 28px); padding-bottom: 56px; }
  .hero__lead { margin-bottom: 24px; }
  .hero__login { margin-top: 14px; }
}

@media (max-width: 1180px) {
  .topbar__lic { display: none; }
}

@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav__phone { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .groups__grid { grid-template-columns: 1fr 1fr; }
  .groups__grid .group:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; --top-h: 0px; }
  .nav--top .topbar { display: none; }
  .nav--top ~ main .hero__in { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 48px; }
  .section__head--split { grid-template-columns: 1fr; }
  .aud { grid-template-columns: 1fr; }
  .groups__grid { grid-template-columns: 1fr; }
  .groups__grid .group:nth-child(2) .group__logos { grid-template-columns: repeat(2, 1fr); }
  .marquee__item img { height: 38px; }
  .marquee__row { gap: 40px; padding-right: 40px; }
  .logo__word { font-size: 1.7rem; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: #fff; box-shadow: 0 30px 40px -30px rgba(20, 22, 58, .4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav__links a:not(.btn) { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links .btn { margin-top: 16px; }
  .nav__phone { display: block; }
  .nav.is-open { background: #fff; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open .logo__medi { color: var(--navy); }
  .nav.is-open .logo__i::before { background: var(--navy); }
  .nav.is-open .logo__sub { color: var(--red); }

  .hero { min-height: 100svh; }
  .hero::before { background: linear-gradient(180deg, rgba(20, 22, 70, .55) 0%, rgba(20, 22, 70, .78) 45%, rgba(20, 22, 70, .96) 100%); }
  .hero__in { flex-direction: column; align-items: stretch; gap: 24px; padding: calc(var(--nav-h) + 32px) 0 36px; }
  .hero__badge { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 18px; min-width: 0; }
  .hero__badge-no { font-size: 1.6rem; }
  .hero__badge-no::after { display: none; }
  .hero__badge-s { flex-basis: 100%; }

  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 22px 0 22px 20px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .14); }

  .about__grid, .split, .contact__grid { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 4 / 3; }
  .about__media::before { inset: auto -10px -10px auto; }
  .split--rev img { order: 0; }
  .dealer__in { flex-direction: column; align-items: flex-start; }
  .dealer__in::after { width: 130px; height: 130px; right: -46px; bottom: -46px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .apply__grid { grid-template-columns: 1fr; }
  .apply__side { position: static; grid-row: auto; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .cards { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .apply__types { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions .btn--lg { padding: 16px 22px; }
  .type span { padding: 12px 14px; }
  .brands__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) and (max-height: 720px) {
  .hero__badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

.wds-band { background: #fff; border-top: 1px solid #ececec; padding: 9px 16px; display: flex; justify-content: center; }
.wds-band a { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.01em; color: #111; text-decoration: none; opacity: .75; transition: opacity .2s; }
.wds-band a:hover { opacity: 1; }
.wds-band__logo { width: 18px; height: 18px; flex: none; border-radius: 5px; overflow: hidden; background: #000; }
.wds-band__logo video { width: 100%; height: 100%; object-fit: cover; display: block; }
