/* ============================================================
   EAJ Consultoria — Site Styles (Mobile-First Architecture)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--fg-primary);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

ul, ol {
  list-style: none;
}

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

a {
  color: var(--color-blue-mid);
  text-decoration: none;
  transition: color 150ms ease;
}

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

button {
  font-family: var(--font-display);
  cursor: pointer;
}

/* ------------------------------------------------------------
   LAYOUT CONTAINERS & SECTIONS
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-padding-y, 48px) 0;
}

section.alt {
  background: var(--color-off-white);
}

/* ------------------------------------------------------------
   BUTTONS & TOUCH TARGETS
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  padding: 14px 24px;
  min-height: 46px;
  cursor: pointer;
  text-align: center;
  transition: background 150ms, color 150ms, border-color 150ms, box-shadow 150ms;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--btn-primary-hover-bg);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  border-color: var(--color-blue-bright);
  color: var(--color-blue-bright);
}

.btn-navy {
  background: var(--color-blue-deep);
  color: #fff;
}
.btn-navy:hover {
  background: var(--color-blue-dark);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-blue-deep);
}
.btn-white:hover {
  background: var(--color-blue-pale);
  color: var(--color-blue-deep);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue-deep);
  border: 2px solid var(--color-blue-deep);
}
.btn-outline:hover {
  background: var(--color-blue-deep);
  color: #fff;
}

.nav-cta {
  font-size: 11px;
  padding: 12px 20px;
  min-height: 42px;
}

/* ------------------------------------------------------------
   NAVIGATION HEADER & MOBILE DRAWER
   ------------------------------------------------------------ */

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 28, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
  z-index: 101;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Off-Canvas Drawer (Base < 980px) */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 86vw;
  background: rgba(13, 20, 38, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 84px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 105;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 36px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
.nav-drawer.active {
  transform: translateX(0);
}

/* Nav links in drawer */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  transition: background 150ms, color 150ms;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-blue-bright);
  background: rgba(255, 255, 255, 0.06);
}

/* Dropdown Accordion on Mobile */
.nav-dropdown {
  position: relative;
  width: 100%;
}

.nav-dropdown .chevron {
  transition: transform 200ms ease;
}

.nav-dropdown.open .chevron {
  transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
  display: none;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  padding: 6px 0;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 600;
  color: #d8e5fc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: none !important;
  min-height: 40px;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(54, 165, 237, 0.18);
  color: var(--color-blue-bright);
}

/* Desktop Navigation (>= 981px) */
@media (min-width: 981px) {
  .site-nav .container {
    height: 90px;
  }

  .nav-logo img {
    height: 48px;
  }

  .nav-toggle,
  .nav-overlay {
    display: none !important;
  }

  .nav-drawer {
    position: static;
    width: auto;
    max-width: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    transform: none !important;
    box-shadow: none;
    overflow-y: visible;
    gap: 24px;
  }

  .nav-links {
    flex-direction: row;
    gap: 24px;
    align-items: center;
    width: auto;
  }

  .nav-links a {
    font-size: 11px;
    padding: 6px 0;
    border-radius: 0;
    min-height: auto;
    border-bottom: 2px solid transparent;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: transparent;
    border-bottom-color: var(--color-blue-bright);
  }

  .nav-dropdown {
    position: relative;
    width: auto;
  }

  .nav-dropdown:hover .chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(16, 24, 45, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    min-width: 270px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 220ms ease;
    z-index: 200;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0;
  }

  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 82vh;
  padding: 100px 0 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b1426;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 800ms ease;
  filter: brightness(0.88);
}
.hero-bg.on {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,20,38,.8) 0%, rgba(11,20,38,.55) 50%, rgba(11,20,38,.92) 100%),
              linear-gradient(90deg, rgba(11,20,38,.92) 0%, rgba(11,20,38,.65) 60%, rgba(11,20,38,.3) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-slide {
  display: none;
}
.hero-slide.on {
  display: block;
}

.label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue-mid);
  margin-bottom: 10px;
}

.label-light {
  color: var(--color-blue-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.label-light::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-blue-bright);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.8vw, 3.1rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.28;
  margin-bottom: 20px;
  max-width: 820px;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1rem;
  font-weight: 400;
  color: #dbe2ef;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 300ms ease;
}
.hero-dots span.on {
  background: var(--color-blue-bright);
  width: 26px;
  border-radius: 10px;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
    width: auto;
  }
  .hero-actions .btn {
    width: auto;
  }
  .hero p {
    font-size: 1.12rem;
  }
  .hero-dots {
    bottom: 32px;
  }
}

