@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'Roboto Condensed';
  src: url('assets/Roboto_Condensed/RobotoCondensed-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('assets/Roboto_Condensed/RobotoCondensed-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

:root {
  --bg: #02060B;
  --bg-2: #050b14;
  --bg-3: #07111D;
  --blue: #008CFF;
  --blue-2: #006FE6;
  --violet: #713BFF;
  --white: #FFFFFF;
  --soft: #C8D3DF;
  --muted: #7E8A98;
  --line: rgba(0, 140, 255, .28);
  --line-strong: rgba(0, 140, 255, .55);
  --glow: 0 0 35px rgba(0, 140, 255, .34);
  --card: rgba(6, 17, 29, .72);
  --card-2: rgba(9, 24, 39, .82);
  --radius: 24px;
  --max: 1180px;
  --headline: "Antonio", "Arial Narrow", "Roboto Condensed", "Oswald", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: "Roboto Condensed", Inter, Manrope, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 140, 255, .18), transparent 34%),
    radial-gradient(circle at 80% 50%, rgba(113, 59, 255, .12), transparent 30%),
    linear-gradient(180deg, #000 0%, var(--bg) 38%, #01040a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .72;
  background-image:
    linear-gradient(rgba(0, 140, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 140, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(0, 140, 255, .08) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 88px);
  opacity: .28;
}

::selection {
  background: var(--blue);
  color: #00101f;
}

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

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

.page {
  position: relative;
  overflow: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(0, 4, 10, .72);
  backdrop-filter: blur(18px);
  border-color: rgba(0, 140, 255, .18);
  padding: 11px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 150px;
}

.brand-logo {
  width: 74px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(0, 140, 255, .16));
}

.brand-tag {
  display: block;
  font-size: 20.8px;
  color: var(--blue);
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.1;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-links a:hover {
  color: #008cff;
}

.nav-links a.active {
  color: #008cff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hamburguesa Menú Móvil */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

/* Transición animada de hamburguesa */
.nav-toggle.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
  --btn-bg: rgba(0, 140, 255, .12);
  --btn-border: rgba(0, 140, 255, .55);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--white);
  font-weight: 760;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .48), transparent);
  transform: translateX(-120%) skewX(-20deg);
  transition: transform .8s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  z-index: -1;
  background: linear-gradient(135deg, rgba(0, 140, 255, .22), rgba(113, 59, 255, .12), rgba(255, 255, 255, .02));
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  border-color: rgba(255, 255, 255, .58);
}

.btn:hover::before {
  transform: translateX(130%) skewX(-20deg);
}

.btn.secondary {
  --btn-bg: rgba(255, 255, 255, .03);
  --btn-border: rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .82);
}

.btn.secondary:hover {
  color: var(--white);
  border-color: var(--blue);
}

.btn.small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 11px;
}

/* Typography */
.kicker {
  color: var(--blue);
  font-weight: 850;
  letter-spacing: .48em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.1vw, 13px);
  line-height: 1;
}

