/* ===========================================
   KREITECH URUGUAY v2 — STYLES
   =========================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  color: #424242;
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== UTILITIES ===== */
.gradient-text {
  background: linear-gradient(90deg, #100075 0%, #00DCDD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.36px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 16px 32px;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 3, 183, 0.25);
}

.btn--primary {
  background: #0D03B7;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: #100075;
  border: 1px solid #0D03B7;
}

.btn--white {
  background: #fff;
  color: #100075;
}

.section-title {
  font-weight: 700;
  font-size: 64px;
  line-height: 120%;
  letter-spacing: 0.64px;
  color: #100075;
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-size: 20px;
  line-height: 140%;
  color: #424242;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0D03B7;
  margin-bottom: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(13, 3, 183, 0.08);
}

.navbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 120px;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* Legacy spans (unused, kept for safety) */
.navbar__logo-mark,
.navbar__logo-text { display: none; }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__menu > li {
  position: relative;
}

.navbar__menu a {
  font-size: 17px;
  font-weight: 500;
  line-height: 140%;
  color: #100075;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: opacity 0.2s;
}

.navbar__menu a:hover {
  opacity: 0.7;
}

.navbar__menu a.is-active {
  font-weight: 700;
}

.navbar__menu svg {
  width: 12px;
  height: 8px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.has-dropdown:hover > a svg {
  transform: rotate(180deg);
}

.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(16, 0, 117, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 10;
}

.has-dropdown:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown li a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #100075;
  transition: background 0.2s;
}

.navbar__dropdown li a:hover {
  background: rgba(0, 220, 221, 0.08);
  opacity: 1;
}

.navbar__cta {
  white-space: nowrap;
  padding: 12px 24px;
  font-size: 16px;
}

.navbar__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.navbar__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #100075;
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile menu open state */
.navbar__menu.is-open {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 16px 24px 24px;
  box-shadow: 0 8px 24px rgba(16, 0, 117, 0.12);
  z-index: 100;
  border-top: 1px solid rgba(13, 3, 183, 0.08);
}

.navbar__menu.is-open > li {
  width: 100%;
  border-bottom: 1px solid rgba(13, 3, 183, 0.06);
}

.navbar__menu.is-open > li:last-child {
  border-bottom: none;
}

.navbar__menu.is-open > li > a {
  padding: 14px 0;
  width: 100%;
  justify-content: space-between;
}

/* Mobile dropdown */
.navbar__menu.is-open .navbar__dropdown {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  background: rgba(13, 3, 183, 0.03);
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 8px;
}

/* Hamburger active state */
.navbar__mobile-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__mobile-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #0B0244 0%, #100075 30%, #00DCDD 70%, #78DEC7 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 120px 140px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero__title {
  font-weight: 700;
  font-size: 64px;
  line-height: 115%;
  letter-spacing: -0.5px;
  color: #fff;
}

