/* ==========================================================================
   SOLUCIONES DIGITALES — Hoja de estilos principal
   Paleta: azul noche, turquesa, azul eléctrico y blanco humo.
   Enfoque: Mobile First, componentes accesibles y animaciones discretas.
   ========================================================================== */

:root {
  --navy: #101827;
  --navy-deep: #0b1220;
  --navy-soft: #16213a;
  --turquoise: #13c6b3;
  --blue: #2878ff;
  --smoke: #f4f7fb;
  --muted: #a9b4c7;
  --muted-strong: #cbd5e3;

  --gradient: linear-gradient(120deg, #13c6b3 0%, #2878ff 100%);
  --gradient-soft: linear-gradient(120deg, rgba(19, 198, 179, 0.16), rgba(40, 120, 255, 0.16));
  --gradient-text: linear-gradient(100deg, #5ff3e4 0%, #13c6b3 38%, #5f9bff 100%);

  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);
  --border: rgba(244, 247, 251, 0.1);
  --border-soft: rgba(244, 247, 251, 0.07);
  --border-accent: rgba(19, 198, 179, 0.32);

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 20px 60px rgba(19, 198, 179, 0.16);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 78px;

  --font-title: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------- Base --------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--smoke);
  background-color: var(--navy-deep);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 720px at 88% -8%, rgba(40, 120, 255, 0.13), transparent 62%),
    radial-gradient(900px 640px at -8% 18%, rgba(19, 198, 179, 0.1), transparent 58%),
    radial-gradient(760px 560px at 50% 108%, rgba(40, 120, 255, 0.07), transparent 65%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(244, 247, 251, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 251, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 78%);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

a {
  color: var(--turquoise);
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(19, 198, 179, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.sr-only {
  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: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  background: var(--turquoise);
  color: #062724;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------- Tipografía ------------------------------ */

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

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

.lead {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--turquoise);
}

.eyebrow::before {
  content: "";
  width: 27px;
  height: 1px;
  background: linear-gradient(90deg, var(--turquoise), transparent);
}

.section {
  position: relative;
  padding: clamp(4.2rem, 8vw, 6.8rem) 0;
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 55%),
    rgba(255, 255, 255, 0.012);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

.section-head h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.95rem, 3.6vw, 2.95rem);
}

.section-head p {
  max-width: 62ch;
  margin-bottom: 0;
  font-size: clamp(0.96rem, 1.3vw, 1.06rem);
}

/* --------------------------------- Botones -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn-primary {
  background: var(--gradient);
  color: #06121f;
  box-shadow: 0 10px 30px rgba(19, 198, 179, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 16px 42px rgba(19, 198, 179, 0.34);
}

.btn-secondary {
  border-color: rgba(244, 247, 251, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(19, 198, 179, 0.55);
  background: rgba(19, 198, 179, 0.08);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted-strong);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  font-size: 0.86rem;
}

.btn-lg {
  min-height: 58px;
  padding: 1rem 1.9rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-title);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--turquoise);
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  gap: 0.7rem;
  color: #7cf6ea;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.icon-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(19, 198, 179, 0.3);
  border-radius: 50%;
  background: rgba(19, 198, 179, 0.08);
  color: var(--turquoise);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.icon-link:hover {
  transform: translateY(-2px);
  border-color: var(--turquoise);
  background: var(--turquoise);
  color: #062724;
}

.icon-link svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------- Header --------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(11, 18, 32, 0.58);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 18, 32, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  filter: drop-shadow(0 6px 18px rgba(19, 198, 179, 0.28));
}

.brand-mark svg,
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark img {
  object-fit: contain;
}

.brand-text span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.6vw, 2.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-desktop a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transition: width 0.3s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: #fff;
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--border-accent);
  background: rgba(19, 198, 179, 0.08);
}

.nav-toggle-box {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle-box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Menú móvil (dialog nativo) */
.menu-movil {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--navy-deep);
  color: var(--smoke);
  overflow-y: auto;
}

.menu-movil::backdrop {
  background: rgba(3, 7, 14, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.menu-movil[open] {
  display: flex;
  flex-direction: column;
  animation: menu-in 0.32s var(--ease);
}

.menu-movil-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--border);
}

.menu-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.menu-close svg {
  width: 20px;
  height: 20px;
}

