:root {
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --surface-strong: #eceff3;
  --accent: #8c4977;
  --accent-dark: #6f325c;
  --teal: #0f766e;
  --gold: #c69039;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.12);
  --radius: 8px;
  --max: 1160px;
  --section-y-space: clamp(56px, 7vw, 104px);
  --section-top-space: clamp(48px, 6.1vw, 92px);
  --section-bottom-space: clamp(64px, 7vw, 104px);
  --hero-top-space: clamp(34px, 4.8vw, 72px);
  --hero-bottom-space: clamp(60px, 5.6vw, 90px);
  --hero-left-drop: 28px;
  --hero-visual-radius: clamp(26px, 2.6vw, 34px);
  --hero-wide-max: 1320px;
  --hero-wide-video: 624px;
  --hero-wide-gap: clamp(46px, 4.2vw, 62px);
  --trust-strip-x-offset: -10px;
  --section-heading-gap: clamp(28px, 2.8vw, 34px);
  --solutions-copy-size: clamp(1rem, 1.28vw, 1.14rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--accent));
  font-weight: 900;
}

.brand-mark img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
  transform: scale(1.26) translateY(2px);
}

.brand-wordmark {
  display: block;
  width: 122px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.site-header .main-nav a {
  font-size: clamp(1rem, 1.12vw, 1.16rem);
}

.main-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.88fr);
  gap: clamp(26px, 2.4vw, 32px);
  align-items: start;
  padding: var(--hero-top-space) max(24px, calc((100vw - var(--max)) / 2)) var(--hero-bottom-space);
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(140, 73, 119, 0.35), transparent 34%),
    linear-gradient(135deg, #111827 0%, #172033 48%, #0b1320 100%);
}

.hero-content {
  max-width: 700px;
  transform: translateY(var(--hero-left-drop));
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.18rem, 1.9vw, 1.78rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.eyebrow::before {
  content: none;
}

.section-heading .eyebrow,
.project-media-heading .eyebrow {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.35vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0;
}

.hero .eyebrow,
.section-dark .eyebrow {
  color: #e7b8d8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.65rem, 5.45vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(40px, 3vw, 46px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.neon-button {
  --button-left: #745a75;
  --button-middle: #59455e;
  --button-right: #332b3b;
  --button-border: rgba(255, 234, 255, 1);
  --glow-soft: rgba(255, 215, 255, 1);
  --glow-strong: rgba(255, 157, 247, 0.92);
  --glow-wide: rgba(219, 129, 232, 0.72);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(230px, 100%);
  min-height: 52px;
  padding: 11px 24px;
  overflow: visible;
  color: #fff;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--button-left) 0%,
    var(--button-middle) 52%,
    var(--button-right) 100%
  );
  box-shadow:
    0 0 6px rgba(255, 252, 255, 0.9) inset,
    0 0 8px rgba(255, 246, 255, 0.86),
    0 0 18px var(--glow-soft),
    0 0 32px var(--glow-strong),
    0 0 54px var(--glow-wide);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.28vw, 1.14rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.68),
    0 0 7px rgba(255, 255, 255, 0.5);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.neon-button::before {
  position: absolute;
  inset: -8px;
  z-index: -1;
  content: "";
  border: 5px solid rgba(255, 181, 250, 0.62);
  border-radius: inherit;
  filter: blur(10px);
  opacity: 0.82;
  pointer-events: none;
}

.neon-button:hover,
.neon-button:focus-visible {
  transform: translateY(-1px);
  border-color: #fff0ff;
  outline: none;
  box-shadow:
    0 0 8px rgba(255, 252, 255, 0.95) inset,
    0 0 10px rgba(255, 248, 255, 0.95),
    0 0 22px rgba(255, 217, 255, 0.95),
    0 0 38px rgba(255, 157, 247, 0.86),
    0 0 62px rgba(219, 129, 232, 0.7);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: clamp(42px, 3vw, 48px) auto 0;
  transform: translateX(var(--trust-strip-x-offset));
}

.trust-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.hero-visual {
  --hero-reel-edge-space: 18px;
  --hero-reel-content-gap: 18px;
  align-self: start;
  height: fit-content;
  padding: var(--hero-reel-edge-space);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}

