@import url("tokens.css");

/* ============================================================
   SETCOLOMBIA · Sitio Web — base + componentes
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { overflow-x: hidden; }

body {
  background: var(--site-bg, var(--bg));
  color: var(--site-fg, var(--fg-1));
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; }

::selection { background: var(--set-yellow); color: var(--gray-900); }

/* ---------- Tokens used by themes (defaults) ---------- */
:root {
  --site-bg: var(--bg);
  --site-fg: var(--fg-1);
  --section-alt-bg: var(--gray-50);
  --card-bg: #fff;
  --card-border: var(--border);
  --card-fg: var(--fg-1);
  --card-fg-muted: var(--fg-2);
  --nav-bg: rgba(255,255,255,0.88);
  --nav-border: var(--border);
  --nav-fg: var(--fg-2);
  --nav-fg-active: var(--fg-1);
  --hero-bg: var(--gray-900);
  --hero-fg: #fff;
  --hero-glow: rgba(234,182,49,0.32);
  --halo-1: rgba(234,182,49,0.06);
  --halo-2: rgba(109,111,114,0.05);
  --footer-bg: var(--gray-900);
  --footer-fg: rgba(255,255,255,0.65);
  --footer-fg-strong: #fff;
  --accent-fg-on-accent: var(--gray-900);
  --rule: 1px solid var(--gray-200);
  --section-divider-bg: var(--gray-900);
  --section-divider-fg: var(--set-yellow);
  --form-bg: #fff;
  --form-input-bg: #fff;
  --form-input-border: var(--gray-200);
}

/* ---------- Layout shell ---------- */
.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 64px;
}

section {
  scroll-margin-top: 100px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--set-yellow);
}
.eyebrow--on-dark { color: rgba(255,255,255,0.75); }

.display-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7.2vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.display-sm {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.lead {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.lead--on-dark { color: rgba(255,255,255,0.78); }

.mono { font-family: var(--font-mono); }
.accent-text { color: var(--set-yellow); }
.amp { color: var(--set-yellow); font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition:
    background 140ms var(--ease-out),
    color 140ms var(--ease-out),
    transform 140ms var(--ease-out),
    box-shadow 140ms var(--ease-out);
}
.btn .arrow { display: inline-block; transition: transform 220ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lg { height: 56px; padding: 0 30px; font-size: 15.5px; }
.btn--primary { background: var(--set-yellow); color: var(--gray-900); }
.btn--primary:hover  { background: var(--yellow-500); }
.btn--primary:active { background: var(--yellow-600); transform: scale(0.98); }
.btn--ghost {
  background: transparent;
  color: var(--site-fg);
  box-shadow: inset 0 0 0 1.5px var(--gray-300);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gray-900); }
.btn--ghost-on-dark {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35);
}
.btn--ghost-on-dark:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--dark { background: var(--gray-900); color: #fff; }
.btn--dark:hover { background: #000; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 20px;
  z-index: 50;
  margin: 20px auto 0;
  max-width: 1240px;
  padding: 0 24px;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 14px 12px 22px;
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px -16px rgba(22,23,24,0.18);
  transition: border-radius 240ms var(--ease-out), padding 240ms var(--ease-out);
}
.nav__brand img { height: 30px; width: auto; }
.nav__links {
  display: flex;
  gap: 28px;
  margin: 0 auto 0 8px;
}
.nav__links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--nav-fg);
  position: relative;
  padding: 6px 0;
  transition: color 140ms;
}
.nav__links a:hover { color: var(--nav-fg-active); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__pill-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  padding: 0 4px 0 14px;
  border-left: 1px solid var(--border);
}
.nav__pulse {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #1F8A5B;
  box-shadow: 0 0 0 0 rgba(31,138,91,0.6);
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,138,91,0.55); }
  60%  { box-shadow: 0 0 0 10px rgba(31,138,91,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,138,91,0); }
}