.menu-movil nav {
  flex: 1;
  padding: 1.5rem var(--gutter);
}

.menu-movil nav ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-movil nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--border-soft);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-movil nav a::after {
  content: "↗";
  color: var(--muted);
  font-size: 1rem;
}

.menu-movil nav a[aria-current="page"] {
  color: var(--turquoise);
}

.menu-movil-cta {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

.menu-movil-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.4rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.5;
}

.orb-a {
  top: -16%;
  right: 2%;
  width: 520px;
  height: 520px;
  background: rgba(19, 198, 179, 0.2);
}

.orb-b {
  bottom: -20%;
  left: -12%;
  width: 480px;
  height: 480px;
  background: rgba(40, 120, 255, 0.18);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(244, 247, 251, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 251, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 65% 70% at 60% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 60% 40%, #000, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem 0.42rem 0.6rem;
  border: 1px solid rgba(19, 198, 179, 0.3);
  border-radius: 999px;
  background: rgba(19, 198, 179, 0.07);
  color: #d7fcf7;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 4px rgba(19, 198, 179, 0.14);
  animation: pulse 2.6s infinite;
}

.hero h1 {
  margin: 1.35rem 0 1.2rem;
  font-size: clamp(2.35rem, 5.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 35rem;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.hero-note svg {
  width: 15px;
  height: 15px;
  color: var(--turquoise);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin: 2rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-strong);
  font-size: 0.8rem;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--turquoise);
  flex: none;
}

/* Composición visual del hero */
.hero-visual {
  position: relative;
  min-height: 500px;
  perspective: 1300px;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  top: 2%;
  right: -8%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 198, 179, 0.38), transparent 65%);
  filter: blur(34px);
}

.browser-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(19, 198, 179, 0.24);
  border-radius: 22px;
  background: linear-gradient(160deg, #151f34, #0d1524 72%);
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
}

.hero-visual:hover .browser-card {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.72rem 0.95rem;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.025);
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex: none;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(244, 247, 251, 0.2);
}

.browser-dots i:first-child {
  background: #ff6b6b;
  opacity: 0.8;
}

.browser-dots i:nth-child(2) {
  background: #ffd166;
  opacity: 0.85;
}

.browser-dots i:last-child {
  background: var(--turquoise);
}

.browser-url {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  max-width: 235px;
  margin-inline: auto;
  padding: 0.24rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.62rem;
}

.browser-url svg {
  width: 10px;
  height: 10px;
  color: var(--turquoise);
}

.browser-body {
  padding: 1.05rem;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.mock-logo {
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: var(--gradient);
}

.mock-nav-links {
  display: flex;
  gap: 0.55rem;
  margin-left: auto;
}

.mock-nav-links span {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.mock-nav-btn {
  padding: 0.24rem 0.52rem;
  border: 1px solid rgba(19, 198, 179, 0.3);
  border-radius: 999px;
  background: rgba(19, 198, 179, 0.14);
  color: #93f5eb;
  font-size: 0.52rem;
  font-weight: 600;
  white-space: nowrap;
}

.mock-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 0.85rem;
  padding: 1.15rem;
  border: 1px solid rgba(19, 198, 179, 0.22);
  border-radius: 14px;
  background: linear-gradient(125deg, rgba(19, 198, 179, 0.2), rgba(40, 120, 255, 0.24));
}

.mock-hero::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -12%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}

.mock-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #9befe6;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mock-hero h3 {
  position: relative;
  z-index: 1;
  max-width: 12rem;
  margin: 0 0 0.45rem;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.mock-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  max-width: 10rem;
}

.mock-lines span {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.mock-lines span:last-child {
  width: 66%;
}

.mock-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  background: var(--turquoise);
  color: #062a26;
  font-size: 0.5rem;
  font-weight: 700;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.mock-product {
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.028);
}

.mock-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.78;
  border-radius: 7px;
}

.mock-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.25), transparent 55%);
}