.hero-campaign-slot {
  justify-self: center;
  width: min(100%, 560px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.reel-top {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--hero-reel-content-gap);
  color: #e7b8d8;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.18rem, 1.9vw, 1.78rem);
  font-weight: 500;
  line-height: 1.05;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
}

.hero-campaign-slot .reel-top {
  margin-bottom: clamp(15px, 1.55vw, 20px);
}

.hero-campaign-slot .reel-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-campaign-slot .reel-top span::before {
  content: "";
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #e7b8d8, rgba(231, 184, 216, 0.25));
}

.campaign-loop {
  --campaign-glass-pad: clamp(6px, 0.72vw, 9px);
  --campaign-inner-radius: calc(var(--hero-visual-radius) - var(--campaign-glass-pad));
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: var(--campaign-glass-pad);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--hero-visual-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(231, 184, 216, 0.08) 36%, rgba(42, 23, 54, 0.34) 100%),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.36),
    0 14px 42px rgba(131, 76, 117, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(14px) saturate(1.2);
}

.campaign-loop::before,
.campaign-loop::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.campaign-loop::before {
  inset: var(--campaign-glass-pad);
  border-radius: var(--campaign-inner-radius);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.045), transparent 27%),
    linear-gradient(180deg, rgba(5, 9, 20, 0), rgba(5, 9, 20, 0.055));
}

.campaign-loop::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  box-shadow:
    1px 0 0 rgba(255, 230, 250, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 0 30px rgba(131, 76, 117, 0.2) inset;
}

.campaign-loop__video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--campaign-inner-radius);
  box-shadow: 0 0 0 1px rgba(3, 7, 18, 0.52) inset;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.project-reel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reel-card {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.86)),
    var(--reel-image),
    linear-gradient(135deg, rgba(15, 118, 110, 0.85), rgba(140, 73, 119, 0.78));
  background-position: center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.reel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.22;
}

.reel-card > * {
  position: relative;
}

.reel-card-large {
  grid-row: span 3;
  min-height: 438px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.9)),
    var(--reel-image),
    linear-gradient(135deg, #3a4f6d, #8c4977 52%, #c69039);
}

.reel-card span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reel-card strong {
  font-size: 1.08rem;
  line-height: 1.15;
}

.section {
  padding: var(--section-top-space) max(24px, calc((100vw - var(--max)) / 2)) var(--section-bottom-space);
}

.section-light {
  background: var(--surface-soft);
}

.section-dark {
  color: #fff;
  background: #111827;
}

.project-media-section {
  color: var(--ink);
  background: var(--surface);
  padding-top: var(--section-top-space);
  padding-bottom: var(--section-bottom-space);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto var(--section-heading-gap);
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

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

.info-card,
.solution-card,
.project-card {
  border-radius: var(--radius);
}

.info-card {
  min-height: 230px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.card-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.info-card p,
.solution-card p,
.project-card p {
  margin: 0;
  color: var(--muted);
}

.solutions-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) repeat(2, minmax(360px, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 16px;
  margin-top: var(--section-heading-gap);
}

.solution-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(17, 24, 39, 0);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.solution-card:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 73, 119, 0.42);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.12);
}

.solution-card-image {
  position: relative;
  min-height: 0;
  background: #fff;
}

.solution-media {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 230px;
  padding: 24px;
  color: #fff;
  background: var(--solution-image) center / cover no-repeat;
}

.solution-card-image h3 {
  margin-bottom: 0;
  color: #fff;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.35vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
  text-shadow: 0 2px 16px rgba(10, 14, 29, 0.66);
}

.solution-card-image:not(.featured) h3 {
  font-size: clamp(1.3rem, 1.3vw, 1.3rem);
}

.solution-copy,
.solution-card-image p.solution-copy {
  display: block;
  padding: 22px 24px 24px;
  color: var(--ink-soft);
  background: #fff;
  font-size: var(--solutions-copy-size);
  line-height: 1.55;
}

.solution-card.featured {
  grid-row: span 2;
  border-color: var(--line);
}

.solution-card.featured:hover {
  border-color: rgba(140, 73, 119, 0.42);
}

.solution-card.featured .solution-media {
  flex: 1 1 auto;
  min-height: 560px;
  background-position: 58% center;
}

.solution-card.featured .solution-copy {
  color: var(--ink-soft);
  text-shadow: none;
}

