:root {
  --ink: #081a2c;
  --navy: #071827;
  --blue: #36a9e1;
  --blue-deep: #1683c0;
  --ice: #eef8fd;
  --muted: #667585;
  --line: #d9e3ea;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 16, 29, 0.95) 0%, rgba(5, 26, 44, 0.83) 43%, rgba(5, 25, 42, 0.2) 75%),
    url("/hero-n400-max.png") center / cover no-repeat,
    #0a253a;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 14, 25, 0.5), transparent 27%, transparent 72%, rgba(3, 15, 27, 0.7));
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 11px 3px 11px 3px;
  background: var(--blue);
  color: white;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  transform: skew(-5deg);
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-size: 21px;
  font-weight: 900;
}

.brand small {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: #73cff5;
}

.nav-cta {
  padding: 12px 19px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  background: white;
  color: var(--ink);
}

.hero-content {
  position: relative;
  z-index: 4;
  padding-top: 106px;
  padding-bottom: 170px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #b8d5e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  display: block;
  width: 35px;
  height: 2px;
  background: var(--blue);
}

.eyebrow.dark {
  color: var(--blue-deep);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 em {
  color: #74cff3;
  font-style: normal;
  font-weight: 400;
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: #d7e4ec;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  position: relative;
  z-index: 6;
  display: flex;
  gap: 14px;
  margin-top: 38px;
  pointer-events: auto;
}

.button {
  display: inline-flex;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 25px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--blue);
  color: var(--ink);
}

.button.primary:hover {
  background: #67c6ed;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  backdrop-filter: blur(8px);
}

.hero-proof {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-proof div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 25px;
  border-left: 2px solid var(--blue);
}

.hero-proof strong {
  font-size: 14px;
}

.hero-proof span {
  color: #aebfca;
  font-size: 12px;
}

.services {
  padding-top: 112px;
  padding-bottom: 118px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: end;
}

.section-heading h2,
.about-copy h2,
.quote-copy h2 {
  margin: 0;
  font-size: clamp(37px, 4.3vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 62px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  transition: border 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #a9dff5;
  box-shadow: 0 22px 50px rgba(9, 46, 74, 0.1);
}

.service-number {
  color: #a8b5bf;
  font-size: 12px;
  font-weight: 800;
}

.service-icon {
  display: grid;
  width: 57px;
  height: 57px;
  margin-top: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--ice);
}

.service-icon span {
  position: relative;
  width: 26px;
  height: 16px;
  border: 2px solid var(--blue-deep);
  border-radius: 3px;
}

.service-icon span::before,
.service-icon span::after {
  position: absolute;
  bottom: -6px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--blue-deep);
}

.service-icon span::before {
  left: 2px;
}

.service-icon span::after {
  right: 2px;
}

.service-card h3 {
  margin: 28px 0 13px;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.about {
  padding: 110px 0;
  background: var(--navy);
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 88px;
  align-items: center;
}

.about-card {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent, rgba(2, 19, 33, 0.95)),
    radial-gradient(circle at 75% 20%, rgba(54, 169, 225, 0.4), transparent 42%),
    #0b2d45;
}

.about-card p {
  margin: 0 0 10px;
  color: #73cff5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-card strong {
  max-width: 310px;
  font-size: 32px;
  line-height: 1.13;
}

.about-copy > p:not(.eyebrow) {
  margin: 26px 0;
  color: #b7c7d1;
  font-size: 16px;
  line-height: 1.8;
}

.about-copy ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-copy li {
  position: relative;
  padding-left: 28px;
  color: #e2ecf1;
  font-size: 14px;
}

.about-copy li::before {
  position: absolute;
  top: 1px;
  left: 0;
  content: "✓";
  color: #68c8ee;
  font-weight: 900;
}

.quote-section {
  padding: 110px 0;
  background: #0a2235;
  color: white;
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.quote-copy {
  position: sticky;
  top: 36px;
}

.quote-copy > p:not(.eyebrow) {
  max-width: 440px;
  margin: 24px 0 0;
  color: #b7c8d4;
  font-size: 16px;
  line-height: 1.8;
}

.quote-contact {
  display: flex;
  margin-top: 44px;
  flex-direction: column;
  gap: 9px;
}

.quote-contact span {
  margin-bottom: 5px;
  color: #72cff3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quote-contact a {
  width: fit-content;
  color: #dce9ef;
  font-size: 14px;
  word-break: break-all;
}

.quote-form {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: white;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.form-heading {
  display: flex;
  margin-bottom: 30px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-heading span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.form-heading strong {
  color: var(--blue-deep);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #314456;
  font-size: 12px;
  font-weight: 800;
}

.quote-form label small {
  color: #8a98a5;
  font-size: 10px;
  font-weight: 600;
}

.field-wide {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d5e0e7;
  border-radius: 8px;
  outline: none;
  background: #f8fbfc;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quote-form input,
.quote-form select {
  height: 49px;
  padding: 0 14px;
}

.quote-form textarea {
  min-height: 104px;
  padding: 14px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(54, 169, 225, 0.14);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9aa7b1;
}

.quote-submit {
  display: flex;
  width: 100%;
  min-height: 56px;
  margin-top: 26px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.quote-submit:hover {
  transform: translateY(-2px);
  background: #67c6ed;
}

.quote-submit:focus-visible {
  outline: 3px solid #9eddf7;
  outline-offset: 3px;
}

.form-note {
  margin: 14px 0 0;
  color: #7a8995;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

footer {
  background: #04111d;
  color: white;
}

.footer-inner {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
  color: #8fa1ad;
  font-size: 11px;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 34px, 640px);
  }

  .hero {
    min-height: 820px;
    background-position: 64% center;
  }

  .nav {
    height: 82px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero-content {
    padding-top: 92px;
    padding-bottom: 150px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 64px);
  }

  .hero-copy {
    max-width: 500px;
    font-size: 16px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .hero-proof div {
    flex-direction: row;
    justify-content: space-between;
    padding-left: 12px;
  }

  .hero-proof div:nth-child(3) {
    display: none;
  }

  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .service-card {
    min-height: auto;
  }

  .services,
  .about {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about-card {
    min-height: 280px;
  }

  .quote-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .quote-copy {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 36px 0;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 76px;
  }

  .quote-section {
    padding: 76px 0;
  }

  .quote-form {
    padding: 24px 18px;
  }

  .form-heading,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .field-wide {
    grid-column: auto;
  }
}
/* Video de fondo de la portada */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 1;
}

.hero > *:not(.hero-video) {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.form-status--success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #4ade80;
  font-weight: 600;
}

.form-status--error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #f87171;
  font-weight: 600;
}

#quote-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}