:root {
  --azul-profundo: #071a33;
  --azul: #0c4c93;
  --azul-claro: #287ad6;
  --dorado: #e8b85b;
  --dorado-claro: #fff0bb;
  --blanco: #ffffff;
  --fondo: #f3f7fb;
  --texto: #172235;
  --gris: #657285;
  --sombra: 0 24px 70px rgba(7, 26, 51, 0.16);
  --radio: 28px;
  --ancho: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--ancho), calc(100% - 40px));
  margin: 0 auto;
}

.header {
  min-height: 100vh;
  color: var(--blanco);
  background:
    radial-gradient(circle at 10% 20%, rgba(232, 184, 91, 0.35), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(40, 122, 214, 0.42), transparent 25%),
    linear-gradient(135deg, #06152a 0%, #0c4c93 55%, #071a33 100%);
  position: relative;
  overflow: hidden;
}

.header::before,
.header::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.header::before {
  width: 500px;
  height: 500px;
  right: -190px;
  bottom: -160px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.header::after {
  width: 270px;
  height: 270px;
  left: -120px;
  bottom: 100px;
  background: rgba(232, 184, 91, 0.18);
}

.nav {
  width: min(var(--ancho), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--azul-profundo);
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  font-size: 1.8rem;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  gap: 4px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.menu a {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  color: var(--blanco);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-button span {
  width: 23px;
  height: 2px;
  border-radius: 99px;
  background: var(--blanco);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
  opacity: 0;
}

.menu-button.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 100px);
  padding: 44px 0 88px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 54px;
  position: relative;
  z-index: 2;
}

.location,
.tag {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--dorado-claro);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.tag {
  color: var(--azul);
}

.hero h1,
.section-title h2,
.two-columns h2,
.coverage h2,
.contact h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 7vw, 6.6rem);
}

.lead {
  max-width: 690px;
  margin: 24px 0 12px;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
}

.intro {
  max-width: 640px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.primary {
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  color: var(--azul-profundo);
  box-shadow: 0 18px 38px rgba(232, 184, 91, 0.22);
}

.secondary {
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.dark {
  color: var(--blanco);
  background: var(--azul-profundo);
}

.full {
  width: 100%;
  border: 0;
}

.hero-card {
  padding: 34px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--sombra);
  backdrop-filter: blur(18px);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
  color: var(--dorado-claro);
  font-weight: 900;
}

.card-top span,
.card-top strong {
  position: relative;
  z-index: 1;
}

.hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-card p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
}

.pill-list,
.city-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span,
.city-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -48px;
  position: relative;
  z-index: 4;
}

.quick article {
  min-height: 134px;
  padding: 24px;
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.quick article::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  right: -50px;
  bottom: -56px;
  background: rgba(232, 184, 91, 0.22);
}

.quick span {
  color: var(--azul);
  font-weight: 900;
}

.quick strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.section {
  padding: 94px 0;
}

.two-columns {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: stretch;
}

.two-columns > div:first-child,
.panel,
.coverage-box,
.form,
.contact-copy {
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
}

.two-columns > div:first-child {
  padding: 44px;
}

.two-columns h2,
.section-title h2,
.coverage h2,
.contact h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.two-columns p,
.section-title p,
.coverage p,
.contact p,
.panel p {
  color: var(--gris);
  font-size: 1.05rem;
}

.panel {
  padding: 44px;
  color: var(--blanco);
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.9), rgba(12, 76, 147, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(232, 184, 91, 0.4), transparent 30%);
}

.panel h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.panel p {
  color: rgba(255, 255, 255, 0.82);
}

.services {
  background: var(--blanco);
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  min-height: 310px;
  padding: 30px;
  border-radius: var(--radio);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #e4edf8;
  box-shadow: 0 18px 42px rgba(7, 26, 51, 0.08);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--azul-profundo);
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 22px;
}

.service-card h3,
.benefit-grid h3,
.steps h3,
.form h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  line-height: 1.12;
}

.service-card p,
.benefit-grid p,
.steps p {
  margin: 0;
  color: var(--gris);
}

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

.benefit-grid article {
  padding: 24px;
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: 0 18px 42px rgba(7, 26, 51, 0.08);
  border: 1px solid #e4edf8;
}

.benefit-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: var(--dorado-claro);
  font-weight: 900;
  font-size: 0.82rem;
}

.process {
  color: var(--blanco);
  background:
    radial-gradient(circle at 12% 10%, rgba(232, 184, 91, 0.28), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
}

.light h2,
.light p {
  color: var(--blanco);
}

.light-tag {
  color: var(--dorado-claro);
}

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

.steps article {
  padding: 26px;
  border-radius: var(--radio);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.steps span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 30px;
  color: var(--azul-profundo);
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  font-weight: 900;
}

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

.coverage-box {
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.city-tags span {
  color: var(--azul-profundo);
  background: #edf5ff;
  border-color: #d7e7fa;
}

.contact {
  background: linear-gradient(180deg, var(--fondo), #ffffff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-copy {
  padding: 44px;
}

.form {
  padding: 34px;
}

.form h3 {
  font-size: 2rem;
}

.form label {
  display: block;
  margin: 18px 0 8px;
  color: var(--azul-profundo);
  font-weight: 900;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #dbe6f2;
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--texto);
  background: #f8fbff;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--azul-claro);
  box-shadow: 0 0 0 4px rgba(40, 122, 214, 0.1);
}

.form textarea {
  resize: vertical;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(7, 26, 51, 0.22);
}

.footer {
  padding: 26px 0;
  color: var(--blanco);
  background: var(--azul-profundo);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .menu {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 24px;
    background: rgba(7, 26, 51, 0.96);
    z-index: 50;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    justify-content: center;
  }

  .hero,
  .two-columns,
  .contact-grid,
  .coverage-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
    gap: 28px;
  }

  .quick,
  .cards,
  .benefit-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-box {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .wrap,
  .nav {
    width: min(100% - 28px, var(--ancho));
  }

  .header {
    min-height: auto;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  .actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-card,
  .two-columns > div:first-child,
  .panel,
  .coverage-box,
  .contact-copy,
  .form {
    padding: 26px;
    border-radius: 24px;
  }

  .quick,
  .cards,
  .benefit-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .quick {
    margin-top: -34px;
  }

  .whatsapp-float {
    left: 14px;
    right: 14px;
  }

  .footer {
    padding-bottom: 84px;
  }
}
