:root {
  --blue: #1277c5;
  --blue-dark: #0b2745;
  --navy: #102033;
  --text: #233142;
  --muted: #657386;
  --ice: #f3f8fc;
  --line: #dbe6ef;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 18px;
  align-items: center;
  min-height: 80px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(16, 32, 51, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  font-weight: 800;
  background: var(--blue-dark);
}

.logo strong,
.footer strong {
  display: block;
  color: var(--blue-dark);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a:hover,
.header-phone:hover {
  color: var(--blue);
}

.header-phone {
  color: var(--blue-dark);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  border-color: var(--line);
}

.btn-outline.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-dark);
}

.mobile-nav {
  position: fixed;
  inset: 80px 0 auto;
  z-index: 45;
  display: none;
  flex-direction: column;
  gap: 1px;
  padding: 16px 20px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:not(.btn) {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 94vh;
  padding: 120px 42px 48px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(100deg, rgba(11, 39, 69, 0.92), rgba(11, 39, 69, 0.72) 46%, rgba(11, 39, 69, 0.2));
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  width: min(760px, 100%);
  padding: 42px;
  color: var(--white);
  background: rgba(11, 39, 69, 0.58);
  border-left: 3px solid var(--blue);
  backdrop-filter: blur(10px);
}

.overline,
.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.overline {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue-dark);
  line-height: 1.08;
}

h1 {
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(38px, 6vw, 72px);
}

h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 19px;
}

.hero-copy p:not(.overline) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.process {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.process span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.band {
  width: 100%;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background: var(--ice);
}

.dark {
  width: 100%;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-dark);
}

.dark h2 {
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 46px;
}

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

.card {
  min-height: 230px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(18, 119, 197, 0.08), transparent 55%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  background: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

.split p {
  color: var(--muted);
}

.dark .split p {
  color: rgba(255, 255, 255, 0.72);
}

.sector-list,
.steps,
.pillars,
.metrics {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.sector-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sector-list li,
.steps li,
.metrics div {
  padding: 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  letter-spacing: 0;
  text-transform: none;
}

.steps li::before {
  margin-right: 14px;
  color: var(--blue);
  font-weight: 900;
  content: counter(step, decimal-leading-zero);
}

.pillars {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.pillars span {
  padding: 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
}

.metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.direct-contact {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.direct-contact a {
  display: block;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.direct-contact span {
  display: block;
  color: var(--blue-dark);
  font-weight: 800;
}

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

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  border: 1px solid var(--line);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 119, 197, 0.15);
}

.full {
  grid-column: 1 / -1;
}

.file {
  padding: 24px;
  text-align: center;
  border: 2px dashed var(--line);
}

.consent {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  letter-spacing: 0;
  text-transform: none;
}

.consent input {
  width: 18px;
  min-height: 18px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 700;
}

.footer {
  padding: 54px 42px 70px;
  color: var(--muted);
  background: #f8fbfd;
  border-top: 1px solid var(--line);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  background: var(--blue-dark);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px 42px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  font-size: 13px;
}

.cookie-banner button {
  min-height: 40px;
  padding: 0 16px;
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
}

.cookie-banner button:last-child {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 20px;
  }

  .desktop-nav,
  .header-phone,
  .header-cta {
    display: none;
  }

  .menu-btn {
    display: block;
  }

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

  .card-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .hero {
    min-height: 88vh;
    padding: 112px 20px 34px;
  }

  .hero-copy {
    padding: 28px 22px;
  }

  .btn {
    width: 100%;
  }

  .section,
  .band,
  .dark {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .card-grid,
  .sector-list,
  .steps,
  .pillars,
  .metrics,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    padding: 16px 20px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