/* ---------- Mobile hamburger ---------- */
.nav__hamburger {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 7px;
  margin-left: auto;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: background 140ms;
}
.nav__hamburger:hover { background: rgba(0,0,0,0.06); }
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--nav-fg-active);
  border-radius: 2px;
  transition: transform 280ms var(--ease-out), opacity 200ms, width 200ms;
  pointer-events: none;
}
.nav.is-open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__hamburger span:nth-child(2) { opacity: 0; width: 0; }
.nav.is-open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  margin: 40px auto 0;
  max-width: 1240px;
  padding: 0 24px;
}
.hero__panel {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-fg);
  border-radius: 32px;
  padding: 96px 72px 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  inset: -180px -180px auto auto;
  width: 720px; height: 720px;
  background: radial-gradient(circle, var(--hero-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    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: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.hero__eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--set-yellow);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--set-yellow);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 26px;
  color: #fff;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--set-yellow); }
.hero__lead {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* hero callcard — abstract product visualization */
.hero__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 22px;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.hero__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.hero__card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero__card-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--set-yellow);
  box-shadow: 0 0 0 0 rgba(234,182,49,0.55);
  animation: pulse-yellow 2.4s var(--ease-out) infinite;
}
@keyframes pulse-yellow {
  0%   { box-shadow: 0 0 0 0 rgba(234,182,49,0.55); }
  60%  { box-shadow: 0 0 0 12px rgba(234,182,49,0); }
  100% { box-shadow: 0 0 0 0 rgba(234,182,49,0); }
}
.hero__card-stat {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.hero__card-stat span {
  color: var(--set-yellow);
  font-size: 30px;
  vertical-align: 4px;
  margin-left: 4px;
}
.hero__card-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 22px;
  max-width: 280px;
  line-height: 1.45;
}
.hero__wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__wave i {
  flex: 1;
  background: linear-gradient(180deg, var(--set-yellow), rgba(234,182,49,0.4));
  border-radius: 2px;
  min-height: 6px;
  animation: bar 2.2s var(--ease-in-out) infinite;
}
.hero__wave i:nth-child(1)  { animation-delay: 0.00s; }
.hero__wave i:nth-child(2)  { animation-delay: 0.10s; }
.hero__wave i:nth-child(3)  { animation-delay: 0.20s; }
.hero__wave i:nth-child(4)  { animation-delay: 0.30s; }
.hero__wave i:nth-child(5)  { animation-delay: 0.40s; }
.hero__wave i:nth-child(6)  { animation-delay: 0.50s; }
.hero__wave i:nth-child(7)  { animation-delay: 0.60s; }
.hero__wave i:nth-child(8)  { animation-delay: 0.70s; }
.hero__wave i:nth-child(9)  { animation-delay: 0.80s; }
.hero__wave i:nth-child(10) { animation-delay: 0.90s; }
.hero__wave i:nth-child(11) { animation-delay: 1.00s; }
.hero__wave i:nth-child(12) { animation-delay: 1.10s; }
.hero__wave i:nth-child(13) { animation-delay: 1.20s; }
.hero__wave i:nth-child(14) { animation-delay: 1.30s; }
.hero__wave i:nth-child(15) { animation-delay: 1.40s; }
@keyframes bar {
  0%, 100% { transform: scaleY(0.25); }
  50%      { transform: scaleY(1); }
}

/* hero metric strip */
.hero__metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.hero__metric-n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--set-yellow);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero__metric-n span { font-size: 28px; vertical-align: 6px; margin-left: 2px; }
.hero__metric-l {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 1.35;
  max-width: 200px;
}

