:root {
  --bg: #0b1220;
  --bg-deep: #050b16;
  --bg-soft: #111827;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --line: rgba(148, 163, 184, 0.24);
  --brand: #f59e0b;
  --brand-2: #fbbf24;
  --brand-dark: #d97706;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --violet: #7c3aed;
  --radius: 30px;
  --radius-sm: 20px;
  --shadow-xl: 0 34px 100px rgba(15, 23, 42, 0.17);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.13);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.09);
  --header-h: 126px;
  --container: min(1240px, calc(100% - 42px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(245, 158, 11, .08), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(37, 99, 235, .08), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 38%, #f8fafc 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.legal-modal-open {
  overflow: hidden;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 14px;
  z-index: 999;
  background: var(--brand);
  color: #111827;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.skip-link:focus {
  top: 14px;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: .22;
  pointer-events: none;
}

.ambient--one {
  left: -220px;
  top: 25vh;
  background: var(--brand);
}

.ambient--two {
  right: -240px;
  top: 54vh;
  background: var(--blue);
}

/* HEADER */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  backdrop-filter: blur(20px) saturate(160%);
  transition: box-shadow .25s ease, background .25s ease;
  overflow: visible;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(2, 6, 23, .08);
}

.topbar {
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  background:
    linear-gradient(90deg, rgba(245, 158, 11, .09), rgba(37, 99, 235, .06)),
    rgba(255, 255, 255, .42);
}

.topbar__inner {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: var(--text-soft);
  font-size: 13px;
}

.topbar__left {
  justify-self: start;
}

.topbar__center {
  justify-self: center;
  color: #64748b;
  font-weight: 700;
}

.topbar__right {
  justify-self: end;
}

.topbar a {
  font-weight: 800;
  transition: color .2s ease;
}

.topbar__left a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__left a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(245, 158, 11, .82);
}

.topbar__left a span,
.topbar__right a {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar a:hover {
  color: var(--text);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 10px 0;
  overflow: visible;
}

.brand img {
  width: auto;
  height: auto;
  max-width: clamp(260px, 24vw, 360px);
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 900;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(241, 245, 249, .92);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
}

/* BASE */

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  font-size: clamp(46px, 6.6vw, 78px);
  letter-spacing: -.06em;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.support-copy h2,
.contact-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -.052em;
}

.section-heading h2 span,
.contact-panel h2 span {
  color: var(--brand-dark);
}

.section-heading p,
.support-copy p,
.contact-panel p {
  color: var(--text-muted);
  font-size: 18px;
}

.section-heading--light h2 {
  color: #fff;
}

.section-heading--light p:not(.eyebrow) {
  color: rgba(226, 232, 240, .86);
}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 76px);
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(245, 158, 11, .18), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(14, 165, 233, .18), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0b1220 42%, #101b30 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.05), transparent 32%),
    radial-gradient(circle at 70% 42%, rgba(124, 58, 237, .16), transparent 34%),
    radial-gradient(circle at 38% 78%, rgba(245, 158, 11, .12), transparent 28%);
  pointer-events: none;
}

.hero__gridline {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0));
  opacity: .24;
}

.hero__orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  pointer-events: none;
}

.hero__orbit::before,
.hero__orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 28px rgba(245, 158, 11, .9);
}

.hero__orbit--a {
  right: -210px;
  top: 130px;
  width: 620px;
  height: 620px;
  animation: slowSpin 38s linear infinite;
}

.hero__orbit--a::before {
  top: 78px;
  left: 126px;
}

.hero__orbit--a::after {
  right: 98px;
  bottom: 134px;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(6, 182, 212, .9);
}

.hero__orbit--b {
  right: 90px;
  bottom: -260px;
  width: 440px;
  height: 440px;
  animation: slowSpinReverse 44s linear infinite;
}

.hero__orbit--b::before {
  top: 38px;
  right: 96px;
}

.hero__orbit--b::after {
  display: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: 58px;
  align-items: center;
}

.hero__content {
  max-width: 760px;
}

.hero__lead {
  max-width: 760px;
  margin: 24px 0 22px;
  color: rgba(219, 234, 254, .92);
  font-size: clamp(18px, 2vw, 22px);
}

.hero__differential {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: center;
  max-width: 720px;
  margin: 0 0 32px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.hero__differential strong {
  color: #fff;
  font-size: 17px;
}

.hero__differential span:last-child {
  grid-column: 2;
  color: rgba(219, 234, 254, .82);
  font-size: 15px;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .72);
  animation: pulse 1.9s infinite;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  transform: skewX(-25deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transition: left .55s ease;
}

.btn:hover::before {
  left: 150%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #111827;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 22px 52px rgba(245, 158, 11, .24);
}

.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 700;
}