.section-kicker {
  margin-bottom: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.headline {
  font-family: var(--headline);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 300;
  line-height: 1.05;
  margin: 0;
}

.title-xl {
  font-size: clamp(41px, 8vw, 106px);
  max-width: 980px;
}

.title-lg {
  font-size: clamp(30px, 5.2vw, 70px);
  max-width: 960px;
}

.main-title {
  font-size: clamp(32px, 5vw, 62px);
  margin-bottom: 20px;
  line-height: 1.15;
  /* Increased line-height to prevent accents overlapping */
}

.title-md {
  font-size: clamp(25px, 4vw, 52px);
  max-width: 820px;
}

.blue {
  color: var(--blue) !important;
}

.violet {
  color: #9b7cff;
}

.body-lg {
  color: var(--soft);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
  max-width: 760px;
}

.body {
  color: var(--soft);
  line-height: 1.68;
  font-size: 15.5px;
}

.muted {
  color: var(--muted);
}

.section {
  position: relative;
  padding: 115px 0;
}

.section.tight {
  padding: 82px 0;
}

/* Hero Section */
.hero {
  min-height: 100svh;
  padding: 192px 0 72px;
  /* Increased padding top by another 30px */
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero .kicker {
  margin-bottom: 28px;
}

.hero-title {
  margin-bottom: 20px;
  font-size: clamp(40px, 7.5vw, 98px);
  line-height: 1.15;
  /* Increased line-height specifically for the hero title */
}

.hero-sub {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 28px 0 24px;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-sub.is-visible {
  opacity: 1;
}

.hero-sub span {
  font-family: var(--headline);
  font-size: clamp(18px, 2.4vw, 34px);
  line-height: .9;
  font-weight: normal;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.hero-sub .sep {
  color: var(--blue);
  opacity: .95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  opacity: 0;
  transition: opacity .8s ease .3s;
}

.hero-actions.is-visible {
  opacity: 1;
}

.hero-micro {
  margin-top: 24px;
  opacity: 0;
  transition: opacity .8s ease .15s;
}

.hero-micro.is-visible {
  opacity: 1;
}

.hero-visual {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  margin-top: -200px;
  /* Moved up by 200px */
}

.system-core {
  position: relative;
  width: min(95%, 532px);
  aspect-ratio: 1 / 1.05;
  border: 1px solid rgba(0, 140, 255, .2);
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 140, 255, .18), transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(0, 0, 0, .15));
  border-radius: 32px;
  overflow: hidden;
  box-shadow: inset 0 0 90px rgba(0, 140, 255, .08), 0 28px 90px rgba(0, 0, 0, .5);
  transform: perspective(900px) rotateX(4deg) rotateY(-7deg);
}

.system-core::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 140, 255, .12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 140, 255, .12) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .28;
}

.system-core::after {
  content: "";
  position: absolute;
  width: 210%;
  height: 210%;
  left: -55%;
  top: -54%;
  background: conic-gradient(from 180deg, transparent, rgba(0, 140, 255, .22), transparent 24%, rgba(113, 59, 255, .2), transparent 54%);
  animation: rotate 16s linear infinite;
  opacity: .8;
}

.core-inner {
  position: absolute;
  inset: 28px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(0, 0, 0, .25);
}

.core-logo {
  width: min(38%, 190px);
  filter: drop-shadow(0 0 24px rgba(0, 140, 255, .28));
  opacity: .98;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(0, 140, 255, .32);
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}

.orbit.o1 {
  inset: 18%;
  animation: pulse 3.2s ease-in-out infinite;
}

.orbit.o2 {
  inset: 28%;
  border-style: dashed;
  animation: pulse 4s ease-in-out infinite .35s;
}

.orbit.o3 {
  inset: 8%;
  border-color: rgba(113, 59, 255, .28);
  animation: pulse 4.4s ease-in-out infinite .7s;
}

.node {
  position: absolute;
  z-index: 4;
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 140, 255, .28);
  background: rgba(2, 9, 18, .76);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 140, 255, .09);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.node strong {
  display: block;
  color: var(--blue);
  margin-bottom: 4px;
  font-size: 12px;
}

.node.n1 {
  top: 9%;
  left: 7%;
}

.node.n2 {
  top: 12%;
  right: 5%;
}

.node.n3 {
  bottom: 14%;
  left: 8%;
}

.node.n4 {
  bottom: 10%;
  right: 8%;
}

.blueprint-line {
  position: absolute;
  z-index: 3;
  height: 1px;
  width: 150px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: .75;
}

.blueprint-line.l1 {
  left: 19%;
  top: 35%;
  transform: rotate(28deg);
}

.blueprint-line.l2 {
  right: 16%;
  top: 38%;
  transform: rotate(-35deg);
}

.blueprint-line.l3 {
  left: 20%;
  bottom: 31%;
  transform: rotate(-30deg);
}

.blueprint-line.l4 {
  right: 19%;
  bottom: 32%;
  transform: rotate(28deg);
}

.corner-dots {
  position: absolute;
  z-index: 1;
  width: 210px;
  height: 210px;
  opacity: .9;
  background-image: radial-gradient(var(--blue) 1.25px, transparent 1.25px);
  background-size: 13px 13px;
  mask-image: radial-gradient(circle, black 35%, transparent 80%);
}

.corner-dots.top {
  top: -40px;
  right: -30px;
}

.corner-dots.bottom {
  bottom: -50px;
  left: -50px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 48px;
}

.section-head .body {
  max-width: 480px;
  margin: 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 56px;
  align-items: start;
}

.question-panel {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 140, 255, .2);
  background: linear-gradient(145deg, rgba(5, 16, 28, .86), rgba(0, 0, 0, .3));
  overflow: hidden;
}