/* ---------- Marquee (industries / tech strip) ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  margin-top: 72px;
  background: var(--site-bg);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 56px;
  align-items: center;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.marquee span::after {
  content: "•";
  margin-left: 56px;
  color: var(--set-yellow);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section base ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section--alt { background: var(--section-alt-bg); }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.section__head .lead { max-width: 480px; }

/* ---------- SERVICIOS ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.service {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--card-fg);
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms;
  min-height: 320px;
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -22px rgba(22,23,24,0.20);
  border-color: var(--gray-400);
}
.service__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.14em;
}
.service__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--yellow-700);
  display: grid;
  place-items: center;
}
.service__icon svg {
  width: 24px; height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0;
}
.service__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--card-fg-muted);
  margin: 0;
  flex: 1;
}
.service__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-top: 14px;
  border-top: 1px solid var(--divider);
}
.service__tag--link {
  color: var(--gray-900);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  transition: color 140ms;
}
.service__tag--link .arrow {
  display: inline-block;
  transition: transform 220ms var(--ease-out);
}
.service__tag--link:hover { color: var(--yellow-700); }
.service:hover .service__tag--link .arrow { transform: translateX(4px); }

.services > :nth-child(1) { grid-column: span 6; min-height: 360px; }
.services > :nth-child(2) { grid-column: span 6; min-height: 360px; }
.services > :nth-child(3) { grid-column: span 4; }
.services > :nth-child(4) { grid-column: span 4; }
.services > :nth-child(5) { grid-column: span 4; }

/* Featured service variant (first 2) */
.service--feature .service__title { font-size: 32px; }
.service--feature .service__body  { font-size: 15.5px; max-width: 460px; }

/* ---------- PRODUCTOS (tabs + detail) ---------- */
.products {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.product-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--border);
  padding-left: 0;
}
.product-tab {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--fg-3);
  padding: 18px 22px 18px 22px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  transition: color 140ms, border-color 140ms;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.product-tab:hover { color: var(--card-fg); }
.product-tab.is-active {
  color: var(--card-fg);
  border-left-color: var(--set-yellow);
}
.product-tab .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  font-weight: 500;
}

.product-detail {
  position: relative;
  min-height: 480px;
}
.product-panel {
  display: none;
  animation: panelIn 380ms var(--ease-out);
}
.product-panel.is-active { display: block; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.product-panel__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}
.product-panel__eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--set-yellow);
  margin-bottom: 14px;
}
.product-panel__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 3.6vw, 48px);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--card-fg);
}
.product-panel__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--card-fg-muted);
  margin: 0;
}
.product-panel__visual {
  background: var(--gray-900);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.product-panel__visual-glow {
  position: absolute;
  inset: auto -40px -80px auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(234,182,49,0.20), transparent 70%);
  pointer-events: none;
}
.product-panel__visual-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--set-yellow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.product-panel__visual-tag .dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--set-yellow);
  animation: pulse-yellow 2.4s var(--ease-out) infinite;
}
.product-panel__visual-body {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  position: relative; z-index: 1;
}
.product-panel__visual-body p { margin: 0 0 4px; }
.product-panel__visual-body span { color: var(--set-yellow); }
.product-panel__visual-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
}
.product-panel__visual-foot .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.product-panel__visual-foot .v {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--set-yellow);
  line-height: 1;
}

.product-panel__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
}
.feature {
  background: var(--card-bg);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--card-fg);
}
.feature__body {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--card-fg-muted);
}

/* ---------- SOBRE / Empresa ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.about__copy h2 { margin-bottom: 28px; }
.about__copy p { color: var(--card-fg-muted); font-size: 17px; line-height: 1.65; max-width: 560px; }
.about__copy p + p { margin-top: 16px; }
.about__chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--card-fg-muted);
}
.chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--set-yellow); }

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
}
.value {
  background: var(--card-bg);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}
.value__n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--set-yellow);
}
.value__t {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--card-fg);
  margin: 0;
}
.value__b {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--card-fg-muted);
  margin: 0;
}

/* ---------- STATS / divider band (dark) ---------- */
.divider-band {
  background: var(--section-divider-bg);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.divider-band__glow {
  position: absolute;
  inset: auto auto -200px 30%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(234,182,49,0.18), transparent 60%);
  pointer-events: none;
}
.divider-band__inner {
  position: relative; z-index: 1;
}
.divider-band__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 64px;
  max-width: 860px;
  color: #fff;
}
.divider-band__title em { color: var(--set-yellow); font-style: normal; }
.divider-band__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.divider-band__cell {
  padding-top: 22px;
  border-top: 2px solid var(--set-yellow);
}
.divider-band__n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  color: var(--set-yellow);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.divider-band__n span { font-size: 28px; vertical-align: 4px; }
.divider-band__l {
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 220px;
}