.solution-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.solution-card.featured .solution-label {
  color: #bde8e1;
}

.packages-section {
  color: #fff;
  overflow-x: hidden;
  overflow-x: clip;
  padding: var(--section-top-space) max(24px, calc((100vw - 1460px) / 2)) var(--section-bottom-space);
  background:
    radial-gradient(circle at 78% 20%, rgba(140, 73, 119, 0.28), transparent 34%),
    radial-gradient(circle at 18% 84%, rgba(224, 68, 194, 0.14), transparent 28%),
    linear-gradient(135deg, #111827 0%, #172033 48%, #0b1320 100%);
}

.packages-wrap {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
}

.packages-heading {
  max-width: 900px;
}

.packages-heading .eyebrow {
  color: #e7b8d8;
}

.packages-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  gap: clamp(14px, 1.3vw, 22px);
  margin-top: var(--section-heading-gap);
}

.package-card {
  --package-card-radius: clamp(22px, 2vw, 30px);
  --package-art-top: 0px;
  --package-art-right: 0px;
  --package-art-width: 44%;
  --package-art-transform: none;
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: clamp(760px, 54vw, 850px);
  aspect-ratio: auto;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(20px, 2vw, 30px) clamp(18px, 2vw, 28px) clamp(18px, 1.8vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--package-card-radius);
  background:
    radial-gradient(circle at 82% 14%, rgba(125, 83, 138, 0.25), transparent 36%),
    radial-gradient(circle at 78% 90%, rgba(218, 64, 182, 0.32), transparent 32%),
    linear-gradient(155deg, rgba(14, 20, 34, 0.98) 0%, rgba(28, 24, 48, 0.98) 55%, rgba(72, 42, 78, 0.98) 100%);
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.package-card::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4));
}

.package-card--internet {
  --package-art-top: 30px;
  --package-art-right: 20px;
  --package-art-width: 38%;
  --package-art-transform: rotate(-1.5deg);
}

.package-card--telefonia {
  --package-art-top: 10px;
  --package-art-right: 12px;
  --package-art-width: 40%;
}

.package-card--obra {
  --package-art-top: 10px;
  --package-art-right: 12px;
  --package-art-width: 40%;
}

.package-card__mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 62% 22%, rgba(224, 68, 194, 0.07), transparent 18rem),
    linear-gradient(to bottom, transparent 0 72%, rgba(224, 68, 194, 0.1));
}

.package-card__brand {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 12px);
  margin-bottom: clamp(12px, 1.4vw, 22px);
}

.package-card__brand-mark {
  display: grid;
  width: clamp(34px, 3.2vw, 48px);
  height: clamp(34px, 3.2vw, 48px);
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #2b2440 0%, #8c4977 100%);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.package-card__brand-mark img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
  transform: scale(1.22) translateY(3.5px);
}

.package-card__brand-wordmark {
  display: block;
  width: clamp(118px, 11.4vw, 178px);
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.package-card__art {
  position: absolute;
  top: var(--package-art-top);
  right: var(--package-art-right);
  z-index: 2;
  width: var(--package-art-width);
  height: auto;
  pointer-events: none;
  transform: var(--package-art-transform);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.4));
}

.package-card__art--rocket {
  filter:
    drop-shadow(0 18px 20px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 14px rgba(255, 122, 64, 0.2));
}

.package-card__hero {
  position: relative;
  z-index: 3;
  margin-bottom: clamp(12px, 1.2vw, 20px);
}

.package-card__title {
  margin: 0;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
}

.package-card__title-line {
  display: block;
  text-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
}

.package-card__title-line--accent {
  color: #e044c2;
}

.package-card__features {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 0.95vw, 15px);
  align-items: stretch;
  margin-top: auto;
  margin-bottom: clamp(14px, 1.25vw, 22px);
}