.question-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 20%, rgba(0, 140, 255, .16), transparent 34%),
    linear-gradient(90deg, rgba(0, 140, 255, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 140, 255, .06) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  opacity: .95;
}

.question-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
}

.question {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: start;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.65;
}

.qmark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 140, 255, .5);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 0 22px rgba(0, 140, 255, .14);
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.issue-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
  min-height: 150px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.issue-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 140, 255, .36);
  background: rgba(0, 140, 255, .045);
}

.issue-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--blue);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

.issue-card p {
  margin: 0;
  color: var(--soft);
  font-size: 14.5px;
  line-height: 1.58;
}

/* Servicios Section */
#servicios {
  background: radial-gradient(circle at 50% 50%, rgba(0, 140, 255, 0.03), transparent 70%);
  border-top: 1px solid rgba(0, 140, 255, 0.08);
  border-bottom: 1px solid rgba(0, 140, 255, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 70% 12%, rgba(0, 140, 255, .15), transparent 34%),
    linear-gradient(180deg, rgba(8, 20, 34, .86), rgba(0, 0, 0, .45));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background:
    linear-gradient(90deg, rgba(0, 140, 255, .12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 140, 255, .12) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 2px;
  right: -20px;
  top: 80px;
  background: linear-gradient(90deg, transparent, var(--blue));
  transform: rotate(-18deg);
  opacity: .5;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 140, 255, .52);
  box-shadow: var(--glow);
}

.service-top,
.service-bottom {
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  color: var(--blue);
  filter: drop-shadow(0 0 12px rgba(0, 140, 255, .22));
}

.service-card h3 {
  font-family: var(--headline);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 16px;
  letter-spacing: .06em;
}

.service-card p {
  color: var(--soft);
  line-height: 1.55;
  margin: 0;
  font-size: 14.5px;
}

.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.label {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 140, 255, .22);
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(0, 140, 255, .045);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-weight: 850;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 28px;
  position: relative;
  z-index: 3;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* Planes Section */
.plans {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 140, 255, .16), transparent 42%),
    linear-gradient(180deg, rgba(7, 17, 29, .72), rgba(0, 0, 0, .15));
  border-top: 1px solid rgba(0, 140, 255, .12);
  border-bottom: 1px solid rgba(0, 140, 255, .12);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(10, 22, 38, .86), rgba(2, 6, 11, .68));
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.plan-card.featured {
  border-color: rgba(0, 140, 255, .58);
  box-shadow: 0 0 0 1px rgba(0, 140, 255, .14), 0 0 70px rgba(0, 140, 255, .13);
  transform: translateY(-14px);
}

.plan-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 140, 255, .48);
}

.plan-card.featured:hover {
  transform: translateY(-20px);
}

.plan-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -130px;
  background: radial-gradient(circle, rgba(0, 140, 255, .25), transparent 68%);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 140, 255, .14);
  border: 1px solid rgba(0, 140, 255, .4);
  font-size: 10px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.plan-name {
  font-family: var(--headline);
  font-size: clamp(62px, 7vw, 96px);
  line-height: .82;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.plan-desc {
  color: var(--soft);
  line-height: 1.58;
  margin: 0 0 26px;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
}

.plan-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.45;
  font-size: 14.5px;
}

.check {
  color: var(--blue);
  font-weight: 900;
}

.plan-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 140, 255, .46);
  border-radius: 999px;
  background: rgba(0, 140, 255, .11);
  color: var(--white);
  font-weight: 860;
  font-size: 14px;
  letter-spacing: .095em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(0, 140, 255, .12);
}

.plan-detail {
  color: rgba(255, 255, 255, .68);
  line-height: 1.55;
  font-size: 13.5px;
  margin: 0 0 22px;
}

.plans {
  padding-bottom: 132px;
}

/* Method Section */
.method-wrap {
  position: relative;
  padding: 38px;
  border: 1px solid rgba(0, 140, 255, .18);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(3, 12, 22, .74), rgba(0, 0, 0, .28));
  overflow: hidden;
}

.method-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 140, 255, .28) 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: .15;
}

.timeline {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent);
  opacity: .62;
}

.step {
  position: relative;
  padding-top: 78px;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 140, 255, .48);
  background: rgba(0, 8, 16, .88);
  color: var(--blue);
  font-family: var(--body);
  font-size: 24px;
  box-shadow: 0 0 22px rgba(0, 140, 255, .18);
}

