/* =========================================================
   01. Foundation tokens
   ========================================================= */
:root {
  --bg: #070816;
  --bg-soft: #0c1020;
  --panel: rgba(19, 22, 40, 0.82);
  --panel-2: rgba(26, 30, 51, 0.92);
  --text: #f5f7ff;
  --muted: #a9afc7;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #0436e6;
  --blue-2: #0436e6;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(64, 90, 255, 0.18), transparent 35%),
    radial-gradient(
      circle at 80% 10%,
      rgba(62, 117, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(180deg, #080915 0%, #05060f 100%);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* =========================================================
   02. Base elements & layout helpers
   ========================================================= */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 84px 0;
}
.section-tight {
  padding: 56px 0;
}
.section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(108, 126, 255, 0.22);
  background: rgba(52, 72, 192, 0.12);
  color: #8fa2ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   03. Header & navigation
   ========================================================= */
.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 22, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.logo span {
  color: var(--blue-2);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: #d4d9ef;
  font-size: 15px;
  position: relative;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  border-radius: 999px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-ghost {
  color: #dfe4ff;
  opacity: 0.82;
}

/* =========================================================
   04. Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  transition:
    background 1.2s ease,
    border-color 1.2s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease,
    filter 0.3s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  box-shadow: 0 12px 30px rgba(79, 103, 255, 0.28);
  border-color: rgba(125, 142, 255, 0.25);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
}

/* =========================================================
   05. Home hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 120px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 820px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 18, 0.18), rgba(4, 7, 18, 0.9)),
    radial-gradient(
      circle at 70% 20%,
      rgba(96, 175, 255, 0.35),
      transparent 25%
    ),
    radial-gradient(
      circle at 68% 26%,
      rgba(255, 255, 255, 0.1),
      transparent 8%
    ),
    linear-gradient(
      120deg,
      transparent 56%,
      rgba(255, 255, 255, 0.08) 57%,
      rgba(255, 255, 255, 0) 74%
    ),
    linear-gradient(
      135deg,
      transparent 58%,
      rgba(255, 255, 255, 0.1) 60%,
      rgba(255, 255, 255, 0) 78%
    ),
    linear-gradient(180deg, rgba(12, 17, 38, 0.88), rgba(8, 10, 22, 0.98));
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background:
    radial-gradient(
      circle at 60% 20%,
      rgba(129, 204, 255, 0.32),
      transparent 20%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.65) 0 1.2%,
      transparent 1.4%
    ),
    radial-gradient(
      circle at 77% 30%,
      rgba(255, 255, 255, 0.65) 0 1.2%,
      transparent 1.4%
    ),
    radial-gradient(
      circle at 84% 30%,
      rgba(255, 255, 255, 0.65) 0 1.2%,
      transparent 1.4%
    ),
    radial-gradient(
      circle at 70% 37%,
      rgba(255, 255, 255, 0.65) 0 1.2%,
      transparent 1.4%
    ),
    radial-gradient(
      circle at 77% 37%,
      rgba(255, 255, 255, 0.65) 0 1.2%,
      transparent 1.4%
    ),
    radial-gradient(
      circle at 84% 37%,
      rgba(255, 255, 255, 0.65) 0 1.2%,
      transparent 1.4%
    ),
    linear-gradient(
      120deg,
      transparent 18%,
      rgba(93, 165, 255, 0.18) 62%,
      transparent 63%
    );
  opacity: 0.9;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 26px 0 16px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-title .accent {
  background: #0436e6;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 700px;
  margin: 0 auto 24px;
  color: #d6dbf4;
  font-size: 22px;
  line-height: 1.45;
}
.hero-micro {
  margin-bottom: 14px;
  color: #8d96be;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7780a7;
}

/* =========================================================
   06. Shared cards & split layouts
   ========================================================= */
.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}
.card {
  background: linear-gradient(
    180deg,
    rgba(19, 23, 42, 0.92),
    rgba(13, 15, 28, 0.92)
  );
  border: 0px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-soft {
  background: linear-gradient(
    180deg,
    rgba(18, 21, 37, 0.78),
    rgba(12, 15, 27, 0.74)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}
.awards-image,
.video-mock,
.product-visual,
.office-thumb {
  position: relative;
  overflow: hidden;
}
.awards-image {
  min-height: 350px;
  background:
    radial-gradient(
      circle at 50% 28%,
      rgba(100, 210, 255, 0.7),
      transparent 18%
    ),
    radial-gradient(
      circle at 50% 88%,
      rgba(255, 55, 185, 0.55),
      transparent 18%
    ),
    linear-gradient(180deg, #101a30, #050712);
}
.trophy {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 220px;
  border-radius: 40px 40px 20px 20px;
  background: linear-gradient(180deg, #d4f2ff 0%, #63c6ff 40%, #142036 100%);
  filter: drop-shadow(0 18px 40px rgba(79, 103, 255, 0.3));
}
.trophy::before,
.trophy::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 48px;
  height: 86px;
  border: 8px solid rgba(170, 240, 255, 0.82);
  border-bottom: none;
  border-radius: 38px 38px 0 0;
}
.trophy::before {
  left: -42px;
}
.trophy::after {
  right: -42px;
}
.trophy-base {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 140px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(180deg, #8ddfff, #153255);
}
.awards-text h2,
.section-title {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 16px 0;
}
.section-title .accent,
.awards-text .accent,
.split-title .accent {
  color: #0436e6;
}
.muted {
  color: var(--muted);
}
.big-copy {
  font-size: 20px;
  line-height: 1.55;
  color: #d4daf6;
}
.awards-copy {
  max-width: 520px;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9cafef;
  font-weight: 700;
}

/* =========================================================
   07. Metrics section
   ========================================================= */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.metric-intro {
  grid-column: span 5;
  padding: 28px;
  min-height: 160px;
  background: #0436e6;
  position: relative;
  overflow: hidden;
}
.metric-intro::after {
  content: "B";
  position: absolute;
  right: 18px;
  top: -14px;
  font-size: 180px;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.13);
}
.metric-wide {
  grid-column: span 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
}
.metric-small {
  grid-column: span 3;
  padding: 26px 20px;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.metric-number {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 10px;
}
.metric-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #bfc6ea;
}
.center-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

/* =========================================================
   08. Product cards
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  padding: 22px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    background 1.2s ease,
    border-color 1.2s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease,
    filter 0.3s ease;
}
.product-card:hover,
.office-card:hover,
.detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 127, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}
.product-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(79, 103, 255, 0.2);
  color: #a7b4ff;
  font-weight: 800;
}
.product-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}
.link-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #95a5ff;
  font-weight: 700;
}

/* =========================================================
   09. Partners strip
   ========================================================= */
.partners-band {
  background: #040507;
  padding: 54px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.partner-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.partner-logo {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: #dfe3f8;
  font-weight: 800;
  letter-spacing: -0.03em;
  opacity: 0.82;
}

/* =========================================================
   10. Offices section
   ========================================================= */
.offices-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(109, 127, 255, 0.2);
  background: rgba(22, 28, 50, 0.55);
  color: #dfe4ff;
  font-weight: 700;
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.office-card {
  overflow: hidden;
  transition:
    background 1.2s ease,
    border-color 1.2s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease,
    filter 0.3s ease;
}
.office-thumb {
  height: 138px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 205, 133, 0.4),
      transparent 30%
    ),
    radial-gradient(
      circle at 75% 35%,
      rgba(104, 178, 255, 0.35),
      transparent 24%
    ),
    linear-gradient(135deg, #1e243c, #10131e);
}
.office-thumb.city-2 {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01)
    ),
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 171, 146, 0.42),
      transparent 24%
    ),
    radial-gradient(
      circle at 75% 35%,
      rgba(99, 144, 255, 0.3),
      transparent 24%
    ),
    linear-gradient(135deg, #2d2236, #151722);
}
.office-thumb.city-3 {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.01)
    ),
    radial-gradient(
      circle at 30% 20%,
      rgba(201, 219, 240, 0.3),
      transparent 24%
    ),
    radial-gradient(
      circle at 60% 70%,
      rgba(66, 138, 255, 0.25),
      transparent 30%
    ),
    linear-gradient(135deg, #263142, #0f1521);
}
.office-thumb.city-4 {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01)
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 224, 138, 0.42),
      transparent 24%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(93, 170, 255, 0.35),
      transparent 24%
    ),
    linear-gradient(135deg, #283143, #10131b);
}
.office-thumb.city-5 {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01)
    ),
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 145, 108, 0.42),
      transparent 24%
    ),
    radial-gradient(
      circle at 75% 35%,
      rgba(92, 130, 255, 0.34),
      transparent 24%
    ),
    linear-gradient(135deg, #38293a, #131521);
}
.office-copy {
  padding: 18px;
}
.office-copy h3 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.office-copy p {
  margin: 0 0 14px;
  color: #cfd5f0;
  font-size: 14px;
}
.tiny-link {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7f92ff;
  font-weight: 800;
}