.mock-img-1 {
  background: linear-gradient(145deg, #13c6b3, #0b6b62);
}

.mock-img-2 {
  background: linear-gradient(145deg, #3d8bff, #1a4ab0);
}

.mock-img-3 {
  background: linear-gradient(145deg, #8a6bff, #4330a8);
}

.mock-product strong {
  display: block;
  margin: 0.35rem 0 0.1rem;
  color: #e8eef8;
  font-size: 0.52rem;
  font-weight: 500;
  line-height: 1.3;
}

.mock-price {
  color: var(--turquoise);
  font-size: 0.48rem;
  font-weight: 600;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(19, 198, 179, 0.28);
  border-radius: 14px;
  background: rgba(14, 23, 39, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.46);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.float-card strong {
  display: block;
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.35;
}

.float-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.float-icon svg {
  width: 18px;
  height: 18px;
}

.float-icon--blue {
  border-color: rgba(40, 120, 255, 0.28);
  background: rgba(40, 120, 255, 0.12);
  color: #6ea5ff;
}

.float-card-1 {
  top: 12%;
  right: -5%;
  animation: float 7s ease-in-out infinite;
}

.float-card-2 {
  bottom: 7%;
  left: -8%;
  animation: float 8.5s ease-in-out infinite reverse;
}

.float-check {
  color: var(--turquoise);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: -1.1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(19, 198, 179, 0.3);
  border-radius: 999px;
  background: #0d1728;
  box-shadow: var(--shadow-sm);
  color: var(--muted-strong);
  font-size: 0.66rem;
}

.hero-chip span {
  color: var(--turquoise);
  font-weight: 600;
}

/* -------------------------------- Servicios ------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018) 70%);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 198, 179, 0.7), transparent);
  opacity: 0.45;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -35%;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 198, 179, 0.12), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 198, 179, 0.4);
  box-shadow: var(--shadow-glow);
}

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

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(19, 198, 179, 0.28);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(19, 198, 179, 0.16), rgba(40, 120, 255, 0.12));
  color: var(--turquoise);
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-index {
  color: rgba(244, 247, 251, 0.22);
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

.service-card > p {
  margin-bottom: 1.2rem;
  font-size: 0.89rem;
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gradient);
  transform: rotate(45deg);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-soft);
}

/* -------------------------------- Beneficios ------------------------------ */

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

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.3rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.023);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.benefit:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 198, 179, 0.26);
  background: rgba(19, 198, 179, 0.035);
}

.benefit-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(40, 120, 255, 0.26);
  border-radius: 12px;
  background: rgba(40, 120, 255, 0.1);
  color: #78aaff;
}

.benefit:nth-child(even) .benefit-icon {
  border-color: rgba(19, 198, 179, 0.28);
  background: rgba(19, 198, 179, 0.1);
  color: var(--turquoise);
}

.benefit-icon svg {
  width: 21px;
  height: 21px;
}

.benefit h3 {
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.benefit p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.benefit .text-link {
  margin-top: 0.45rem;
}

/* ---------------------------------- Proceso ------------------------------- */

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  counter-increment: step;
}

.process-step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 2.1rem;
  right: -1.15rem;
  width: 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(19, 198, 179, 0.5), transparent);
}

.process-step:last-child::after {
  display: none;
}

.process-step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.process-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ------------------------------ Sobre nosotros ---------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.2rem, 5vw, 4.5rem);
}

.split > * {
  min-width: 0;
}

.about-visual {
  position: relative;
  padding: 1.5rem 0 2.6rem;
}

.code-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(19, 198, 179, 0.24);
  border-radius: 20px;
  background: linear-gradient(160deg, #0f192c, #0a111e);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
}

.code-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.025);
}

.code-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 247, 251, 0.16);
}

.code-top i:first-child {
  background: #ff6b6b;
  opacity: 0.8;
}

.code-top i:nth-child(2) {
  background: #ffd166;
  opacity: 0.85;
}

.code-top i:nth-child(3) {
  background: var(--turquoise);
}

.code-top small {
  margin-left: auto;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
}

.code-body {
  overflow-x: auto;
  padding: 1.4rem;
  color: #c7d3e5;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 1vw, 0.85rem);
  line-height: 1.85;
  tab-size: 2;
}

.code-body pre {
  margin: 0;
  white-space: pre;
}

.c-com {
  color: #5f7190;
}

.c-tag {
  color: #5f9bff;
}

.c-attr {
  color: #8ee8de;
}

.c-str {
  color: #a7e8a0;
}

.c-hl {
  color: #ffd166;
}

.code-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(19, 198, 179, 0.05);
  color: var(--muted-strong);
  font-size: 0.68rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(19, 198, 179, 0.14);
}