.step h3 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-family: 'Roboto', sans-serif;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* AI Criterio Section */
.ai-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 140, 255, .12), transparent 32%),
    radial-gradient(circle at 80% 58%, rgba(113, 59, 255, .14), transparent 35%),
    linear-gradient(180deg, rgba(2, 6, 11, .94), rgba(7, 17, 29, .64));
  border-top: 1px solid rgba(0, 140, 255, .12);
}

.ai-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 140, 255, .065) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 140, 255, .065) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .32;
  pointer-events: none;
  mask-image: radial-gradient(circle at 48% 52%, black 0%, transparent 72%);
}

.ai-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ai-orb {
  position: relative;
  min-height: 460px;
  border-radius: 30px;
  border: 1px solid rgba(0, 140, 255, .18);
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 140, 255, .22), transparent 34%),
    radial-gradient(circle at 52% 45%, rgba(113, 59, 255, .18), transparent 42%),
    rgba(255, 255, 255, .02);
  overflow: hidden;
}

.ai-orb-video {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.ai-orb::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(0, 140, 255, .36);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(0, 140, 255, .14), inset 0 0 70px rgba(0, 140, 255, .08);
  animation: pulse 3.4s ease-in-out infinite;
  z-index: 2;
}

.ai-orb::after {
  content: "IA";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 106px;
  color: rgba(255, 255, 255, .94);
  letter-spacing: -.04em;
  text-shadow: 0 0 38px rgba(0, 140, 255, .38);
  z-index: 3;
}

.circuit {
  position: absolute;
  inset: 0;
  opacity: .8;
}

.circuit span {
  position: absolute;
  background: rgba(0, 140, 255, .55);
  box-shadow: 0 0 14px rgba(0, 140, 255, .55);
}

.circuit .h {
  height: 1px;
  width: 110px;
}

.circuit .v {
  width: 1px;
  height: 110px;
}

.c1 {
  top: 24%;
  left: 8%;
}

.c2 {
  top: 65%;
  right: 8%;
}

.c3 {
  top: 18%;
  right: 19%;
}

.c4 {
  bottom: 18%;
  left: 22%;
}

.idea-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.idea {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
}

.idea-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 140, 255, .1);
  color: var(--blue);
  border: 1px solid rgba(0, 140, 255, .28);
  font-weight: 900;
}

.idea h3 {
  margin: 0 0 7px;
  font-size: clamp(13.4px, 1.75vw, 17.6px);
  letter-spacing: .16em;
  font-family: 'Roboto', sans-serif;
}

.idea p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.ai-signature {
  font-family: var(--headline);
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.ai-title {
  margin-bottom: 20px;
  font-size: clamp(50px, 7vw, 98px);
}

/* Value Section */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(10, 22, 38, .68), rgba(255, 255, 255, .02));
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  width: 95px;
  height: 1px;
  top: 26px;
  right: 24px;
  background: var(--blue);
  opacity: .55;
}

.value-card h3 {
  font-family: var(--headline);
  font-size: 38px;
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.value-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.58;
}

/* Brief Panel */
.brief-panel {
  position: relative;
  padding: 44px;
  border-radius: 34px;
  border: 1px solid rgba(0, 140, 255, .28);
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 140, 255, .18), transparent 38%),
    linear-gradient(145deg, rgba(7, 17, 29, .92), rgba(0, 0, 0, .48));
  overflow: hidden;
}

.brief-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 140, 255, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 140, 255, .08) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .34;
  mask-image: linear-gradient(100deg, black, transparent 70%);
}

.brief-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 48px;
  align-items: start;
}

.brief-steps {
  display: grid;
  gap: 13px;
}

.brief-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
}

.brief-step strong {
  color: var(--blue);
  font-family: var(--headline);
  font-size: 25px;
  line-height: 1;
}

.brief-step h3 {
  margin: 0 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.brief-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

/* Contacto Section */
.contact-section {
  background: radial-gradient(circle at 50% 50%, rgba(0, 140, 255, 0.1), transparent 50%), var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  display: grid;
  gap: 20px;
  background: var(--card);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.form-group {
  display: grid;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soft);
  font-weight: bold;
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 12px rgba(0, 140, 255, 0.25);
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--soft);
}

