:root {
  --navy: #06142e;
  --navy-2: #020814;
  --cyan: #10d8de;
  --blue: #1973f9;
  --ink: #071126;
  --muted: #667085;
  --line: rgba(16, 216, 222, 0.28);
  --white: #ffffff;
  --soft: #f4f8fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 8, 20, 0.86), rgba(2, 8, 20, 0));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(2, 8, 20, 0.92);
  box-shadow: 0 16px 42px rgba(2, 8, 20, 0.22);
  backdrop-filter: blur(14px);
}

.brand img {
  width: clamp(190px, 20vw, 300px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
  color: var(--cyan);
}

.nav-cta {
  border: 1px solid var(--line);
  padding: 10px 16px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-2);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, 0.96) 0%, rgba(2, 8, 20, 0.82) 34%, rgba(2, 8, 20, 0.2) 100%),
    url("assets/brandbook-portada-referencia.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 96px);
  padding: 150px 0 96px;
}

.hero-logo {
  width: min(430px, 82vw);
  margin-bottom: 42px;
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.3vw, 4.5rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.button.primary {
  color: var(--navy-2);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.button.secondary {
  color: var(--white);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: end;
}

.split p:last-child {
  color: var(--muted);
  font-size: 1.2rem;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(6, 20, 46, 0.1);
  background: var(--white);
}

.service-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--cyan);
  font-weight: 900;
}

.service-card p,
.method-copy p,
.steps p,
.brandbook-copy p,
.contact p {
  color: var(--muted);
}

.method {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 20, 46, 0.98), rgba(2, 8, 20, 0.96)),
    url("assets/logo-vertical-fondo-azul.png") right -160px center / min(680px, 70vw) no-repeat;
}

.method-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(42px, 8vw, 110px);
}

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 28px 28px 28px 82px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 28px;
  top: 28px;
  color: var(--cyan);
  font-weight: 900;
}

.steps span {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 900;
}

.brandbook {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.brandbook-image {
  overflow: hidden;
  background: var(--navy);
}

.brandbook-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.contact {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact .button.secondary {
  color: var(--white);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 92px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-2);
}

.footer img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(2, 8, 20, 0.96);
    border: 1px solid var(--line);
  }

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

  .nav a {
    padding: 14px;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .split,
  .method-inner,
  .brandbook,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    display: grid;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 74px;
    padding: 14px 18px;
  }

  .brand img {
    width: 172px;
  }

  .nav {
    top: 74px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(2, 8, 20, 0.9), rgba(2, 8, 20, 0.74)),
      url("assets/brandbook-portada-referencia.png") center / cover no-repeat;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding-top: 120px;
  }

  .hero-logo {
    width: 260px;
    margin-bottom: 34px;
  }

  h1 {
    font-size: 3.4rem;
  }

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

  .button {
    width: 100%;
  }
}