.floating-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(19, 198, 179, 0.28);
  border-radius: 999px;
  background: rgba(14, 23, 39, 0.95);
  box-shadow: var(--shadow-sm);
  color: var(--muted-strong);
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.floating-tag svg {
  width: 14px;
  height: 14px;
  color: var(--turquoise);
}

.floating-tag--1 {
  top: 0.2rem;
  right: 0.5rem;
  animation: float 7s ease-in-out infinite;
}

.floating-tag--2 {
  bottom: 0;
  left: 0.6rem;
  animation: float 8s ease-in-out infinite reverse;
}

.floating-tag--3 {
  top: 42%;
  right: -1rem;
  animation: float 9s ease-in-out infinite;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-strong);
  font-size: 0.8rem;
}

.about-points svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--turquoise);
}

/* ----------------------------------- FAQ ---------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.faq-layout .section-head {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(19, 198, 179, 0.34);
  background: rgba(19, 198, 179, 0.04);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--turquoise);
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
  font-size: inherit;
}

.faq-answer a {
  color: var(--turquoise);
}

/* --------------------------------- CTA final ------------------------------ */

.cta-band {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.8rem);
  border: 1px solid rgba(19, 198, 179, 0.3);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(19, 198, 179, 0.14), rgba(40, 120, 255, 0.16)),
    rgba(13, 22, 38, 0.9);
  box-shadow: var(--shadow);
}

.cta-band-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: 5%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 198, 179, 0.28), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.cta-band-inner::after {
  content: "";
  position: absolute;
  bottom: -60%;
  left: 20%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 120, 255, 0.22), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.cta-band-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta-band h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

.cta-band p {
  margin: 0;
  font-size: 0.96rem;
}

.cta-band-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: none;
}

/* --------------------------------- Footer --------------------------------- */

.site-footer {
  position: relative;
  padding: clamp(3rem, 6vw, 4.8rem) 0 1.7rem;
  border-top: 1px solid var(--border);
  background: rgba(7, 12, 22, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.75fr 1fr 1.05fr;
  gap: 2rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 30ch;
  margin-bottom: 1.2rem;
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-col h3 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--turquoise);
}

.footer-col li > span {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-col a svg {
  width: 15px;
  height: 15px;
  color: var(--turquoise);
}

.footer-note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
  font-size: inherit;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--turquoise);
}

/* ------------------------------ WhatsApp flotante ------------------------- */

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 2.6vw, 1.75rem);
  bottom: clamp(1rem, 2.6vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #06130b;
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.34);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.45);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37, 211, 102, 0.5);
  border-radius: inherit;
  animation: ring 2.8s infinite;
  pointer-events: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.85rem);
  padding: 0.48rem 0.75rem;
  border-radius: 8px;
  background: #fff;
  color: #0b1220;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-float-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  border: 5px solid transparent;
  border-left-color: #fff;
  transform: translateY(-50%);
}

.whatsapp-float:hover .whatsapp-float-tooltip,
.whatsapp-float:focus-visible .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------------------------------- 404 ----------------------------------- */

.error-page {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 8vw, 6rem);
}

.error-page::before,
.error-page::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.error-page::before {
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(19, 198, 179, 0.16), transparent 66%);
}

.error-page::after {
  bottom: -25%;
  left: -10%;
  background: radial-gradient(circle, rgba(40, 120, 255, 0.15), transparent 66%);
}

.error-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.error-code {
  margin: 0.6rem 0 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-title);
  font-size: clamp(5.5rem, 20vw, 10rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.error-inner h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.error-inner > p {
  max-width: 56ch;
  margin-inline: auto;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.error-links a {
  color: var(--muted-strong);
  text-decoration: none;
  transition: color 0.25s ease;
}

.error-links a:hover {
  color: var(--turquoise);
}

.site-footer--slim {
  padding-top: 1.6rem;
}

.site-footer--slim .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ------------------------------- Page hero -------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(3rem, 6vw, 5rem)) 0 clamp(2.8rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -55%;
  right: -5%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 198, 179, 0.16), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -65%;
  left: 5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 120, 255, 0.15), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.breadcrumb a {
  color: var(--muted-strong);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--turquoise);
}

.breadcrumb span[aria-current] {
  color: var(--turquoise);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-hero p {
  max-width: 48rem;
  margin-bottom: 1.6rem;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.page-hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted-strong);
  font-size: 0.8rem;
}

