:root {
  --navy: #071f3a;
  --ink: #0b1730;
  --teal: #005f78;
  --teal-dark: #004e64;
  --cyan: #0f8fa7;
  --blue: #0f61c8;
  --muted: #4e6078;
  --line: #d9e3ec;
  --soft: #f6f9fb;
  --white: #ffffff;
  --shadow: 0 22px 58px rgba(7, 31, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

h1, h2, h3 {
  font-weight: 800;
  color: var(--navy);
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5edf3;
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand img {
  display: block;
  width: 200px;
  height: auto;
  mix-blend-mode: multiply;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-menu a {
  position: relative;
  padding: 28px 0 25px;
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-link {
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, #006f8e, #00546c);
  box-shadow: 0 15px 35px rgba(0, 95, 120, 0.22);
}

.btn-outline {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--teal);
}

.btn-light {
  color: var(--teal-dark);
  background: var(--white);
}

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 78% 20%, rgba(15, 143, 167, 0.12), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 66%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  font-weight: 900;
}

.hero-copy h1 span {
  color: var(--teal);
}

.hero-copy p {
  max-width: 520px;
  margin: 0 0 30px;
  color: #2d4058;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Hero diagnostic preview panel (ilustrativo, sin metricas inventadas) */

.diagnostic-preview {
  border: 1px solid #dce6ef;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diagnostic-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #e6edf4;
}

.diagnostic-preview__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.diagnostic-preview__brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.diagnostic-preview__brand strong {
  font-size: 0.94rem;
  color: var(--navy);
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #e7f4f7;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.diagnostic-preview__body {
  padding: 22px;
}

.diagnostic-preview__label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.diagnostic-preview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.diagnostic-preview__tags li {
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: #27384f;
  font-size: 0.78rem;
  font-weight: 700;
}

.diagnostic-preview__flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #e6edf4;
}

.diagnostic-preview__flow div {
  text-align: center;
}

.diagnostic-preview__flow p {
  margin: 10px 0 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: #27384f;
}

.diagnostic-preview__icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border-radius: 12px;
  background: radial-gradient(circle at 32% 28%, #0b8da8, #00445a);
}

.diagnostic-preview__flow div:nth-child(2) .diagnostic-preview__icon {
  background: radial-gradient(circle at 32% 28%, #0f61c8, #0b3550);
}

.diagnostic-preview__flow div:nth-child(3) .diagnostic-preview__icon {
  background: radial-gradient(circle at 32% 28%, #19b7d6, #005f78);
}

/* Secciones generales */

section {
  padding: 68px 0;
}

section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  text-align: center;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  color: #3b4d63;
  text-align: center;
  font-size: 1rem;
}

/* Valor */

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

.valor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.valor-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 20px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}

.icon-tile {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b8da8, #004d66);
}

.valor-grid li:nth-child(2) .icon-tile {
  background: linear-gradient(135deg, #0f61c8, #0b3550);
}

.valor-grid li:nth-child(3) .icon-tile {
  background: linear-gradient(135deg, #19b7d6, #005f78);
}

.valor-grid li:nth-child(4) .icon-tile {
  background: linear-gradient(135deg, #0f61c8, #071f3a);
}

.valor-grid h3 {
  margin: 0;
  font-size: 0.98rem;
}

/* Areas */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.areas-grid li {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
}

.areas-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.areas-grid p {
  margin: 0;
  color: #3b4d63;
  font-size: 0.86rem;
}

/* Qué recibes con el diagnóstico -- lista simple, sin tarjetas pesadas */

.entrega-lista {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.entrega-lista li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.entrega-icon {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--teal);
}

/* Diagnostico */

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

.diagnostico-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.diagnostico-grid li {
  position: relative;
  padding: 24px 20px 20px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}

.diagnostico-grid span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
  font-size: 0.9rem;
}

.diagnostico-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.diagnostico-grid p {
  margin: 0;
  color: #3b4d63;
  font-size: 0.86rem;
}

/* Diferenciador */

.diferenciador-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diferenciador-grid li {
  padding: 24px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.diferenciador-grid h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: var(--teal-dark);
}

.diferenciador-grid p {
  margin: 0;
  color: #3b4d63;
  font-size: 0.86rem;
}

/* Seguridad */

.seguridad-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #071f3a, #0b3550);
  color: var(--white);
}

.seguridad-copy h2 {
  color: var(--white);
  text-align: left;
  margin: 0 0 14px;
}

.seguridad-copy p {
  margin: 0;
  color: #cfe0ec;
  font-size: 0.98rem;
}

.seguridad-lista {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seguridad-lista li {
  position: relative;
  padding-left: 28px;
  color: #eaf3f8;
  font-weight: 700;
  font-size: 0.92rem;
}

.seguridad-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
}

/* CTA final */

.bottom-cta {
  padding: 0 0 72px;
}

.bottom-cta-panel {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  margin-bottom: 40px;
  color: var(--white);
  background: linear-gradient(180deg, #006b86, #004d63);
  border-radius: 14px;
}

.bottom-cta h2 {
  margin: 0;
  color: var(--white);
  text-align: center;
  font-size: 1.4rem;
}

/* Formulario de contacto -- ver comentario en index.html: preparado
   visualmente, sin backend propio todavía. */

.contacto-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contacto-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.contacto-form__full {
  grid-column: 1 / -1;
}

.contacto-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.86rem;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  font: inherit;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.contacto-form textarea {
  resize: vertical;
  min-height: 96px;
}

.contacto-form .btn {
  width: 100%;
}

/* Footer */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid #e5edf3;
  background: #fbfdff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-content img {
  width: 190px;
  height: auto;
  mix-blend-mode: multiply;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
}