/* =========================================================
   11. Contact teaser / shared contact UI
   ========================================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 34px;
}
.contact-copy h2 {
  font-size: 37px;
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0 0 18px;
}
.contact-copy p {
  color: #b8bfd9;
  font-size: 17px;
  line-height: 1.55;
}
.contact-points {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  color: #d8def8;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 13px;
  color: #c0c8e9;
  font-weight: 700;
}
.input,
.textarea {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  transition:
    background 1.2s ease,
    border-color 1.2s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease,
    filter 0.3s ease;
}
.input:focus,
.textarea:focus {
  border-color: rgba(99, 122, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(79, 103, 255, 0.14);
}
.textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form .btn {
  width: 100%;
  margin-top: 20px;
}

/* =========================================================
   12. Footer
   ========================================================= */
.footer {
  padding: 34px 0 44px;
  color: #aab2d6;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
}
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.social-row {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.social-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 26px;
}

/* =========================================================
   13. Inner page hero system
   ========================================================= */
.page-hero {
  padding: 72px 0 54px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 20, 0.55), rgba(7, 9, 20, 0.96)),
    radial-gradient(
      circle at 75% 20%,
      rgba(119, 186, 255, 0.18),
      transparent 20%
    ),
    linear-gradient(
      145deg,
      transparent 58%,
      rgba(255, 255, 255, 0.06) 59%,
      transparent 75%
    ),
    linear-gradient(180deg, #0b1022, #05060f);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.split-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
}
.split-title {
  font-size: clamp(46px, 7vw, 90px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 18px 0;
  font-weight: 900;
  text-transform: uppercase;
}
.quote {
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.35;
  color: #eef1ff;
}
.video-mock {
  margin-top: 24px;
  height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0.35), rgba(6, 8, 16, 0.82)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 84px
    ),
    linear-gradient(180deg, #163146, #081018);
  border: 1px solid rgba(95, 111, 255, 0.18);
}
.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.play-btn::before {
  content: "▶";
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 34px;
  padding-left: 6px;
}