/* ---------- Testimonios ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--card-fg);
}
.testimonial__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  color: var(--set-yellow);
  line-height: 1;
}
.testimonial__quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--card-fg);
  margin: 0;
  flex: 1;
}
.testimonial__who {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--divider);
  padding-top: 18px;
}
.testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--gray-200);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--gray-700);
}
.testimonial__name { font-weight: 700; font-size: 14px; color: var(--card-fg); }
.testimonial__role { font-size: 12.5px; color: var(--card-fg-muted); }

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.contact__form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
}
.contact__form h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--card-fg);
}
.contact__form p.lead {
  margin: 0 0 26px;
  font-size: 15px;
  color: var(--card-fg-muted);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > label {
  font-size: 12px;
  font-weight: 600;
  color: var(--card-fg-muted);
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--card-fg);
  background: var(--form-input-bg);
  border: 1.5px solid var(--form-input-border);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 46px;
  transition: border 140ms, box-shadow 140ms;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--set-yellow);
  box-shadow: 0 0 0 3px rgba(234,182,49,0.30);
}
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--card-fg-muted);
  line-height: 1.5;
}
.field--check input { width: auto; min-height: 0; margin-top: 3px; accent-color: var(--set-yellow); }
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.form-actions .hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

/* contact info card */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: border-color 220ms, transform 220ms var(--ease-out);
}
.info-card:hover { border-color: var(--gray-400); transform: translateY(-2px); }
.info-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--yellow-700);
  display: grid; place-items: center;
}
.info-card__icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.info-card__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.info-card__value {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--card-fg);
  letter-spacing: -0.005em;
  margin-top: 2px;
}
.info-card__value a:hover { color: var(--set-yellow); }
.info-card__arrow {
  font-size: 18px;
  color: var(--fg-3);
  transition: transform 220ms var(--ease-out), color 140ms;
}
.info-card:hover .info-card__arrow {
  color: var(--set-yellow);
  transform: translateX(3px);
}

/* mini-map block */
.map-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--gray-900);
  color: #fff;
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.map-card__svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.55;
}
.map-card__pin {
  position: absolute;
  left: 58%; top: 52%;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--set-yellow);
  z-index: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(234,182,49,0.6);
  animation: pulse-yellow 2.4s var(--ease-out) infinite;
}
.map-card__head {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
}
.map-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.map-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.map-card__foot {
  position: relative; z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.map-card__address {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  max-width: 280px;
  line-height: 1.5;
}
.map-card__link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--set-yellow);
  border-bottom: 1.5px solid var(--set-yellow);
  padding-bottom: 1px;
}

