:root {
  --primary-blue: #0F6FC6;
  --bright-cyan-blue: #009DD9;
  --teal-accent: #10CF9B;
  --darker-blue: #0F71CC;
  --very-dark-edge: #02111E;
  --white: #FFFFFF;

  --bg-page: #02111E;
  --bg-panel: rgba(15, 111, 198, 0.14);
  --bg-panel-2: rgba(15, 113, 204, 0.16);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.84);
  --text-muted: rgba(214, 231, 244, 0.70);

  --border-soft: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(0, 157, 217, 0.22);

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.22);
  --shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.34);

  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --shell-width: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(16, 207, 155, 0.10), transparent 20%),
    radial-gradient(circle at 82% 16%, rgba(0, 157, 217, 0.16), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(15, 111, 198, 0.16), transparent 30%),
    linear-gradient(180deg, #04111d 0%, var(--bg-page) 100%);
}

/* =========================
   GLOBAL LAYOUT
========================= */

.shell {
  width: min(var(--shell-width), calc(100% - 40px));
  margin: 0 auto;
}

.page-shell {
  padding: 8px 0 56px;
}

.page-section {
  padding: 32px 0;
  scroll-margin-top: 96px;
}

/* =========================
   HEADER / NAV
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 17, 30, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(var(--shell-width), calc(100% - 40px));
  margin: 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand:link,
.brand:visited,
.brand:hover,
.brand:active,
.brand:focus-visible {
  color: var(--text-primary);
  text-decoration: none;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-accent), var(--primary-blue));
  box-shadow: 0 0 18px rgba(16, 207, 155, 0.28);
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:link,
.site-nav a:visited,
.site-nav a:active {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-accent);
}

/* =========================
   HERO SYSTEM
========================= */

.page-hero,
.hero {
  padding: 0 0 20px;
}

.hero-panel,
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-strong);
  background:
    radial-gradient(circle at 15% 15%, rgba(16, 207, 155, 0.10), transparent 20%),
    radial-gradient(circle at 85% 12%, rgba(0, 157, 217, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(15, 111, 198, 0.24), rgba(15, 113, 204, 0.20));
}

.hero-panel::before,
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 85% 14%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 42%);
}

.hero-panel {
  padding: clamp(20px, 4vw, 56px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  min-height: clamp(520px, 68vh, 760px);
}

.hero-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

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

.hero-title,
.hero-copy h1,
.hero h1 {
  margin: 0 0 20px;
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  text-wrap: balance;
}

.hero-subtitle,
.description,
.hero-sub {
  margin: 0;
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.description.secondary {
  margin-top: 14px;
  margin-bottom: 0;
}

/* =========================
   BUTTONS / ACTIONS
========================= */

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  align-items: center;
}

.btn,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:link,
.btn:visited,
.btn:active,
.cta:link,
.cta:visited,
.cta:active {
  text-decoration: none;
}

.btn:hover,
.btn:focus-visible,
.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
}

.btn-primary,
.cta.primary {
  background: linear-gradient(135deg, var(--teal-accent), var(--primary-blue));
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.btn-primary:link,
.btn-primary:visited,
.btn-primary:active,
.cta.primary:link,
.cta.primary:visited,
.cta.primary:active {
  color: var(--white);
}

.btn-secondary,
.cta.secondary-btn {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:link,
.btn-secondary:visited,
.btn-secondary:active,
.cta.secondary-btn:link,
.cta.secondary-btn:visited,
.cta.secondary-btn:active {
  color: var(--text-primary);
}

.btn-secondary:hover,
.cta.secondary-btn:hover,
.btn-secondary:focus-visible,
.cta.secondary-btn:focus-visible {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.20);
}

/* =========================
   CONTACT EMAIL
========================= */

.contact-email a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.contact-email a:link,
.contact-email a:visited,
.contact-email a:active {
  color: var(--white);
}

.contact-email a:hover {
  color: var(--teal-accent);
  border-bottom: 1px solid var(--teal-accent);
}

/* =========================
   SURFACES / CARDS
========================= */

.surface-card,
.info-card,
.section-intro,
.case-card,
.image-card,
.logo-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.surface-card,
.info-card,
.section-intro,
.case-text {
  padding: 30px;
}

.surface-card h2,
.surface-card h3,
.info-card h2,
.case-text h2,
.case-block h3 {
  color: var(--text-primary);
  margin-top: 0;
}

.surface-card p,
.surface-card li,
.info-card p,
.section-intro p,
.case-summary,
.case-block p,
.outcomes li {
  color: var(--text-secondary);
  line-height: 1.8;
}

.small-text,
.text-muted {
  color: var(--text-muted);
}

/* =========================
   HOME-SPECIFIC VISUALS
========================= */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-panel {
  width: 100%;
  max-width: 430px;
  padding: 28px;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.info-section {
  width: min(var(--shell-width), 100%);
  margin: 8px auto 0;
}

/* =========================
   PILLS / TAGS
========================= */

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stat-pill,
.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 157, 217, 0.20);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

/* =========================
   CASE STUDIES
========================= */

.main {
  padding: 20px 0 72px;
}

.container {
  width: min(var(--shell-width), 100%);
  margin: 0 auto;
}

.case-study {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin: 0 0 28px;
}

.case-study.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.case-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-blue), var(--bright-cyan-blue));
  color: var(--white);
  font-weight: 800;
}