/* =========================================================
   14. Timeline, values & product detail sections
   ========================================================= */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(79, 103, 255, 0.95),
    transparent
  );
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 34px 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(50% - 7px);
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 7px rgba(79, 103, 255, 0.16),
    0 0 24px rgba(79, 103, 255, 0.55);
}
.timeline-item .detail-card {
  padding: 24px;
  max-width: 360px;
}
.timeline-item:nth-child(odd) .detail-card {
  justify-self: end;
}
.timeline-item:nth-child(even) .detail-card {
  grid-column: 2;
  justify-self: start;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-card {
  padding: 28px;
  min-height: 220px;
}
.value-card h3 {
  font-size: 34px;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 28px 0 0;
}
.purpose {
  text-align: center;
  padding: 30px 0 10px;
}
.purpose .giant {
  position: absolute;
  inset: auto 0 0 0;
  text-align: center;
  font-size: 140px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.purpose-wrap {
  position: relative;
  padding: 28px 0 60px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.brand-box {
  height: 118px;
  display: grid;
  place-items: center;
  background: #f6f6f8;
  color: #2d2f38;
  border-radius: 18px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.05em;
  text-align: center;
  padding: 12px;
}
.product-details {
  display: grid;
  gap: 38px;
}
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.product-visual {
  height: 240px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0.2), rgba(8, 12, 24, 0.82)),
    radial-gradient(
      circle at 30% 30%,
      rgba(81, 179, 255, 0.32),
      transparent 22%
    ),
    linear-gradient(135deg, #121b31, #080b14);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.product-visual.alt {
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0.22), rgba(8, 12, 24, 0.82)),
    radial-gradient(
      circle at 70% 28%,
      rgba(255, 187, 102, 0.24),
      transparent 18%
    ),
    linear-gradient(135deg, #221c2c, #090a13);
}
.product-badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.cta-panel {
  padding: 54px 34px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(54, 71, 190, 0.68),
    rgba(4, 54, 230, 0.74)
  );
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-panel h2 {
  margin: 0 0 12px;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: 0;
}
.contact-hero {
  text-align: center;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 36px;
  align-items: start;
}
.contact-layout .contact-copy h2 {
  font-size: clamp(46px, 7vw, 90px);
  margin-bottom: 18px;
}
.contact-page-form {
  padding: 34px;
}
.badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================================================
   15. Global responsive rules
   ========================================================= */
@media (max-width: 1100px) {
  .products-grid,
  .offices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .metric-intro,
  .metric-wide {
    grid-column: span 12;
  }
  .metric-small {
    grid-column: span 6;
  }
  .split-hero,
  .contact-layout,
  .grid-2,
  .product-row {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .nav {
    height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 8px;
  }
  .hero-title {
    font-size: 64px;
  }
  .products-grid,
  .offices-grid,
  .values-grid,
  .contact-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrap {
    padding: 24px;
  }
  .timeline::before {
    left: 18px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    margin-left: 24px;
  }
  .timeline-item::before {
    left: 11px;
    top: 20px;
    transform: none;
  }
  .timeline-item .detail-card,
  .timeline-item:nth-child(odd) .detail-card,
  .timeline-item:nth-child(even) .detail-card {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
  }
  .offices-header,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding-top: 62px;
  }
  .hero-title,
  .split-title {
    font-size: 46px;
  }
  .hero-sub,
  .big-copy {
    font-size: 18px;
  }
  .metric-number {
    font-size: 48px;
  }
  .metric-small {
    grid-column: span 12;
  }
  .partner-logos,
  .logo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-box {
    font-size: 22px;
    height: 98px;
  }
  .cta-panel h2,
  .awards-text h2,
  .section-title,
  .contact-copy h2 {
    font-size: 38px;
  }
  .value-card h3 {
    font-size: 26px;
  }
}

/* =========================================================
   16. Asset-based overrides
   These rules swap placeholder gradients for real images/logos.
   ========================================================= */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 22px;
  width: auto;
  display: block;
}
.hero {
  background: url("../img/image_home_banner.jpg") center/cover no-repeat;
}
.hero::before {
  background:
    linear-gradient(180deg, rgba(4, 7, 18, 0.28), rgba(4, 7, 18, 0.92)),
    radial-gradient(
      circle at 78% 18%,
      rgba(155, 220, 255, 0.22),
      transparent 18%
    ),
    linear-gradient(180deg, rgba(9, 12, 27, 0.5), rgba(8, 10, 22, 0.96));
}
.hero::after {
  display: none;
}
.awards-image {
  min-height: 350px;
  background: url("../img/rio.jpg") center/cover no-repeat;
}
.awards-image .trophy,
.awards-image .trophy-base {
  display: none;
}
.page-hero.page-empresa,
.page-hero.page-productos,
.page-hero.page-contacto {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero.page-empresa {
  background-image: url("../img/banner-empresa.jpg");
}
.page-hero.page-productos {
  background-image: url("../img/image_home_banner.jpg");
}
.page-hero.page-contacto {
  background-image: url("../img/image_home_banner.jpg");
}
.page-hero::before {
  background:
    linear-gradient(180deg, rgba(7, 9, 20, 0.52), rgba(7, 9, 20, 0.95)),
    radial-gradient(
      circle at 75% 20%,
      rgba(119, 186, 255, 0.16),
      transparent 20%
    ),
    linear-gradient(180deg, rgba(11, 16, 34, 0.25), rgba(5, 6, 15, 0.96));
}
.video-mock {
  background: url("../img/banner-video.jpg") center/cover no-repeat;
  min-height: 420px;
}
.office-thumb {
  background-size: cover;
  background-position: center;
}
.office-thumb {
  background-image: url("../img/madrid.jpg");
}
.office-thumb.city-2 {
  background-image: url("../img/ceuta.jpg");
}
.office-thumb.city-3 {
  background-image:
    url("../img/sao paulo.jpg"), url("../img/sao-paulo.jpg"),
    url("../img/saopaulo.jpg");
  background-image: url("../img/sao paulo.jpg");
}
.office-thumb.city-4 {
  background-image: url("../img/miami.jpg");
}
.office-thumb.city-5 {
  background-image: url("../img/bogota.jpg");
}
.brand-box {
  background: #e4e5e7;
  background-size: 70% auto;
  background-repeat: no-repeat;
  background-position: center;
  color: transparent;
  font-size: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.brand-box.brand-aff {
  background-image: url("../img/betandeal-affiliates.jpg");
}
.brand-box.brand-games {
  background-image: url("../img/betandeal-games.jpg");
}
.brand-box.brand-premium {
  background-image: url("../img/premiumpay.jpg");
}
.brand-box.brand-gainblers {
  background-image: url("../img/gainblers.jpg");
}
.brand-box.brand-xbetters {
  background-image: url("../img/xbetters.jpg");
}
.brand-box.brand-link2play {
  background-image: url("../img/link2play.jpg");
}
.partner-logo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: transparent;
  font-size: 0;
  opacity: 0.9;
}
.partner-logo.codere {
  background-image: url("../img/codere.png");
}
.product-visual {
  background-size: cover;
  background-position: center;
}
.product-visual.aff {
  background-image: url("../img/BetandDealAffiliates-grande.jpg");
}
.product-visual.games {
  background-image: url("../img/BeatAndDealGames-grande.jpg");
}
.product-visual.premium {
  background-image: url("../img/PremiumPay-grande.jpg");
}
.product-visual.gainblers {
  background-image: url("../img/Gainblers-grande.jpg");
}
.product-visual.xbetters {
  background-image: url("../img/X-Bettres-grande.jpg");
}
.product-visual.link2play {
  background-image: url("../img/Link2Play-grande.jpg");
}
.product-visual.network {
  background-image: url("../img/InfluenerNetwork-grande.jpg");
}
.product-visual .product-badge {
  background: rgba(6, 10, 18, 0.18);
  padding: 6px 10px;
  border-radius: 12px;
  backdrop-filter: blur(2px);
}
.contact-wrap {
  background: linear-gradient(
    180deg,
    rgba(19, 23, 42, 0.78),
    rgba(13, 15, 28, 0.86)
  );
}
@media (max-width: 1100px) {
  .office-thumb.city-3 {
    background-image: url("../img/sao paulo.jpg");
  }
}

/* =========================================================
   17. Project-specific visual refinements
   Consolidated tweaks added during iteration.
   ========================================================= */

/* --- Home fixes --- */ /* --- Home fixes --- */
.hero {
  background: url("../img/image_home_banner.jpg") center center / cover
    no-repeat;
  border-bottom: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero::before,
.hero::after {
  z-index: 1;
}

.hero::before {
  inset: -2px 0 -2px 0;
  background: linear-gradient(
    180deg,
    rgba(4, 7, 18, 0.22) 0%,
    rgba(4, 7, 18, 0.58) 62%,
    rgba(5, 6, 15, 0.96) 100%
  );
}
.hero::after {
  display: block;
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(5, 6, 15, 0) 0%, #05060f 85%);
  pointer-events: none;
}
.awards-image {
  min-height: 350px;
  background: url("../img/betandeal-awards.jpg") center/cover no-repeat !important;
}
.awards-image .trophy,
.awards-image .trophy-base {
  display: none !important;
}
.partner-logo {
  min-height: 88px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.partner-logo img {
  max-width: 120px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(1.05);
}
.office-thumb.city-3 {
  background-image: url("../img/rio.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

/* v2 home fixes */
.hero {
  min-height: 840px !important;
  padding-top: 140px !important;
  padding-bottom: 130px !important;
  display: flex;
  align-items: center;
}
.metric-wide {
  align-items: center !important;
}
.metric-wide > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.metric-wide .metric-number {
  margin-bottom: 0;
  line-height: 0.9;
}
.metric-wide .metric-label {
  margin-top: 0;
}
.metric-small {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 24px 20px !important;
}
.metric-small .metric-number,
.metric-small .metric-label {
  text-align: center !important;
  width: 100%;
}
@media (max-width: 560px) {
  .hero {
    min-height: 620px !important;
    padding-top: 100px !important;
    padding-bottom: 90px !important;
  }
}

/* v3 2016 block fix */
.metric-wide {
  align-items: center !important;
  gap: 20px !important;
}
.metric-wide > div {
  gap: 4px !important;
}
.metric-wide .metric-number {
  font-size: 72px !important;
  margin-bottom: 4px !important;
}
.metric-wide .metric-label {
  font-size: 16px !important;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* v4 center 2016 block with button */
.metric-wide {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 120px !important;
  text-align: center;
}
.metric-wide > div {
  align-items: center !important;
}
.metric-wide .metric-number {
  text-align: center;
}
.metric-wide .metric-label {
  text-align: center;
}
.metric-wide .btn {
  margin: 0 !important;
}

/* empresa hero fixes */
.page-hero.page-empresa {
  min-height: 860px !important;
  padding-top: 150px !important;
  padding-bottom: 140px !important;
  display: flex;
  align-items: center;
  background-image: url("../img/banner-empresa.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border-bottom: none !important;
}
.page-hero.page-empresa::before {
  inset: -2px 0 -2px 0 !important;
  background:
    linear-gradient(
      90deg,
      rgba(5, 6, 15, 0.82) 0%,
      rgba(5, 6, 15, 0.72) 34%,
      rgba(5, 6, 15, 0.4) 58%,
      rgba(5, 6, 15, 0.25) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 6, 15, 0.16) 0%,
      rgba(5, 6, 15, 0.42) 56%,
      rgba(5, 6, 15, 0.95) 100%
    ),
    radial-gradient(
      circle at 82% 10%,
      rgba(255, 255, 255, 0.18),
      transparent 18%
    ) !important;
}
.page-hero.page-empresa::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(5, 6, 15, 0) 0%, #05060f 86%);
  pointer-events: none;
}
.page-hero.page-empresa .page-hero-inner {
  width: 100%;
}
.page-hero.page-empresa .split-hero {
  grid-template-columns: 0.78fr 1.22fr !important;
  align-items: center;
}
.page-hero.page-empresa .split-title {
  font-size: clamp(72px, 8vw, 132px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.065em !important;
  margin: 20px 0 28px !important;
}
.page-hero.page-empresa .big-copy {
  max-width: 780px !important;
  font-size: 26px !important;
  line-height: 1.45 !important;
  color: #cfd5f0 !important;
}
.page-hero.page-empresa .quote {
  max-width: 980px !important;
  font-size: 30px !important;
  line-height: 1.34 !important;
  margin-top: 28px !important;
}
.page-hero.page-empresa .btn {
  min-width: 280px;
  min-height: 72px;
  font-size: 20px;
}
@media (max-width: 1100px) {
  .page-hero.page-empresa {
    min-height: 760px !important;
    padding-top: 120px !important;
    padding-bottom: 110px !important;
  }
  .page-hero.page-empresa .split-hero {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 560px) {
  .page-hero.page-empresa {
    min-height: 620px !important;
    padding-top: 96px !important;
    padding-bottom: 90px !important;
  }
  .page-hero.page-empresa .split-title {
    font-size: 45px !important;
  }
  .page-hero.page-empresa .big-copy {
    font-size: 18px !important;
  }
  .page-hero.page-empresa .quote {
    font-size: 18px !important;
  }
  .page-hero.page-empresa .btn {
    min-width: 220px;
    min-height: 58px;
    font-size: 16px;
  }
}

/* empresa hero match home height + typography fixes */
.page-hero.page-empresa {
  min-height: 820px !important;
  padding-top: 140px !important;
  padding-bottom: 130px !important;
}

.page-hero.page-empresa .split-title {
  font-size: clamp(60px, 6vw, 100px) !important;
  line-height: 0.92 !important;
}

.page-hero.page-empresa .big-copy {
  font-size: 20px !important;
  max-width: 640px !important;
}

.page-hero.page-empresa .quote {
  font-size: 22px !important;
  max-width: 720px !important;
}

.page-hero.page-empresa .btn {
  min-width: 220px;
  min-height: 56px;
  font-size: 16px;
}

/* values cards typography */
.value-card h3 {
  font-size: 26px !important;
  line-height: 1.4 !important;
}

/* video image */
.video-mock {
  background: url("../img/video.jpg") center/cover no-repeat !important;
}

/* HERO EMPRESA TYPO REFINEMENT (FIGMA MATCH) */
.page-hero.page-empresa .split-title {
  font-family: "Jakarta", sans-serif !important;
  font-weight: 800 !important;
  font-style: italic !important;
  font-size: clamp(64px, 7vw, 110px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.04em !important;
}

.page-hero.page-empresa .split-title .accent {
  display: block;
  font-style: italic !important;
}

.page-hero.page-empresa .eyebrow {
  font-size: 12px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase;
  color: #7f8cff !important;
}

.page-hero.page-empresa .big-copy {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #bfc6e0 !important;
}

.page-hero.page-empresa .quote {
  font-size: 20px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  border-left: 3px solid #6c7cff;
  padding-left: 16px;
}

/* HERO EMPRESA TITLE FINAL (INTER 90PX) */
.page-hero.page-empresa .split-title {
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  font-style: normal !important;
  font-size: 70px !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
}
.page-hero.page-empresa .split-title .accent {
  font-style: normal !important;
}

/* HERO EMPRESA TEXT WIDTH FIX */
.page-hero.page-empresa .big-copy {
  max-width: 880px !important;
}

.page-hero.page-empresa .quote {
  max-width: 900px !important;
}

/* FINAL empresa hero text width fix */
.page-hero.page-empresa .split-hero {
  grid-template-columns: 1fr !important;
}

.page-hero.page-empresa .page-hero-inner,
.page-hero.page-empresa .split-hero,
.page-hero.page-empresa .split-hero > div:first-child {
  max-width: 100% !important;
  width: 100% !important;
}

.page-hero.page-empresa .big-copy {
  max-width: 1120px !important;
  width: 1120px !important;
}

.page-hero.page-empresa .quote {
  max-width: 980px !important;
  width: 980px !important;
}

@media (max-width: 1200px) {
  .page-hero.page-empresa .big-copy {
    width: 100% !important;
    max-width: 960px !important;
  }
  .page-hero.page-empresa .quote {
    width: 100% !important;
    max-width: 860px !important;
  }
}

@media (max-width: 900px) {
  .page-hero.page-empresa .big-copy,
  .page-hero.page-empresa .quote {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* FIX spacing left while keeping width */
.page-hero.page-empresa .split-hero > div:first-child {
  padding-left: 80px !important;
}

@media (max-width: 1200px) {
  .page-hero.page-empresa .split-hero > div:first-child {
    padding-left: 40px !important;
  }
}

@media (max-width: 768px) {
  .page-hero.page-empresa .split-hero > div:first-child {
    padding-left: 20px !important;
  }
}

/* FINAL LEFT SPACING (desktop) */
.page-hero.page-empresa .split-hero > div:first-child {
  padding-left: 200px !important;
}

@media (max-width: 1200px) {
  .page-hero.page-empresa .split-hero > div:first-child {
    padding-left: 80px !important;
  }
}

@media (max-width: 768px) {
  .page-hero.page-empresa .split-hero > div:first-child {
    padding-left: 24px !important;
  }
}

/* PRODUCTS HERO = SAME AS EMPRESA */
.page-hero.page-productos {
  min-height: 85vh !important;
  display: flex;
  align-items: center;
}

.page-hero.page-productos .split-hero > div:first-child {
  padding-left: 200px !important;
}

.page-hero.page-productos .big-copy {
  max-width: 1050px !important;
}

.page-hero.page-productos .hero-content {
  max-width: 1050px;
}

@media (max-width: 1200px) {
  .page-hero.page-productos .split-hero > div:first-child {
    padding-left: 80px !important;
  }
}

@media (max-width: 768px) {
  .page-hero.page-productos .split-hero > div:first-child {
    padding-left: 24px !important;
  }
}

/* PRODUCTS HERO FINAL FIX */
.page-hero.page-productos {
  min-height: 820px !important;
  padding-top: 140px !important;
  padding-bottom: 130px !important;
  display: flex !important;
  align-items: center !important;
}

.page-hero.page-productos .page-hero-inner {
  width: 100% !important;
}

.page-hero.page-productos .split-hero {
  grid-template-columns: 0.78fr 1.22fr !important;
  align-items: center !important;
}

.page-hero.page-productos .split-hero > div:first-child {
  padding-left: 200px !important;
}

.page-hero.page-productos .big-copy {
  max-width: 880px !important;
  width: 880px !important;
}

.page-hero.page-productos .split-title {
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  font-size: 90px !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
}

@media (max-width: 1200px) {
  .page-hero.page-productos {
    min-height: 760px !important;
    padding-top: 120px !important;
    padding-bottom: 110px !important;
  }
  .page-hero.page-productos .split-hero > div:first-child {
    padding-left: 80px !important;
  }
  .page-hero.page-productos .big-copy {
    width: 100% !important;
    max-width: 760px !important;
  }
}

@media (max-width: 900px) {
  .page-hero.page-productos .split-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .page-hero.page-productos {
    min-height: 620px !important;
    padding-top: 96px !important;
    padding-bottom: 90px !important;
  }
  .page-hero.page-productos .split-hero > div:first-child {
    padding-left: 24px !important;
  }
  .page-hero.page-productos .big-copy {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* PRODUCTS HERO MATCH EMPRESA */
.page-hero.page-productos {
  min-height: 820px !important;
  padding-top: 140px !important;
  padding-bottom: 130px !important;
  display: flex !important;
  align-items: center !important;
}

.page-hero.page-productos .page-hero-inner {
  width: 100% !important;
}

.page-hero.page-productos .split-hero {
  grid-template-columns: 0.86fr 0.74fr !important;
  align-items: center !important;
  gap: 48px !important;
}

.page-hero.page-productos .split-hero > div:first-child {
  padding-left: 200px !important;
  justify-self: start !important;
}

.page-hero.page-productos .split-title {
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  font-size: 70px !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 26px !important;
}

.page-hero.page-productos .big-copy {
  max-width: 760px !important;
  width: 760px !important;
  font-size: 20px !important;
  line-height: 1.55 !important;
}

.page-hero.page-productos .btn {
  min-width: 280px !important;
  min-height: 72px !important;
  font-size: 20px !important;
}

.page-hero.page-productos .logo-grid {
  width: 560px !important;
  max-width: 560px !important;
  justify-self: end !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
}

.page-hero.page-productos .brand-box {
  height: 140px !important;
  border-radius: 22px !important;
}

@media (max-width: 1200px) {
  .page-hero.page-productos {
    min-height: 760px !important;
    padding-top: 120px !important;
    padding-bottom: 110px !important;
  }
  .page-hero.page-productos .split-hero {
    grid-template-columns: 1fr 0.9fr !important;
    gap: 32px !important;
  }
  .page-hero.page-productos .split-hero > div:first-child {
    padding-left: 80px !important;
  }
  .page-hero.page-productos .big-copy {
    width: 100% !important;
    max-width: 680px !important;
  }
  .page-hero.page-productos .logo-grid {
    width: 460px !important;
    max-width: 460px !important;
  }
  .page-hero.page-productos .brand-box {
    height: 120px !important;
  }
}

@media (max-width: 900px) {
  .page-hero.page-productos .split-hero {
    grid-template-columns: 1fr !important;
  }
  .page-hero.page-productos .logo-grid {
    justify-self: start !important;
    width: 100% !important;
    max-width: 560px !important;
  }
}

@media (max-width: 768px) {
  .page-hero.page-productos {
    min-height: 620px !important;
    padding-top: 96px !important;
    padding-bottom: 90px !important;
  }
  .page-hero.page-productos .split-hero > div:first-child {
    padding-left: 24px !important;
  }
  .page-hero.page-productos .split-title {
    font-size: 45px !important;
  }
  .page-hero.page-productos .big-copy {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 18px !important;
  }
  .page-hero.page-productos .btn {
    min-width: 220px !important;
    min-height: 58px !important;
    font-size: 16px !important;
  }
  .page-hero.page-productos .logo-grid {
    max-width: 100% !important;
    gap: 16px !important;
  }
  .page-hero.page-productos .brand-box {
    height: 108px !important;
  }
}

/* PRODUCTS HERO ALIGN WITH EMPRESA */
.page-hero.page-productos .page-hero-inner {
  max-width: none !important;
  width: calc(100% - 48px) !important;
  margin: 0 auto !important;
}

.page-hero.page-productos .split-hero {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 48px !important;
  align-items: center !important;
}

.page-hero.page-productos .split-hero > div:first-child {
  padding-left: 175px !important;
  max-width: 980px !important;
  width: 100% !important;
}

.page-hero.page-productos .big-copy {
  width: 100% !important;
  max-width: 820px !important;
}

.page-hero.page-productos .logo-grid {
  justify-self: end !important;
  width: 560px !important;
  max-width: 560px !important;
  margin-right: 70px !important;
}

@media (max-width: 1200px) {
  .page-hero.page-productos .page-hero-inner {
    width: calc(100% - 40px) !important;
  }
  .page-hero.page-productos .split-hero > div:first-child {
    padding-left: 80px !important;
    max-width: 760px !important;
  }
  .page-hero.page-productos .logo-grid {
    width: 460px !important;
    max-width: 460px !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 900px) {
  .page-hero.page-productos .split-hero {
    grid-template-columns: 1fr !important;
  }
  .page-hero.page-productos .split-hero > div:first-child {
    max-width: 100% !important;
  }
  .page-hero.page-productos .logo-grid {
    justify-self: start !important;
    width: 100% !important;
    max-width: 560px !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .page-hero.page-productos .page-hero-inner {
    width: calc(100% - 32px) !important;
  }
  .page-hero.page-productos .split-hero > div:first-child {
    padding-left: 0px !important;
  }
}

/* FIX HERO LINE WITHOUT REMOVING OVERLAY */
.page-hero.page-productos {
  position: relative;
  overflow: hidden;
}

/* adjust overlay to avoid visible cut line */
.page-hero.page-productos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 18, 0) 0%,
    rgba(5, 8, 18, 0.2) 70%,
    rgba(5, 8, 18, 0.6) 90%,
    rgba(5, 8, 18, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ensure content stays above overlay */
.page-hero.page-productos > * {
  position: relative;
  z-index: 2;
}

/* FINAL FIX: remove green line at bottom of productos hero */
.page-hero.page-productos {
  border-bottom: 0 !important;
  box-shadow: none !important;
  isolation: isolate;
}

.page-hero.page-productos::before {
  bottom: -2px !important;
}

.page-hero.page-productos::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  top: auto !important;
  height: 140px !important;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 15, 0) 0%,
    rgba(5, 6, 15, 0.18) 35%,
    rgba(5, 6, 15, 0.55) 68%,
    #05060f 100%
  ) !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

.page-hero.page-productos + section,
.page-hero.page-productos + .section {
  border-top: 0 !important;
  box-shadow: none !important;
  position: relative;
  z-index: 4;
  background: #05060f;
}

/* CONTACT PAGE TARGETED FIXES */
.page-hero.page-contacto {
  border-bottom: none !important;
  overflow: hidden;
}
.page-hero.page-contacto::before {
  inset: -2px 0 -2px 0 !important;
}
.page-hero.page-contacto::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 15, 0) 0%,
    rgba(5, 6, 15, 0.18) 36%,
    rgba(5, 6, 15, 0.58) 72%,
    #05060f 100%
  );
  pointer-events: none;
  z-index: 1;
}
.page-hero.page-contacto > * {
  position: relative;
  z-index: 2;
}

.contact-title {
  font-size: 70px !important;
  line-height: 1.02 !important;
  letter-spacing: 0em !important;
}

.rrss-heading {
  font-size: 36px !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  max-width: 560px;
  margin: 0 0 18px !important;
}

.contact-layout .contact-copy p {
  max-width: 640px;
}

.social-row {
  display: flex !important;
  gap: 28px !important;
  margin-top: 28px !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
}
.social-link {
  text-decoration: none;
}
.social-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  color: #fff !important;
  width: 96px !important;
  min-width: 96px !important;
  text-align: center !important;
}
.social-card > div:last-child {
  font-size: 18px !important;
  font-weight: 500 !important;
}
.social-icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(
    180deg,
    rgba(19, 23, 42, 0.92),
    rgba(13, 15, 28, 0.92)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22) !important;
  font-size: 0 !important;
}
.social-icon svg {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 1.8 !important;
}
.social-linkedin {
  color: #28a2ff !important;
}
.social-instagram {
  color: #ff2f91 !important;
}
.social-telegram {
  color: #2aa7ff !important;
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 35px !important;
  }
  .rrss-heading {
    font-size: 32px !important;
  }
  .social-row {
    gap: 18px !important;
    flex-wrap: wrap !important;
  }
}

/* === TIMELINE YEARS FINAL FIX === */
.timeline-item .detail-card h3 {
  color: #6c7bff !important;
  font-size: 48px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 8px !important;
  line-height: 1 !important;
}

/* make subtitle a bit clearer */
.timeline-item .detail-card .muted {
  font-size: 18px !important;
  color: #ffffff !important;
  opacity: 0.9;
}

/* spacing fix inside card */
.timeline-item .detail-card {
  padding: 32px 36px !important;
}

/* =========================================================
   18. Micro-interactions & animations
   ========================================================= */

/* === TIMELINE DOTS ANIMATION (LATEST BASE) === */ /* === TIMELINE DOTS ANIMATION (LATEST BASE) === */
.timeline-item::before {
  animation: timelineDotPulse 2.6s ease-in-out infinite !important;
  transform: translateY(-50%) scale(1);
  will-change: transform, box-shadow, opacity;
}

.timeline-item:nth-child(2)::before {
  animation-delay: 0.2s !important;
}
.timeline-item:nth-child(3)::before {
  animation-delay: 0.4s !important;
}
.timeline-item:nth-child(4)::before {
  animation-delay: 0.6s !important;
}
.timeline-item:nth-child(5)::before {
  animation-delay: 0.8s !important;
}
.timeline-item:nth-child(6)::before {
  animation-delay: 1s !important;
}

@keyframes timelineDotPulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 0.92;
    box-shadow:
      0 0 0 7px rgba(108, 123, 255, 0.1),
      0 0 18px rgba(108, 123, 255, 0.32);
  }
  50% {
    transform: translateY(-50%) scale(1.18);
    opacity: 1;
    box-shadow:
      0 0 0 11px rgba(108, 123, 255, 0.18),
      0 0 30px rgba(108, 123, 255, 0.62);
  }
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.92;
    box-shadow:
      0 0 0 7px rgba(108, 123, 255, 0.1),
      0 0 18px rgba(108, 123, 255, 0.32);
  }
}

/* === HOME CTA SUBTLE EFFECTS === */
.btn-soft-pulse {
  position: relative;
  animation: softButtonBreathStrong 3.2s ease-in-out infinite;
  will-change: transform, box-shadow, filter;
}

.btn-soft-pulse::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(108, 123, 255, 0.26) 0%,
    rgba(108, 123, 255, 0.1) 45%,
    rgba(108, 123, 255, 0) 72%
  );
  opacity: 0.55;
  z-index: -1;
  filter: blur(10px);
  animation: softButtonHaloStrong 3.2s ease-in-out infinite;
  pointer-events: none;
}

.btn-soft-pulse:hover {
  animation-play-state: paused;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(95, 118, 255, 0.3);
}

.btn-products-cta {
  min-width: 630px;
}

@keyframes softButtonBreathStrong {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 28px rgba(95, 118, 255, 0.18);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 16px 36px rgba(95, 118, 255, 0.28);
    filter: brightness(1.03);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 28px rgba(95, 118, 255, 0.18);
    filter: brightness(1);
  }
}