.hero__subtitle {
  font-weight: 400;
  font-size: 22px;
  line-height: 145%;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__illustration {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blend-mode makes the black PNG backgrounds transparent on dark hero */
.hero__illustration img {
  width: 360px;
  height: 360px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Remove the white-fade divider */
.hero__divider {
  display: none;
}

/* Inner pages hero variant */
.hero--inner {
  min-height: 480px;
}

.hero--inner .hero__content {
  padding: 100px 120px 120px;
}

.hero--inner .hero__title {
  font-size: 52px;
}

/* ===== SECTION GENERAL ===== */
.section {
  position: relative;
  padding: 100px 0;
}

.section--bg-mint {
  background: linear-gradient(135deg, rgba(120, 222, 199, 0.08) 0%, rgba(0, 220, 221, 0.05) 100%);
}

.section__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
  max-width: 800px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

/* ===== SOLUTIONS GRID (home + general) ===== */
.solutions {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.solutions__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at -10% 30%, rgba(0, 220, 221, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 110% 80%, rgba(120, 222, 199, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.solutions__content {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 120px;
}

.solutions__header {
  margin-bottom: 60px;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* HIVE cards — 4 columns, extra compact */
.solutions__grid--hive {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .solutions__grid--hive {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .solutions__grid--hive {
    grid-template-columns: 1fr;
  }
}

.solutions__grid--hive .card {
  padding: 22px 20px;
  gap: 12px;
}

.solutions__grid--hive .card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.solutions__grid--hive .card__icon svg {
  width: 20px;
  height: 20px;
}

.solutions__grid--hive .card__title {
  font-size: 15px;
}

.solutions__grid--hive .card__text {
  font-size: 13px;
  line-height: 150%;
}

/* Compact cards inside the 5-col solutions strip */
.solutions__grid .card {
  padding: 26px 20px;
  gap: 16px;
}

.solutions__grid .card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.solutions__grid .card__icon svg {
  width: 24px;
  height: 24px;
}

.solutions__grid .card__title {
  font-size: 17px;
}

.solutions__grid .card__text {
  font-size: 13px;
  line-height: 150%;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(16, 0, 117, 0.06);
  border: 1px solid rgba(16, 0, 117, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 0, 117, 0.12);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #100075 0%, #00DCDD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.card__icon svg {
  width: 30px;
  height: 30px;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card__title {
  font-weight: 700;
  font-size: 22px;
  line-height: 125%;
  color: #100075;
}

.card__text {
  font-weight: 400;
  font-size: 15px;
  line-height: 155%;
  color: #424242;
}

.card__link {
  margin-top: auto;
  font-weight: 600;
  font-size: 15px;
  color: #0D03B7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.card:hover .card__link {
  gap: 10px;
}

/* ===== IA HIGHLIGHT (home) ===== */
.ia-highlight {
  position: relative;
  background: linear-gradient(135deg, #100075 0%, #0D03B7 50%, #00DCDD 100%);
  overflow: hidden;
}

.ia-highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(120, 222, 199, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.ia-highlight__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 120px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.ia-highlight__text {
  flex: 1;
  color: #fff;
}

.ia-highlight__eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #78DEC7;
  margin-bottom: 16px;
  display: block;
}

.ia-highlight__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;
  color: #fff;
  margin-bottom: 24px;
}

.ia-highlight__desc {
  font-size: 18px;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.ia-highlight__illustration {
  flex: 0 0 320px;
}

/* Blend-mode for illustrations on dark IA section */
.ia-highlight__illustration img {
  width: 100%;
  mix-blend-mode: screen;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ===== HOW WE WORK ===== */
.how-we-work {
  padding: 100px 0;
  background: #fff;
}

.how-we-work__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: flex-start;
}

.how-we-work__left .section-title {
  font-size: 48px;
  margin-bottom: 24px;
}

.how-we-work__left p {
  font-size: 18px;
  line-height: 155%;
  color: #424242;
}

.how-we-work__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(16, 0, 117, 0.08);
}

.step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #100075 0%, #00DCDD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.step__content h3 {
  font-weight: 700;
  font-size: 22px;
  color: #100075;
  margin-bottom: 8px;
}

.step__content p {
  font-size: 16px;
  line-height: 150%;
  color: #424242;
}

/* ===== PARTNERS / CLIENTS ===== */
.partners,
.clients {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.partners__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 220, 221, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.clients__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at -5% 50%, rgba(218, 54, 145, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.partners__inner,
.clients__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.partners__title,
.clients__title {
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 0.3px;
  color: #100075;
  text-align: center;
}

.partners__logos,
.clients__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

/* Logo real de partner / cliente */
.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
  opacity: 1;
}
.partner-logo:hover {
  opacity: 0.80;
}
.partner-logo img {
  height: 128px;      /* tamaño base partners */
  width: auto;
  display: block;
  max-width: 260px;
  object-fit: contain;
}

/* Clientes institucionales: más chicos que partners */
.clients__logos .partner-logo img {
  height: 52px;
  max-width: 180px;
}

/* Ministerio del Interior: logo más pequeño visualmente, se compensa */
.clients__logos img[alt="Ministerio del Interior"] {
  height: 70px;
  max-width: 220px;
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid rgba(16, 0, 117, 0.1);
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #100075;
  letter-spacing: 0.5px;
  min-width: 140px;
  height: 64px;
  box-shadow: 0 2px 8px rgba(16, 0, 117, 0.05);
}

.logo-placeholder--lg {
  font-size: 20px;
  min-width: 180px;
}

/* ===== ABOUT / NOSOTROS ===== */
.about {
  padding: 100px 0;
  background: #fff;
}

.about__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}

.about__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 120%;
}

.about__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__right p {
  font-size: 18px;
  line-height: 155%;
  color: #424242;
}

/* ===== TEAM (Nosotros) ===== */
.team {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(120, 222, 199, 0.05) 0%, rgba(0, 220, 221, 0.03) 100%);
}

.team__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}

.team__header {
  text-align: center;
  margin-bottom: 60px;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(16, 0, 117, 0.06);
  border: 1px solid rgba(16, 0, 117, 0.06);
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto 20px;
  border: 3px solid rgba(16, 0, 117, 0.10);
  box-shadow: 0 4px 16px rgba(16, 0, 117, 0.12);
}

.team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #100075 0%, #00DCDD 100%);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 32px;
}

.team-card__name {
  font-weight: 700;
  font-size: 22px;
  color: #100075;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 14px;
  font-weight: 600;
  color: #0D03B7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.team-card__bio {
  font-size: 15px;
  line-height: 155%;
  color: #424242;
  text-align: left;
}

/* ── Team closing photo section ── */
.team-closing {
  padding: 20px 0 100px;
}

.team-closing__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.team-closing__photo {
  width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(16, 0, 117, 0.14);
}

.team-closing__caption {
  margin-top: 18px;
  font-size: 14px;
  color: #9ca3af;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ── Hero solo (no illustration) — centered text block ── */
.hero__content--solo {
  max-width: 760px;
  justify-content: center;
  text-align: center;
}
.hero__content--solo .hero__text {
  align-items: center;
  max-width: 680px;
}
.hero__content--solo .hero__eyebrow,
.hero__content--solo .hero__title,
.hero__content--solo .hero__subtitle {
  text-align: center;
}

/* ===== INNER PAGE CONTENT (Solutions) ===== */
.content-section {
  padding: 100px 0;
}

.content-section--alt {
  background: linear-gradient(135deg, rgba(120, 222, 199, 0.05) 0%, rgba(0, 220, 221, 0.03) 100%);
}

.content-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block--reverse {
  grid-template-columns: 1.5fr 1fr;
}

.content-block__heading h2 {
  font-weight: 700;
  font-size: 40px;
  line-height: 120%;
  color: #100075;
  margin-bottom: 16px;
}

.content-block__heading p {
  font-size: 17px;
  line-height: 155%;
  color: #424242;
}

.content-block__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.content-block__body p {
  font-size: 17px;
  line-height: 160%;
  color: #424242;
}

.content-block__body h3 {
  font-weight: 700;
  font-size: 22px;
  color: #100075;
  margin-bottom: 8px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  padding-left: 32px;
  position: relative;
}

.feature-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, #100075 0%, #00DCDD 100%);
}

.feature-item h4 {
  font-weight: 700;
  font-size: 18px;
  color: #100075;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 16px;
  line-height: 155%;
  color: #424242;
}

/* Numbered process list */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(16, 0, 117, 0.08);
  transition: border-color 0.2s, transform 0.2s;
}

.process-item:hover {
  border-color: rgba(0, 220, 221, 0.4);
  transform: translateX(4px);
}

.process-item__num {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 28px;
  background: linear-gradient(135deg, #100075 0%, #00DCDD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 50px;
}

.process-item__content h4 {
  font-weight: 700;
  font-size: 19px;
  color: #100075;
  margin-bottom: 6px;
}

.process-item__content p {
  font-size: 16px;
  line-height: 155%;
  color: #424242;
}

/* Partner tiles — reset link styles when used as <a> */
a.partner-tile {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

/* Partner tiles (servicios profesionales) */
.partner-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-tile {
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(16, 0, 117, 0.08);
  box-shadow: 0 4px 16px rgba(16, 0, 117, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(16, 0, 117, 0.08);
}

.partner-tile__brand {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(16, 0, 117, 0.06) 0%, rgba(0, 220, 221, 0.06) 100%);
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #100075;
  margin-bottom: 20px;
}

.partner-tile h3 {
  font-weight: 700;
  font-size: 20px;
  color: #100075;
  margin-bottom: 12px;
}

.partner-tile p {
  font-size: 15px;
  line-height: 155%;
  color: #424242;
}

/* Partner tile: logo image (servicios profesionales) */
.partner-tile__logo {
  height: 56px;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

/* Partner tile: tech icon (software factory) */
.partner-tile__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #F0EEFF 0%, #E2DAFF 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.partner-tile__icon svg {
  width: 22px;
  height: 22px;
  stroke: #100075;
}

/* Product detail blocks (SP — soluciones por párrafos) */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
}

.product-detail {
  padding: 36px 0;
  border-bottom: 1px solid rgba(16, 0, 117, 0.08);
  scroll-margin-top: 100px;
}

.product-detail:first-child {
  padding-top: 8px;
}

.product-detail:last-child {
  border-bottom: none;
}

.product-detail__title {
  margin-bottom: 16px;
  line-height: 1.25;
}

.product-detail__brand {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #100075;
}

.product-detail__subtitle {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
  margin-top: 3px;
}

.product-detail p {
  font-size: 15px;
  line-height: 168%;
  color: #424242;
  margin-bottom: 12px;
}

.product-detail p:last-child {
  margin-bottom: 0;
}

/* Tags / Tech chips */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tech-tag {
  padding: 6px 14px;
  background: rgba(0, 220, 221, 0.1);
  color: #100075;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

/* For who is this */
.target-audience {
  background: linear-gradient(135deg, rgba(16, 0, 117, 0.03) 0%, rgba(0, 220, 221, 0.05) 100%);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(0, 220, 221, 0.2);
}

.target-audience h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.target-audience ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.target-audience li {
  font-size: 17px;
  line-height: 155%;
  color: #424242;
  padding-left: 32px;
  position: relative;
}

.target-audience li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: #0D03B7;
  font-weight: 700;
  font-size: 18px;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 100px 0;
  background: #fff;
}

.portfolio__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}

.portfolio__filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  justify-content: center;
}

.portfolio__filter {
  padding: 10px 24px;
  border: 1px solid rgba(16, 0, 117, 0.15);
  background: #fff;
  border-radius: 100px;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #100075;
  cursor: pointer;
  transition: all 0.2s;
}

.portfolio__filter:hover {
  border-color: #0D03B7;
}

.portfolio__filter.is-active {
  background: linear-gradient(135deg, #100075 0%, #0D03B7 100%);
  color: #fff;
  border-color: transparent;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(16, 0, 117, 0.08);
  box-shadow: 0 4px 16px rgba(16, 0, 117, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 0, 117, 0.12);
}

.project-card__image {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.5px;
  overflow: hidden;
}

.project-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

/* Real project thumbnail images */
.project-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__image span {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
}

/* Distinct gradient variants for project cards */
.bg-grad-1 { background: linear-gradient(135deg, #100075 0%, #0D03B7 50%, #00DCDD 100%); }
.bg-grad-2 { background: linear-gradient(135deg, #0D03B7 0%, #00DCDD 100%); }
.bg-grad-3 { background: linear-gradient(135deg, #100075 0%, #DA3691 100%); }
.bg-grad-4 { background: linear-gradient(135deg, #00DCDD 0%, #78DEC7 100%); color: #100075 !important; }
.bg-grad-5 { background: linear-gradient(135deg, #0B0244 0%, #100075 50%, #0D03B7 100%); }
.bg-grad-6 { background: linear-gradient(135deg, #DA3691 0%, #100075 100%); }
.bg-grad-7 { background: linear-gradient(135deg, #00DCDD 0%, #0D03B7 100%); }
.bg-grad-8 { background: linear-gradient(135deg, #78DEC7 0%, #00DCDD 50%, #0D03B7 100%); color: #fff !important; }

.project-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.project-card__category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0D03B7;
}

.project-card__name {
  font-weight: 700;
  font-size: 22px;
  color: #100075;
  line-height: 120%;
}

.project-card__desc {
  font-size: 14px;
  line-height: 150%;
  color: #424242;
  flex: 1;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.project-card__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(16, 0, 117, 0.06);
  color: #100075;
  border-radius: 100px;
}

/* ===== SECTION DIVIDER (transition to dark contact) ===== */
.section-divider {
  line-height: 0;
  overflow: hidden;
}
.section-divider img {
  width: 100%;
  display: block;
}
.section-divider--contact {
  margin-bottom: -2px; /* elimina gap entre el divisor y la sección oscura */
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  background: linear-gradient(135deg, #07022e 0%, #100075 50%, #06012a 100%);
  overflow: hidden;
  padding: 100px 0 80px;
  margin-bottom: 0;
}

/* Fade to footer color so the seam is invisible */
.contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #06012a);
  pointer-events: none;
  z-index: 1;
}

.contact__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 5% 100%, rgba(120,222,199,0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 95% 0%,  rgba(0,220,221,0.12)  0%, transparent 45%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #78DEC7;
  margin-bottom: 20px;
}

.contact__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 118%;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.contact__title em {
  font-style: normal;
  color: #78DEC7;
}

.contact__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  line-height: 165%;
  margin-bottom: 40px;
  max-width: 360px;
}

.contact__social {
  display: flex;
  gap: 12px;
}

.contact__social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.contact__social-link:hover {
  background: rgba(120,222,199,0.15);
  border-color: rgba(120,222,199,0.40);
}

.contact__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Form — dark background */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  line-height: 140%;
  color: #fff;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.38);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(120,222,199,0.60);
  box-shadow: 0 0 0 3px rgba(120,222,199,0.12);
  background: rgba(255,255,255,0.10);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* Teal submit button */
.btn--accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border: none;
  cursor: pointer;
  background: #78DEC7;
  color: #07022e;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 8px;
}

.btn--accent:hover {
  background: #00DCDD;
  transform: translateY(-2px);
}

/* Form actions row (submit + calendly side by side) */
.contact__form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

/* White outline button (Calendly) */
.btn--outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn--outline-white:hover {
  border-color: #78DEC7;
  background: rgba(120,222,199,0.10);
  color: #78DEC7;
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  background: #06012a;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* Legacy spans (unused, kept for safety) */
.footer__logo-mark,
.footer__logo-text { display: none; }

.footer__tagline {
  font-size: 14px;
  line-height: 155%;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
}

.footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: #78DEC7;
}

.footer__bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer__social a:hover {
  background: rgba(120, 222, 199, 0.2);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .navbar__inner {
    padding: 16px 40px;
  }

  .hero__content {
    padding: 100px 40px 120px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__illustration img {
    width: 280px;
    height: 280px;
  }

  .solutions__content,
  .ia-highlight__inner,
  .how-we-work__inner,
  .partners__inner,
  .clients__inner,
  .about__inner,
  .team__inner,
  .content-section__inner,
  .portfolio__inner,
  .contact__inner,
  .footer__inner,
  .footer__bottom,
  .section__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .solutions__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio__grid,
  .partner-tiles,
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ia-highlight__inner,
  .how-we-work__inner,
  .about__inner,
  .contact__inner,
  .content-block,
  .content-block--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 36px;
  }

  .navbar__menu {
    display: none;
  }

  .navbar__inner {
    padding: 14px 24px;
    position: relative;
  }

  .navbar__mobile-toggle {
    display: block;
  }

  .navbar__cta {
    display: none;
  }

  .hero__content {
    padding: 80px 32px 80px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__illustration {
    display: none;
  }

  .ia-highlight__illustration {
    display: none;
  }

  .hero--inner .hero__title {
    font-size: 32px;
  }

  .solutions__content,
  .ia-highlight__inner,
  .how-we-work__inner,
  .partners__inner,
  .clients__inner,
  .about__inner,
  .team__inner,
  .content-section__inner,
  .portfolio__inner,
  .contact__inner,
  .footer__inner,
  .footer__bottom,
  .section__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid,
  .partner-tiles,
  .team__grid {
    grid-template-columns: 1fr;
  }

  .partners__logos,
  .clients__logos {
    gap: 24px;
  }

  .logo-placeholder {
    min-width: 120px;
    height: 56px;
    font-size: 16px;
  }

  .ia-highlight__title {
    font-size: 36px;
  }

  .how-we-work__left .section-title {
    font-size: 36px;
  }

  .content-block__heading h2 {
    font-size: 32px;
  }

  .contact__title {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .target-audience {
    padding: 32px 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact__subtitle {
    max-width: 100%;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANIMATIONS & ENHANCED EFFECTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Keyframes ─────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-22px); }
}
@keyframes heroGrad {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ── Hero: breathing gradient ──────────────────────── */
.hero {
  background-size: 280% 280% !important;
  animation: heroGrad 16s ease infinite;
}

/* ── Hero: staggered entrance ──────────────────────── */
.hero__eyebrow  { opacity: 0; animation: fadeInUp .55s .10s forwards ease-out; }
.hero__title    { opacity: 0; animation: fadeInUp .70s .22s forwards ease-out; }
.hero__subtitle { opacity: 0; animation: fadeInUp .65s .36s forwards ease-out; }
.hero__actions  { opacity: 0; animation: fadeInUp .55s .50s forwards ease-out; }
.hero__illustration {
  animation: fadeInUp .75s .28s both ease-out,
             float 7s  1.5s ease-in-out infinite;
}

/* ── Scroll reveal ─────────────────────────────────── */
.reveal, .reveal-l {
  transition: opacity .65s ease, transform .65s ease;
}
.reveal   { opacity: 0; transform: translateY(40px); }
.reveal-l { opacity: 0; transform: translateX(-40px); }
.reveal.is-visible,
.reveal-l.is-visible { opacity: 1; transform: none; }

/* ── Navbar: smooth shadow on scroll ──────────────── */
.navbar { transition: box-shadow .3s ease, background .3s ease; }
.navbar.is-scrolled {
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 4px 36px rgba(16,0,117,.13);
}

/* ── Primary button: shimmer ───────────────────────── */
.btn.btn--primary {
  background: linear-gradient(
    110deg, #100075 0%, #0D03B7 32%, #3B5BDB 58%, #0D03B7 78%, #100075 100%
  ) !important;
  background-size: 240% auto !important;
  transition: background-position .55s ease, transform .2s ease,
              box-shadow .25s ease, opacity .2s ease !important;
}
.btn.btn--primary:hover {
  opacity: 1 !important;
  background-position: right center !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 40px rgba(13,3,183,.42) !important;
}

/* ── Cards: enhanced hover ─────────────────────────── */
.card {
  transition: transform .32s ease, box-shadow .32s ease;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 56px rgba(16,0,117,.17);
}

/* ── Partner tiles: border glow ───────────────────── */
.partner-tile {
  transition: transform .30s ease, box-shadow .30s ease, border-color .30s ease;
}
.partner-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16,0,117,.1);
  border-color: rgba(0,220,221,.55) !important;
}

/* ── Team cards ────────────────────────────────────── */
.team-card {
  transition: transform .30s ease, box-shadow .30s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(16,0,117,.13);
}

/* ── Process items: nudge right ────────────────────── */
.process-item {
  border-radius: 12px;
  transition: background .28s ease, transform .28s ease, padding .28s ease;
}
.process-item:hover {
  background: rgba(0,220,221,.04);
  transform: translateX(8px);
}

/* ── Portfolio filter active glow ──────────────────── */
.portfolio__filter {
  transition: background .25s, color .25s, box-shadow .25s, transform .15s;
}
.portfolio__filter:hover:not(.is-active) {
  transform: translateY(-2px);
}
.portfolio__filter.is-active {
  box-shadow: 0 6px 20px rgba(13,3,183,.3);
}

/* ── Section header divider line ───────────────────── */
.section__header::after,
.team__header::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #00DCDD, #78DEC7);
  border-radius: 2px;
  margin-top: 20px;
}
.section__header--center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ── Contact section: left-column glow accent ──────── */
.contact__left {
  position: relative;
}

/* ── Logo: max height in navbar ───────────────────── */
.navbar__logo img { max-height: 40px; height: 40px; }

/* ── Process timeline (how-we-work left column) ───── */
.process-timeline {
  margin-top: 40px;
}
.process-timeline__svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
}

@media (max-width: 480px) {
  .solutions__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Orbit illustration (servicios-profesionales hero) ─────────────── */
@keyframes orbit1 { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1508; } }
@keyframes orbit2 { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1194; } }
@keyframes orbit3 { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -912;  } }
@keyframes orbit4 { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -660;  } }
@keyframes orbit5 { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -427;  } }
@keyframes orbit6 { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -220;  } }

.orbit-r1 { animation: orbit1 18s linear infinite; }
.orbit-r2 { animation: orbit2 14s linear infinite reverse; }
.orbit-r3 { animation: orbit3 11s linear infinite; }
.orbit-r4 { animation: orbit4  8s linear infinite reverse; }
.orbit-r5 { animation: orbit5  6s linear infinite; }
.orbit-r6 { animation: orbit6  4s linear infinite reverse; }

/* Wrapper absoluto: ocupa el 58% derecho del hero, superpuesto al gradiente */
.orbit-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.orbit-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* El hero que usa órbitas necesita overflow:hidden para que el SVG no desborde */
.hero--orbit {
  overflow: hidden;
}

/* En móvil la órbita se oculta — el texto toma el 100% */
@media (max-width: 768px) {
  .orbit-wrap { display: none; }
  #network-canvas { display: none; }
}

/* ── Hero canvas (home page full-hero network animation) ── */
.hero--canvas {
  position: relative;
  overflow: hidden;
}
#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero--canvas .hero__content {
  position: relative;
  z-index: 1;
}
.hero--canvas .hero__text {
  max-width: 780px;
}

@media (max-width: 768px) {
  .team-closing { padding: 0 0 60px; }
  .team-closing__inner { padding: 0 20px; }
  .team-closing__photo { border-radius: 12px; }
}