.package-feature {
  position: relative;
  display: flex;
  min-width: 0;
  height: clamp(146px, 8.2vw, 150px);
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 1.35vw, 24px) clamp(18px, 1.6vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(13px, 1.2vw, 18px);
  background:
    radial-gradient(circle at 50% 0%, rgba(224, 68, 194, 0.12), transparent 48%),
    linear-gradient(160deg, rgba(8, 11, 24, 0.78), rgba(28, 18, 44, 0.66));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.package-feature::before {
  content: none;
}

.package-feature__text {
  display: flex;
  width: min(100%, 340px);
  min-width: 0;
  max-width: 340px;
  flex: 0 1 auto;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.package-feature__text h4 {
  margin: 0;
  color: #fff;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 1.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(10, 14, 29, 0.48);
}

.package-feature__text p {
  margin: 11px 0 0;
  color: rgba(241, 244, 255, 0.78);
  font-size: clamp(1rem, 1vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
}

.package-card__price {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: clamp(76px, 5.6vw, 92px);
  gap: clamp(8px, 0.9vw, 16px);
  align-items: center;
  padding: clamp(10px, 1vw, 15px) clamp(12px, 1.3vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: clamp(15px, 1.4vw, 20px);
  background: linear-gradient(105deg, #294b9b 0%, #8240a8 50%, #cc3cb1 100%);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.package-card__price-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.package-card__price-copy strong {
  color: #fff;
  font-size: clamp(0.68rem, 0.72vw, 0.88rem);
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.package-card__price-copy span {
  color: rgba(241, 244, 255, 0.9);
  font-size: clamp(0.58rem, 0.64vw, 0.76rem);
  font-weight: 500;
  line-height: 1.25;
}

.package-card__price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-self: end;
  margin: 0;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 950;
  line-height: 0.85;
  letter-spacing: 0;
  white-space: nowrap;
}

.package-card__currency {
  align-self: flex-end;
  padding-bottom: 0.08em;
  font-size: clamp(1.05rem, 1.42vw, 1.7rem);
}

.package-card__number {
  font-size: clamp(1.75rem, 2.7vw, 2.95rem);
}

.package-card__tax {
  align-self: flex-end;
  padding-bottom: 0.18em;
  color: #ffd3a8;
  font-size: clamp(0.72rem, 0.88vw, 1rem);
  font-weight: 700;
}

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

.project-card {
  min-height: 178px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.project-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: #e7b8d8;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.project-card p {
  color: rgba(255, 255, 255, 0.68);
}

.project-media-heading {
  position: relative;
  max-width: 760px;
  margin: 88px auto var(--section-heading-gap);
  text-align: center;
}

.project-media-section .project-media-heading {
  margin-top: 0;
}

.project-media-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto clamp(38px, 3.4vw, 50px);
  color: var(--ink);
}

.project-media-brand-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #241e36, var(--accent));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.project-media-brand-mark img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  transform: scale(1.24) translateY(6.6px);
}

.project-media-wordmark {
  display: block;
  width: clamp(190px, 22vw, 280px);
  height: auto;
  filter:
    drop-shadow(0 18px 42px rgba(0, 0, 0, 0.24))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.14));
}

.project-media-heading h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.project-media-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--muted);
}

.project-media-heading p.project-media-statement {
  max-width: 860px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.5;
}

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

.project-media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 0 rgba(17, 24, 39, 0);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.project-media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 73, 119, 0.42);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.12);
}

.project-media-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1320;
  object-fit: cover;
}

.project-media-card div {
  padding: 18px;
}

.project-media-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.96rem, 1.06vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.project-media-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.3rem, 1.3vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.project-media-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--solutions-copy-size);
  line-height: 1.55;
}

.diagnostico-section {
  --st-ink: #151c2d;
  --st-ink-2: #222136;
  --st-plum: #4b3a63;
  --st-rose: #8a4f7a;
  --st-rose-soft: #f0dbea;
  --st-line: rgba(255, 255, 255, 0.18);
  --st-shadow: 0 28px 70px rgba(9, 15, 31, 0.32);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--section-top-space) max(20px, calc((100vw - var(--max)) / 2)) var(--section-bottom-space);
  background:
    radial-gradient(circle at 16% 12%, rgba(138, 79, 122, 0.34), transparent 30%),
    linear-gradient(180deg, #151c2d 0%, #252136 46%, #4a2f55 100%);
}

.diagnostico-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
}

.diagnostico-section::after {
  content: "";
  position: absolute;
  top: 12%;
  right: max(-220px, -10vw);
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 79, 122, 0.34), transparent 68%);
}

.diagnostico-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  width: min(1140px, 100%);
  margin: 0 auto;
}

.diagnostico-copy {
  color: #fff;
}