.form-radio-label input {
  accent-color: var(--blue);
}

.final-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta .title-lg,
.final-cta .title-md {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.final-cta .body-lg {
  margin: 26px auto 0;
  text-align: center;
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Footer */
footer {
  padding: 54px 0 96px;
  border-top: 1px solid rgba(0, 140, 255, .13);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.footer-logo {
  width: 88px;
  margin: 0 auto 18px;
  display: block;
}

.footer-copy {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.footer-links a {
  color: var(--soft);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--blue);
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 70;
}

.mobile-cta .btn {
  width: 100%;
  box-shadow: 0 0 42px rgba(0, 140, 255, .25);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .75;
  }

  50% {
    transform: scale(1.035);
    opacity: 1;
  }
}

/* Page Specific Overrides: Cómo trabajamos + Método */
.back-first {
  padding-top: 212px;
}

.back-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .54);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.back-topline::before {
  content: "";
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  box-shadow: 0 0 18px rgba(0, 140, 255, .38);
}

.problem-copy {
  max-width: 620px;
}

.problem-copy .body-lg {
  margin-top: 24px;
}

.problem-copy .body {
  margin-top: 22px;
}

.problem-close {
  position: relative;
  max-width: 760px;
  margin-top: 42px;
  padding: 24px 28px;
  border-left: 4px solid var(--blue);
  border-radius: 0 22px 22px 0;
  background: linear-gradient(90deg, rgba(0, 140, 255, .13), rgba(255, 255, 255, .02));
  color: var(--white);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 760;
}

.method-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 140, 255, .14), transparent 38%),
    radial-gradient(circle at 85% 30%, rgba(113, 59, 255, .11), transparent 38%),
    linear-gradient(180deg, rgba(7, 17, 29, .64), rgba(0, 0, 0, .08));
  border-top: 1px solid rgba(0, 140, 255, .12);
}

.method-section .section-head {
  margin-bottom: 34px;
}

.back-footer-note {
  padding: 38px 0 58px;
  border-top: 1px solid rgba(0, 140, 255, .13);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Page Specific Overrides: Blog */
.blog-hero {
  min-height: auto;
  padding-top: 150px;
  padding-bottom: 20px;
}

.blog-section .hero-grid,
.trabajos-section .hero-grid {
  display: block;
}

.blog-section {
  padding-top: 192px;
}

.blog-section .hero-title {
  font-size: clamp(43px, 8.6vw, 114px);
  /* 5px smaller */
  line-height: 1.15;
  /* Increased line-height */
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 90px;
}

.blog-actions {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.post-card {
  position: relative;
  border: 1px solid rgba(0, 140, 255, .22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(7, 17, 29, .88), rgba(2, 6, 11, .82));
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  cursor: pointer;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 140, 255, .68);
  box-shadow: 0 26px 90px rgba(0, 140, 255, .13);
}

.post-photo {
  height: 245px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 140, 255, .18);
  background-color: #03070c;
}

.post-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .95;
}

.post-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .24) 50%, rgba(0, 0, 0, .78) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 54px);
  pointer-events: none;
}

