/* Outdoor Office · sitio web
   Identidad tomada de los folletos 2026: Rubik (títulos) + Montserrat (texto),
   azul marino / celeste, el pin como "O" y el punto rojo. */

:root {
  --navy: #1a4481;
  --navy-deep: #12315e;
  --night: #0d2142;
  --sky: #72a0d3;
  --sky-soft: #e3ecf7;
  --sky-light: #c0d6ef; /* celeste legible sobre azul (contraste AA) */
  --ground: #f4f7fc;
  --paper: #ffffff;
  --ink: #14223a;
  --ink-soft: #4a5872;
  --line: #d6e1ef;
  --dot: #ff0000;
  --pin: #0076b1;
  --gold: #f2b33d;
  --ok: #1f9d6b;

  --display: "Rubik", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(18, 49, 94, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-feature-settings: "liga" 0; text-wrap: balance; margin: 0; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Piezas comunes ---------- */
.eyebrow {
  font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pin); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); flex: none; }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--ground { background: var(--ground); }
.section--night { background: var(--night); color: #fff; }
.section-head { max-width: 760px; display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.h2, .section-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.section--night .section-head h2 { color: #fff; }
.section--night .eyebrow { color: var(--sky-light); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 62ch; }
.lead strong { color: var(--ink); }
.section--night .lead { color: #c9d7ea; }
.section--night .lead strong { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
  min-height: 52px;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #0b2a17; }
.btn--wa:hover { background: #2fe072; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }

/* Lockup: el pin ES la O de Outdoor */
.lockup {
  display: inline-flex; align-items: flex-start; font-family: var(--display); font-weight: 800;
  font-feature-settings: "liga" 0; line-height: 1; letter-spacing: -.01em; text-decoration: none; color: inherit;
}
.lockup svg { height: 1.2em; width: auto; transform: translateY(.04em); margin-right: .02em; color: inherit; }
.lockup .ld { display: inline-block; width: .3em; height: .3em; border-radius: 50%; background: var(--dot); margin: .36em .1em 0; }

/* Ondas del pin, decorativas */
.waves { position: absolute; pointer-events: none; }
.waves circle { fill: none; }

/* ---------- Encabezado ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.top.is-solid { background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.top .lockup { font-size: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--dot); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { padding: 10px 18px; min-height: 44px; font-size: 14.5px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn span + span { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 90% at 85% 10%, #24569b 0%, var(--navy) 38%, var(--navy-deep) 72%, var(--night) 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: calc(72px + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px);
}
.hero .waves { right: -18vw; top: -22vw; width: 78vw; height: 78vw; max-width: 1100px; max-height: 1100px; opacity: .55; }
.hero .waves circle { stroke: var(--sky); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero .eyebrow { color: var(--sky-light); }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -.025em; margin: 0 0 24px; }
.hero .eyebrow + h1 { margin-top: 18px; font-size: clamp(38px, 5.4vw, 64px); }
.hero h1 em { font-style: normal; color: var(--sky-light); }
.hero .sub { font-size: clamp(17px, 1.7vw, 20px); color: #d6e3f4; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Celular con el portal */
.phone-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
  width: 290px; aspect-ratio: 290 / 590; border-radius: 44px; background: #0a1730; padding: 12px;
  box-shadow: 0 0 0 2px #2c4a7a, 0 40px 80px -30px rgba(0, 0, 0, .7); position: relative; z-index: 2;
}
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 76px; height: 20px; background: #0a1730; border-radius: 0 0 14px 14px; transform: translateX(-50%); z-index: 3; }
.screen { height: 100%; border-radius: 34px; overflow: hidden; background: #fff8ef; color: #3a2414; display: flex; flex-direction: column; position: relative; }
.screen-bar { font-size: 11px; font-weight: 600; padding: 9px 20px 6px; display: flex; justify-content: space-between; color: #6b4a33; }
.screen-hero { background: linear-gradient(160deg, #6b3d22, #a45f32); color: #fff; padding: 34px 22px 26px; text-align: center; }
.screen-logo { width: 54px; height: 54px; border-radius: 50%; background: #fff8ef; color: #8a4b26; font-family: var(--display); font-weight: 800; font-size: 26px; display: grid; place-items: center; margin: 0 auto 12px; }
.screen-hero strong { font-family: var(--display); font-size: 20px; display: block; }
.screen-hero span { font-size: 12px; opacity: .85; display: block; margin-top: 4px; }
.screen-form { padding: 20px 20px 0; display: grid; gap: 10px; }
.field { border: 1.5px solid #ead8c4; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #7d6754; min-height: 40px; display: flex; align-items: center; }
.field.is-filled { color: #3a2414; }
.field .caret { display: inline-block; width: 1.5px; height: 15px; background: #8a4b26; margin-left: 1px; animation: caret 1s steps(1) infinite; }
.check { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: #6b4a33; }
.check i { width: 16px; height: 16px; border-radius: 5px; background: #8a4b26; display: grid; place-items: center; flex: none; }
.check i::after { content: ""; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.screen-btn { margin-top: 4px; background: #8a4b26; color: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; font-size: 14px; transition: transform .15s ease; }
.screen-btn.is-press { transform: scale(.96); }
.screen-ok {
  position: absolute; inset: 0; background: #fff8ef; display: grid; place-content: center; text-align: center; gap: 10px; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.screen-ok.is-on { opacity: 1; }
.screen-ok .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); margin: 0 auto; display: grid; place-items: center; }
.screen-ok .tick::after { content: ""; width: 26px; height: 13px; border: solid #fff; border-width: 0 0 4px 4px; transform: rotate(-45deg) translate(2px, -3px); }
.screen-ok strong { font-family: var(--display); font-size: 19px; }
.screen-ok span { font-size: 12.5px; color: #6b4a33; }

/* Epígrafe: le pone nombre a lo que muestra el celular */
.phone-caption { margin-top: 22px; max-width: 300px; text-align: center; font-size: 14.5px; line-height: 1.5; color: #d6e3f4; position: relative; z-index: 2; }
.phone-caption strong { color: #fff; }

/* Tarjetas flotantes alrededor del celular */
.float {
  position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); font-size: 13px; line-height: 1.35;
}
.float b { font-family: var(--display); font-size: 26px; color: var(--navy); display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.float--leads { left: -6%; top: 16%; }
.float--leads .plus { color: var(--ok); font-weight: 700; font-size: 12px; opacity: 0; transition: opacity .3s ease; }
.float--leads .plus.is-on { opacity: 1; }
.float--mail { right: -8%; bottom: 40%; display: flex; gap: 12px; align-items: center; max-width: 230px; }
.float--mail .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.float--mail .ic svg { width: 20px; height: 20px; }
.float--star { left: 2%; bottom: 22%; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.float--star .stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Líneas de negocio ---------- */
.lineas { margin-top: clamp(-70px, -6vw, -40px); position: relative; z-index: 4; }
.lineas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.linea {
  background: #fff; border-radius: var(--radius); padding: 34px 24px 28px; box-shadow: var(--shadow);
  text-decoration: none; display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 12px;
  justify-items: center; text-align: center; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.linea:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(18, 49, 94, .45); }
.linea .ico { width: 32px; height: 32px; color: var(--pin); align-self: end; }
.linea h3 { font-size: 20px; color: var(--navy); align-self: center; }
.linea p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.linea .more { font-weight: 700; font-size: 14px; color: var(--pin); align-self: end; }
.linea--main { background: var(--navy); color: #fff; }
.linea--main .ico { color: #fff; }
.linea--main h3 { color: #fff; }
.linea--main p { color: #d0dcee; }
.linea--main .more { color: var(--gold); }
.linea .tag { position: absolute; top: 12px; right: 12px; }
.tag { justify-self: start; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 4px 10px; }

/* ---------- Partner ---------- */
.partner-band { padding: clamp(40px, 5vw, 56px) 0 0; }
.partner-band-in { display: flex; align-items: center; justify-content: center; gap: 22px 32px; flex-wrap: wrap; text-align: left; }
.partner-band img { width: 150px; height: auto; flex: none; }
.partner-band p { max-width: 560px; color: var(--ink-soft); font-size: 15.5px; border-left: 1px solid var(--line); padding-left: 32px; }
.partner-band strong { color: var(--ink); }

/* ---------- Portal: qué es ---------- */
.que-es { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.que-es .text { display: grid; gap: 18px; }
.que-es .text p { color: var(--ink-soft); font-size: 17px; }
.que-es .text strong { color: var(--ink); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }
.link { font-weight: 700; color: var(--pin); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pasos { display: grid; gap: 14px; counter-reset: paso; }
.paso { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.paso::before {
  counter-increment: paso; content: counter(paso); width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-size: 24px; display: grid; place-items: center;
}
.paso h3 { font-size: 19px; color: var(--navy); margin-bottom: 4px; }
.paso p { color: var(--ink-soft); font-size: 15px; }

/* Video del portal funcionando */
.demo { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: auto minmax(0, 460px); justify-content: center; gap: clamp(28px, 5vw, 64px); align-items: center; }
.demo-video { width: min(300px, 70vw); height: auto; aspect-ratio: 9 / 16; border-radius: 28px; background: var(--night); box-shadow: 0 0 0 8px #0a1730, 0 30px 60px -25px rgba(10, 23, 48, .6); }
.demo-texto { display: grid; gap: 14px; max-width: 46ch; }
.demo-texto h3 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); }
.demo-texto p { color: var(--ink-soft); font-size: 17px; }
.demo-nota { font-size: 14px !important; }

/* ---------- Conectividad ---------- */
.conect { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.fotos { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.fotos figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--ground); }
.fotos img { width: 100%; height: 100%; object-fit: cover; }
.fotos .f1 { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
.fotos .f2 { grid-column: 2; grid-row: 1 / span 2; }
.fotos .f3 { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 9; }
.servicios { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.servicio { padding-top: 14px; border-top: 1px solid var(--line); }
.servicio h3 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.servicio p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* Consultoría + partner */
.consult { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); }
.consult h3 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin: 0 0 12px; max-width: 24ch; }
.consult p { color: var(--ink-soft); max-width: 46ch; }
.proceso { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.proceso li { padding: 16px 0 16px 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; position: relative; }
.proceso li::before { content: ""; position: absolute; left: 0; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.proceso strong { display: block; font-family: var(--display); font-size: 17px; color: var(--navy); margin-bottom: 2px; }

/* ---------- OutOffice: franja a pantalla completa ---------- */
.outoffice { position: relative; min-height: clamp(520px, 62vw, 680px); display: grid; align-items: center; overflow: hidden; background: var(--night); color: #fff; }
.outoffice-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.outoffice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 33, 66, .88) 0%, rgba(13, 33, 66, .62) 38%, rgba(13, 33, 66, 0) 70%); }
.outoffice-in { position: relative; z-index: 1; padding: clamp(56px, 8vw, 96px) 0; }
.outoffice .texto { max-width: 520px; display: grid; gap: 20px; }
.outoffice h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.02em; color: #fff; }
.outoffice .marca { font-family: var(--display); font-weight: 800; }
.outoffice .marca i { font-style: normal; color: var(--dot); }
.outoffice p { color: #e1eaf6; font-size: 18px; }
.outoffice .btn { justify-self: start; margin-top: 6px; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sky-soft); }

/* ---------- Nosotros ---------- */
.historia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-top: 10px; }
.historia::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--navy)); opacity: .5; }
.hito { padding-right: 28px; position: relative; padding-top: 40px; }
.hito::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--night); border: 3px solid var(--sky); }
.hito:last-child::before { background: var(--dot); border-color: #fff; }
.hito h3 { font-size: 22px; margin: 0 0 8px; color: #fff; }
.hito p { color: #c9d7ea; font-size: 15px; }
.hito p strong { color: var(--sky-light); }
.mision { margin-top: clamp(48px, 7vw, 80px); display: grid; gap: 20px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 40px; max-width: 900px; }
.mision blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: #fff; }
.valores { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-light); }

/* ---------- Contacto ---------- */
.contacto { background: radial-gradient(120% 100% at 0% 100%, #24569b 0%, var(--navy) 40%, var(--night) 100%); color: #fff; overflow: hidden; }
.contacto .waves { left: -260px; bottom: -300px; width: 700px; height: 700px; opacity: .35; }
.contacto .waves circle { stroke: var(--sky); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); position: relative; }
.contacto h2 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.02em; margin: 0 0 18px; }
.contacto .lead { color: #d0dcee; }
.canales { margin-top: 34px; display: grid; gap: 12px; }
.canal { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s ease, border-color .2s ease; }
.canal:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .3); }
.canal .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(114, 160, 211, .2); color: #fff; flex: none; }
.canal .ic svg { width: 22px; height: 22px; }
.canal--wa .ic { background: #25d366; color: #0b2a17; }
.canal small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-light); }
.canal span { font-weight: 600; font-size: 16px; word-break: break-word; }

.form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 38px); display: grid; gap: 16px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); align-self: start; }
.form h3 { font-size: 24px; color: var(--navy); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--ground); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 48px; transition: border-color .15s ease, background-color .15s ease;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input::placeholder { color: #8a97ab; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .legal { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.form .btn { width: 100%; }
.form-status { font-size: 14.5px; font-weight: 600; border-radius: 12px; padding: 12px 14px; display: none; }
.form-status.is-ok { display: block; background: #e5f6ee; color: #11603f; }
.form-status.is-err { display: block; background: #fdecec; color: #8f1d1d; }

/* ---------- Pie ---------- */
.pie { background: var(--night); color: #a9bcd6; padding: 40px 0; font-size: 14px; }
.pie .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.pie .lockup { font-size: 22px; color: #fff; }
.pie-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pie-nav a { text-decoration: none; color: #d0dcee; font-weight: 600; }
.pie-nav a:hover { color: #fff; }
.pie .copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; display: block; }
.pie .claim { font-weight: 600; font-size: 14px; color: var(--sky-light); margin-top: 8px; }
.redes { display: flex; gap: 10px; }
.redes a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background-color .2s ease; }
.redes a:hover { background: rgba(255, 255, 255, .16); }
.redes svg { width: 19px; height: 19px; }

/* Botón flotante de WhatsApp (solo celular) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #0b2a17; display: none; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animaciones ---------- */
@keyframes caret { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { r: 60; opacity: .9; } 100% { r: 540; opacity: 0; } }
.hero .reveal { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero .reveal:nth-child(2) { animation-delay: .08s; }
.hero .reveal:nth-child(3) { animation-delay: .16s; }
.hero .reveal:nth-child(4) { animation-delay: .24s; }
.hero .reveal:nth-child(5) { animation-delay: .32s; }
.phone-stage.reveal { animation-delay: .3s; }
.waves .pulse { animation: pulse 6s ease-out infinite; }
.waves .pulse:nth-of-type(2) { animation-delay: 3s; }
.in-view { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.in-view.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .reveal, .in-view { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .lineas-grid { grid-template-columns: 1fr 1fr; }
  .float--leads { left: 0; }
  .float--mail { right: 0; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 72px 0 auto; background: #fff; color: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; min-height: 52px; font-size: 16px; }
  .menu-btn { display: block; }
  .top.is-open { background: #fff; color: var(--ink); }
  .top.is-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .top.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .top.is-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero-grid, .que-es, .conect, .contacto-grid, .consult, .demo { grid-template-columns: 1fr; }
  .demo { justify-items: center; text-align: center; }
  .demo-texto { justify-items: center; }
  .phone-stage { min-height: 0; padding: 20px 0 10px; }
  .historia { grid-template-columns: 1fr; gap: 28px; }
  .historia::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--sky), var(--navy)); }
  .hito { padding: 0 0 0 44px; }
  .hito::before { top: 2px; }
  .outoffice { min-height: 0; display: block; }
  .outoffice-bg { position: static; height: 300px; object-position: 70% 60%; }
  .outoffice::after { display: none; }
  .outoffice-in { padding: 36px 0 56px; }
  .partner-band p { border-left: 0; padding-left: 0; text-align: center; }
  .partner-band-in { flex-direction: column; }
  .wa-float { display: grid; }
}
@media (max-width: 600px) {
  .lineas-grid, .servicios, .proceso { grid-template-columns: 1fr; }
  .linea { grid-template-rows: none; grid-row: auto; }
  .form .row { grid-template-columns: 1fr; }
  .phone { width: 250px; }
  .float { font-size: 12px; padding: 10px 12px; }
  .float b { font-size: 22px; }
  .float--leads { left: -4px; top: 8%; }
  .float--mail { right: -4px; bottom: 22%; max-width: 180px; }
  .float--star { display: none; }
  .fotos { grid-template-columns: 1fr; }
  .fotos .f1, .fotos .f3 { grid-column: 1; grid-row: auto; }
  .fotos .f2 { display: none; }
  .hero-cta .btn { width: 100%; }
}