.diagnostico-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #e7b8d8;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.18rem, 1.9vw, 1.78rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.diagnostico-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e7b8d8, rgba(231, 184, 216, 0.25));
}

.diagnostico-title {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.15rem);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.035em;
}

.diagnostico-lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.19rem);
  line-height: 1.72;
}

.diagnostico-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.cta-diagnostico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 20px 11px 14px;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #834c75 0%, #684162 48%, #422e4f 100%);
  box-shadow: 0 18px 34px rgba(10, 14, 29, 0.32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.28vw, 1.14rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.cta-diagnostico:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #834c75 0%, #684162 48%, #422e4f 100%);
  box-shadow: 0 24px 44px rgba(10, 14, 29, 0.38);
}

.cta-diagnostico img {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.diagnostico-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(240, 219, 234, 0.48);
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
}

.diagnostico-email:hover {
  color: #fff;
  border-color: #fff;
}

.diagnostico-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.diagnostico-points li {
  min-height: 112px;
  padding: 18px 18px 16px;
  border: 1px solid var(--st-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(14px);
}

.diagnostico-points strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.98rem;
}

.diagnostico-points span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.45;
}

.diagnostico-visual {
  position: relative;
  min-height: 560px;
}

.agent-card {
  position: relative;
  height: min(620px, 72vw);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 34px;
  background: #f8f6f8;
  box-shadow: var(--st-shadow);
}

.agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(21, 28, 45, 0.02) 34%, rgba(21, 28, 45, 0.58) 100%),
    linear-gradient(90deg, rgba(75, 58, 99, 0.34), transparent 48%);
  pointer-events: none;
}

.agent-card picture,
.agent-card picture > img {
  display: block;
  width: 100%;
  height: 100%;
}

.agent-card picture > img {
  object-fit: cover;
  object-position: 70% 50%;
}

.agent-ring {
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 26px;
  pointer-events: none;
}

.agent-chip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(18, 24, 39, 0.50);
  backdrop-filter: blur(16px);
}

.agent-chip-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 14, 29, 0.22);
}

.agent-chip-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.agent-chip-copy,
.agent-chip-copy strong,
.agent-chip-copy span {
  display: block;
}

.agent-chip-copy strong {
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.agent-chip-copy span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
}

.diagnostico-mini {
  position: absolute;
  top: 34px;
  left: -28px;
  z-index: 4;
  width: min(250px, 54%);
  padding: 16px 18px 16px 38px;
  color: var(--st-ink);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
  background: rgba(255, 250, 252, 0.70);
  box-shadow: 0 22px 48px rgba(10, 14, 29, 0.22);
}

.diagnostico-mini span {
  display: block;
  color: var(--st-rose);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.19rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.diagnostico-mini strong {
  display: block;
  margin-top: 6px;
  color: #151c2d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
}

.site-footer {
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.66);
  background: #0b1320;
  text-align: center;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(560px, var(--hero-wide-video));
    justify-content: center;
    gap: var(--hero-wide-gap);
    padding-right: max(24px, calc((100vw - var(--hero-wide-max)) / 2));
    padding-left: max(24px, calc((100vw - var(--hero-wide-max)) / 2));
  }

  .hero-content {
    max-width: 780px;
    transform: translateY(clamp(56px, 4vw, 70px));
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(4.2rem, 4.05vw, 4.65rem);
    line-height: 0.99;
    letter-spacing: 0;
  }

  .hero-copy {
    max-width: 680px;
    line-height: 1.5;
  }

  .hero-campaign-slot {
    justify-self: center;
    width: min(100%, var(--hero-wide-video));
  }
}