@keyframes softButtonHaloStrong {
  0% {
    transform: scale(0.94);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.52;
  }
  100% {
    transform: scale(0.94);
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-soft-pulse,
  .btn-soft-pulse::after {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .btn-products-cta {
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }
}

/* === STRONGER BUTTON EFFECT === */
@keyframes softButtonBreathStrong {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 28px rgba(95, 118, 255, 0.25);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 22px 55px rgba(95, 118, 255, 0.45);
    filter: brightness(1.08);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 28px rgba(95, 118, 255, 0.25);
    filter: brightness(1);
  }
}

@keyframes softButtonHaloStrong {
  0% {
    transform: scale(0.9);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.35;
  }
}

/* === LIGHT ONLY BUTTON EFFECT (NO SCALE) === */
.btn-soft-pulse {
  animation: buttonLightOnly 3s ease-in-out infinite !important;
}

.btn-soft-pulse::after {
  animation: buttonHaloOnly 3s ease-in-out infinite !important;
}

@keyframes buttonLightOnly {
  0% {
    transform: none;
    box-shadow: 0 10px 25px rgba(95, 118, 255, 0.25);
    filter: brightness(1);
  }
  50% {
    transform: none;
    box-shadow: 0 18px 45px rgba(95, 118, 255, 0.45);
    filter: brightness(1.08);
  }
  100% {
    transform: none;
    box-shadow: 0 10px 25px rgba(95, 118, 255, 0.25);
    filter: brightness(1);
  }
}

@keyframes buttonHaloOnly {
  0% {
    transform: scale(0.95);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.35;
  }
}

/* === REFINED BUTTON LIGHT (SUBTLE CTA) === */
.btn-soft-pulse {
  animation: buttonLightRefined 2s ease-in-out infinite !important;
}

.btn-soft-pulse::after {
  animation: buttonHaloRefined 2s ease-in-out infinite !important;
}

@keyframes buttonLightRefined {
  0% {
    box-shadow: 0 8px 20px rgba(95, 118, 255, 0.18);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 14px 30px rgba(95, 118, 255, 0.28);
    filter: brightness(1.04);
  }
  100% {
    box-shadow: 0 8px 20px rgba(95, 118, 255, 0.18);
    filter: brightness(1);
  }
}

@keyframes buttonHaloRefined {
  0% {
    transform: scale(0.97);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.45;
  }
  100% {
    transform: scale(0.97);
    opacity: 0.25;
  }
}

/* MATCH PRODUCTOS HERO CTA TO EMPRESA HERO CTA */
.page-hero.page-empresa .hero-company-btn,
.page-hero.page-productos .hero-products-btn {
  min-width: 220px !important;
  min-height: 56px !important;
  padding: 0 28px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .page-hero.page-empresa .hero-company-btn,
  .page-hero.page-productos .hero-products-btn {
    min-width: 220px !important;
    min-height: 56px !important;
    font-size: 16px !important;
  }
}

/* === CTA EFFECTS REUSED FROM HOME === */
.btn-soft-pulse {
  position: relative;
  animation: buttonLightRefined 2s ease-in-out infinite !important;
  will-change: box-shadow, filter;
}

.btn-soft-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(108, 123, 255, 0.22) 0%,
    rgba(108, 123, 255, 0.08) 48%,
    rgba(108, 123, 255, 0) 72%
  );
  opacity: 0.38;
  z-index: -1;
  filter: blur(8px);
  animation: buttonHaloRefined 2s ease-in-out infinite !important;
  pointer-events: none;
}