/* ---------- Footer ---------- */
footer.footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  margin-top: 0;
}
.footer__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 88px 64px 56px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
}
.footer__brand img { height: 44px; width: auto; margin-bottom: 22px; }
.footer__pitch {
  font-size: 13.5px; line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 320px; margin: 0 0 22px;
}
.footer__socials { display: flex; gap: 8px; }
.footer__social {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  transition: color 140ms, border-color 140ms, background 140ms;
}
.footer__social:hover {
  color: var(--gray-900);
  background: var(--set-yellow);
  border-color: var(--set-yellow);
}
.footer__social svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__col-title {
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--footer-fg-strong);
  margin-bottom: 18px;
}
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.footer__col a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  transition: color 140ms;
}
.footer__col a:hover { color: var(--set-yellow); }
.footer__bottom {
  max-width: 1240px; margin: 0 auto;
  padding: 22px 64px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
}
.footer__bottom span:first-child { letter-spacing: 0.04em; }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover { color: #fff; }

/* ---------- Floating WhatsApp CTA ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  background: var(--gray-900);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow:
    0 18px 36px -16px rgba(0,0,0,0.45),
    0 2px 8px -2px rgba(0,0,0,0.20);
  transition:
    transform 220ms var(--ease-out),
    background 140ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.wa-float:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow:
    0 22px 44px -16px rgba(0,0,0,0.55),
    0 2px 10px -2px rgba(0,0,0,0.22);
}
.wa-float:active { transform: translateY(0); }

.wa-float__icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--set-yellow);
  color: var(--gray-900);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  position: relative;
}
.wa-float__icon svg {
  width: 20px; height: 20px;
  fill: currentColor;
}
.wa-float__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(234,182,49,0.55);
  animation: wa-pulse 2.4s var(--ease-out) infinite;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(234,182,49,0.55); }
  60%  { box-shadow: 0 0 0 14px rgba(234,182,49,0); }
  100% { box-shadow: 0 0 0 0 rgba(234,182,49,0); }
}

.wa-float__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding-right: 4px;
}
.wa-float__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.wa-float__label {
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ---- Tablet ≤ 1080px ---- */
@media (max-width: 1080px) {
  /* Nav */
  .nav__hamburger { display: flex; }
  .nav__links     { display: none; }
  .nav__pill-time { display: none; }
  .nav__inner     { gap: 14px; }

  /* Mobile nav open state */
  .nav.is-open .nav__inner {
    flex-wrap: wrap;
    border-radius: 22px;
    padding-bottom: 16px;
  }
  .nav.is-open .nav__links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 6px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid var(--nav-border);
  }
  .nav.is-open .nav__links a {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 8px;
    color: var(--nav-fg-active);
    border-bottom: 1px solid var(--nav-border);
    animation: navItemIn 320ms var(--ease-out) both;
  }
  .nav.is-open .nav__links a:last-child { border-bottom: none; }
  .nav.is-open .nav__links a:nth-child(1) { animation-delay: 40ms; }
  .nav.is-open .nav__links a:nth-child(2) { animation-delay: 80ms; }
  .nav.is-open .nav__links a:nth-child(3) { animation-delay: 120ms; }
  .nav.is-open .nav__links a:nth-child(4) { animation-delay: 160ms; }
  .nav.is-open .nav__links a:nth-child(5) { animation-delay: 200ms; }
  @keyframes navItemIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Layout */
  .shell          { padding: 0 32px; }
  .section        { padding: 88px 0; }
  .section__head  { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .hero__panel    { padding: 72px 48px 56px; }
  .hero__row      { grid-template-columns: 1fr; gap: 40px; }
  .hero__metrics  { grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }

  /* Products — tabs become horizontal scrollable row */
  .services > * { grid-column: span 12 !important; min-height: 0; }
  .products     { grid-template-columns: 1fr; gap: 40px; }
  .product-tabs {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    border-left: 0;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
    gap: 0;
  }
  .product-tabs::-webkit-scrollbar { display: none; }
  .product-tab {
    flex-shrink: 0;
    border-left: 0;
    border-bottom: 2px solid transparent;
    margin-left: 0;
    margin-bottom: -2px;
    padding: 12px 18px;
    font-size: 17px;
  }
  .product-tab.is-active { border-bottom-color: var(--set-yellow); }
  .product-panel__top      { grid-template-columns: 1fr; gap: 32px; }
  .product-panel__features { grid-template-columns: repeat(2, 1fr); }

  /* About, values, stats */
  .about              { grid-template-columns: 1fr; gap: 48px; }
  .values             { grid-template-columns: repeat(2, 1fr); }
  .divider-band       { padding: 88px 0; }
  .divider-band__stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* Testimonials, contact */
  .testimonials { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact      { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer__inner  { grid-template-columns: 1fr; gap: 48px; padding: 64px 32px 40px; }
  .footer__cols   { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__bottom { padding: 22px 32px 32px; flex-direction: column; gap: 12px; }
}

/* ---- Mobile ≤ 768px ---- */
@media (max-width: 768px) {
  .shell        { padding: 0 24px; }
  .hero__panel  { padding: 56px 32px 48px; }
  .hero__metric-n { font-size: 44px; }
  .testimonials { grid-template-columns: 1fr; }
  .values       { grid-template-columns: 1fr; }
  .section      { padding: 72px 0; }
  .divider-band { padding: 72px 0; }
  .divider-band__title { margin-bottom: 48px; }

  /* Loosen tight tracking + line-height on heavy display titles for mobile.
     break-word + hyphens prevent long single words (e.g. "TRANSFORMACIÓN")
     from overflowing the panel and getting clipped by overflow:hidden. */
  .display-xl, .display-lg, .display-md,
  .hero__title, .divider-band__title,
  .product-panel__title, .product-hero__title,
  .service--feature .service__title, .service__title {
    letter-spacing: -0.01em;
    line-height: 1.03;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .hero__title { line-height: 1.0; }
}

/* ---- Small mobile ≤ 640px ---- */
@media (max-width: 640px) {
  /* WhatsApp float */
  .wa-float      { right: 16px; bottom: 16px; padding: 10px; gap: 0; }
  .wa-float__copy { display: none; }
  .wa-float__icon { width: 44px; height: 44px; }
  .wa-float__icon svg { width: 24px; height: 24px; }

  /* Nav */
  .nav__cta .btn { font-size: 13px; height: 40px; padding: 0 16px; }

  /* Layout */
  .shell        { padding: 0 18px; }
  .hero         { padding: 0 16px; }
  .nav          { padding: 0 16px; }
  .section      { padding: 60px 0; }
  .section__head { margin-bottom: 32px; }
  .hero__panel  { padding: 40px 20px 40px; }
  .hero__title  { font-size: clamp(30px, 8.5vw, 48px); line-height: 1.02; letter-spacing: -0.005em; }
  .hero__lead   { font-size: 16px; margin-bottom: 24px; }
  .hero__card   { max-width: 100%; }
  .hero__metrics { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
  .hero__metric-n { font-size: 38px; }
  .hero__ctas   { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  /* Sections */
  .divider-band { padding: 60px 0; }
  .divider-band__title { margin-bottom: 36px; font-size: clamp(36px, 9vw, 64px); }
  .divider-band__stats { gap: 20px; }
  .divider-band__n { font-size: 44px; }

  /* Products */
  .product-panel__features { grid-template-columns: 1fr; }

  /* Contact form */
  .contact__form { padding: 26px 20px; }
  .field-grid    { grid-template-columns: 1fr; }
  .form-actions  { flex-direction: column; align-items: stretch; }
  .form-actions .btn { justify-content: center; }

  /* Footer */
  .footer__inner  { padding: 48px 18px 32px; }
  .footer__bottom { padding: 18px 18px 28px; }
}

/* ---- Very small ≤ 480px ---- */
@media (max-width: 480px) {
  .nav          { padding: 0 12px; }
  .nav__inner   { padding: 10px 10px 10px 16px; gap: 8px; }
  .nav__brand img { height: 24px; }
  .nav__cta     { display: none; }
  .nav.is-open .nav__cta {
    display: flex;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--nav-border);
    margin-top: 4px;
  }
  .nav.is-open .nav__cta .btn { width: 100%; justify-content: center; }

  .shell        { padding: 0 14px; }
  .hero__panel  { padding: 32px 16px 36px; }
  .hero__title  { font-size: clamp(24px, 7.3vw, 36px); }
  .hero__metrics { gap: 14px; }
  .hero__metric-n { font-size: 34px; }
  .section      { padding: 52px 0; }
  .divider-band { padding: 52px 0; }
  .service      { padding: 24px 20px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}