@media (max-width: 1120px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .packages-grid {
    grid-template-columns: repeat(3, minmax(360px, 1fr));
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .package-card {
    min-height: 780px;
    aspect-ratio: auto;
    scroll-snap-align: start;
  }

  .solution-card.featured {
    grid-column: span 2;
    grid-row: auto;
  }

  .solution-card.featured .solution-media {
    min-height: 460px;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--hero-top-space);
    padding-bottom: var(--hero-bottom-space);
  }

  .hero-content {
    max-width: none;
  }

  .hero-campaign-slot {
    justify-self: center;
  }

  .cards-grid,
  .projects-grid,
  .project-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostico-wrap {
    grid-template-columns: 1fr;
  }

  .diagnostico-title,
  .diagnostico-lead {
    max-width: none;
  }

  .diagnostico-visual {
    min-height: auto;
  }

  .agent-card {
    height: 520px;
  }

  .diagnostico-mini {
    left: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-y-space: 56px;
    --section-top-space: 48px;
    --section-bottom-space: 58px;
    --hero-top-space: 44px;
    --hero-bottom-space: 60px;
    --hero-left-drop: 16px;
    --trust-strip-x-offset: 0px;
    --section-heading-gap: 28px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-wordmark {
    width: 112px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .nav-cta.cta-diagnostico {
    min-height: 52px;
    padding: 11px 20px 11px 14px;
    font-size: clamp(1rem, 1.28vw, 1.14rem);
  }

  .hero,
  .section,
  .diagnostico-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .packages-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .packages-grid {
    grid-template-columns: repeat(3, minmax(340px, 86vw));
  }

  .package-card {
    min-height: 760px;
    aspect-ratio: auto;
  }

  .hero {
    padding-top: var(--hero-top-space);
    padding-bottom: var(--hero-bottom-space);
  }

  h1 {
    font-size: clamp(2.45rem, 16vw, 4rem);
  }

  .hero-actions,
  .trust-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-strip {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .button {
    width: 100%;
  }

  .neon-button {
    width: 100%;
    min-height: 52px;
  }

  .project-reel,
  .cards-grid,
  .solutions-grid,
  .projects-grid,
  .project-media-grid {
    grid-template-columns: 1fr;
  }

  .reel-card-large,
  .reel-card {
    min-height: 160px;
  }

  .reel-card-large {
    grid-row: auto;
  }

  .solution-card.featured {
    grid-column: auto;
  }

  .solution-media {
    min-height: 210px;
    padding: 20px;
  }

  .solution-card.featured .solution-media {
    min-height: 360px;
  }

  .solution-copy,
  .solution-card-image p.solution-copy {
    padding: 18px 20px 20px;
  }

  .diagnostico-section {
    padding-top: var(--section-top-space);
    padding-bottom: var(--section-bottom-space);
  }

  .diagnostico-points {
    grid-template-columns: 1fr;
  }

  .diagnostico-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .diagnostico-whatsapp {
    width: 100%;
  }

  .agent-card {
    height: 440px;
    min-height: 440px;
    border-radius: 26px;
  }

  .agent-ring {
    inset: 14px;
    border-radius: 20px;
  }

  .agent-chip {
    right: 14px;
    bottom: 14px;
    left: 14px;
    border-radius: 18px;
  }

  .diagnostico-mini {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 14px;
  }

  .project-media-brand {
    gap: 10px;
    margin-bottom: 20px;
  }

  .project-media-brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 13px;
  }

  .project-media-brand-mark img {
    width: 48px;
    height: 48px;
    transform: scale(1.28) translateY(6px);
  }

  .project-media-wordmark {
    width: 172px;
  }
}

@media (min-width: 981px) {
  #inicio.hero {
    --hero-top-space: clamp(31px, 4.32vw, 65px);
    --hero-bottom-space: clamp(54px, 5.04vw, 81px);
  }

  #inicio.hero h1 {
    font-size: clamp(2.4rem, 4.9vw, 4.64rem);
  }

  #inicio.hero .hero-copy {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  }

  #inicio.hero .hero-actions {
    margin-top: clamp(36px, 2.7vw, 41px);
  }

  #inicio.hero .neon-button {
    width: min(207px, 100%);
    min-height: 47px;
    padding: 10px 22px;
    font-size: clamp(1.15rem, 1.15vw, 1.15rem);
  }

  #inicio.hero .trust-strip {
    gap: 9px;
    margin-top: clamp(38px, 2.7vw, 43px);
  }

  #inicio.hero .trust-strip span {
    padding: 7px 11px;
    font-size: 0.81rem;
  }

  #inicio.hero .reel-top {
    font-size: clamp(1.06rem, 1.71vw, 1.6rem);
  }

  #inicio.hero .campaign-loop {
    --campaign-glass-pad: clamp(5px, 0.65vw, 8px);
  }

  #soluciones,
  #proyectos.project-media-section {
    --max: 1044px;
    --section-top-space: clamp(43px, 5.49vw, 83px);
    --section-bottom-space: clamp(58px, 6.3vw, 94px);
    --section-heading-gap: clamp(25px, 2.5vw, 31px);
  }

  #soluciones {
    --max: 1120px;
  }

  #soluciones .section-heading {
    max-width: 738px;
  }

  #soluciones h2 {
    font-size: clamp(1.8rem, 3.6vw, 3.74rem);
  }

  #soluciones .solution-media {
    min-height: 207px;
    padding: 22px;
  }

  #soluciones .solution-card.featured .solution-media {
    background-position: 46% center;
  }

  #soluciones .solution-card-image h3 {
    font-size: clamp(1.3rem, 2.12vw, 1.98rem);
  }

  #soluciones .solution-card-image:not(.featured) h3 {
    font-size: clamp(1.17rem, 1.17vw, 1.17rem);
  }

  #soluciones .solution-copy,
  #soluciones .solution-card-image p.solution-copy {
    padding: 20px 22px 22px;
    font-size: var(--solutions-copy-size);
  }

  #proyectos .project-media-heading {
    max-width: 684px;
  }

  #proyectos .project-media-brand {
    gap: 14px;
    margin-bottom: clamp(34px, 3.06vw, 45px);
  }

  #proyectos .project-media-brand-mark {
    width: 65px;
    height: 65px;
    border-radius: 14px;
  }

  #proyectos .project-media-brand-mark img {
    width: 58px;
    height: 58px;
    transform: scale(1.24) translateY(6px);
  }

  #proyectos .project-media-wordmark {
    width: clamp(171px, 19.8vw, 252px);
  }

  #proyectos .project-media-heading p.project-media-statement {
    font-size: clamp(1.06rem, 1.44vw, 1.4rem);
  }

  #proyectos .project-media-grid {
    gap: 14px;
  }

  #proyectos .project-media-card div {
    padding: 16px;
  }

  #proyectos .project-media-card span {
    margin-bottom: 11px;
    font-size: clamp(0.86rem, 0.95vw, 0.99rem);
  }

  #proyectos .project-media-card h3 {
    font-size: clamp(1.17rem, 1.17vw, 1.17rem);
  }

  #proyectos .project-media-card p {
    font-size: var(--solutions-copy-size);
    line-height: 1.55;
  }
}