.case-kicker {
  margin: 0 0 10px;
  color: var(--teal-accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.case-text h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1.1;
}

.case-summary {
  margin-bottom: 24px;
}

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

.case-block {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(15, 111, 198, 0.10) 0%,
    rgba(0, 157, 217, 0.08) 100%
  );
  border: 1px solid rgba(255,255,255,0.08);
}

.outcomes {
  margin: 0;
  padding-left: 18px;
}

.outcomes strong {
  color: var(--text-primary);
}

.case-image {
  position: relative;
  min-height: 100%;
}

.case-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.image-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: rgba(2, 17, 30, 0.76);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   SERVICES / GENERIC GRIDS
========================= */

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

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

/* =========================
   CAPABILITIES SECTION
========================= */

.capabilities-section {
  align-items: start;
  gap: 2rem;
}

.capability-groups {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.capability-group h3 {
  margin-bottom: 0.75rem;
}

.capability-group p {
  margin: 0.35rem 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 18px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
  border-radius: 18px;
}

table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 16px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

th {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.04em;
}

p,
li {
  font-size: 1rem;
}

/* =========================
   REVEALS
========================= */

.reveal-left,
.reveal-right,
.reveal-up,
.reveal-top,
.reveal-body {
  opacity: 1;
  will-change: opacity, transform;
}

.js-enabled .reveal-left,
.js-enabled .reveal-right,
.js-enabled .reveal-up,
.js-enabled .reveal-top,
.js-enabled .reveal-body {
  opacity: 0;
}

.reveal-left {
  transform: translateX(-24px);
}

.reveal-right {
  transform: translateX(24px);
}

.reveal-up,
.reveal-top,
.reveal-body {
  transform: translateY(26px);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-up.is-visible,
.reveal-top.is-visible,
.reveal-body.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-case {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal-case.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
    order: 2;
  }

  .hero-title,
  .hero-copy h1,
  .hero h1,
  .hero-subtitle,
  .description,
  .hero-sub {
    max-width: 100%;
  }

  .button-row,
  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: 1;
  }

  .logo-panel {
    max-width: 360px;
  }

  .case-study,
  .case-study.reverse,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .shell,
  .header-inner {
    width: min(var(--shell-width), calc(100% - 24px));
  }

  .page-shell {
    padding: 12px 0 48px;
  }

  .page-hero,
  .hero {
    padding: 0 0 16px;
  }

  .hero-panel {
    padding: 18px;
  }

  .hero-panel,
  .hero-card,
  .surface-card,
  .info-card,
  .section-intro,
  .case-card,
  .image-card,
  .logo-panel {
    border-radius: 22px;
  }

  .hero-title,
  .hero-copy h1,
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }

  .hero-subtitle,
  .description,
  .hero-sub {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
  }

  .button-row,
  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .cta {
    width: 100%;
  }

  .surface-card,
  .info-card,
  .section-intro,
  .case-text {
    padding: 22px 18px;
  }

  .surface-card p,
  .surface-card li,
  .info-card p,
  .section-intro p,
  .case-summary,
  .case-block p,
  .outcomes li {
    font-size: 1rem;
    line-height: 1.7;
  }

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
/* =========================
   CONTACT SECTION
========================= */
.contact-email {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.contact-email:hover {
  color: #10CF9B; /* tu verde corporativo */
  border-bottom: 1px solid #10CF9B;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  align-items: center;
  gap: 2rem;
}

.contact-text {
  min-width: 0;
  text-align: left;
}

.contact-text h2 {
  margin-bottom: 18px;
}

.contact-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.contact-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* MOBILE / TABLET */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-text {
    order: 1;
    text-align: left;
  }

  .contact-image {
    order: 2;
	 justify-content: center;
    width: 100%;
    margin-top: 0.25rem;
  }

.contact-image img {
  width: 100%;
   margin: 0 auto;
  max-width: 280px; /* 👈 más grande pero balanceado */
}
}