.photo-ricardo::before {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .26), transparent 17%),
    radial-gradient(circle at 68% 58%, rgba(0, 140, 255, .26), transparent 22%),
    linear-gradient(140deg, rgba(0, 0, 0, .8), rgba(0, 140, 255, .18) 44%, rgba(113, 59, 255, .14)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'%3E%3Cg fill='none' stroke='%23008CFF' stroke-opacity='.35'%3E%3Cpath d='M95 386H805M95 316H805M95 246H805M95 176H805'/%3E%3Cpath d='M195 90v350M325 90v350M455 90v350M585 90v350M715 90v350'/%3E%3Crect x='168' y='126' width='560' height='250' rx='16'/%3E%3Cpath d='M220 300h120l60-90 80 130 52-72h160' stroke='%23713BFF' stroke-opacity='.62'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.photo-diego::before {
  background:
    radial-gradient(circle at 70% 26%, rgba(113, 59, 255, .34), transparent 18%),
    radial-gradient(circle at 28% 68%, rgba(0, 140, 255, .25), transparent 22%),
    linear-gradient(135deg, rgba(0, 0, 0, .9), rgba(0, 140, 255, .12), rgba(113, 59, 255, .18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'%3E%3Cg fill='none' stroke='%23008CFF' stroke-opacity='.34'%3E%3Crect x='92' y='86' width='300' height='180' rx='18'/%3E%3Crect x='452' y='72' width='340' height='244' rx='18'/%3E%3Crect x='144' y='316' width='610' height='98' rx='18'/%3E%3Cpath d='M492 130h240M492 174h170M492 218h210M180 174h120M180 216h160M196 360h456'/%3E%3Ccircle cx='650' cy='198' r='48' stroke='%23713BFF' stroke-opacity='.62'/%3E%3Cpath d='M604 198h92M650 152v92' stroke='%23713BFF' stroke-opacity='.62'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.photo-pablo::before {
  background:
    radial-gradient(circle at 52% 34%, rgba(0, 140, 255, .30), transparent 18%),
    radial-gradient(circle at 78% 70%, rgba(113, 59, 255, .26), transparent 20%),
    linear-gradient(130deg, rgba(0, 0, 0, .88), rgba(0, 140, 255, .13), rgba(113, 59, 255, .13)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'%3E%3Cg fill='none' stroke='%23008CFF' stroke-opacity='.34'%3E%3Cpath d='M120 380c110-90 230-130 360-120s210 70 300 20'/%3E%3Cpath d='M120 330c110-90 230-130 360-120s210 70 300 20' stroke='%23713BFF' stroke-opacity='.55'/%3E%3Crect x='148' y='108' width='220' height='150' rx='12'/%3E%3Crect x='410' y='108' width='220' height='150' rx='12'/%3E%3Crect x='542' y='296' width='220' height='108' rx='12'/%3E%3Cpath d='M188 178h120M450 178h120M582 350h120'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.photo-ivan::before {
  background:
    radial-gradient(circle at 50% 26%, rgba(113, 59, 255, .34), transparent 18%),
    radial-gradient(circle at 28% 68%, rgba(0, 140, 255, .25), transparent 22%),
    linear-gradient(135deg, rgba(0, 0, 0, .9), rgba(0, 140, 255, .12), rgba(113, 59, 255, .18));
  background-size: cover;
  background-position: center;
}

.photo-label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(0, 140, 255, .45);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.post-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.author {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  margin-bottom: 18px;
}

.author span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 7px;
  letter-spacing: .12em;
}

.post-title {
  font-family: var(--headline);
  text-transform: uppercase;
  font-size: clamp(36px, 3.6vw, 46px);
  /* 3px smaller */
  line-height: 1.3;
  /* Increased line-height */
  letter-spacing: .025em;
  margin-bottom: 22px;
  flex: 1;
}

.post-card .btn {
  width: max-content;
  margin-top: 14px;
}

.corner-code {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: rgba(255, 255, 255, .18);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 2;
}

.article-section {
  display: none;
}

body.article-open .blog-section {
  display: none;
}

body.article-open .article-section {
  display: block;
}

.article-list {
  display: grid;
  gap: 72px;
  margin-top: 38px;
}

.article-detail {
  position: relative;
  border: 1px solid rgba(0, 140, 255, .22);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(180deg, rgba(7, 17, 29, .78), rgba(2, 6, 11, .86));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
  overflow: hidden;
  scroll-margin-top: 96px;
  margin-bottom: 40px;
}

.article-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 140, 255, .13), transparent 30%),
    repeating-linear-gradient(90deg, rgba(0, 140, 255, .045) 0 1px, transparent 1px 78px);
  opacity: .72;
}

.article-hero-media {
  height: min(54vw, 430px);
  min-height: 290px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 140, 255, .18);
  background-color: #03070c;
}

.article-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .96;
}

.article-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .38) 58%, rgba(0, 0, 0, .88) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 62px);
}

.article-content {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
}

.article-label {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--headline);
  text-transform: uppercase;
  font-size: clamp(42px, 7vw, 82px);
  /* 3px smaller */
  line-height: 1.1;
  /* Increased line-height */
  letter-spacing: .025em;
  margin: 0 0 26px;
  max-width: 720px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(0, 140, 255, .20);
  border-radius: 18px;
  background: rgba(0, 0, 0, .22);
  max-width: 420px;
}

