/* Base compartida para las dos landings. */
:root {
  --blue-dark: #0b2f5f;
  --blue-mid: #135f9f;
  --blue-light: #27a9e1;
  --ink: #132033;
  --muted: #64748b;
  --line: #d7e3ee;
  --surface: #f4f8fb;
  --white: #ffffff;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

/* Marca geométrica inspirada en un estilo corporativo técnico. */
.brand-mark {
  position: relative;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 auto;
  border: 0.38rem solid var(--blue-dark);
  border-right-color: var(--blue-light);
  border-radius: 0.2rem;
  transform: rotate(45deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.32rem;
  border: 0.24rem solid var(--blue-light);
  border-left-color: transparent;
  border-radius: 0.12rem;
}

.brand-text {
  color: var(--blue-dark);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.header-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.25rem;
  font-weight: 700;
}

.header-link {
  color: var(--blue-dark);
  border: 1px solid var(--line);
}

.button {
  color: var(--white);
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
}

.header-link:hover,
.button:hover {
  border-color: var(--blue-light);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 30rem;
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(11, 47, 95, 0.94), rgba(19, 95, 159, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 28px);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 8vw, 7rem);
  bottom: -5rem;
  width: clamp(13rem, 30vw, 24rem);
  aspect-ratio: 1;
  border: 2.2rem solid rgba(39, 169, 225, 0.26);
  border-left-color: rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 5rem 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #bcecff;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
}

.hero-copy {
  max-width: 42rem;
  margin-bottom: 1.6rem;
  color: #eaf8ff;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-muted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section-inner > p,
article p {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-left: 0.45rem solid var(--blue-light);
  border-radius: 0.35rem;
  background: var(--white);
}

address {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-style: normal;
}

address a {
  color: var(--blue-mid);
  font-weight: 700;
}

.site-footer {
  padding: 1.5rem 1rem;
  color: var(--white);
  background: var(--blue-dark);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-link,
  .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    opacity: 0.55;
  }

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