:root {
  --bg: #060a0f;
  --surface: #0f1a24;
  --surface-2: #142332;
  --ink: #ebf4ff;
  --muted: #a8bed8;
  --accent: #32e0c4;
  --accent-2: #6ad1ff;
  --line: rgba(178, 212, 255, 0.2);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  --radius: 16px;
  --font-title: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 18% 12%, rgba(50, 224, 196, 0.2), transparent 32%),
    radial-gradient(circle at 85% 8%, rgba(106, 209, 255, 0.16), transparent 36%),
    linear-gradient(140deg, #060a0f 0%, #08111a 45%, #0b1823 100%);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Focus states para accesibilidad */
a:focus-visible,
button:focus-visible,
.lang-toggle__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  position: sticky;
  top: 0;
  background: rgba(6, 10, 15, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-family: var(--font-title);
}

.logo-img {
  height: 45px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 200ms ease, background 200ms ease;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent);
  background: rgba(0, 217, 255, 0.08);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle__btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border 160ms ease;
}

.lang-toggle__btn.active {
  border-color: rgba(0, 217, 255, 0.35);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 32px;
  padding: 80px 24px 40px;
  max-width: 1160px;
  margin: 0 auto;
}

.hero__copy h1 {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  margin: 10px 0 12px;
}

.hero__copy .lede {
  color: var(--muted);
  margin-bottom: 20px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__trust {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041018;
  box-shadow: 0 12px 34px rgba(106, 209, 255, 0.24);
}

.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.hero__visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.monolith-logo {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  animation: float 3.5s ease-in-out infinite;
}

.hero__visual::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 224, 196, 0.18) 0%, rgba(106, 209, 255, 0.06) 50%, transparent 70%);
  z-index: -1;
  animation: pulse 4.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.section-header {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 0 24px;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-title);
  margin-top: 6px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
}

.pillars {
  padding: 40px 24px 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.frameworks {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 20px;
}

.frameworks p {
  margin: 0 0 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: 600;
}

.frameworks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.frameworks__list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(106, 209, 255, 0.08);
  font-size: 14px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
}

.card-link:hover {
  color: var(--accent-2);
}

.industries,
.engagement,
.about {
  padding: 40px 24px 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.industry-chip {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(50, 224, 196, 0.08);
  text-align: center;
  font-weight: 600;
}

.engagement__card {
  background: linear-gradient(140deg, rgba(50, 224, 196, 0.14), rgba(106, 209, 255, 0.1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.engagement__card p {
  color: var(--ink);
}

.models,
.assessment,
.proof,
.faq {
  padding: 40px 24px 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.models__grid,
.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.model-card,
.proof-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.model-card--featured {
  border-color: rgba(106, 209, 255, 0.46);
  box-shadow: 0 18px 60px rgba(106, 209, 255, 0.18);
}

.model-card__tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(50, 224, 196, 0.16);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.assessment-form {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.assessment-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}

.assessment-form label span,
.assessment-form legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.assessment-form input,
.assessment-form select,
.assessment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(7, 13, 20, 0.88);
  color: var(--ink);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

.assessment-form input:focus-visible,
.assessment-form select:focus-visible,
.assessment-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.assessment-form__checks {
  margin: 18px 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.assessment-form__checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.assessment-form__checks input {
  width: auto;
}

.assessment-form__full {
  display: block;
  margin: 12px 0;
}

.assessment-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  color: var(--muted);
}

.assessment-form__consent input {
  width: auto;
  margin-top: 4px;
}

.assessment-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.assessment-form__message {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq__list details {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.faq__list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq__list p {
  color: var(--muted);
  margin: 10px 0 0;
}

.service-page {
  max-width: 980px;
  margin: 56px auto;
  padding: 0 24px 40px;
}

.service-page__hero {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-page h1,
.service-page h2,
.service-page h3 {
  font-family: var(--font-title);
}

.service-page p,
.service-page li {
  color: var(--muted);
}

.service-page__section {
  margin-top: 24px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.about__card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.list-check li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--muted);
}

.list-check li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.contact {
  padding: 40px 24px 60px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.contact-label {
  font-weight: 700;
  margin: 0 0 4px;
}

.contact-card p { margin: 0; color: var(--muted); }

.contact-card a {
  color: var(--ink);
  text-decoration: underline;
}

.contact-meta {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  background: rgba(6, 10, 15, 0.9);
}

.logo-mark {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 1.2px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .nav { display: none; }
  .site-header { justify-content: space-between; }
  .lang-toggle__btn { padding: 8px; }
  .assessment-form__grid {
    grid-template-columns: 1fr;
  }
  .assessment-form__checks {
    grid-template-columns: 1fr;
  }
  .assessment-form__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .frameworks__list {
    justify-content: center;
  }
  .hero {
    padding-top: 64px;
  }
}