.page-hero-meta svg {
  width: 15px;
  height: 15px;
  color: var(--turquoise);
}

/* ----------------------------- Detalle servicios -------------------------- */

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--border-soft);
  scroll-margin-top: calc(var(--header-h) + 30px);
}

.service-detail:last-of-type {
  border-bottom: 0;
}

.service-detail.flip .service-info {
  order: 2;
}

.service-detail.flip .service-visual {
  order: 1;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--turquoise);
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-kicker svg {
  width: 16px;
  height: 16px;
}

.service-info h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

.service-info > p {
  max-width: 55ch;
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 1.35rem 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted-strong);
  font-size: 0.83rem;
  line-height: 1.5;
}

.feature-list svg {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex: none;
  color: var(--turquoise);
}

.service-ideal {
  margin: 1.35rem 0 1.5rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--turquoise);
  border-radius: 0 10px 10px 0;
  background: rgba(19, 198, 179, 0.055);
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.6;
}

.service-ideal strong {
  color: #fff;
  font-weight: 600;
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Visuales de servicios */
.service-visual {
  position: relative;
  min-height: 390px;
  padding: 1.5rem;
  border: 1px solid rgba(19, 198, 179, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 75% 20%, rgba(19, 198, 179, 0.12), transparent 45%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 247, 251, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 251, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 45%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 78%);
  pointer-events: none;
}

.visual-browser {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 251, 0.12);
  border-radius: 14px;
  background: #0d1626;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
}

.visual-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
}

.visual-browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244, 247, 251, 0.2);
}

.visual-browser-bar i:first-child {
  background: #ff6b6b;
  opacity: 0.8;
}

.visual-browser-bar i:nth-child(2) {
  background: #ffd166;
  opacity: 0.85;
}

.visual-browser-bar i:nth-child(3) {
  background: var(--turquoise);
}

.visual-browser-bar span {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.55rem;
}

.visual-site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
}

.visual-site-nav strong {
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.6rem;
  font-weight: 600;
}

.visual-site-nav em {
  margin-left: auto;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(19, 198, 179, 0.15);
  color: #8df4e9;
  font-size: 0.48rem;
  font-style: normal;
}

.visual-site-hero {
  margin: 0 0.8rem;
  padding: 1.1rem;
  border-radius: 10px;
  background: linear-gradient(125deg, rgba(19, 198, 179, 0.22), rgba(40, 120, 255, 0.28));
}

.visual-site-hero small {
  display: block;
  margin-bottom: 0.35rem;
  color: #a3f5ec;
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-site-hero h4 {
  max-width: 12rem;
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  line-height: 1.18;
}

.visual-site-hero span {
  display: block;
  width: 5.2rem;
  height: 4px;
  margin-bottom: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.visual-site-hero span:last-child {
  width: 3.4rem;
  margin-bottom: 0.7rem;
}

.visual-site-hero b {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--turquoise);
  color: #062a26;
  font-size: 0.46rem;
}

.visual-site-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.7rem 0.8rem 0.85rem;
}

.visual-site-cards div {
  padding: 0.4rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.visual-site-cards i {
  display: block;
  aspect-ratio: 1 / 0.7;
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(19, 198, 179, 0.7), rgba(40, 120, 255, 0.45));
}

.visual-site-cards div:nth-child(2) i {
  background: linear-gradient(145deg, rgba(40, 120, 255, 0.75), rgba(122, 92, 255, 0.5));
}

.visual-site-cards div:nth-child(3) i {
  background: linear-gradient(145deg, rgba(122, 92, 255, 0.7), rgba(19, 198, 179, 0.4));
}

.visual-site-cards small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.44rem;
}

.visual-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(19, 198, 179, 0.3);
  border-radius: 999px;
  background: rgba(13, 22, 38, 0.95);
  color: var(--muted-strong);
  font-family: var(--font-title);
  font-size: 0.6rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.visual-badge svg {
  width: 13px;
  height: 13px;
  color: var(--turquoise);
}

.visual-badge--top {
  top: 0.8rem;
  right: 1rem;
}

.visual-badge--bottom {
  bottom: 1.1rem;
  left: 1rem;
}

