@font-face {
  font-family: "Inter";
  src: url("/assets/Inter.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #091727;
  --blue: #3868f4;
  --turquoise: #18b89c;
  --white: #f3f6f9;
  --paper: #ffffff;
  --ink-soft: #536271;
  --line: #dbe3ea;
  --max: 1180px;
  --shadow: 0 26px 70px rgba(9, 23, 39, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 246, 249, 0.92);
  border-bottom: 1px solid rgba(9, 23, 39, 0.08);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { width: 182px; flex: 0 0 auto; }
.brand img { width: 100%; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #42505e;
  font-size: 14px;
  font-weight: 650;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: white; color: var(--blue); }
.nav-links .nav-cta { background: var(--navy); color: white; }
.nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current="page"] { background: var(--blue); color: white; }
.menu-button {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--navy);
  font: inherit;
}

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 104px 0; border-top: 1px solid rgba(9,23,39,.06); }
.section-compact { padding: 72px 0; border-top: 1px solid rgba(9,23,39,.06); }
.surface-blue { background: #c4d8f2; }
.surface-white { background: #ffffff; }
.surface-teal { background: #b7e0d8; }
.surface-gray { background: #e3e9ef; }
.section-watermark { position: relative; overflow: hidden; }
.section-watermark::after {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -20%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  background: url("/assets/yibralabs-symbol.svg") center / contain no-repeat;
  opacity: .05;
  pointer-events: none;
}
.section-watermark > .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--turquoise); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; }
h1 { max-width: 900px; margin-bottom: 28px; font-size: clamp(3.3rem, 8vw, 7.8rem); font-weight: 760; }
h2 { max-width: 770px; margin-bottom: 24px; font-size: clamp(2.25rem, 5vw, 4.8rem); font-weight: 720; }
h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 700; }
.lead { max-width: 710px; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; }
.button-primary:hover { background: var(--blue); border-color: var(--blue); }
.button-ghost { background: transparent; }
.button-ghost:hover { background: white; }
.arrow { font-size: 1.2em; }

.hero { min-height: calc(100vh - 76px); display: grid; align-items: center; overflow: hidden; }
.hero-grid { position: relative; padding: 100px 0 110px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 .accent { color: var(--blue); }
.hero h1 .product-word { position: relative; display: inline-block; }
.hero h1 .product-word::after {
  content: "";
  position: absolute;
  right: -0.08em;
  bottom: -0.03em;
  width: .2em;
  height: .2em;
  transform: rotate(45deg);
  background: var(--turquoise);
}
.home-visual-hero {
  position: relative;
  isolation: isolate;
  background: #06172b url("/assets/inicio-conexiones-bg-v1.png") 56% center / cover no-repeat;
  color: white;
}
.home-visual-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 14, 29, .97) 0%, rgba(4, 18, 36, .88) 40%, rgba(5, 24, 48, .32) 74%, rgba(5, 24, 48, .12) 100%),
    linear-gradient(0deg, rgba(3, 15, 30, .78) 0%, rgba(3, 15, 30, .06) 62%);
}
.home-visual-hero .lead { color: #d5dfeb; }
.home-visual-hero .eyebrow { color: #54d6bf; }
.home-visual-hero h1 .accent { color: #79a0ff; }
.home-visual-hero .button-primary { border-color: white; background: white; color: var(--navy); }
.home-visual-hero .button-primary:hover { border-color: var(--turquoise); background: var(--turquoise); }
.home-visual-hero .button-ghost { border-color: rgba(255,255,255,.68); color: white; }
.home-visual-hero .button-ghost:hover { border-color: white; background: white; color: var(--navy); }
.hero-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 132px;
  border: 0;
  background: transparent;
}
.hero-meta div { min-height: 112px; padding: 24px; border: 1px solid rgba(9,23,39,.08); background: #dfe7ff; }
.hero-meta div:nth-child(2) { background: #dff3ef; }
.hero-meta div:nth-child(3) { background: #e3e9ef; }
.hero-meta strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero-meta span { color: #24384c; font-weight: 680; }

.navy-section { position: relative; overflow: hidden; background: var(--navy); color: white; }
.navy-section .eyebrow { color: #8ca8ff; }
.navy-section .lead, .navy-section .muted { color: #aebcca; }
.network-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: end;
}
.network-visual { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.network-visual::before {
  content: "";
  position: absolute;
  inset: 18%;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(24,184,156,.5) 49.6%, rgba(24,184,156,.5) 50.4%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgba(56,104,244,.55) 49.6%, rgba(56,104,244,.55) 50.4%, transparent 50.4%);
}
.node {
  position: relative;
  z-index: 1;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.09);
}
.node:nth-child(2) { background: rgba(56,104,244,.2); }
.node:nth-child(3) { background: rgba(24,184,156,.17); }
.node:nth-child(4) { background: rgba(255,255,255,.12); }
.node-number { color: var(--turquoise); font-size: 13px; font-weight: 750; letter-spacing: .1em; }
.node h3 { margin: 54px 0 0; font-size: 1.3rem; letter-spacing: -.02em; }

.home-creation-section { background: #f3f6fc; color: var(--navy); }
.home-creation-section .eyebrow { color: #2452c6; }
.home-creation-section .lead { color: #435569; }
.home-creation-section .node { border-color: #ccd8e7; background: #ffffff; }
.home-creation-section .node:nth-child(2) { background: #e4ecff; }
.home-creation-section .node:nth-child(3) { background: #ddf2ee; }
.home-creation-section .node:nth-child(4) { background: #e8eef6; }
.home-creation-section .node-number { color: #087968; }


.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-heading > * { margin-bottom: 0; }
.section-heading .lead { max-width: 420px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  border: 1px solid rgba(9,23,39,.09);
  background: #dfe7ff;
  box-shadow: 0 0 0 rgba(9,23,39,0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--product-accent, var(--blue));
}
.mentortribe-card { --product-accent: #66c8c3; border-color: rgba(255,255,255,.1); background: linear-gradient(145deg, #172c36 0%, #0f232c 100%); color: white; }
.mentortribe-card::after { content:""; position:absolute; width:280px; height:280px; right:-115px; bottom:-135px; border:1px solid rgba(183,218,213,.2); border-radius:50%; box-shadow:0 0 0 46px rgba(20,125,128,.08),0 0 0 92px rgba(20,125,128,.045); pointer-events:none; }
.mentortribe-card .product-index { color:#8edbd5; }
.mentortribe-card p { color:#c5d5d7; }
.mentortribe-card .card-link { color:#8edbd5; }
.mentortribe-card .endorsement { border-top-color:rgba(255,255,255,.15); color:#aabec2; }
.mentortribe-card-symbol { position: absolute; right: 30px; top: 27px; width: 58px; height: 58px; }
.mentortribe-card-logo { display: block; width: min(290px, 82%); height: auto; }
.mentortribe-card h3 { display: flex; align-items: center; min-height: 74px; }
.padigo-card { --product-accent: #0a9f87; background: linear-gradient(145deg, #dff5ef 0%, #cfece5 100%); }
.product-card-mark {
  position: absolute;
  right: 30px;
  top: 27px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--product-accent) 32%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--product-accent) 10%, white);
  color: var(--product-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
}
.product-card:hover { transform: translateY(-7px); border-color: transparent; box-shadow: var(--shadow); }
.product-index { color: var(--product-accent, var(--blue)); font-size: 13px; font-weight: 750; letter-spacing: .12em; }
.product-card h3 { margin: 82px 0 12px; font-size: clamp(2.2rem, 5vw, 4rem); }
.product-card p { max-width: 420px; color: var(--ink-soft); }
.card-link { display: inline-flex; align-items: center; gap: 10px; color: var(--product-accent, var(--blue)); font-weight: 720; }
.card-link .arrow { transition: transform .2s ease; }
.product-card:hover .card-link .arrow { transform: translateX(5px); }
.endorsement { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(9,23,39,.12); color: #536271; font-size: 13px; font-weight: 650; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: transparent; border: 0; }
.process-grid-five { grid-template-columns: repeat(6, 1fr); }
.process-grid-five .process-item { grid-column: span 2; }
.process-grid-five .process-item:nth-child(4), .process-grid-five .process-item:nth-child(5) { grid-column: span 3; }
.process-grid-six { grid-template-columns: repeat(3, 1fr); }
.process-item { min-height: 290px; padding: 28px; border: 1px solid rgba(9,23,39,.08); background: #dfe7ff; }
.process-item:nth-child(2) { background: #dff3ef; }
.process-item:nth-child(3) { background: #e3e9ef; }
.process-item:nth-child(4) { background: #e7ecff; }
.process-item:nth-child(5) { background: #d9f0eb; }
.process-item span { color: var(--turquoise); font-size: 13px; font-weight: 760; }
.process-item h3 { margin: 70px 0 10px; font-size: 1.45rem; }
.process-item p { color: var(--ink-soft); font-size: 15px; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 84px);
  background: var(--blue);
  color: white;
}
.cta-panel h2 { max-width: 810px; }
.cta-panel p { max-width: 620px; color: #dbe4ff; font-size: 1.15rem; }
.cta-panel .button { border-color: white; background: white; color: var(--navy); }
.cta-panel .button:hover { background: var(--turquoise); border-color: var(--turquoise); }

.page-hero { padding: 96px 0 76px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; font-size: clamp(3rem, 6.2vw, 5.85rem); }
.breadcrumb { margin-bottom: 34px; color: var(--ink-soft); font-size: 14px; }
.breadcrumb a:hover { color: var(--blue); }
.build-hero-watermark { position: relative; isolation: isolate; overflow: hidden; padding-block: 86px; }
.build-hero-watermark .container { position: relative; z-index: 1; }
.build-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); gap: 72px; align-items: end; }
.build-hero-grid h1 { max-width: 760px; font-size: clamp(3rem, 5.7vw, 5.35rem); }
.process-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(9,23,39,.1);
  background: rgba(255,255,255,.76);
  box-shadow: 0 24px 70px rgba(9,23,39,.08);
  backdrop-filter: blur(12px);
}
.process-preview span {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(9,23,39,.08);
  background: #e4eaff;
  color: var(--navy);
  font-weight: 700;
}
.process-preview span:nth-child(2), .process-preview span:nth-child(5) { background: #dcf1ec; }
.process-preview span:nth-child(3), .process-preview span:nth-child(6) { background: #e6ebf0; }
.process-preview b { color: var(--blue); font-size: 12px; letter-spacing: .1em; }
.build-hero-mark {
  position: absolute;
  right: -7%;
  top: 54%;
  z-index: 0;
  width: min(52vw, 660px);
  transform: translateY(-50%);
  opacity: .055;
  pointer-events: none;
}
.products-ecosystem-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  align-items: end;
  border-bottom: 0;
  background: #07182b url("/assets/productos-ecosistema-bg-v1.png") 58% center / cover no-repeat;
  color: white;
}
.products-ecosystem-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 17, 31, .98) 0%, rgba(5, 20, 37, .9) 36%, rgba(6, 24, 45, .42) 72%, rgba(6, 24, 45, .18) 100%),
    linear-gradient(0deg, rgba(4, 17, 31, .68) 0%, rgba(4, 17, 31, .08) 58%);
}
.products-ecosystem-hero .container { position: relative; z-index: 1; }
.products-ecosystem-hero h1 { max-width: 800px; font-size: clamp(3.2rem, 5.7vw, 5.5rem); text-wrap: balance; }
.products-ecosystem-hero .lead { max-width: 760px; color: #d3deea; }
.products-ecosystem-hero .eyebrow { color: #54d6bf; }
.products-ecosystem-hero .breadcrumb { color: #b9c7d6; }
.products-ecosystem-hero .breadcrumb a:hover { color: white; }
.nosotros-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  align-items: end;
  border-bottom: 0;
  background: #07182b url("/assets/nosotros-conexiones-bg-v1.png") 56% center / cover no-repeat;
  color: white;
}
.nosotros-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 17, 31, .98) 0%, rgba(5, 20, 37, .9) 38%, rgba(6, 24, 45, .36) 74%, rgba(6, 24, 45, .12) 100%),
    linear-gradient(0deg, rgba(4, 17, 31, .72) 0%, rgba(4, 17, 31, .06) 60%);
}
.nosotros-hero .container { position: relative; z-index: 1; }
.nosotros-hero h1 { max-width: 800px; font-size: clamp(3.2rem, 5.7vw, 5.5rem); text-wrap: balance; }
.nosotros-hero .lead { max-width: 740px; color: #d5dfeb; }
.nosotros-hero .eyebrow { color: #54d6bf; }
.nosotros-hero .breadcrumb { color: #b9c7d6; }
.nosotros-hero .breadcrumb a:hover { color: white; }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.two-col .sticky-label { position: sticky; top: 120px; align-self: start; }
.prose p { color: var(--ink-soft); font-size: 1.05rem; }
.prose .statement { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 660; line-height: 1.3; letter-spacing: -.03em; }
.value-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; border: 0; background: transparent; }
.value-card { grid-column: span 2; }
.value-card:nth-child(4), .value-card:nth-child(5) { grid-column: span 3; }
.value-card { min-height: 260px; padding: 30px; border: 1px solid rgba(9,23,39,.08); background: #dfe7ff; }
.value-card:nth-child(2), .value-card:nth-child(5) { background: #dff3ef; }
.value-card:nth-child(3) { background: #e3e9ef; }
.value-card:nth-child(4) { background: #e7ecff; }
.value-card p { color: var(--ink-soft); }
.value-card span { color: var(--blue); font-size: 13px; font-weight: 750; }
.product-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 610px; display: grid; align-items: end; padding: 94px 0 74px; background: var(--navy); color: white; }
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .92;
}
.mentortribe-hero::before { background: radial-gradient(circle at 82% 30%, rgba(82,111,232,.52), transparent 27%), linear-gradient(125deg, #091727 0%, #101d3f 100%); }
.padigo-hero::before { background: radial-gradient(circle at 82% 30%, rgba(24,184,156,.45), transparent 27%), linear-gradient(125deg, #071a24 0%, #0a3037 100%); }
.product-hero .container { position: relative; z-index: 1; }
.product-hero h1 { max-width: 760px; font-size: clamp(4rem, 8vw, 7rem); }
.product-hero .breadcrumb { color: #aebcca; }
.product-hero .lead { color: #bdc9d4; }
.product-hero-mark {
  position: absolute;
  right: max(4vw, 34px);
  top: 50%;
  z-index: 0;
  transform: translateY(-50%);
  color: rgba(255,255,255,.075);
  font-size: clamp(13rem, 28vw, 26rem);
  font-weight: 850;
  letter-spacing: -.1em;
  line-height: .8;
  pointer-events: none;
}
.product-badge { display: inline-flex; align-items: center; gap: 12px; color: #cfdae3; font-size: 14px; font-weight: 650; }
.product-badge img { width: 108px; filter: brightness(0) invert(1); opacity: .92; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card { min-height: 300px; padding: 32px; border: 1px solid rgba(9,23,39,.08); background: #dfe7ff; }
.detail-card:nth-child(2) { background: #dff3ef; }
.detail-card:nth-child(3) { background: #e3e9ef; }
.detail-card span { color: var(--turquoise); font-size: 13px; font-weight: 750; letter-spacing: .1em; }
.detail-card h3 { margin-top: 70px; }
.detail-card p { color: var(--ink-soft); }
.notice { padding: 26px 28px; border-left: 4px solid var(--turquoise); background: #eaf7f4; color: #27453f; }

.contact-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  padding-block: 50px;
  background: linear-gradient(110deg, #f3f6f9 0%, #edf2fb 62%, #dfe9ff 100%);
}
.contact-page-hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("/assets/yibralabs-symbol.svg") center / contain no-repeat;
  opacity: .075;
}
.contact-page-hero .container { position: relative; z-index: 1; }
.contact-page-hero .breadcrumb { margin-bottom: 24px; }
.contact-page-hero .eyebrow { margin-bottom: 18px; }
.contact-page-hero h1 { max-width: 720px; font-size: clamp(3rem, 4.8vw, 4.45rem); }
.contact-page-hero .lead { max-width: 680px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-intro { position: sticky; top: 120px; }
.contact-topics { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.contact-topics span { padding: 8px 12px; border: 1px solid rgba(9,23,39,.14); border-radius: 999px; background: rgba(255,255,255,.48); font-size: 13px; font-weight: 650; }
.contact-form { padding: clamp(28px, 5vw, 52px); border: 1px solid rgba(9,23,39,.1); background: white; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 14px; font-weight: 700; }
.form-field label span { color: var(--ink-soft); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bcc8d3;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--navy);
  font: inherit;
  font-size: 16px;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(56,104,244,.18); border-color: var(--blue); background: white; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 2px 0 26px; color: var(--ink-soft); font-size: 14px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.contact-form button { border: 0; cursor: pointer; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.form-status { margin: 0; color: var(--ink-soft); font-size: 14px; }
.form-status.success { color: #087b68; }
.form-status.error { color: #a62d2d; }

.site-footer { background: #06101b; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 60px; padding: 64px 0 44px; }
.footer-brand { width: 190px; margin-bottom: 28px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-intro { max-width: 430px; color: #aab7c3; }
.footer-column h3 { margin: 0 0 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8395a5; }
.footer-column a { display: block; width: fit-content; margin: 8px 0; color: #d7e0e7; }
.footer-column a:hover { color: var(--turquoise); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); color: #7f909e; font-size: 13px; }

@media (max-width: 900px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { justify-content: center; }
  .build-hero-mark { right: -24%; width: 78vw; }
  .build-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .network-grid, .two-col { grid-template-columns: 1fr; gap: 42px; }
  .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .contact-intro { position: static; }
  .two-col .sticky-label { position: static; }
  .process-grid, .process-grid-five { grid-template-columns: repeat(2, 1fr); }
  .process-grid-five .process-item, .process-grid-five .process-item:nth-child(4), .process-grid-five .process-item:nth-child(5) { grid-column: auto; }
  .detail-grid { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: repeat(2, 1fr); }
  .value-card, .value-card:nth-child(4), .value-card:nth-child(5) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container, .nav-shell { width: min(calc(100% - 28px), var(--max)); }
  .brand { width: 158px; }
  .section { padding: 76px 0; }
  .hero-grid { padding: 76px 0; }
  .home-visual-hero {
    min-height: 760px;
    background-position: 64% center;
  }
  .home-visual-hero::before {
    background:
      linear-gradient(90deg, rgba(3, 14, 29, .97) 0%, rgba(4, 18, 36, .85) 72%, rgba(5, 24, 48, .48) 100%),
      linear-gradient(0deg, rgba(3, 15, 30, .84) 0%, rgba(3, 15, 30, .12) 62%);
  }
  .home-visual-hero .hero-meta { margin-top: 86px; }
  .hero-meta, .product-grid, .process-grid, .process-grid-five, .value-list { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading .lead { margin-top: 20px; }
  .network-visual { grid-template-columns: 1fr; gap: 24px; }
  .network-visual::before { display: none; }
  .network-visual .node:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -25px;
    width: 2px;
    height: 25px;
    transform: translateX(-50%);
    background: linear-gradient(var(--turquoise), var(--blue));
    opacity: .7;
    pointer-events: none;
  }
  .product-card { min-height: 360px; padding: 28px; }
  .product-card h3 { margin-top: 58px; }
  .page-hero { padding: 74px 0 58px; }
  .build-hero-watermark { padding-block: 70px; }
  .process-preview { grid-template-columns: 1fr 1fr; padding: 12px; }
  .process-preview span { min-height: 72px; padding: 13px; font-size: 14px; }
  .build-hero-mark { right: -42%; top: 58%; width: 110vw; opacity: .055; }
  .products-ecosystem-hero {
    min-height: 620px;
    background-position: 64% center;
  }
  .products-ecosystem-hero::before {
    background:
      linear-gradient(90deg, rgba(4, 17, 31, .96) 0%, rgba(5, 20, 37, .8) 72%, rgba(6, 24, 45, .5) 100%),
      linear-gradient(0deg, rgba(4, 17, 31, .82) 0%, rgba(4, 17, 31, .12) 62%);
  }
  .nosotros-hero {
    min-height: 620px;
    background-position: 66% center;
  }
  .nosotros-hero::before {
    background:
      linear-gradient(90deg, rgba(4, 17, 31, .96) 0%, rgba(5, 20, 37, .78) 72%, rgba(6, 24, 45, .46) 100%),
      linear-gradient(0deg, rgba(4, 17, 31, .84) 0%, rgba(4, 17, 31, .12) 62%);
  }
  .contact-page-hero { min-height: auto; padding-block: 56px; }
  .contact-page-hero::after { right: -44%; width: 104vw; opacity: .045; }
  .product-hero { min-height: 540px; padding-block: 74px 60px; }
  .product-hero-mark { right: -8%; font-size: 56vw; opacity: .72; }
  .product-card-mark { right: 22px; top: 22px; width: 52px; height: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* PadiGo product entry points use the approved product identity. */
.product-card.padigo-card {
  --product-accent: #a3ff3d;
  color: #ffffff;
  background: #0b0f1a;
}
.padigo-card .padigo-card-logo { width: min(260px, 100%); height: auto; }
.padigo-card h3 { margin: 64px 0 25px; }
.padigo-card p { color: #d3dce5; }
.padigo-card .card-link { color: #a3ff3d; }
.padigo-card .endorsement { color: #c1cbd5; border-color: #394451; }
.padigo-card:focus-visible { outline: 3px solid #3868f4; outline-offset: 5px; }
@media (max-width: 640px) {
  .padigo-card h3 { margin-top: 40px; }
}

/* Clear section transitions within the YibraLabs palette. */
.surface-blue .eyebrow, .surface-teal .eyebrow { color: #244bb3; }
.surface-blue .lead, .surface-teal .lead,
.surface-blue .prose p, .surface-teal .prose p { color: #374b60; }
.surface-blue .prose .statement, .surface-teal .prose .statement { color: var(--navy); }
.surface-blue .process-item { background: #ffffff; border-color: #a9c0dd; }
.surface-blue .process-item:nth-child(2), .surface-blue .process-item:nth-child(5) { background: #e8f5f1; }
.surface-blue .process-item:nth-child(3), .surface-blue .process-item:nth-child(6) { background: #f1f5fc; }
.process-item span { color: #087968; }
.connections-section {
  background: linear-gradient(90deg, rgba(9,23,39,.96), rgba(9,23,39,.90)),
    url("/assets/productos-ecosistema-bg-v1.png") center / cover no-repeat;
}
.connections-people {
  background-image: linear-gradient(90deg, rgba(9,23,39,.96), rgba(9,23,39,.90)),
    url("/assets/nosotros-conexiones-bg-v1.png");
}
.connections-section .prose p { color: #c4d2e1; }
.connections-section .prose .statement { color: #ffffff; }
.home-process-section .button-ghost { color: #ffffff; border-color: #b7c9dd; }
.home-process-section .button-ghost:hover { background: #ffffff; color: var(--navy); border-color: #ffffff; }
.home-process-section .process-item { color: var(--navy); border-color: #b6c9df; }
.home-process-section .process-item p { color: #435569; }
.cta-panel .eyebrow { color: #ffffff; }