.btn-soft-pulse:hover {
  box-shadow: 0 14px 30px rgba(95, 118, 255, 0.28);
  filter: brightness(1.04);
}

@keyframes buttonLightRefined {
  0% {
    box-shadow: 0 8px 20px rgba(95, 118, 255, 0.18);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 14px 30px rgba(95, 118, 255, 0.28);
    filter: brightness(1.04);
  }
  100% {
    box-shadow: 0 8px 20px rgba(95, 118, 255, 0.18);
    filter: brightness(1);
  }
}

@keyframes buttonHaloRefined {
  0% {
    transform: scale(0.97);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.45;
  }
  100% {
    transform: scale(0.97);
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-soft-pulse,
  .btn-soft-pulse::after {
    animation: none !important;
  }
}

/* === CONTACT RRSS HOVER BLUE STATE === */
.social-link,
.social-card {
  transition:
    background 1.2s ease,
    border-color 1.2s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease,
    filter 0.3s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.social-card > div:last-child {
  transition:
    background 1.2s ease,
    border-color 1.2s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease,
    filter 0.3s ease,
    color 0.22s ease;
}

.social-icon {
  transition:
    background 1.2s ease,
    border-color 1.2s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease,
    filter 0.3s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.social-link:hover .social-icon,
.social-card:hover .social-icon {
  background: linear-gradient(
    180deg,
    rgba(108, 123, 255, 0.22),
    rgba(52, 62, 132, 0.22)
  ) !important;
  border-color: rgba(108, 123, 255, 0.45) !important;
  box-shadow:
    0 16px 38px rgba(95, 118, 255, 0.24),
    0 0 0 1px rgba(108, 123, 255, 0.12) inset !important;
  color: #dfe5ff !important;
  transform: translateY(-1px);
}

.social-link:hover .social-linkedin,
.social-card:hover .social-linkedin,
.social-link:hover .social-instagram,
.social-card:hover .social-instagram,
.social-link:hover .social-telegram,
.social-card:hover .social-telegram {
  color: #eef2ff !important;
}

.social-link:hover > div:last-child,
.social-card:hover > div:last-child {
  color: #7b8cff !important;
}

/* =========================================================
   19. Mobile menu & navigation behaviour
   ========================================================= */

/* ==== MENU FIX CLEAN ==== */ /* ==== MENU FIX CLEAN ==== */
.burger-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1102;
  flex: 0 0 auto;
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #eef2ff;
  border-radius: 999px;
  margin: 5px auto;
  transition:
    background 1.2s ease,
    border-color 1.2s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease,
    filter 0.3s ease,
    transform 0.22s ease,
    opacity 0.22s ease;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1100;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 15, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 33, 0.98),
    rgba(6, 8, 18, 0.98)
  );
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.28);
  padding: 96px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu-panel a {
  color: #eef2ff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}
.mobile-menu-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #eef2ff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 1103;
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.menu-open .burger-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .burger-btn span:nth-child(2) {
  opacity: 0;
}
body.menu-open .burger-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 981px) {
  .burger-btn,
  .mobile-menu {
    display: none !important;
  }
  .nav-links {
    display: flex !important;
  }
  .nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }
}
@media (max-width: 980px) {
  .nav-links,
  .nav-right {
    display: none !important;
  }
  .burger-btn {
    display: block !important;
  }
  .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}

