/* Tecnologías Integrales — design tokens (see .web-intelligence/DESIGN-SYSTEM.md) */
:root {
  --navy-950: #040c1a;
  --navy-900: #06142a;
  --navy-800: #0b1f3a;
  --navy-700: #0e3560;
  --blue-600: #0b4fb3;
  --blue-500: #0a8fd0;
  --cyan-400: #14aceb;
  --cyan-300: #62ccf5;
  --red-600: #c8161f;      /* text / buttons on light: AA */
  --red-500: #d41e27;      /* buttons with white text */
  --red-400: #ff4b53;      /* accents on dark */
  --green-plan: #1b7a34;
  --purple-plan: #5b21b6;
  --ink: #0d1b2e;
  --ink-muted: #4a5b72;
  --surface: #ffffff;
  --surface-alt: #f2f6fb;
  --border: #d8e1ec;
  --focus: #14aceb;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-sm: 0.9375rem;
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.07rem + 0.3vw, 1.3rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem);
  --text-3xl: clamp(2.2rem, 1.6rem + 3vw, 3.9rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(6 20 42 / 0.06), 0 2px 8px rgb(6 20 42 / 0.05);
  --shadow-md: 0 10px 30px rgb(6 20 42 / 0.10);
  --shadow-lg: 0 24px 60px rgb(6 20 42 / 0.18);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --container: 72rem;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { --container: 50rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--surface); color: var(--ink); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.text-cyan { color: var(--cyan-300); }
.text-red { color: var(--red-600); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 700 1rem/1.1 var(--font); letter-spacing: .01em;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red-500); color: #fff; box-shadow: 0 8px 22px rgb(212 30 39 / .35); }
.btn--red:hover { background: var(--red-600); }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / .45); background: rgb(255 255 255 / .04); }
.btn--ghost:hover { border-color: #fff; background: rgb(255 255 255 / .1); }
.btn--lg { min-height: 54px; padding-inline: 1.7rem; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--block { width: 100%; }

.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--red-500); flex: none; }
.eyebrow--light { color: var(--cyan-300); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Full-width brand background (text-free strip of the logo artwork: map left, dashboards right)
     + dark blue overlay so the menu stays readable */
  background:
    linear-gradient(90deg, rgb(2 9 20 / .05) 0%, rgb(2 9 20 / .2) 30%, rgb(3 21 43 / .5) 62%, rgb(3 21 43 / .55) 100%),
    url("../assets/brand/header-fondo-1983.jpg") center 70% / cover no-repeat,
    #020914;
  border-bottom: 1px solid rgb(98 204 245 / .12); transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: rgb(98 204 245 / .22); box-shadow: 0 8px 24px rgb(0 0 0 / .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: block; }
/* Logo = updated brand logo (transparent PNG), never cropped or distorted */
.brand img { height: 76px; width: auto; aspect-ratio: 651 / 160; }
@media (max-width: 760px) {
  .site-header { background-image: linear-gradient(90deg, rgb(2 9 20 / .15) 0%, rgb(3 21 43 / .6) 70%), url("../assets/brand/header-fondo-1000.jpg"); }
}
.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav ul { display: flex; gap: 1.5rem; }
.main-nav ul a { color: #e6f1fb; text-decoration: none; font-weight: 600; font-size: .98rem; padding: .4rem 0; position: relative; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red-500); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav ul a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 40rem at 78% 40%, rgb(20 172 235 / .22), transparent 60%),
    radial-gradient(30rem 24rem at 95% 95%, rgb(255 75 83 / .14), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgb(98 204 245 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(98 204 245 / .07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 2rem; min-height: min(calc(100svh - var(--header-h)), 760px); padding-block: 3.5rem; }
.hero__title { font-size: var(--text-3xl); font-weight: 800; margin-bottom: 1.25rem; }
.hero__lead { font-size: var(--text-lg); color: #d3e2f3; max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(98 204 245 / .25); font-size: .92rem; font-weight: 600; color: #e6f1fb; }
.hero__chips .icon { color: var(--cyan-300); width: 1.1em; height: 1.1em; }
.hero__scene { position: relative; height: clamp(360px, 52vw, 600px); }
.hero__scene canvas {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s var(--ease); cursor: crosshair;
  touch-action: pan-y; /* horizontal drag rotates the 3D camera, vertical swipe still scrolls */
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 58%, transparent 100%);
}
.hero__scene.is-3d-ready canvas { opacity: 1; }
.hero__fallback { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .8s var(--ease); }
/* Static camera (shown only if 3D is unavailable: no WebGL, save-data, load error, context lost or JS disabled).
   Colour JPEG + alpha mask PNG = transparent camera without a heavy PNG. */
.hero__fallback-img {
  width: min(92%, 560px); height: auto; aspect-ratio: 1200 / 620;
  -webkit-mask-image: url("../assets/img/camara-tecnologias-mascara.png");
  mask-image: url("../assets/img/camara-tecnologias-mascara.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  filter: drop-shadow(0 18px 30px rgb(0 0 0 / .45)) drop-shadow(0 0 26px rgb(63 176 255 / .22));
}
.hero__scene.is-3d-off .hero__fallback { opacity: 1; }

/* Sections */
.section { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.section--light { background: var(--surface-alt); }
.section--dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; }
.section--dark p { color: #cbdaec; }
.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.section-lead { font-size: var(--text-lg); color: var(--ink-muted); }

/* Problem / solution */
.problem-solution { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; }
.panel { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow-md); }
.panel--problems { border-top: 5px solid var(--red-500); }
.panel--solution { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff; }
.panel--solution p { color: #cfe0f2; }
.icon-list li { position: relative; padding: .7rem 0 .7rem 2.2rem; border-bottom: 1px solid var(--border); }
.icon-list li:last-child { border-bottom: 0; }
.icon-list--red li::before { content: "!"; position: absolute; left: 0; top: .7rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--red-500); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.feature-list li { padding: .65rem 0 .65rem 2.2rem; position: relative; border-bottom: 1px solid rgb(255 255 255 / .1); color: #dce8f5; }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--cyan-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2306142a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.feature-list strong { color: #fff; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; perspective: 1200px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  --rx: 0deg; --ry: 0deg; transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: rgb(20 172 235 / .5); }
.service-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--blue-500), var(--navy-700)); margin-bottom: 1.1rem; transform: translateZ(30px); box-shadow: 0 10px 20px rgb(11 79 179 / .25); }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card h3 { transform: translateZ(20px); }
.service-card ul li { position: relative; padding: .3rem 0 .3rem 1.25rem; color: var(--ink-muted); font-size: var(--text-sm); }
.service-card ul li::before { content: ""; position: absolute; left: 0; top: .78rem; width: 7px; height: 7px; border-radius: 2px; background: var(--red-500); transform: rotate(45deg); }
.service-card--accent { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); color: #fff; border-color: transparent; }
.service-card--accent p { color: #cfe0f2; }
.service-card--accent .service-card__icon { background: linear-gradient(140deg, var(--red-400), var(--red-600)); }
.link-arrow { color: var(--cyan-300); font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.plan {
  --plan: var(--blue-600);
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--essential { --plan: var(--green-plan); }
.plan--business { --plan: var(--blue-600); }
.plan--plus { --plan: var(--purple-plan); }
.plan--enterprise { --plan: var(--navy-800); }
.plan__head { background: var(--plan); color: #fff; padding: 1.3rem 1.4rem 1.1rem; }
.plan__name { font-size: 1.45rem; margin: 0; }
.plan__tag { margin: .15rem 0 0; color: rgb(255 255 255 / .88); font-weight: 600; }
.plan__price { padding: 1.3rem 1.4rem 0; margin: 0; display: flex; flex-direction: column; }
.plan__from { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.plan__amount { font-size: 2.3rem; font-weight: 800; color: var(--plan); line-height: 1.1; }
.plan__amount--text { font-size: 1.55rem; padding-top: .55rem; }
.plan__unit { font-size: .92rem; color: var(--ink-muted); font-weight: 600; }
.plan__ideal { padding: .9rem 1.4rem 0; font-size: var(--text-sm); color: var(--ink-muted); margin: 0; }
.check-list { padding: 1rem 1.4rem; flex: 1; }
.check-list li { position: relative; padding: .38rem 0 .38rem 1.7rem; font-size: var(--text-sm); border-bottom: 1px dashed var(--border); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--plan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat; }
.plan__actions { padding: 0 1.4rem 1.4rem; display: grid; gap: .6rem; justify-items: center; }
.btn--plan { width: 100%; background: var(--plan); color: #fff; }
.btn--plan:hover { filter: brightness(1.12); }
.link-small { font-size: .9rem; font-weight: 600; color: var(--ink-muted); }
.plan-note { margin-top: 1.25rem; font-size: .9rem; color: var(--ink-muted); }

.compare { margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
.compare summary { cursor: pointer; padding: 1rem 1.4rem; font-weight: 700; color: var(--blue-600); list-style-position: inside; }
.compare[open] summary { border-bottom: 1px solid var(--border); }
.compare .plan-note { padding: 0 1.4rem 1rem; }
.table-wrap { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--text-sm); }
.compare th, .compare td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); text-align: center; }
.compare th[scope="row"] { text-align: left; font-weight: 600; }
.compare thead th { background: var(--navy-800); color: #fff; font-weight: 700; }
.compare thead th:nth-child(2) { background: var(--green-plan); }
.compare thead th:nth-child(3) { background: var(--blue-600); }
.compare thead th:nth-child(4) { background: var(--purple-plan); }
.compare td.yes { color: var(--green-plan); font-weight: 700; }
.compare td.no { color: #8193a8; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.section--dark .split__media img { box-shadow: 0 30px 70px rgb(0 0 0 / .45), 0 0 0 1px rgb(98 204 245 / .2); }
.pill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: 1.5rem 0; }
.pill-grid li { padding: .65rem .9rem; border-radius: var(--radius-sm); background: rgb(255 255 255 / .06); border: 1px solid rgb(98 204 245 / .22); font-weight: 600; font-size: var(--text-sm); }
.mini-features { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 2rem; color: #dce8f5; font-size: var(--text-sm); font-weight: 600; }
.mini-features li { display: inline-flex; align-items: center; gap: .45rem; }
.mini-features .icon { color: var(--cyan-300); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.step { position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: var(--radius-lg); background: var(--surface-alt); border: 1px solid var(--border); }
.step__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem; font-size: 1.4rem; font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--red-400), var(--red-600)); box-shadow: 0 10px 20px rgb(212 30 39 / .25); }
.step p { color: var(--ink-muted); margin: 0; }

/* Extras */
.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; }
.extras li { padding: 1rem 1.2rem 1rem 2.6rem; position: relative; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); font-weight: 600; box-shadow: var(--shadow-sm); }
.extras li::before { content: ""; position: absolute; left: 1.1rem; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 3px; transform: rotate(45deg); background: linear-gradient(140deg, var(--cyan-400), var(--blue-600)); }

/* About */
.quote { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid var(--red-500); background: var(--surface-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 700; font-size: var(--text-lg); color: var(--navy-700); }
.philosophy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3.5rem; }
.philosophy__item { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--blue-600); box-shadow: var(--shadow-sm); }
.philosophy__item:nth-child(2) { border-top-color: var(--red-500); }
.philosophy__item p { color: var(--ink-muted); margin: 0; }
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.values li { padding: 1rem; border-radius: var(--radius-md); background: var(--navy-800); color: #cfe0f2; font-size: .9rem; }
.values strong { display: block; color: #fff; font-size: 1rem; margin-bottom: .2rem; }
.brands { margin-top: 2rem; text-align: center; color: var(--ink-muted); font-weight: 600; }

/* FAQ */
.faq details { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-md); margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red-500); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.1rem; color: var(--ink-muted); margin: 0; }

/* Contact */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.contact__list { display: grid; gap: .9rem; margin-top: 1.75rem; }
.contact__list li { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.contact__list .icon { color: var(--cyan-300); width: 1.4em; height: 1.4em; }
.contact__list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .3); }
.contact__list a:hover { border-color: #fff; }
.contact__list span { color: #cbdaec; }
.wa-form { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); box-shadow: var(--shadow-lg); }
.wa-form h3 { font-size: var(--text-xl); }
.wa-form__hint { font-size: .9rem; color: var(--ink-muted) !important; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid #b9c7d8; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgb(20 172 235 / .35); border-color: var(--blue-500); }
.field [aria-invalid="true"] { border-color: var(--red-600); }
.field__error { color: var(--red-600) !important; font-size: .88rem; font-weight: 600; margin: .35rem 0 0; }

/* Footer */
.site-footer { background: var(--navy-950); color: #b8c9dd; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-brand img { width: 300px; height: auto; margin-bottom: 1rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a, .footer-contact a { color: #dce8f5; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact { font-style: normal; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: 1.25rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1f9e54; box-shadow: 0 10px 25px rgb(0 0 0 / .25); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgb(98 204 245 / .35); background: rgb(255 255 255 / .04); cursor: pointer;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s; }
  .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -6px; } .nav-toggle__bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1.25rem 1.25rem 1.75rem; background: var(--navy-900); border-bottom: 1px solid rgb(98 204 245 / .2); box-shadow: 0 20px 40px rgb(0 0 0 / .4);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .85rem .25rem; border-bottom: 1px solid rgb(255 255 255 / .1); font-size: 1.05rem; }
  .main-nav ul a::after { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 2.5rem 1rem; gap: 0; }
  .hero__scene { height: 340px; order: -1; margin-inline: -1rem; }
  .problem-solution, .split, .contact__inner { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .philosophy { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .container { width: calc(100% - 2rem); }
  .brand img { height: 62px; }
  .hero__scene { height: 240px; }
  .hero__inner { padding-top: 1rem; }
  .hero__actions .btn { width: 100%; }
  .service-grid, .plan-grid { grid-template-columns: 1fr; }
  .pill-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .service-card { transform: none !important; }
}

/* ===== Banner de la tienda en línea (2026-11-14) ===== */
.store-banner { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #fff; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); border-top: 3px solid var(--cyan-400); border-bottom: 3px solid var(--red-500); }
.store-banner__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .store-banner__inner { grid-template-columns: 1.4fr 1fr; } }
.store-banner__title { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem); line-height: 1.1; margin: .4rem 0 1rem; }
.store-banner__lead { color: rgb(255 255 255 / .85); font-size: var(--text-lg); max-width: 40rem; }
.store-banner__chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.store-banner__chips li { border: 1px solid rgb(255 255 255 / .3); border-radius: 999px; padding: .3rem .85rem; font-size: var(--text-sm); }
.store-banner__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.store-banner__note { margin-top: .9rem; font-size: .85rem; color: rgb(255 255 255 / .6); }
.store-banner__steps { list-style: none; margin: 0; padding: 1.4rem; display: grid; gap: .75rem; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 18px 40px rgb(0 0 0 / .25); }
.store-banner__steps li { padding: .7rem .9rem; border-radius: 10px; background: var(--surface-alt); font-weight: 600; }
.store-banner__steps strong { color: var(--blue-600); margin-right: .25rem; }