.author-photo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(0, 140, 255, .36);
  box-shadow: 0 0 26px rgba(0, 140, 255, .18);
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 48% 28%, rgba(255, 255, 255, .55), transparent 13px),
    radial-gradient(circle at 50% 72%, rgba(0, 140, 255, .34), transparent 28px),
    linear-gradient(135deg, rgba(0, 140, 255, .28), rgba(113, 59, 255, .18), rgba(0, 0, 0, .8));
}

.author-photo::after {
  content: attr(data-initials);
  position: absolute;
  inset: auto 0 7px;
  text-align: center;
  font-weight: 900;
  font-size: 12px;
  color: var(--white);
  letter-spacing: .1em;
}

.article-author b {
  display: block;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  line-height: 1.3;
}

.article-author span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 800;
  margin-top: 5px;
}

.article-text {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.72;
}

.article-text p {
  margin: 0 0 20px;
}

.article-text .lead {
  color: var(--white);
  font-size: 22px;
  line-height: 1.48;
  margin-bottom: 28px;
}

.article-text blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--blue);
  background: rgba(0, 140, 255, .07);
  color: var(--white);
  font-family: var(--headline);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(27px, 4vw, 43px);
  line-height: 1.25;
}

.article-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.article-detail .btn.secondary {
  background: rgba(0, 0, 0, .24);
  border-color: rgba(255, 255, 255, .16);
}

.article-image-placeholder {
  position: relative;
  height: clamp(240px, 30vw, 380px);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 140, 255, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.4), rgba(2, 6, 11, 0.6)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M80 0H0v80h80V0zM1 1h78v78H1V1z' fill='%23008CFF' fill-opacity='.06'/%3E%3C/svg%3E");
  background-size: auto, auto, 40px 40px;
  display: grid;
  place-items: center;
  margin: 40px 0;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.article-image-placeholder:hover {
  border-color: var(--blue);
  box-shadow: var(--glow);
}

.article-image-placeholder::before {
  content: attr(data-label);
  color: var(--blue);
  font-family: var(--headline);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(2, 6, 11, 0.85);
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 140, 255, 0.15);
}

.article-image-placeholder[data-label=""]::before,
.article-image-placeholder:not([data-label])::before {
  display: none !important;
}

/* Page Specific Overrides: Trabajos & Cases */
.trabajos-section {
  padding-top: 192px;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 90px;
}

.case-card {
  border: 1px solid rgba(0, 140, 255, .2);
  background:
    linear-gradient(135deg, rgba(6, 17, 29, .88), rgba(2, 7, 13, .76)),
    radial-gradient(circle at 88% 16%, rgba(0, 140, 255, .13), transparent 32%);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 438px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
  position: relative;
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 140, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 140, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .28;
  pointer-events: none;
}

.case-media {
  min-height: 438px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 140, 255, .24), transparent 28%),
    radial-gradient(circle at 66% 60%, rgba(113, 59, 255, .20), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
}

.case-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 0 28%, rgba(255, 255, 255, .18) 34%, transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 8px);
  mix-blend-mode: screen;
  opacity: .35;
  transform: translateX(-12%);
}

.media-mark {
  position: absolute;
  right: 28px;
  top: 26px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--soft);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .24);
  backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}

.play {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--blue);
  filter: drop-shadow(0 0 9px rgba(0, 140, 255, .8));
}

.case-content {
  padding: 38px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
}

.tag {
  border: 1px solid rgba(0, 140, 255, .28);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 140, 255, .06);
}

.case-title {
  font-family: var(--headline);
  text-transform: uppercase;
  font-size: clamp(33px, 2.5vw, 45px);
  /* 15% smaller */
  line-height: 1.1;
  /* Increased line-height */
  letter-spacing: .02em;
  margin: 24px 0 38px;
}

.case-intro {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.62;
  margin: 0;
}

.case-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.detail {
  border-top: 1px solid rgba(0, 140, 255, .22);
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail strong {
  display: block;
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 6px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(16px);
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  width: min(1120px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 140, 255, .32);
  background: linear-gradient(180deg, rgba(6, 17, 29, .98), rgba(1, 4, 9, .98));
  box-shadow: 0 0 60px rgba(0, 140, 255, .18);
  position: relative;
}

.modal-head {
  padding: 28px 28px 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(0, 140, 255, .18);
}

.modal-title {
  font-family: var(--headline);
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(26px, 4.5vw, 32px);
  /* Reduced size by 10%+ to keep on single line */
  max-width: 760px;
}

.close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-body {
  padding: 28px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 18px;
  margin-bottom: 28px;
}

.gallery-main,
.gallery-small {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 140, 255, .22);
  background:
    radial-gradient(circle at 45% 42%, rgba(0, 140, 255, .28), transparent 30%),
    radial-gradient(circle at 70% 65%, rgba(113, 59, 255, .20), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  min-height: 420px;
}

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.gallery-small {
  min-height: 201px;
}

.gallery-main::after,
.gallery-small::after {
  content: attr(data-label);
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, .8);
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 11px;
  text-transform: uppercase;
  border-left: 3px solid var(--blue);
  padding-left: 12px;
}