/* ==== HOME METRICS MOBILE FIX ONLY ==== */
@media (max-width: 768px) {
  .metrics-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .metric-intro {
    display: block !important;
    padding: 24px 20px !important;
    min-height: auto !important;
  }
  .metric-intro .eyebrow {
    display: inline-flex !important;
    margin-bottom: 12px !important;
  }
  .metric-intro h3 {
    font-size: 34px !important;
    line-height: 1 !important;
    margin: 0 0 10px !important;
  }
  .metric-intro p {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .metric-wide {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    padding: 24px 20px !important;
    min-height: auto !important;
  }
  .metric-wide > div {
    width: 100% !important;
  }
  .metric-wide .metric-number {
    font-size: 68px !important;
    line-height: 0.92 !important;
    margin-bottom: 6px !important;
    text-align: left !important;
  }
  .metric-wide .metric-label {
    font-size: 18px !important;
    letter-spacing: 0.18em !important;
    text-align: left !important;
  }
  .metric-wide .btn {
    width: auto !important;
    min-width: 0 !important;
    align-self: flex-start !important;
    margin: 0 !important;
  }

  .metric-small {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 160px !important;
    padding: 20px !important;
  }
  .metric-small .metric-number {
    font-size: 62px !important;
    line-height: 0.95 !important;
    margin: 0 0 8px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .metric-small .metric-label {
    font-size: 18px !important;
    letter-spacing: 0.18em !important;
    width: 100% !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .metric-wide .metric-number {
    font-size: 58px !important;
  }
  .metric-small .metric-number {
    font-size: 54px !important;
  }
}

@media (max-width: 980px) {
  .page-hero.page-empresa,
  .page-hero.page-empresa::before,
  .page-hero.page-empresa::after {
    z-index: 0 !important;
  }

  .mobile-menu {
    z-index: 5000 !important;
  }
  .mobile-menu-backdrop {
    z-index: 5001 !important;
  }
  .mobile-menu-panel {
    z-index: 5002 !important;
  }
  .mobile-menu-close {
    z-index: 5003 !important;
  }
}

/* === ROBUST MOBILE MENU PANEL VISIBILITY FIX === */
@media (max-width: 980px) {
  .mobile-menu {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 6000 !important;
  }

  .mobile-menu-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 6001 !important;
  }

  .mobile-menu-panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
    transform: translateX(100%) !important;
    transition: transform 0.28s ease !important;
    z-index: 6002 !important;
    overflow-y: auto !important;
  }

  .mobile-menu-close {
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 6003 !important;
  }

  body.menu-open .mobile-menu-panel {
    transform: translateX(0) !important;
  }
}

/* === FIX HORIZONTAL SCROLL ON MOBILE === */
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body.menu-open {
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .mobile-menu,
  .mobile-menu-panel,
  .mobile-menu-backdrop {
    max-width: 100vw !important;
  }

  .mobile-menu-panel {
    right: 0 !important;
    width: min(86vw, 360px) !important;
    overflow-x: hidden !important;
  }

  .page-hero,
  .hero,
  .section,
  .container,
  .timeline,
  .timeline-item,
  .detail-card {
    max-width: 100% !important;
  }
}

/* === HOME MOBILE: CENTER CTA UNDER FUNDACION === */
@media (max-width: 768px) {
  .metric-wide {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .metric-wide > div {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .metric-wide .metric-number,
  .metric-wide .metric-label {
    width: 100% !important;
    text-align: center !important;
  }

  .metric-wide .btn {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* === PRODUCTOS MOBILE ORDER FIX: IMAGE THEN TEXT === */
@media (max-width: 768px) {
  .product-row,
  .product-section-row,
  .product-item-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    align-items: stretch !important;
  }

  .product-row > *,
  .product-section-row > *,
  .product-item-row > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Force media first, then text */
  .product-row .product-media,
  .product-row .product-image,
  .product-row .product-visual,
  .product-row .media-col,
  .product-row .image-col,
  .product-section-row .product-media,
  .product-section-row .product-image,
  .product-section-row .product-visual,
  .product-item-row .product-media,
  .product-item-row .product-image,
  .product-item-row .product-visual {
    order: 1 !important;
  }

  .product-row .product-copy,
  .product-row .product-text,
  .product-row .copy-col,
  .product-row .text-col,
  .product-section-row .product-copy,
  .product-section-row .product-text,
  .product-item-row .product-copy,
  .product-item-row .product-text {
    order: 2 !important;
  }

  /* If rows use direct alternating blocks, make first child image, second child text */
  .product-row > :first-child {
    order: 1 !important;
  }
  .product-row > :last-child {
    order: 2 !important;
  }

  /* When desktop uses reversed rows, kill it on mobile */
  .product-row.reverse,
  .product-row.row-reverse,
  .product-row.is-reversed {
    flex-direction: column !important;
  }

  .product-row img,
  .product-section-row img,
  .product-item-row img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* === PRODUCTOS MOBILE ORDER FIX V2 === */
@media (max-width: 768px) {
  .product-details {
    display: block !important;
  }

  .product-details .product-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }

  /* Keep odd rows as image then text */
  .product-details .product-row:nth-of-type(odd) > :first-child {
    order: 1 !important;
  }
  .product-details .product-row:nth-of-type(odd) > :last-child {
    order: 2 !important;
  }

  /* Flip even rows so image goes first and text second */
  .product-details .product-row:nth-of-type(even) > :first-child {
    order: 2 !important;
  }
  .product-details .product-row:nth-of-type(even) > :last-child {
    order: 1 !important;
  }

  .product-details .product-row > * {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  .product-details .product-row h2,
  .product-details .product-row p,
  .product-details .product-row .inline-link {
    text-align: left !important;
    margin-bottom: 25px;
  }
}

/* === CONTACTO: centrar bloque RRSS SOLO en móvil === */
@media (max-width: 768px) {
  .contact-copy {
    text-align: center !important;
    margin: 0 auto !important;
  }

  .contact-copy h2,
  .contact-copy p {
    text-align: center !important;
    margin-top: 30px;
  }

  .rrss,
  .rrss-icons,
  .social-icons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .rrss-item {
    text-align: center !important;
  }
}

/* === CONTACTO RRSS CENTER FIX (FORZADO) === */
@media (max-width: 768px) {
  /* fuerza el wrapper completo */
  .contact-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* contenedor de iconos (más genérico por si cambia nombre) */
  .contact-copy > div,
  .contact-copy .rrss,
  .contact-copy .social,
  .contact-copy .social-icons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 20px !important;
  }

  /* cada item centrado */
  .contact-copy a,
  .contact-copy .rrss-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
}

/* === GLOBAL SOFT RRSS HOVER FOR PRIMARY CTAs === */
.btn-primary {
  transition:
    background 2.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    color 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.btn-primary:hover {
  background: linear-gradient(
    180deg,
    rgba(108, 123, 255, 0.18),
    rgba(52, 62, 132, 0.18)
  ) !important;
  border-color: rgba(108, 123, 255, 0.35) !important;
  box-shadow:
    0 12px 28px rgba(95, 118, 255, 0.18),
    0 0 0 1px rgba(108, 123, 255, 0.12) inset,
    0 0 16px rgba(108, 123, 255, 0.12) !important;
  color: #eef2ff !important;
  filter: brightness(1.01) !important;
}

/* make text inside buttons smooth too */
.btn-primary:hover * {
  color: #eef2ff !important;
}

/* mobile no hover issues */
@media (hover: none) {
  .btn-primary:hover {
    background: inherit !important;
    border-color: inherit !important;
    box-shadow: inherit !important;
    color: inherit !important;
  }
}

/* extra softness on hover entry */
.btn-primary {
  transition-delay: 0.05s;
}

/* === REFINED BUTTON HOVER: SLOW BACKGROUND ONLY === */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  border-color: rgba(125, 142, 255, 0.25);
  transition:
    border-color 0.95s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.28s ease,
    filter 0.35s ease !important;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(108, 123, 255, 0),
    rgba(108, 123, 255, 0)
  );
  opacity: 0;
  transition:
    background 2.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-primary:hover::before {
  background: linear-gradient(
    180deg,
    rgba(108, 123, 255, 0.18),
    rgba(52, 62, 132, 0.18)
  );
  opacity: 1;
}

.btn-primary:hover {
  border-color: rgba(108, 123, 255, 0.35) !important;
  box-shadow:
    0 12px 28px rgba(95, 118, 255, 0.18),
    0 0 0 1px rgba(108, 123, 255, 0.12) inset,
    0 0 16px rgba(108, 123, 255, 0.12) !important;
  color: #eef2ff !important;
  filter: brightness(1.01) !important;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-primary:hover * {
  color: #eef2ff !important;
}

@media (hover: none) {
  .btn-primary:hover {
    border-color: inherit !important;
    box-shadow: inherit !important;
    color: inherit !important;
    filter: inherit !important;
  }
  .btn-primary:hover::before {
    opacity: 0 !important;
  }
}

/* === FINAL BUTTON HOVER OVERRIDE: LIGHT UP ON HOVER === */
.btn,
.btn::before,
.btn::after,
.btn *,
.btn-primary,
.btn-primary::before,
.btn-primary::after,
.btn-primary *,
.btn-secondary,
.btn-secondary::before,
.btn-secondary::after,
.btn-secondary * {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: #0436e6;
  border: 1px solid rgba(125, 142, 255, 0.24) !important;
  color: #f5f7ff !important;
  box-shadow: 0 10px 24px rgba(5, 10, 30, 0.28) !important;
  filter: brightness(0.98) !important;
  transition:
    background-color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease !important;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(126, 164, 255, 0.34) 0%,
    rgba(126, 164, 255, 0.12) 38%,
    rgba(126, 164, 255, 0) 72%
  );
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease !important;
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #5f7cff 0%, #3553ff 100%) !important;
  border-color: rgba(170, 188, 255, 0.72) !important;
  color: #ffffff !important;
  box-shadow:
    0 16px 36px rgba(53, 83, 255, 0.38),
    0 0 0 1px rgba(190, 205, 255, 0.22) inset,
    0 0 22px rgba(95, 124, 255, 0.34) !important;
  filter: brightness(1.12) saturate(1.08) !important;
}

.btn-primary:hover::before {
  opacity: 1;
  transform: scale(1.02);
}

.btn-primary:hover * {
  color: #ffffff !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #edf1ff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12) !important;
  transition:
    background-color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease !important;
}

.btn-secondary:hover {
  background: linear-gradient(
    90deg,
    rgba(95, 124, 255, 0.22) 0%,
    rgba(53, 83, 255, 0.16) 100%
  ) !important;
  border-color: rgba(140, 164, 255, 0.4) !important;
  color: #ffffff !important;
  box-shadow:
    0 14px 30px rgba(53, 83, 255, 0.18),
    0 0 18px rgba(95, 124, 255, 0.16) !important;
  filter: brightness(1.08) !important;
}

.btn:hover {
  transform: translateY(-1px) !important;
}

@media (hover: none) {
  .btn-primary:hover,
  .btn-secondary:hover {
    filter: none !important;
    transform: none !important;
  }

  .btn-primary:hover::before {
    opacity: 0 !important;
    transform: scale(0.94) !important;
  }
}

/* Empresa video presentation */
.video-player-shell {
  margin-top: 24px;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 28px;
  border: 1px solid rgba(95, 111, 255, 0.18);
  background: #050814 !important;
  min-height: 560px;
  display: block;
}

.video-presentation {
  display: block;
  width: 100%;
  height: 560px;
  min-height: 560px;
  background: #050814;
  object-fit: cover;
  border-radius: 28px;
}

.video-player-shell .play-btn {
  display: none !important;
}

@media (max-width: 860px) {
  .video-player-shell,
  .video-presentation {
    min-height: 420px;
    height: 420px;
  }
}

@media (max-width: 560px) {
  .video-player-shell,
  .video-presentation {
    min-height: 300px;
    height: 300px;
  }
}

/* Header color override */
header,
.navbar,
.header,
.site-header {
  background-color: #0436e6 !important;
}

/* Active menu underline fix on blue header */
.nav-links a.active::after {
  background: #ffffff !important;
}

.nav-links a:hover::after {
  background: #ffffff !important;
}

/* Inline product links glow hover */
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    color 0.35s ease,
    text-shadow 0.35s ease,
    transform 0.35s ease;
}

.inline-link:hover {
  color: #ffffff !important;
  text-shadow:
    0 0 10px rgba(4, 54, 230, 0.85),
    0 0 22px rgba(4, 54, 230, 0.45);
  transform: translateY(-1px);
}

/* Header fixed desktop + mobile */
header,
.site-header,
.header,
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

body {
  padding-top: 60px;
}

@media (max-width: 768px) {
  body {
    padding-top: 40px;
  }
}

/* Fix header bottom line on fixed menu */
header,
.site-header,
.header,
.navbar,
.navbar-wrap,
.navbar-container,
.nav-shell {
  border-bottom: none !important;
  box-shadow: none !important;
}

header::after,
.site-header::after,
.header::after,
.navbar::after,
.navbar-wrap::after,
.navbar-container::after,
.nav-shell::after {
  display: none !important;
  content: none !important;
}

/* =========================
   Embajadores Page
========================= */
.emb-page {
  background:
    radial-gradient(circle at 20% 10%, rgba(4, 54, 230, 0.16), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(4, 54, 230, 0.14), transparent 24%),
    #04060e;
}

.emb-hero {
  background-image: url("../img/embajadores/banner-embajadores.jpg");
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 90px;
  overflow: hidden;
}

.emb-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(3, 6, 18, 0.42) 0%,
      rgba(3, 6, 18, 0.72) 58%,
      #04060e 100%
    ),
    radial-gradient(
      circle at 78% 8%,
      rgba(255, 255, 255, 0.18),
      transparent 22%
    ),
    url("../img/embajadores/banner-embajadores.jpg") center/cover no-repeat;
  transform: scale(1.02);
}

.emb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 54, 230, 0.08),
    transparent 20%,
    transparent 75%,
    #04060e 100%
  );
  pointer-events: none;
}