/* Tienda / teléfono */
.phone {
  position: relative;
  z-index: 1;
  width: min(245px, 76%);
  margin: 1.1rem auto 0;
  padding: 0.42rem;
  border: 1px solid rgba(244, 247, 251, 0.14);
  border-radius: 30px;
  background: #0a111e;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0d1728;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.phone-notch {
  width: 64px;
  height: 14px;
  margin: 0.35rem auto 0.2rem;
  border-radius: 999px;
  background: #070c15;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem 0.55rem;
  border-bottom: 1px solid var(--border-soft);
}

.phone-top i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--gradient);
}

.phone-top strong {
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.52rem;
  font-weight: 600;
}

.phone-top span {
  margin-left: auto;
  color: #25d366;
  font-size: 0.46rem;
}

.phone-store-body {
  padding: 0.65rem;
}

.phone-store-body > small {
  color: #8df4e9;
  font-size: 0.43rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-store-body > h4 {
  margin: 0.2rem 0 0.55rem;
  font-size: 0.82rem;
  line-height: 1.2;
}

.phone-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.phone-products div {
  padding: 0.35rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.phone-products i {
  display: block;
  aspect-ratio: 1 / 0.72;
  border-radius: 5px;
  background: linear-gradient(145deg, #13c6b3, #0b5d57);
}

.phone-products div:nth-child(2) i {
  background: linear-gradient(145deg, #3d8bff, #1a3f9c);
}

.phone-products div:nth-child(3) i {
  background: linear-gradient(145deg, #8a6bff, #4230a4);
}

.phone-products div:nth-child(4) i {
  background: linear-gradient(145deg, #ff9f6b, #a04a2d);
}

.phone-products small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted-strong);
  font-size: 0.4rem;
}

.phone-products b {
  display: block;
  color: var(--turquoise);
  font-size: 0.42rem;
  font-weight: 600;
}

.phone-cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(37, 211, 102, 0.32);
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.1);
  color: #b6ffd2;
  font-size: 0.44rem;
  font-weight: 600;
}

.phone-cart svg {
  width: 12px;
  height: 12px;
  color: #25d366;
}

.phone-cart span {
  margin-left: auto;
  color: #25d366;
}

/* Bio link */
.bio-phone .phone-store-body {
  padding: 0.75rem;
}

.bio-profile {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  margin: 0.35rem 0 0.7rem;
  text-align: center;
}

.bio-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(19, 198, 179, 0.45);
  border-radius: 50%;
  background: linear-gradient(145deg, #13c6b3, #2878ff);
  color: #06121f;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
}

.bio-profile strong {
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.6rem;
  font-weight: 600;
}

.bio-profile small {
  color: var(--muted);
  font-size: 0.43rem;
}

.bio-links {
  display: grid;
  gap: 0.35rem;
}

.bio-links span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.55rem;
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  font-size: 0.44rem;
}

.bio-links span::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--gradient);
  flex: none;
}

.bio-links span:first-child {
  border-color: rgba(19, 198, 179, 0.3);
  background: rgba(19, 198, 179, 0.09);
  color: #a9f7ee;
}

.bio-links span::after {
  content: "↗";
  margin-left: auto;
  color: var(--muted);
}

.bio-footer {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.38rem;
  text-align: center;
}

/* ------------------------------ Página nosotros --------------------------- */

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.about-page-visual {
  position: relative;
  min-height: 410px;
  padding: 2rem;
  border: 1px solid rgba(19, 198, 179, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(19, 198, 179, 0.16), transparent 48%),
    radial-gradient(circle at 80% 80%, rgba(40, 120, 255, 0.15), transparent 50%),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.about-page-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 247, 251, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 251, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
}

.about-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(19, 198, 179, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.about-orbit::before,
.about-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(40, 120, 255, 0.15);
  border-radius: 50%;
}

.about-orbit::before {
  inset: 35px;
}

.about-orbit::after {
  inset: 72px;
}

.about-center-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(19, 198, 179, 0.35);
  border-radius: 24px;
  background: rgba(11, 18, 32, 0.82);
  box-shadow: 0 0 60px rgba(19, 198, 179, 0.2);
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.about-center-mark svg,
.about-center-mark img {
  width: 58px;
  height: 58px;
}

.about-center-mark img {
  object-fit: contain;
}