@media (min-width: 981px) {
  .hero {
    height: 760px;
    min-height: 85vh;
    padding-top: 100px;
    padding-bottom: 0;
  }
}

/* Page Hero (Subpages) */
.page-hero {
  background: var(--color-blue-darker);
  padding: 100px 0 48px;
}

.breadcrumb {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: #6b7699;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.breadcrumb a { color: #6b7699; }
.breadcrumb span { color: var(--color-blue-bright); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.28;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 14.5px;
  color: #aeb6d6;
  line-height: 1.75;
  max-width: 640px;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 120px 0 64px;
  }
}

/* ------------------------------------------------------------
   SECTION HEADINGS & CONTENT LAYOUTS
   ------------------------------------------------------------ */

.sec-head {
  margin-bottom: 32px;
}
.sec-head.centered {
  text-align: center;
  margin-bottom: 40px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.15rem);
  font-weight: 800;
  color: var(--color-blue-deep);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.sec-head p {
  font-size: 14.5px;
  color: var(--color-gray-dark);
  line-height: 1.7;
  max-width: 640px;
}
.sec-head.centered p {
  margin: 0 auto;
}

/* Grids Mobile-First */
.grid-2,
.grid-3,
.footer-grid,
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 981px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards & Audience Boxes */
.card {
  background: #fff;
  border-radius: 5px;
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
}

.card-hover {
  transition: transform 200ms, box-shadow 200ms;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised);
}

.chip {
  width: 48px;
  height: 48px;
  background: var(--color-blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-blue-mid);
}

.chip-lg {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-blue-deep);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card p {
  font-size: 13.5px;
  color: var(--color-gray-dark);
  line-height: 1.65;
}

.card-lg {
  padding: 28px 22px;
}

@media (min-width: 768px) {
  .card {
    padding: 32px 28px;
  }
  .card-lg {
    padding: 36px;
  }
  .card-lg h3 {
    font-size: 17px;
  }
}

.more {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: inline-block;
  margin-top: 16px;
}

.audience {
  border-radius: 5px;
  padding: 32px 22px;
}
.audience h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.audience p {
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 22px;
}
.audience.contratante {
  background: var(--color-blue-deep);
}
.audience.contratante p {
  color: #b9c2e2;
}
.audience.prestador {
  background: var(--btn-primary-bg);
}
.audience.prestador p {
  color: #eaf4fe;
}

@media (min-width: 768px) {
  .audience {
    padding: 48px 40px;
  }
  .audience h2 {
    font-size: 1.5rem;
  }
  .audience p {
    font-size: 14px;
  }
}

/* Quotes & Testimonials */
.quote {
  font-family: Georgia, serif;
  font-size: 40px;
  color: var(--color-blue-bright);
  line-height: 1;
  margin-bottom: 6px;
}

.testimonial p {
  font-size: 14px;
  color: var(--color-gray-dark);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author .ph {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-blue-pale);
  overflow: hidden;
  flex-shrink: 0;
}
.author .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author .nm {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue-deep);
}
.author .rl {
  font-size: 11.5px;
  color: var(--color-gray-mid);
}

/* Bullets List */
.bullets {
  columns: 1;
}
.bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--color-gray-dark);
  line-height: 1.65;
  break-inside: avoid;
}
.bullets li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-blue-bright);
  flex-shrink: 0;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .bullets {
    columns: 2;
    column-gap: 40px;
    max-width: 900px;
  }
  .bullets li {
    font-size: 14.5px;
  }
}

/* Benefit & Stats */
.benefit {
  text-align: center;
  padding: 24px 18px;
}
.benefit .chip {
  margin: 0 auto 14px;
}
.benefit h3 {
  font-size: 13.5px;
  margin-bottom: 8px;
}
.benefit p {
  font-size: 13px;
}

.stat .v {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-blue-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.stat .l {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue-mid);
  margin-bottom: 8px;
}

.value-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
}
.value-row .chip {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.value-row h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

/* Prose & Article Pages */
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-blue-deep);
  margin-bottom: 12px;
}
.prose p {
  font-size: 14px;
  color: var(--color-gray-dark);
  line-height: 1.8;
}
.prose > div {
  margin-bottom: 32px;
}