@media (min-width: 1121px) {
  #soluciones .solutions-grid {
    grid-template-columns: minmax(370px, 1.18fr) repeat(2, minmax(300px, 0.94fr));
    gap: clamp(20px, 1.9vw, 24px);
  }

  #soluciones .solution-card.featured .solution-media {
    min-height: 504px;
    background-position: 42% center;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  #soluciones .solution-card.featured .solution-media {
    min-height: 414px;
  }
}

@media (min-width: 1200px) {
  #inicio.hero {
    --hero-wide-max: 1244px;
    --hero-wide-video: 562px;
    --hero-wide-gap: clamp(82px, 7.56vw, 112px);
    grid-template-columns: minmax(520px, 0.9fr) minmax(504px, var(--hero-wide-video));
  }

  #inicio.hero .hero-content {
    max-width: 702px;
    transform: translateY(clamp(50px, 3.6vw, 63px));
  }

  #inicio.hero h1 {
    max-width: 702px;
    font-size: clamp(3.78rem, 3.65vw, 4.18rem);
  }

  #inicio.hero .hero-copy {
    max-width: 612px;
  }
}

/* =========================================================
   RESPONSIVE · IPAD / IPHONE SIN MODIFICAR ESCRITORIO
   ========================================================= */
.hero-nav-badges {
  display: none;
}

