:root {
  --gold: #e86d35;
  --gold-strong: #e86d35;
  --green: #365f22;
  --ink: #05101c;
  --ink-soft: #203040;
  --panel: #ffffff;
  --panel-strong: #f4f7fb;
  --text: #0b1724;
  --muted: #5d6b7b;
  --line: rgba(12, 31, 50, 0.12);
  --shadow: 0 30px 90px rgba(22, 35, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 82% 12%, rgba(232, 109, 53, 0.14), transparent 28rem),
    linear-gradient(180deg, #fbf7f1 0%, #f7fafc 46%, #fbf7f1 100%);
}

body.version-propuesta {
  --gold: #f0b429;
  --gold-strong: #ffae00;
  --green: #203040;
  background:
    radial-gradient(circle at 82% 12%, rgba(240, 180, 41, 0.22), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4f9 52%, #f7fafc 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand .brand__logo {
  width: 236px;
  height: auto;
}

.brand span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand strong {
  color: var(--text);
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 40px rgba(22, 35, 52, 0.08);
}

.nav a {
  min-width: 86px;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(12, 31, 50, 0.07);
}

.mobile-labs-link {
  display: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(22, 35, 52, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 62px 0 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  line-height: 1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1.04;
}

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

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero__lead {
  max-width: 690px;
  font-size: clamp(1.12rem, 1.9vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 900;
}

.button--primary {
  border-color: transparent;
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(232, 109, 53, 0.24);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  border-color: rgba(54, 95, 34, 0.42);
}

.version-propuesta .button--primary {
  color: #0a0c10;
  box-shadow: 0 18px 42px rgba(240, 180, 41, 0.26);
}

.version-propuesta .button--secondary {
  color: var(--text);
  border-color: var(--line);
}

.operations-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 245, 250, 0.98)),
    var(--panel);
  box-shadow: var(--shadow);
}

.operations-panel::before {
  content: "";
  position: absolute;
  inset: -35% -24% auto auto;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(232, 109, 53, 0.08);
  filter: blur(2px);
}

.operations-panel__header {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.operations-panel__header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.operations-panel__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 28px;
}

.signal {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(232, 109, 53, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 109, 53, 0.1), transparent 58%),
    #f7fafc;
}

.signal img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.metric {
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.metric span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.25;
}

.section,
.service-grid,
.method,
.company,
.contact {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0 32px;
}

.section--intro {
  max-width: 860px;
  text-align: center;
}

.section--intro .eyebrow {
  margin-bottom: 10px;
}

.section--intro h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.section--intro p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  padding-bottom: 104px;
}

.service-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(22, 35, 52, 0.07);
}

.service-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3 {
  font-size: 1.28rem;
  line-height: 1.24;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 28px;
  padding: 48px;
  border: 1px solid rgba(232, 109, 53, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 109, 53, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.method__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.method__steps article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.method__steps article:last-child {
  grid-column: 1 / -1;
}

.version-propuesta .operations-panel::before {
  background: rgba(240, 180, 41, 0.08);
}

.version-propuesta .signal {
  border-color: rgba(240, 180, 41, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 174, 0, 0.1), transparent 58%),
    #f7fafc;
}

.version-propuesta .signal img {
  filter: drop-shadow(0 0 34px rgba(240, 180, 41, 0.28));
}

.version-propuesta .method {
  border-color: rgba(240, 180, 41, 0.28);
  background:
    linear-gradient(135deg, rgba(240, 180, 41, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.92);
}

.version-propuesta .method__steps {
  grid-template-columns: 1fr;
}

.version-propuesta .method__steps article:last-child {
  grid-column: auto;
}

.method__steps p,
.service-card p,
.company p,
.contact p {
  margin-bottom: 0;
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: end;
  padding: 108px 0;
}

.company__copy {
  max-width: 760px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 900;
}

.company__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.company__values span {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(22, 35, 52, 0.06);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

address > a,
address > span {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--text);
  font-weight: 800;
}

.contact-link {
  gap: 10px;
}

.contact-link svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: #25d366;
}

.client-access {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(240, 180, 41, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 180, 41, 0.14), transparent 48%),
    #ffffff;
}

.client-access p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.client-access .button {
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 50px 0 60px;
}

.brand--footer img {
  width: 40px;
  height: 40px;
}

.brand--footer .brand__logo {
  width: 204px;
  height: auto;
}

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

@media (max-width: 960px) {
  .site-header {
    position: static;
  }

  .nav {
    display: none;
  }

  .mobile-labs-link {
    display: inline-flex;
  }

  .hero,
  .method,
  .company,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

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

  .company__values {
    max-width: 520px;
  }

  .method__steps {
    max-width: 760px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .service-grid,
  .method,
  .company,
  .contact,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand .brand__logo {
    width: 174px;
    height: auto;
  }

  .brand strong {
    font-size: 1.32rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero__actions,
  .service-grid,
  .method__steps,
  .company__values {
    grid-template-columns: 1fr;
  }

  .method__steps article:last-child {
    grid-column: auto;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .operations-panel__body,
  .method,
  .contact {
    padding: 22px;
  }

  .client-access {
    align-items: stretch;
    flex-direction: column;
  }

  .metric,
  .metric--wide {
    grid-column: 1 / -1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