.hero__tags span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(245, 158, 11, .9);
}

.hero__aside {
  position: relative;
  transition: transform .2s ease-out;
}

.featured-panel {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .07)),
    rgba(15, 23, 42, .25);
  box-shadow: 0 36px 110px rgba(2, 6, 23, .42);
  backdrop-filter: blur(22px);
}

.featured-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,0) 42%);
  pointer-events: none;
}

.featured-panel__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 6px 18px;
}

.featured-panel__head p {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
}

.featured-panel__head span {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  font-weight: 800;
}

.feature-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  background: rgba(255, 255, 255, .075);
  overflow: hidden;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.feature-card + .feature-card {
  margin-top: 14px;
}

.feature-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, .105);
  border-color: rgba(255, 255, 255, .16);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
}

.feature-card__num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 18px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.feature-card h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 24px;
}

.feature-card p {
  color: rgba(219, 234, 254, .88);
  font-size: 15.5px;
}

.feature-card--orange .feature-card__num {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.feature-card--blue .feature-card__num {
  color: #fff;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.feature-card--cyan .feature-card__num {
  background: linear-gradient(135deg, #67e8f9, #06b6d4);
}

.featured-panel__support {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
}

.featured-panel__support span {
  color: rgba(226,232,240,.8);
  font-size: 14px;
  font-weight: 700;
}

.featured-panel__support strong {
  color: #fff;
  font-size: 19px;
}

/* SERVICIOS */

.services-section {
  overflow: hidden;
  background: #fff;
}

.section-surface {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .8) 28%, rgba(255, 255, 255, 0)),
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, .08), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(37, 99, 235, .08), transparent 24%);
  pointer-events: none;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.brand-card,
.contact-panel,
.support-card {
  border: 1px solid rgba(226, 232, 240, .88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-lg);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 278px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .92));
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 28px 28px, rgba(245, 158, 11, .16), transparent 34%),
    linear-gradient(135deg, rgba(245, 158, 11, .08), transparent 40%, rgba(37, 99, 235, .06));
  transition: opacity .24s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--brand), var(--blue));
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .24s ease, transform .24s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, .26);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .12);
  color: #d97706;
  font-size: 16px;
  font-weight: 900;
}

.service-card h3,
.brand-card h3,
.support-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -.02em;
}

.service-card p,
.brand-card p,
.support-card p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
}

/* SOPORTE */

.support-section {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 30%, rgba(245, 158, 11, .15), transparent 26%),
    radial-gradient(circle at 82% 50%, rgba(6, 182, 212, .13), transparent 30%),
    linear-gradient(135deg, #0b1220, #111827);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

.support-copy h2 {
  color: #fff;
}

.support-copy p {
  color: rgba(226, 232, 240, .86);
}

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

.support-card {
  min-height: 254px;
  padding: 28px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92));
  transition: transform .24s ease, box-shadow .24s ease;
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(2, 6, 23, .35);
}

.support-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 17px;
  color: #111827;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 900;
}

/* GRUPO / MARCAS */

.group-section {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 158, 11, .14), transparent 26%),
    radial-gradient(circle at 88% 24%, rgba(14, 165, 233, .16), transparent 28%),
    linear-gradient(135deg, #0b1220 0%, #101b30 52%, #0f172a 100%);
}

.group-glow {
  position: absolute;
  inset: auto auto 0 -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .18), rgba(245, 158, 11, 0) 70%);
  filter: blur(14px);
}

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

.brand-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  color: var(--text);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.brand-card::before {
  display: none;
}

.brand-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, .32);
  box-shadow: 0 34px 90px rgba(2, 6, 23, .34);
}

.brand-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  padding: 26px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.brand-logo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 158, 11, .08), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, .07), transparent 36%);
  opacity: .7;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.brand-logo img {
  position: relative;
  z-index: 1;
  width: auto;
  max-height: 106px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transform: scale(1);
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.brand-logo--light img {
  max-width: min(260px, 100%);
  max-height: 78px;
}

.brand-card:hover .brand-logo img {
  opacity: 1;
  filter: saturate(1.15) contrast(1.08);
  transform: scale(1.045);
}

.brand-card:hover .brand-logo::before {
  opacity: 1;
  transform: scale(1.04);
}

.brand-card__body {
  padding: 28px 28px 14px;
}

.brand-card__label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3 !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: auto 28px 28px;
  padding: 12px 16px;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--text);
  font-weight: 900;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.brand-card:hover .brand-link {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, .34);
  background: #fff7ed;
}

/* CONTACTO */

.contact-section {
  padding-bottom: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .42fr);
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  background:
    radial-gradient(circle at 10% 12%, rgba(245, 158, 11, .08), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(248, 250, 252, .92));
}