@media (min-width: 641px) and (max-width: 980px) {
  :root {
    --trust-strip-x-offset: 0px;
  }

  .site-header {
    align-items: center;
    gap: 18px;
    padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  }

  .nav-cta.cta-diagnostico {
    min-height: 46px;
    padding: 10px 16px 10px 12px;
    font-size: 0.96rem;
  }

  .nav-cta.cta-diagnostico img {
    width: 26px;
    height: 26px;
  }

  .hero-nav-badges {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(100%, 560px);
    margin: 0 auto 32px;
  }

  .hero-nav-badges a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.1;
    backdrop-filter: blur(12px);
  }

  #inicio.hero .trust-strip {
    display: none;
  }

  #soluciones .solution-card.featured .solution-media {
    background-position: center 88%;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 70px;
  }

  :root {
    --trust-strip-x-offset: 0px;
  }

  .site-header {
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .brand-mark img {
    width: 27px;
    height: 27px;
  }

  .brand-wordmark {
    width: 96px;
  }

  .nav-cta.cta-diagnostico {
    min-height: 42px;
    padding: 8px 12px 8px 10px;
    gap: 8px;
    white-space: nowrap;
    font-size: 0.86rem;
    box-shadow: 0 10px 22px rgba(10, 14, 29, 0.22);
  }

  .nav-cta.cta-diagnostico img,
  .cta-diagnostico img {
    width: 24px;
    height: 24px;
  }

  .hero-nav-badges {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: calc(100% + 18px);
    margin: 0 -18px 24px 0;
    overflow-x: auto;
    padding: 0 18px 6px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hero-nav-badges::-webkit-scrollbar {
    display: none;
  }

  .hero-nav-badges a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.1;
    scroll-snap-align: start;
    backdrop-filter: blur(12px);
  }

  #inicio.hero .trust-strip {
    display: none;
  }

  #soluciones .solution-card.featured .solution-media {
    min-height: 280px;
    background-position: center bottom;
  }

  .diagnostico-points {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand-wordmark {
    width: 86px;
  }

  .nav-cta.cta-diagnostico {
    width: 42px;
    padding: 0;
  }

  .nav-cta.cta-diagnostico span {
    display: none;
  }
}

/* =========================================================
   AJUSTE FINAL · TIPOGRAFÍA DE TARJETAS DE VIDEO
   - Descripciones con el mismo tratamiento de .solution-copy
   - Títulos con la tipografía de "Conectividad empresarial"
   ========================================================= */
#proyectos .project-media-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 1.35vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

#proyectos .project-media-card p {
  margin: 0;
  color: var(--ink-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--solutions-copy-size);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.55;
}

@media (min-width: 981px) {
  #proyectos .project-media-card h3 {
    font-size: clamp(1.3rem, 1.12vw, 1.98rem);
  }
}

/* =========================================================
   AJUSTE RESPONSIVE · HERO Y ESPACIADO DE PAQUETES
   ========================================================= */
@media (min-width: 981px) {
  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  #inicio.hero {
    --hero-top-space: 36px;
    --hero-bottom-space: 66px;
    row-gap: 0;
  }

  #inicio.hero .hero-campaign-slot {
    display: none;
  }

  #inicio.hero .hero-nav-badges {
    margin-bottom: 16px;
  }

  #inicio.hero .hero-content {
    transform: translateY(14px);
  }

  #paquetes .package-card__hero {
    margin-bottom: clamp(6px, 1vw, 10px);
  }

  #paquetes .package-card {
    min-height: 750px;
  }

  #paquetes .package-card__features {
    margin-top: clamp(25px, 4vw, 33px);
  }

  #paquetes .package-card__price {
    margin-top: auto;
  }
}

@media (max-width: 640px) {
  #inicio.hero {
    --hero-top-space: 18px;
    --hero-bottom-space: 66px;
    row-gap: 0;
  }

  #inicio.hero .hero-campaign-slot {
    display: none;
  }

  #inicio.hero .hero-nav-badges {
    flex-wrap: nowrap;
    justify-content: center;
    width: calc(100% + 16px);
    margin: 0 -8px 8px;
    overflow: visible;
    padding: 0;
    gap: 6px;
    scroll-snap-type: none;
  }

  #inicio.hero .hero-nav-badges a {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.8rem;
    scroll-snap-align: none;
  }

  #inicio.hero .hero-content {
    transform: translateY(14px);
  }

  #inicio.hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.04;
  }

  #inicio.hero .hero-packages-button {
    width: 50%;
    min-width: 132px;
    max-width: 160px;
    margin-right: auto;
    margin-left: auto;
  }

  #paquetes .package-card__hero {
    margin-bottom: clamp(6px, 1vw, 10px);
  }

  #paquetes .package-card {
    min-height: 735px;
  }

  #paquetes .package-card__features {
    margin-top: clamp(25px, 4vw, 33px);
  }

  #paquetes .package-card__price {
    margin-top: auto;
  }
}