.about-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 22, 38, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--muted-strong);
  font-size: 0.67rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.about-float svg {
  width: 14px;
  height: 14px;
  color: var(--turquoise);
}

.about-float--1 {
  top: 15%;
  left: 8%;
  animation: float 7s ease-in-out infinite;
}

.about-float--2 {
  top: 28%;
  right: 7%;
  animation: float 8s ease-in-out infinite reverse;
}

.about-float--3 {
  bottom: 20%;
  left: 12%;
  animation: float 9s ease-in-out infinite;
}

.about-float--4 {
  bottom: 13%;
  right: 9%;
  animation: float 7.5s ease-in-out infinite reverse;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.stat strong {
  display: block;
  margin-bottom: 0.2rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 198, 179, 0.3);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border: 1px solid rgba(19, 198, 179, 0.28);
  border-radius: 12px;
  background: rgba(19, 198, 179, 0.09);
  color: var(--turquoise);
}

.value-icon svg {
  width: 21px;
  height: 21px;
}

.value-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.value-card p {
  margin: 0;
  font-size: 0.84rem;
}

/* Misión / visión */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mission-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(19, 198, 179, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(19, 198, 179, 0.09), rgba(40, 120, 255, 0.05));
}

.mission-card::after {
  content: "";
  position: absolute;
  top: -55%;
  right: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 198, 179, 0.16), transparent 70%);
}

.mission-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.mission-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.9rem;
}

/* ------------------------------- Página contacto -------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.contact-panel h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.contact-panel > p {
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(19, 198, 179, 0.25);
  border-radius: 11px;
  background: rgba(19, 198, 179, 0.08);
  color: var(--turquoise);
}

.contact-list-icon svg {
  width: 19px;
  height: 19px;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.1rem;
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 500;
}

.contact-list a,
.contact-list span {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--turquoise);
}

.contact-panel .btn {
  width: 100%;
}

.contact-panel-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.quote-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(19, 198, 179, 0.24);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(19, 198, 179, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-sm);
}

.quote-card h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.quote-card > p {
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
}

.quote-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 0.4rem;
}

.form-field label {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 500;
}

.form-field label span {
  color: var(--turquoise);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(244, 247, 251, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6f7f98;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(244, 247, 251, 0.22);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--turquoise);
  background: rgba(19, 198, 179, 0.035);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 198, 179, 0.12);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9fb0c7 50%),
    linear-gradient(135deg, #9fb0c7 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.form-field select option {
  background: #101827;
  color: #fff;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.quote-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.quote-submit .btn {
  flex: 1;
  min-width: 220px;
  white-space: normal;
  line-height: 1.3;
}

.quote-submit small {
  color: var(--muted);
  font-size: 0.68rem;
}

.quote-result {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(19, 198, 179, 0.34);
  border-radius: 13px;
  background: rgba(19, 198, 179, 0.06);
}

.quote-result.is-visible {
  display: block;
  animation: fade-up 0.35s var(--ease);
}

.quote-result h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  font-size: 0.86rem;
  color: #fff;
}

.quote-result h3 svg {
  width: 17px;
  height: 17px;
  color: var(--turquoise);
}

.quote-result pre {
  margin: 0 0 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted-strong);
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.quote-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.quote-result-actions .btn {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
}

.contact-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-faq .faq-item summary {
  font-size: 0.84rem;
}

/* ---------------------------------- Toast --------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 250;
  max-width: min(92vw, 420px);
  padding: 0.75rem 1.05rem;
  border: 1px solid rgba(19, 198, 179, 0.4);
  border-radius: 10px;
  background: rgba(11, 18, 32, 0.96);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------------------------- 404 ----------------------------------- */

.error-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  text-align: center;
  overflow: hidden;
}

.error-page::before,
.error-page::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.error-page::before {
  top: 5%;
  right: 5%;
  background: rgba(19, 198, 179, 0.16);
}

.error-page::after {
  bottom: 0;
  left: 0;
  background: rgba(40, 120, 255, 0.14);
}

.error-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.error-code {
  margin: 0;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-title);
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.error-inner h1 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.error-inner p {
  margin-bottom: 1.8rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* -------------------------------- Utilidades ------------------------------ */

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.nowrap { white-space: nowrap; }

/* ------------------------------- Animaciones ------------------------------ */

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(19, 198, 179, 0.14);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(19, 198, 179, 0.04);
  }
}