.contact-panel__main p:last-child {
  max-width: 720px;
}

.contact-panel__info {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.contact-chip {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 20px;
  background: #f8fafc;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.contact-chip strong {
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-chip span {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

.contact-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, .24);
  background: #fff;
}

.map-wrap {
  position: relative;
  height: 450px;
  margin-top: 66px;
  overflow: hidden;
  border-top: 1px solid rgba(226, 232, 240, .92);
}

.map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, .04), transparent 22%);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(.98) contrast(1.04);
}

/* FOOTER */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(148, 163, 184, .08);
  background: #050b16;
  color: #94a3b8;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer__inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__inner a {
  transition: color .2s ease;
}

.footer__inner a:hover {
  color: #fff;
}

/* POP-UP LEGAL */

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.legal-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, .16), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, .18), transparent 30%),
    rgba(2, 6, 23, .74);
  backdrop-filter: blur(12px);
}

.legal-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96));
  border: 1px solid rgba(226, 232, 240, .95);
  box-shadow: 0 34px 110px rgba(2, 6, 23, .45);
  transform: translateY(18px) scale(.98);
  transition: transform .25s ease;
}

.legal-modal.is-open .legal-modal__dialog {
  transform: translateY(0) scale(1);
}

.legal-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--blue));
}

.legal-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
  transition: transform .2s ease, background .2s ease;
}

.legal-modal__close:hover {
  transform: translateY(-2px);
  background: #111827;
}

.legal-modal__header {
  padding: 42px 72px 24px 42px;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 158, 11, .1), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(37, 99, 235, .08), transparent 30%);
}

.legal-modal__header .eyebrow {
  margin-bottom: 10px;
}

.legal-modal__header h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.04em;
  color: var(--text);
}

.legal-modal__body {
  padding: 36px 42px 42px;
  overflow: auto;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.legal-modal__body h1,
.legal-modal__body h2,
.legal-modal__body h3 {
  color: var(--text);
  margin: 26px 0 12px;
  letter-spacing: -.03em;
}

.legal-modal__body h1:first-child,
.legal-modal__body h2:first-child,
.legal-modal__body h3:first-child {
  margin-top: 0;
}

.legal-modal__body p {
  margin-bottom: 16px;
}

.legal-modal__body ul,
.legal-modal__body ol {
  margin: 0 0 18px 22px;
}

.legal-modal__body a {
  color: var(--brand-dark);
  font-weight: 800;
}

.legal-modal__loader {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.legal-modal__loader span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 3px solid rgba(245, 158, 11, .25);
  border-top-color: var(--brand);
  animation: legalLoader .8s linear infinite;
}

.legal-modal__error {
  padding: 22px;
  border-radius: 20px;
  background: #fff7ed;
  border: 1px solid rgba(245, 158, 11, .24);
  color: #9a3412;
}

.legal-modal__error p:last-child {
  margin-bottom: 0;
}

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

/* ANIMACIONES */

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

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

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

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .72); }
  70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .support-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    max-width: 820px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 112px;
  }

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

  .hero__content {
    max-width: none;
  }

  .hero__aside {
    max-width: 760px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel__info {
    max-width: 520px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 120px;
    --container: min(100% - 28px, 1240px);
  }

  .topbar__inner {
    grid-template-columns: 1fr auto;
  }

  .topbar__center {
    display: none;
  }

  .topbar__left a span {
    display: none;
  }

  .nav-wrap {
    min-height: 82px;
  }

  .brand img {
    max-width: 240px;
    max-height: 52px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 96px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: .24s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    justify-content: flex-start;
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 82px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .support-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero__differential {
    grid-template-columns: auto 1fr;
  }

  .legal-modal {
    padding: 14px;
  }

  .legal-modal__dialog {
    max-height: calc(100vh - 28px);
    border-radius: 24px;
  }

  .legal-modal__header {
    padding: 34px 68px 20px 24px;
  }

  .legal-modal__body {
    padding: 26px 24px 30px;
  }

  .legal-modal__close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  .hero__actions {
    display: grid;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero__tags {
    gap: 10px;
  }

  .hero__tags span {
    width: 100%;
    justify-content: center;
  }

  .featured-panel {
    padding: 18px;
  }

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

  .feature-card__num {
    width: 48px;
    height: 48px;
  }

  .feature-card h2 {
    font-size: 20px;
  }

  .featured-panel__support {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-chip {
    padding: 16px 16px;
  }

  .contact-chip span {
    font-size: 16px;
  }

  .map-wrap {
    height: 360px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand img {
    max-width: 210px;
    max-height: 48px;
  }

  .contact-chip span {
    font-size: 15px;
  }
}

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