.note {
  border: 1px dashed var(--color-gray-light);
  border-radius: 5px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-off-white);
}
.note .ic {
  color: var(--color-warning);
  flex-shrink: 0;
  margin-top: 2px;
}
.note h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue-deep);
  margin-bottom: 6px;
}
.note p {
  font-size: 13px;
  color: var(--color-gray-dark);
  line-height: 1.65;
}

.tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue-mid);
  background: var(--color-blue-pale);
  padding: 5px 10px;
  border-radius: 3px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.post-meta .dt {
  font-size: 11.5px;
  color: var(--color-gray-mid);
}
.post h3 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 12px;
  color: #8b93ab;
}
.prose .lead {
  font-size: 16px;
  color: var(--color-ink);
  line-height: 1.7;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 3px solid var(--color-blue-bright);
}
.prose.article > div {
  margin-bottom: 32px;
}
.prose ul {
  margin-top: 12px;
}
.prose li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-gray-dark);
  line-height: 1.75;
  margin-bottom: 10px;
}
.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue-bright);
}
.prose p + p {
  margin-top: 12px;
}
.article-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-gray-pale);
  padding-top: 24px;
  margin-top: 8px;
}
.post h3 a:hover {
  color: var(--color-blue-mid);
}

/* ------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------ */

.cta-band {
  background: var(--color-blue-darker);
  padding: 48px 0;
}
.cta-band .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-band p {
  font-size: 13.5px;
  color: #8b93ab;
  line-height: 1.7;
  max-width: 560px;
}
.cta-band .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .cta-band {
    padding: 64px 0;
  }
  .cta-band .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }
  .cta-band .btn {
    width: auto;
  }
}

/* ------------------------------------------------------------
   CONTACT FORM & FIELDS
   ------------------------------------------------------------ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  padding: 36px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid var(--color-gray-light);
  border-radius: 5px;
  padding: 12px 14px;
  font-family: var(--font-body);
  /* 16px font-size prevents auto-zoom on mobile iOS Safari */
  font-size: 16px;
  color: var(--fg-primary);
  outline: none;
  width: 100%;
  min-height: 46px;
  transition: border-color 150ms, box-shadow 150ms;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-blue-bright);
  box-shadow: 0 0 0 3px rgba(54, 165, 237, 0.18);
}
.field textarea {
  height: 110px;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
  cursor: pointer;
  padding: 4px 0;
}
.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-blue-mid);
  flex-shrink: 0;
}
.consent span {
  font-size: 12.5px;
  color: var(--color-gray-dark);
  line-height: 1.6;
}

.info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.info-row .chip {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.info-row .l {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-gray-mid);
  margin-bottom: 4px;
}
.info-row .v {
  font-size: 13.5px;
  color: var(--fg-primary);
  line-height: 1.6;
}
.hint {
  font-size: 12.5px;
  color: var(--color-gray-mid);
  line-height: 1.65;
  margin-top: 20px;
}

@media (min-width: 981px) {
  .form-grid {
    grid-template-columns: 5fr 4fr;
    gap: 56px;
    padding: 72px 32px;
  }
}

/* ------------------------------------------------------------
   404 PAGE
   ------------------------------------------------------------ */

.err404 {
  background: var(--color-off-white);
  padding: 100px 20px 60px;
  text-align: center;
}
.err404 .num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 5rem);
  font-weight: 800;
  color: var(--color-blue-pale);
  line-height: 1;
  letter-spacing: -0.04em;
}
.err404 h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  font-weight: 800;
  color: var(--color-blue-deep);
  margin: 12px 0 14px;
  letter-spacing: -0.02em;
}
.err404 p {
  font-size: 14.5px;
  color: var(--color-gray-dark);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.err404 .acts {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */

.site-footer {
  background: var(--color-blue-darker);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 13px;
  color: #8b93ab;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5d6683;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links span {
  font-size: 13px;
  color: #8b93ab;
  line-height: 1.6;
  display: block;
  max-width: 280px;
}

.footer-links a:hover {
  color: var(--color-blue-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-bottom .cp {
  font-size: 12px;
  color: #5d6683;
}

.social {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.social a.txt {
  font-size: 12px;
  color: #5d6683;
}

.social a.ic {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a1bb;
}

.social a.ic:hover {
  background: var(--color-blue-bright);
  color: #fff;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 981px) {
  .site-footer {
    padding: 60px 0 30px;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer-grid img {
    height: 50px;
  }
}
