/* GD Solutions · hoja de estilos (v2, identidad con logo nuevo)
   Paleta del logo: navy profundo, degradado azul → cian y acento naranja.
   Fotos con licencia Unsplash en assets/img (ver assets/img/CREDITOS.txt). */
:root {
  --navy-950: #030f20;
  --navy-900: #061a33;
  --navy-800: #0a2547;
  --navy: #0d2f5c;
  --blue: #0b5fb0;
  --blue-500: #1680e6;
  --cyan: #00c6fb;
  --orange: #ff8513;
  --orange-600: #f06f00;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --mist-2: #eaf1f9;
  --ink: #0a1a2f;
  --muted: #51637a;
  --line: #dde5ef;
  --on-dark: #e8f1fb;
  --on-dark-muted: #a3b8d0;
  --line-dark: rgba(163, 196, 235, .16);
  --grad: linear-gradient(100deg, #0b5fb0 0%, #1680e6 45%, #00c6fb 100%);
  --grad-warm: linear-gradient(135deg, #ffb13d 0%, #ff8513 55%, #f06200 100%);
  --shadow-lg: 0 40px 80px -40px rgba(6, 26, 51, .45), 0 18px 36px -24px rgba(6, 26, 51, .25);
  --shadow-md: 0 20px 44px -28px rgba(6, 26, 51, .38);

  --f-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -.022em; margin: 0; text-wrap: balance; color: inherit; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow {
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: .7em; font-weight: 500;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), #ffb13d); }
.eyebrow.on-dark { color: var(--cyan); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 600; color: var(--navy-900); }
.section-head p { color: var(--muted); font-size: 1.14rem; max-width: 62ch; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 500; font-size: 1rem; letter-spacing: -.005em;
  padding: .9em 1.45em; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: 0 14px 30px -12px rgba(255, 120, 10, .75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(255, 120, 10, .85); }
.btn-ghost { color: #fff; border-color: rgba(232, 241, 251, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0, 198, 251, .12); }
.btn-white { background: #fff; color: var(--navy-900); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .5); }
.btn-white svg { color: #1aa35a; }
.btn-white:hover { transform: translateY(-2px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: inline-flex; position: relative; flex: none; }
.brand img { height: 44px; width: auto; transition: opacity .25s ease; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: inherit; text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .86; position: relative; padding-block: 6px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.btn-nav { padding: .62em 1.2em; font-size: .93rem; background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-nav:hover { background: #fff; color: var(--navy-900); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.menu-toggle svg { width: 26px; height: 26px; display: block; }

.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: var(--navy-900); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(6, 26, 51, .35);
}
.site-header.is-scrolled .logo-light, .site-header.menu-open .logo-light { opacity: 0; }
.site-header.is-scrolled .logo-dark, .site-header.menu-open .logo-dark { opacity: 1; }
.site-header.is-scrolled .btn-nav, .site-header.menu-open .btn-nav { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.site-header.is-scrolled .btn-nav:hover { background: var(--blue); border-color: var(--blue); }

/* Hero */
.hero { position: relative; color: var(--on-dark); background: var(--navy-950); overflow: hidden; isolation: isolate; padding-top: 78px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("img/ciudad.jpg") center 35% / cover no-repeat;
  filter: saturate(.85);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(0, 198, 251, .32), transparent 60%),
    radial-gradient(700px 420px at 70% 105%, rgba(255, 133, 19, .22), transparent 60%),
    linear-gradient(100deg, rgba(3, 15, 32, .97) 0%, rgba(6, 26, 51, .93) 38%, rgba(10, 47, 92, .78) 70%, rgba(11, 95, 176, .55) 100%),
    linear-gradient(0deg, rgba(3, 15, 32, .9) 0%, transparent 35%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(163, 196, 235, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(163, 196, 235, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 60px);
}
.hero-copy { display: grid; gap: 24px; align-content: start; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 600; color: #fff; letter-spacing: -.03em; }
.hero h1 em {
  font-style: normal; display: block; margin-top: .12em;
  background: linear-gradient(95deg, #5fb8ff 0%, #00c6fb 55%, #8ee9ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: #c6d6e8; max-width: 56ch; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero-strip {
  list-style: none; margin: 0; padding: 22px 0 clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.hero-strip li {
  display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(163, 196, 235, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-strip svg { width: 42px; height: 42px; padding: 10px; border-radius: 11px; color: var(--cyan); background: rgba(0, 198, 251, .1); }
.hero-strip b { display: block; font-family: var(--f-display); font-weight: 500; color: #fff; font-size: .98rem; }
.hero-strip span { display: block; font-size: .84rem; color: var(--on-dark-muted); line-height: 1.4; }

/* Vitrina de tienda */
.showcase { position: relative; padding: 10px 0 40px; }
.showcase::before {
  content: ""; position: absolute; inset: 8% -6% 12% 10%; z-index: 0; border-radius: 40px;
  background: var(--grad); filter: blur(70px); opacity: .45;
}
.browser {
  position: relative; z-index: 1; background: #fff; border-radius: 16px; overflow: hidden; color: var(--ink);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #eef2f7; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9d3df; display: block; }
.dots i:nth-child(1) { background: #ff6b5f; } .dots i:nth-child(2) { background: #ffc130; } .dots i:nth-child(3) { background: #2ccb4f; }
.url {
  flex: 1; display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .7rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 10px; min-width: 0; white-space: nowrap; overflow: hidden;
}
.url svg { width: 11px; height: 11px; color: #1a9a5b; flex: none; }
.store { padding: 16px 18px 20px; }
.store-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .74rem; }
.store-logo { font-family: var(--f-display); font-weight: 600; font-size: .94rem; color: var(--navy); }
.store-menu { display: flex; gap: 14px; color: var(--muted); }
.cart-pill { display: inline-flex; align-items: center; gap: 5px; background: var(--navy-900); color: #fff; padding: 3px 10px; border-radius: 99px; font-weight: 500; }
.cart-pill b { background: var(--orange); color: #fff; border-radius: 99px; padding: 0 6px; font-size: .66rem; }
.store-banner {
  margin-top: 12px; border-radius: 10px; padding: 18px 20px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(100deg, rgba(6, 26, 51, .92), rgba(11, 95, 176, .78)), url("img/oficina.jpg") center / cover;
}
.store-banner strong { font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; display: block; }
.store-banner span { font-size: .74rem; opacity: .85; }
.store-banner .tag { font-family: var(--f-mono); font-size: .64rem; background: var(--orange); padding: 4px 9px; border-radius: 99px; white-space: nowrap; opacity: 1; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.product { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .72rem; }
.product .ph { aspect-ratio: 4 / 3; position: relative; }
.ph-a { background: linear-gradient(135deg, #d8e8f8, #a9cbef); }
.ph-b { background: linear-gradient(135deg, #d7f5fd, #93def5); }
.ph-c { background: linear-gradient(135deg, #ffe8d1, #ffc28a); }
.ph::after { content: ""; position: absolute; inset: 24% 30%; border-radius: 10px; background: rgba(255, 255, 255, .65); box-shadow: 0 10px 20px -10px rgba(6, 26, 51, .35); }
.ph-b::after { border-radius: 50%; inset: 22% 32%; }
.ph-c::after { border-radius: 6px 22px; }
.product div.meta { padding: 8px 9px 10px; display: grid; gap: 3px; }
.product .name { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product .price { font-family: var(--f-mono); color: var(--navy); font-weight: 500; font-variant-numeric: tabular-nums; }
.product .add { margin-top: 4px; text-align: center; border-radius: 6px; padding: 4px; background: var(--navy-900); color: #fff; font-weight: 500; }
.order-toast {
  position: absolute; z-index: 2; left: -22px; bottom: 6px; display: grid; grid-template-columns: auto 1fr; gap: 1px 12px; align-items: center;
  background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 14px; padding: 13px 16px; box-shadow: var(--shadow-lg);
  animation: toast-in .7s .5s both cubic-bezier(.2, .8, .2, 1);
}
.order-toast .ok { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #e3f7ec; color: #148a4f; }
.order-toast .ok svg { width: 18px; height: 18px; }
.order-toast .t1 { font-size: .82rem; font-weight: 600; font-family: var(--f-display); }
.order-toast .t2 { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .order-toast { animation: none; } html { scroll-behavior: auto; } }

/* Fotos */
.photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(0, 198, 251, .16) 0%, transparent 40%, rgba(6, 26, 51, .45) 100%);
  mix-blend-mode: multiply;
}

/* Para quién */
.fit-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.photo-fit { aspect-ratio: 5 / 6; }
.photo-fit img { object-position: 38% center; }
.photo-card {
  position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 14px; align-items: center;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-md);
}
.photo-card .ok { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.photo-card .ok svg { width: 20px; height: 20px; }
.photo-card b { display: block; font-family: var(--f-display); font-weight: 600; color: var(--navy-900); }
.photo-card small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.fit-layout .section-head { margin-bottom: 32px; }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fit-col { border-radius: 18px; padding: 24px 22px 8px; }
.fit-col h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.fit-col.today { background: var(--mist); }
.fit-col.today h3 { color: var(--muted); }
.fit-col.next { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: var(--on-dark); box-shadow: var(--shadow-md); }
.fit-col.next h3 { color: #fff; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.checklist.next li { border-color: var(--line-dark); }
.checklist svg { width: 22px; height: 22px; margin-top: 2px; }
.checklist.today svg { color: #9aa9bb; }
.checklist.next svg { color: var(--cyan); }
.checklist strong { display: block; font-weight: 600; font-size: .97rem; line-height: 1.35; }
.checklist.today strong { color: var(--navy-900); }
.checklist span { display: block; font-size: .9rem; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.checklist.next span { color: var(--on-dark-muted); }

/* Soluciones */
.solutions { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); overflow: hidden; }
.solutions::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -280px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 251, .16), transparent 65%); pointer-events: none;
}
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.tier {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px 28px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 50px -40px rgba(6, 26, 51, .4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier.featured { background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy-800) 60%, #0c3a72 100%); color: var(--on-dark); border-color: transparent; }
.tier.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px; padding: 1.5px; background: linear-gradient(160deg, var(--cyan), rgba(0, 198, 251, 0) 45%, var(--orange));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.tier-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tier-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mist-2); color: var(--blue); }
.tier.featured .tier-icon { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(0, 198, 251, .8); }
.tier-icon svg { width: 26px; height: 26px; }
.tier-step { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tier.featured .tier-step { color: var(--on-dark-muted); }
.tier h3 { font-size: 1.42rem; font-weight: 600; color: var(--navy-900); }
.tier.featured h3 { color: #fff; }
.tier .lead { color: var(--muted); font-size: 1rem; min-height: 3.2em; }
.tier.featured .lead { color: #c6d6e8; }
.tier ul { list-style: none; padding: 18px 0 0; margin: 4px 0 0; display: grid; gap: 11px; border-top: 1px solid var(--line); font-size: .96rem; }
.tier.featured ul { border-color: var(--line-dark); }
.tier li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; line-height: 1.45; }
.tier li svg { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.tier.featured li svg { color: var(--cyan); }
.badge {
  position: absolute; top: -13px; right: 24px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad-warm); color: #fff; padding: 5px 12px; border-radius: 99px; font-weight: 500; box-shadow: 0 10px 22px -10px rgba(255, 120, 10, .8);
}
.included {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 56px; color: var(--on-dark); border-radius: 24px;
  padding: clamp(28px, 4.5vw, 52px); display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  background: var(--navy-900); box-shadow: var(--shadow-lg);
}
.included::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("img/analitica.jpg") center / cover no-repeat;
}
.included::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 300px at 0% 100%, rgba(0, 198, 251, .25), transparent 70%), linear-gradient(100deg, rgba(3, 15, 32, .96) 0%, rgba(6, 26, 51, .92) 45%, rgba(10, 47, 92, .82) 100%);
}
.included-head { display: grid; gap: 12px; }
.included h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; color: #fff; }
.included p { color: var(--on-dark-muted); }
.included ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.included li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .98rem; }
.included li svg { width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }

/* Proceso */
.process { color: var(--on-dark); background: var(--navy-950); overflow: hidden; isolation: isolate; }
.process-bg { position: absolute; inset: 0; z-index: -1; }
.process-bg::before { content: ""; position: absolute; inset: 0; background: url("img/red-global.jpg") center 70% / cover no-repeat; opacity: .55; }
.process-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 15% 0%, rgba(11, 95, 176, .45), transparent 70%), linear-gradient(180deg, rgba(3, 15, 32, .92) 0%, rgba(3, 15, 32, .6) 55%, rgba(3, 15, 32, .92) 100%);
}
.process .section-head h2 { color: #fff; }
.process .section-head p { color: var(--on-dark-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps li {
  position: relative; padding: 26px 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(163, 196, 235, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s ease, background-color .2s ease;
}
.steps li:hover { border-color: rgba(0, 198, 251, .5); background: rgba(0, 198, 251, .07); }
.steps .num {
  font-family: var(--f-display); font-weight: 600; font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps li:last-child .num { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.steps h3 { font-size: 1.12rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.steps p { font-size: .93rem; color: var(--on-dark-muted); line-height: 1.55; }

/* Compromisos */
.why-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.why-side { position: sticky; top: 110px; }
.why-side .section-head { margin-bottom: 32px; }
.photo-why { aspect-ratio: 16 / 11; }
.pledges { display: grid; gap: 14px; }
.pledge {
  display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pledge:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateX(4px); }
.pledge .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 12px 24px -14px rgba(11, 95, 176, .9); }
.pledge:nth-child(3) .ic { background: var(--grad-warm); box-shadow: 0 12px 24px -14px rgba(255, 120, 10, .9); }
.pledge .ic svg { width: 26px; height: 26px; }
.pledge h3 { font-size: 1.12rem; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.pledge p { color: var(--muted); font-size: .97rem; }

/* Banda de contacto */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--blue); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("img/equipo.jpg") center 40% / cover no-repeat; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 26, 51, .95) 0%, rgba(11, 95, 176, .9) 55%, rgba(0, 198, 251, .78) 100%); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(56px, 7vw, 84px); }
.cta-band .wrap > div { display: grid; gap: 14px; max-width: 760px; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }

/* Contacto */
.contact { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3.5vw, 38px); display: grid; gap: 18px; box-shadow: var(--shadow-lg); position: relative; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy-900); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist);
  border: 1px solid var(--line); border-radius: 12px; padding: .78em .95em; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(22, 128, 230, .14); }
.field textarea { min-height: 130px; resize: vertical; }
.err { color: #b42318; font-size: .84rem; min-height: 0; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: .88rem; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .5em 1em; border: 1px solid var(--line); border-radius: 99px; font-size: .92rem; cursor: pointer; background: #fff; transition: all .15s; }
.chip span:hover { border-color: var(--blue-500); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot p { font-size: .88rem; color: var(--muted); flex: 1; min-width: 200px; }
.form-done { border-radius: 12px; background: #e9f7ef; color: #0f5b37; padding: 14px 16px; font-size: .95rem; }
.directory { display: grid; gap: 12px; }
.wa-card {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); border-radius: 22px; padding: 28px; display: grid; gap: 12px;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 60%, #0b4f96 100%); box-shadow: var(--shadow-lg);
}
.wa-card::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 198, 251, .4), transparent 65%); }
.wa-card .label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.wa-card .phone { font-family: var(--f-display); font-size: 1.65rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.wa-card p { color: var(--on-dark-muted); font-size: .95rem; }
.wa-card .btn { justify-self: start; background: #25d366; color: #05361a; margin-top: 4px; }
.wa-card .btn:hover { background: #3be27a; transform: translateY(-1px); }
.dept { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.dept:hover { border-color: #bcd3ea; box-shadow: var(--shadow-md); }
.dept .who { font-family: var(--f-display); font-weight: 600; color: var(--navy-900); font-size: .98rem; }
.dept .what { grid-row: 2; font-size: .84rem; color: var(--muted); }
.dept .mail { grid-row: 3; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--blue); overflow-wrap: anywhere; }
.dept .mail:hover { text-decoration: underline; }
.dept .copy { grid-row: 1 / span 3; grid-column: 2; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--mist); color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.dept .copy svg { width: 18px; height: 18px; }
.dept .copy:hover { border-color: var(--blue-500); color: var(--blue); }
.dept .copy.done { background: #e3f7ec; border-color: #9fdcbc; color: #148a4f; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark-muted); isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan) 70%, var(--orange)); }
.site-footer::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: -300px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 95, 176, .35), transparent 65%); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-block: 64px 44px; }
.footer-logo { width: 150px; height: auto; }
.footer-tag { margin-top: 20px; color: var(--on-dark); max-width: 34ch; font-size: 1.02rem; }
.site-footer h4 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-grid a { color: var(--on-dark); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; }

.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(5, 54, 26, .6), 0 0 0 6px rgba(37, 211, 102, .15); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .tier .lead { min-height: 0; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open .nav-links {
    display: grid; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 16px var(--gutter-l); box-shadow: 0 20px 30px -20px rgba(6, 26, 51, .3);
  }
  .site-header.menu-open .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .site-header.menu-open .nav-links a::after { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .browser { transform: none; }
  .showcase { max-width: 560px; }
  .fit-layout, .why-grid, .contact-grid, .included { grid-template-columns: minmax(0, 1fr); }
  .photo-fit { aspect-ratio: 16 / 11; }
  .why-side { position: static; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .store-banner .tag { display: none; }
  .nav { height: 68px; }
  .hero { padding-top: 68px; }
  .brand img { height: 32px; }
  .btn-nav { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products .product:nth-child(3) { display: none; }
  .store-menu { display: none; }
  .order-toast { left: 8px; right: 8px; }
  .showcase { padding-bottom: 70px; }
  .fit-grid, .form-row, .included ul { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .pledge { grid-template-columns: 46px 1fr; gap: 16px; padding: 20px; }
  .pledge .ic { width: 46px; height: 46px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btn { width: 100%; }
}

/* Ajustes 07/11: el logo siempre sobre fondo claro, WhatsApp sin número a la vista */
.site-header, .site-header.is-scrolled, .site-header.menu-open {
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: var(--navy-900); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(6, 26, 51, .35);
}
.site-header .logo-light { opacity: 0; }
.site-header .logo-dark { opacity: 1; }
.site-header .btn-nav { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.site-header .btn-nav:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-logo { display: inline-block; width: auto; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .6); }
.footer-logo img { width: 130px; height: auto; }
.wa-logo {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 16px 30px -12px rgba(37, 211, 102, .7), 0 0 0 6px rgba(37, 211, 102, .14); transition: transform .2s ease;
}
.wa-logo:hover { transform: scale(1.06); }
.wa-logo svg { width: 40px; height: 40px; }
.foot-wa { display: inline-flex; align-items: center; gap: 8px; }
.foot-wa svg { width: 22px; height: 22px; color: #25d366; }

/* Tarjeta única de WhatsApp (toda la tarjeta abre el chat) */
a.wa-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 40px; align-items: center; gap: 18px; padding: 24px;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
a.wa-card:hover { transform: translateY(-2px); box-shadow: 0 46px 90px -40px rgba(6, 26, 51, .6); }
.wa-card .wa-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 24px -12px rgba(37, 211, 102, .8); }
.wa-card .wa-ic svg { width: 30px; height: 30px; }
.wa-card .wa-txt { display: grid; gap: 4px; min-width: 0; }
.wa-card .label { font-size: .7rem; }
.wa-card .wa-title { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: #fff; letter-spacing: -.01em; line-height: 1.25; }
.wa-card .wa-desc { color: var(--on-dark-muted); font-size: .9rem; line-height: 1.45; }
.wa-card .wa-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(232, 241, 251, .3); color: #fff; transition: background-color .2s ease, border-color .2s ease; }
.wa-card .wa-go svg { width: 18px; height: 18px; }
a.wa-card:hover .wa-go { background: #25d366; border-color: #25d366; }
@media (max-width: 400px) { a.wa-card { grid-template-columns: 48px minmax(0, 1fr); } .wa-card .wa-go { display: none; } .wa-card .wa-ic { width: 48px; height: 48px; } }