.emb-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
}

.emb-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(108, 126, 255, 0.22);
  background: rgba(52, 72, 192, 0.12);
  color: #8fa2ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.emb-hero h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 110px);
  line-height: 0.95;
  font-weight: 900;
  color: #fff;
}

.emb-hero h1 span {
  display: block;
  color: #5f7cff;
  text-shadow: 0 0 22px rgba(95, 124, 255, 0.35);
}

.emb-hero p {
  max-width: 720px;
  margin: 22px auto 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.4;
}

.emb-hero-cta {
  min-width: 240px;
}

.emb-grid-section {
  padding: 70px 0 72px;
}

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

.emb-card {
  position: relative;
  padding: 28px 24px 22px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(18, 20, 29, 0.95),
    rgba(13, 14, 21, 0.98)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
  min-height: 360px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.emb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(95, 124, 255, 0.34);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(95, 124, 255, 0.1) inset;
}

.emb-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 1px solid rgba(95, 124, 255, 0.4);
  box-shadow:
    0 0 0 6px rgba(95, 124, 255, 0.06),
    0 0 28px rgba(95, 124, 255, 0.18);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.emb-avatar-dark {
  background-image:
    radial-gradient(circle at 30% 30%, #5263ff, #111 65%),
    linear-gradient(160deg, #111, #222);
}
.emb-avatar-city {
  background-image:
    linear-gradient(180deg, rgba(95, 124, 255, 0.25), rgba(95, 124, 255, 0.05)),
    radial-gradient(circle at 50% 30%, #d8e9ff 0 12%, transparent 13%),
    linear-gradient(135deg, #274864, #122133);
}
.emb-avatar-red {
  background-image:
    radial-gradient(circle at 50% 28%, #fdcf97 0 12%, transparent 13%),
    linear-gradient(160deg, #8b1029, #1b213a);
}
.emb-avatar-orange {
  background-image:
    radial-gradient(circle at 50% 24%, #ffe0a6 0 12%, transparent 13%),
    linear-gradient(160deg, #ee8e2e, #24334f);
}
.emb-avatar-black {
  background-image:
    radial-gradient(circle at 50% 22%, #c5d7ef 0 11%, transparent 12%),
    linear-gradient(160deg, #0c131b, #2b3038);
}
.emb-avatar-blue {
  background-image:
    radial-gradient(circle at 50% 22%, #f0d1a2 0 11%, transparent 12%),
    linear-gradient(160deg, #0d1b36, #1a2d59);
}
.emb-avatar-minimal {
  background-image:
    radial-gradient(
      circle at 50% 50%,
      transparent 0 30%,
      rgba(95, 124, 255, 0.5) 31% 33%,
      transparent 34%
    ),
    linear-gradient(160deg, #080b13, #0f1220);
}
.emb-avatar-suit {
  background-image:
    radial-gradient(circle at 50% 24%, #f0d6bc 0 11%, transparent 12%),
    linear-gradient(160deg, #0d1f42, #631d22);
}

.emb-card h3 {
  margin: 0 0 10px;
  text-align: center;
  color: #fff;
  font-size: 34px;
  line-height: 1.05;
}

.emb-card p {
  margin: 0 auto 16px;
  max-width: 320px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.55;
}

.emb-metric {
  text-align: center;
  color: #93a7ff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.emb-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.emb-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(95, 124, 255, 0.08);
  border: 1px solid rgba(95, 124, 255, 0.12);
  color: #bfc9ff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.emb-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.emb-share {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.emb-share:hover {
  color: #fff;
  transform: translateY(-1px);
}

.emb-card-cta {
  background: #0436e6;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(4, 54, 230, 0.28);
}

.emb-card-cta p,
.emb-card-cta h3,
.emb-card-cta .inline-link {
  color: #fff !important;
}

.emb-card-cta .emb-avatar {
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(0, 0, 0, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.emb-apply-section {
  padding: 26px 0 92px;
}

.emb-apply-card {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 20px;
  align-items: center;
  padding: 54px 48px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(4, 54, 230, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(18, 20, 29, 0.98), rgba(12, 14, 21, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.emb-apply-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(38px, 4vw, 68px);
  line-height: 0.95;
}

.emb-apply-copy p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.55;
}

.emb-apply-action {
  display: flex;
  justify-content: flex-end;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 64px;
  padding: 16px 26px;
  border-radius: 18px;
  background: #fff;
  color: #0c1020;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);
}

@media (max-width: 1100px) {
  .emb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .emb-apply-card {
    grid-template-columns: 1fr;
    padding: 38px 30px;
  }
  .emb-apply-action {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .emb-hero {
    min-height: 620px;
    padding: 130px 0 70px;
  }
  .emb-grid {
    grid-template-columns: 1fr;
  }
  .emb-card h3 {
    font-size: 28px;
  }
  .emb-card {
    min-height: auto;
  }
  .emb-apply-copy h2 {
    font-size: 44px;
  }
  .emb-apply-copy p {
    font-size: 17px;
  }
}

/* Embajadores hero adjusted to match Productos */
.emb-hero {
  min-height: 820px !important;
  padding: 180px 0 140px !important;
  align-items: center !important;
}

.emb-hero-content {
  max-width: 980px !important;
  text-align: center !important;
}

.emb-hero .eyebrow {
  margin-bottom: 26px !important;
}

.emb-hero-title {
  margin: 0 auto !important;
  max-width: 980px !important;
  font-size: clamp(64px, 9vw, 118px) !important;
  line-height: 0.92 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  color: #ffffff !important;
}

.emb-hero-title span {
  color: #5f7cff !important;
  text-shadow: none !important;
}

.emb-hero-copy {
  max-width: 820px !important;
  margin: 26px auto 0 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(18px, 2vw, 28px) !important;
  line-height: 1.45 !important;
}

@media (max-width: 1100px) {
  .emb-hero {
    min-height: 860px !important;
    padding: 170px 0 120px !important;
  }
}

@media (max-width: 720px) {
  .emb-hero {
    min-height: 760px !important;
    padding: 150px 0 90px !important;
  }

  .emb-hero-title {
    font-size: clamp(52px, 14vw, 78px) !important;
  }

  .emb-hero-copy {
    font-size: 18px !important;
    max-width: 92% !important;
  }
}

/* FINAL HERO TYPO + POSITION FIX */
.emb-hero {
  justify-content: flex-start !important;
  padding-top: 220px !important;
}

.emb-hero-content {
  margin-top: 40px !important;
}

.emb-hero-title {
  font-size: clamp(72px, 10vw, 120px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.05em !important;
}

.emb-hero-title span {
  display: block;
  font-size: inherit;
  font-weight: 900;
  color: #0436e6 !important;
}

.emb-hero-copy {
  margin-top: 18px !important;
  font-size: 20px !important;
  opacity: 0.85;
}

/* Embajadores title matched to Nuestra Historia */
.emb-hero-title {
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-size: 70px !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
}

.emb-hero-title span {
  display: block !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-size: 70px !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  color: #0436e6 !important;
}

@media (max-width: 768px) {
  .emb-hero-title,
  .emb-hero-title span {
    font-size: 45px !important;
  }
}

/* CENTER HERO PERFECTLY */
.emb-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding-top: 0 !important;
}

.emb-hero-content {
  margin: 0 auto !important;
  transform: translateY(-20px);
}

.emb-hero-title {
  text-transform: uppercase !important;
}

/* Embajadores CTA block matched to Productos */
.emb-apply-section {
  padding: 32px 0 92px !important;
}

.emb-cta-match {
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #2f3f99 0%, #0436e6 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.emb-cta-match__inner {
  min-height: 620px;
  padding: 86px 72px 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.emb-cta-match h2 {
  margin: 0;
  max-width: 1380px;
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  font-style: normal !important;
  font-size: clamp(52px, 5.2vw, 92px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff;
}

.emb-cta-match p {
  margin: 34px auto 46px;
  max-width: 1300px;
  font-family: "Inter", sans-serif !important;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.emb-cta-match__button {
  min-width: 390px;
  min-height: 92px;
  padding: 22px 48px !important;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(22px, 1.6vw, 28px) !important;
  line-height: 1 !important;
  background: #0f3ff2 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.12);
}

.emb-cta-match__button:hover {
  background: #2451ff !important;
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .emb-cta-match__inner {
    min-height: 520px;
    padding: 70px 36px;
  }
  .emb-cta-match__button {
    min-width: 320px;
    min-height: 78px;
  }
}

@media (max-width: 720px) {
  .emb-cta-match {
    border-radius: 26px;
  }
  .emb-cta-match__inner {
    min-height: auto;
    padding: 52px 22px 48px;
  }
  .emb-cta-match h2 {
    font-size: 42px !important;
  }
  .emb-cta-match p {
    font-size: 20px !important;
    margin: 24px auto 30px;
    max-width: 95%;
  }
  .emb-cta-match__button {
    width: 100%;
    min-width: 0;
    min-height: 66px;
    font-size: 20px !important;
  }
}

/* FIX CTA SIZE + TYPO */
.emb-cta-match h2 {
  margin: 0 0 12px !important;
  font-size: 52px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.emb-cta-match p {
  font-size: 20px !important;
  line-height: 1.55 !important;
  color: #d4daf6 !important;
  margin: 0 auto 28px !important;
  max-width: 900px !important;
}

.emb-cta-match__inner {
  min-height: auto !important;
  padding: 64px 40px !important;
}

.emb-cta-match__button {
  min-width: 260px !important;
  min-height: 64px !important;
  font-size: 18px !important;
}

/* Embajadores nav + mobile fix */
.nav-links a.active::after {
  background: #ffffff !important;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex !important;
    flex-direction: column;
  }
}

/* Embajadores avatar images + no share arrows */
.emb-links {
  justify-content: flex-start !important;
}

.emb-avatar-image {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.emb-share {
  display: none !important;
}

/* Mobile fix - Empresa banner */
@media (max-width: 768px) {
  .hero h1,
  .hero-title,
  .banner-title {
    font-size: 45px !important;
  }
}

/* FINAL MOBILE OVERRIDE - EMPRESA TITLE */
@media (max-width: 560px) {
  .page-hero.page-empresa .split-title {
    font-size: 45px !important;
    line-height: 0.95 !important;
  }
}