.case-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-copy-card {
  border: 1px solid rgba(0, 140, 255, .2);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, .025);
}

.case-copy-card h4 {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  color: var(--blue);
}

.case-copy-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.58;
  font-size: 15px;
}

/* Responsive Media Queries */
@media (max-width: 1060px) {

  .hero-grid,
  .problem-grid,
  .ai-grid,
  .brief-content,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline::before {
    display: none;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-7px);
  }

  .ai-orb {
    min-height: 400px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(2, 6, 11, 0.98);
    backdrop-filter: blur(25px);
    border-left: 1px solid rgba(0, 140, 255, 0.25);
    padding: 100px 30px;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }

  .nav-links.is-active {
    right: 0;
  }

  .nav-links a {
    font-size: 16px;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0, 140, 255, 0.12);
    padding-bottom: 12px;
  }

  .brand-logo {
    width: 62px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }

  .hero-visual {
    order: 1;
    min-height: 336px !important;
    margin-top: 50px !important;
    transform: scale(0.8);
    transform-origin: center center;
    width: 100%;
    max-width: 480px;
    margin-bottom: 20px;
  }

  .hero-copy {
    order: 2;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    text-align: center;
  }

  .hero-sub {
    justify-content: center;
    width: 100%;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .back-first {
    padding-top: 182px !important;
  }

  .problem-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .system-core {
    transform: none;
    border-radius: 24px;
  }

  .node {
    min-width: 112px;
    font-size: 9px;
    padding: 10px;
  }

  .node strong {
    font-size: 10px;
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    display: block;
  }

  .section-head .body {
    margin-top: 20px;
  }

  .issue-grid,
  .service-grid,
  .plan-grid,
  .value-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 330px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    padding-top: 0;
    padding-left: 72px;
    min-height: 70px;
    text-align: left;
  }

  .step-number {
    left: 0;
    top: 0;
    transform: none;
  }

  .method-wrap,
  .brief-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .ai-orb {
    min-height: 340px;
  }

  .ai-orb::after {
    font-size: 74px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .mobile-cta {
    display: block;
  }

  footer {
    padding-bottom: 112px;
  }

  .back-first {
    padding-top: 132px;
  }

  .blog-section {
    padding-top: 132px;
  }

  .trabajos-section {
    padding-top: 132px;
  }

  .problem-close {
    margin-top: 32px;
  }

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

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

  .case-media {
    min-height: 300px;
  }

  .gallery {
    grid-template-columns: 1fr !important;
  }

  .gallery-side {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: none !important;
  }

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

  .article-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .final-actions {
    width: 100%;
  }

  .title-xl {
    font-size: clamp(54px, 16vw, 74px);
  }

  .title-lg {
    font-size: clamp(42px, 13vw, 64px);
  }

  .title-md {
    font-size: clamp(36px, 11vw, 54px);
  }

  .hero-sub span {
    font-size: clamp(14px, 4.5vw, 20px);
  }

  .question-panel {
    padding: 22px;
  }

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

  .qmark {
    width: 30px;
    height: 30px;
  }

  .node {
    display: none;
  }

  .blueprint-line {
    display: none;
  }

  .core-logo {
    width: 52%;
  }

  .plan-card {
    min-height: auto;
  }

  .contact-form {
    padding: 20px;
  }

  .brand-logo {
    width: 58px;
  }

  .post-photo {
    height: 220px;
  }

  .article-hero-media {
    min-height: 220px;
    height: 62vw;
  }

  .article-title {
    font-size: clamp(36px, 13vw, 56px);
    /* 3px smaller */
  }

  .article-text {
    font-size: 16px;
  }

  .article-text .lead {
    font-size: 19px;
  }
}