:root {
  --navy: #0b1426;
  --navy-2: #142743;
  --blue: #1e88ff;
  --cyan: #1e88ff;
  --ink: #0b1426;
  --muted: #6b7280;
  --line: #dce5f2;
  --soft: #f3f7fc;
  --white: #ffffff;
  --success: #087a55;
  --warning: #9a5b00;
  --shadow: 0 18px 50px rgba(6, 27, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-2);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 242, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-symbol {
  width: 82px;
  height: 42px;
  flex: 0 0 82px;
  border-radius: 5px;
  background-color: #fff;
  background-image: url("/assets/logo-publicautoarg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 116px 116px;
}

.brand-accent {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.94rem;
}

.nav-links a {
  color: #35435d;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 18%, rgba(30, 136, 255, 0.14), transparent 25rem),
    linear-gradient(135deg, #ffffff 0%, #f7faff 58%, #eef6ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -220px;
  bottom: -285px;
  border: 58px solid rgba(30, 136, 255, 0.08);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  min-height: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 70px;
  padding: 68px 0;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 670px;
  margin: 0 0 30px;
  color: #4b566b;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(7, 89, 220, 0.24);
}

.button-primary:hover {
  color: var(--white);
  background: #064cc0;
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.button-light:hover {
  color: var(--navy);
  background: #eef7ff;
}

.button-outline-light {
  color: var(--navy);
  border-color: #cbd7e7;
  background: var(--white);
}

.button-outline-light:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: #f7fbff;
}

.hero-mark {
  width: min(500px, 84vw);
  height: 310px;
  justify-self: center;
  border: 1px solid #e6ebf2;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(11, 20, 38, 0.1);
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--soft);
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feature {
  padding-top: 24px;
  border-top: 3px solid var(--cyan);
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-link {
  min-height: 176px;
  padding: 28px;
  color: var(--ink);
  text-decoration: none;
}

.legal-link:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.legal-link:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.legal-link:hover {
  color: var(--ink);
  background: #f7fbff;
}

.legal-link span {
  color: var(--blue);
  font-weight: 800;
}

.legal-link p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, #0b479f 100%);
}

.page-hero .container {
  padding: 78px 0 70px;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #dceaff;
  font-size: 1.08rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 56px;
  padding: 70px 0 90px;
}

.toc {
  position: sticky;
  top: 104px;
  align-self: start;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
}

.legal-content section {
  scroll-margin-top: 110px;
  padding-bottom: 30px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  font-size: 1.62rem;
}

.legal-content h3 {
  margin-top: 24px;
}

.legal-content p,
.legal-content li {
  color: #344159;
}

.legal-content li + li {
  margin-top: 8px;
}

.updated {
  display: inline-block;
  margin-top: 22px;
  color: #bdd9ff;
  font-size: 0.92rem;
}

.notice {
  padding: 20px 22px;
  border-left: 4px solid var(--cyan);
  background: #edf8ff;
}

.notice strong {
  color: var(--navy-2);
}

.notice-warning {
  border-left-color: #f2a51a;
  background: #fff7e7;
}

.steps {
  counter-reset: steps;
  margin: 30px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  position: relative;
  min-height: 92px;
  padding: 23px 0 23px 68px;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 21px;
  left: 4px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 850;
}

.steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.contact-panel {
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: var(--shadow);
}

.contact-panel p {
  color: #dceaff;
}

.contact-email {
  display: inline-block;
  margin: 8px 0 22px;
  color: #7bd9ff;
  font-size: clamp(1.05rem, 3vw, 1.42rem);
  font-weight: 850;
  word-break: break-word;
}

.contact-email:hover {
  color: var(--white);
}

.site-footer {
  color: #c9d8ef;
  background: #03112f;
}

.footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 42px;
  padding: 50px 0;
}

.footer-inner p {
  max-width: 560px;
  margin: 12px 0 0;
  color: #9fb1cc;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px 18px;
}

.footer-links a {
  color: #d9e6f8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #65d3ff;
}

.footer-bottom {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(220, 229, 242, 0.14);
  color: #8195b4;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 15px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 66px 0;
  }

  .hero-mark {
    width: min(520px, 88vw);
    height: 280px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav,
  .container,
  .hero-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, 1080px);
  }

  .section {
    padding: 62px 0;
  }

  .hero-inner {
    padding: 58px 0;
  }

  .hero-actions .button,
  .action-row .button {
    width: 100%;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-link:nth-child(odd),
  .legal-link:nth-child(-n + 2) {
    border-right: 0;
  }

  .legal-link:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .page-hero .container {
    padding: 54px 0 50px;
  }

  .legal-layout {
    padding: 48px 0 68px;
  }

  .contact-panel {
    padding: 25px 21px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