@keyframes ring {
  0% {
    opacity: 0.65;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* -------------------------------- Responsive ------------------------------ */

@media (max-width: 1100px) {
  .hero-grid {
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 4.7vw, 3.7rem);
  }

  .float-card-1 {
    right: -2%;
  }

  .float-card-2 {
    left: -3%;
  }
}

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

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 48ch;
  }

  .contact-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: calc(var(--header-h) + 3rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

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

  .hero-visual {
    width: 100%;
    max-width: 580px;
    min-height: 0;
    margin-inline: auto;
    padding: 1.35rem 0 0;
  }

  .browser-card,
  .hero-visual:hover .browser-card {
    transform: none;
  }

  .float-card-1 {
    top: 2%;
    right: 0;
  }

  .float-card-2 {
    bottom: 4%;
    left: 0;
  }

  .hero-chip {
    right: 0;
    bottom: -0.3rem;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.6rem;
  }

  .about-visual {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout .section-head {
    position: static;
    margin-bottom: 2rem;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page-visual {
    order: 2;
    width: 100%;
    max-width: 560px;
    min-height: 390px;
    margin-inline: auto;
  }

  .service-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .service-detail.flip .service-info {
    order: 1;
  }

  .service-detail.flip .service-visual {
    order: 2;
  }

  .service-visual {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-card {
    order: 1;
  }

  .contact-panel {
    order: 2;
  }
}

@media (max-width: 820px) {
  .services-grid,
  .benefits-grid,
  .process,
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step::after {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .contact-faq {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  :root {
    --header-h: 70px;
  }

  .section {
    padding: 3.9rem 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 3.6rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8.4vw, 3rem);
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 200px;
  }

  .hero-trust {
    gap: 0.55rem 1rem;
  }

  .hero-trust li {
    font-size: 0.76rem;
  }

  .float-card {
    padding: 0.58rem 0.68rem;
  }

  .hero-chip {
    display: none;
  }

  .mission-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-submit .btn {
    min-width: 100%;
  }

  .cta-band-actions {
    width: 100%;
  }

  .cta-band-actions .btn {
    flex: 1;
    min-width: 190px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 1.15rem;
  }

  .brand-text {
    font-size: 0.93rem;
  }

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

  .hero-badge {
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    padding-top: 0.5rem;
  }

  .float-card {
    display: none;
  }

  .browser-body {
    padding: 0.75rem;
  }

  .mock-hero {
    padding: 0.9rem;
  }

  .mock-nav-links {
    display: none;
  }

  .mock-hero h3 {
    font-size: 1.05rem;
  }

  .mock-grid {
    gap: 0.4rem;
  }

  .mock-product {
    padding: 0.3rem;
  }

  .mock-product strong {
    font-size: 0.46rem;
  }

  .mock-price {
    font-size: 0.42rem;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 2.4rem);
  }

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

  .page-hero-actions .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-faq .faq-item summary {
    font-size: 0.8rem;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }

  .cta-band-actions {
    flex-direction: column;
  }

  .cta-band-actions .btn {
    width: 100%;
    flex: none;
  }

  .quote-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-submit small {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2rem;
  }

  .browser-url {
    max-width: 150px;
    font-size: 0.55rem;
  }

  .mock-nav-btn {
    display: none;
  }

  .mock-hero h3 {
    font-size: 0.98rem;
  }

  .visual-site-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-site-cards div:nth-child(3) {
    display: none;
  }

  .contact-panel,
  .quote-card {
    padding: 1.15rem;
  }

  .about-page-visual,
  .service-visual {
    min-height: 340px;
    padding: 1.15rem;
  }

  .floating-tag--3 {
    right: 0;
  }

  .error-code {
    font-size: 6rem;
  }
}

@media (hover: none) {
  .service-card:hover,
  .benefit:hover,
  .value-card:hover,
  .whatsapp-float:hover {
    transform: none;
  }
}

/* --------------------------- Movimiento reducido -------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .browser-card,
  .hero-visual:hover .browser-card {
    transform: none;
  }

  .float-card-1,
  .float-card-2,
  .floating-tag,
  .about-float {
    animation: none;
  }
}

/* El CTA del header se mantiene visible en la página 404 a cualquier ancho. */
.header-actions .header-cta--always {
  display: inline-flex;
}

