/* =========================================================
   OnTech360+ · Tecnología sin complicaciones
   Hoja de estilos principal
   ========================================================= */

/* ---------- 1. Tokens de marca ---------- */
:root {
  /* Paleta oficial (RGB del brief) */
  --steel-blue:  rgb(77, 134, 180);   /* #4D86B4 */
  --mint:        rgb(171, 213, 203);  /* #ABD5CB */
  --slate-teal:  rgb(119, 151, 154);  /* #77979A */
  --teal:        rgb(69, 148, 150);   /* #459496 */
  --royal:       rgb(24, 84, 142);    /* #18548E */
  --snow:        rgb(254, 252, 253);  /* #FEFCFD */
  --deep-teal:   rgb(11, 144, 153);   /* #0B9099 */
  --aqua:        rgb(35, 190, 188);   /* #23BEBC */

  /* Neutros derivados (navy del logo) */
  --ink:      #0A1C36;
  --ink-2:    #0F2747;
  --ink-3:    #163460;
  --text:     #1C2B3E;
  --muted:    #5B6B7E;
  --line:     #DFE8EC;
  --soft:     #F2F7F8;

  --grad: linear-gradient(120deg, var(--aqua) 0%, var(--deep-teal) 45%, var(--steel-blue) 100%);
  --grad-dark: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #0C3350 100%);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(10, 28, 54, .06);
  --shadow: 0 18px 50px -18px rgba(10, 28, 54, .28);
  --shadow-glow: 0 10px 40px -10px rgba(35, 190, 188, .55);

  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }

/* ---------- 3. Componentes base ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 16px 44px -10px rgba(35, 190, 188, .75); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--light { background: #fff; color: var(--royal); }
.btn--sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--deep-teal);
  margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.kicker--light { color: var(--mint); }

.title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.title--light { color: #fff; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.sub--light { color: rgba(255,255,255,.72); }
.section-head { margin-bottom: 3.25rem; }
.section-head.center { text-align: center; }
.section-head.center .sub { margin-inline: auto; }

.section { padding: clamp(5rem, 9vw, 8rem) 0; position: relative; }
.section--dark { background: var(--grad-dark); color: #fff; overflow: hidden; }
.section--soft { background: var(--soft); }

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

/* Contenedor de foto con respaldo si la imagen no carga */
.photo, .panel__media, .segment {
  background: linear-gradient(135deg, var(--royal), var(--deep-teal));
}

/* ---------- 4. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.header.is-scrolled {
  background: rgba(10, 28, 54, .82); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.4);
  --header-h: 66px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark { width: 44px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__text { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.01em; }
.brand__text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.menu { display: flex; align-items: center; gap: .35rem; }
.menu__link {
  position: relative; padding: .55rem .9rem; border-radius: 999px;
  color: rgba(255,255,255,.78); font-weight: 500; font-size: .95rem;
  transition: color .25s, background .25s;
}
.menu__link:hover { color: #fff; background: rgba(255,255,255,.08); }
.menu__link.is-active { color: #fff; }
.menu__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px;
  transform: translateX(-50%); border-radius: 3px; background: var(--aqua);
}
.menu__cta { margin-left: .75rem; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; padding: calc(var(--header-h) + 4rem) 0 3rem;
  background: var(--ink); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 30%, rgba(35,190,188,.28), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(24,84,142,.55), transparent 60%),
    linear-gradient(180deg, rgba(10,28,54,.80), rgba(10,28,54,.94)),
    var(--img) center/cover no-repeat;
}
.hero__grid {
  position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(171,213,203,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(171,213,203,.5) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .8rem;
  border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .85rem; color: var(--mint); margin-bottom: 1.6rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(35,190,188,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(35,190,188,0); } 100% { box-shadow: 0 0 0 0 rgba(35,190,188,0); } }

.hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 4.7rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.5rem; }
.hero__lead { font-size: 1.2rem; color: rgba(255,255,255,.76); max-width: 560px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__pills li { font-size: .82rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(171,213,203,.3); color: rgba(255,255,255,.8); }

.hero__visual { display: grid; place-items: center; }
.orbit { position: relative; width: min(460px, 90vw); aspect-ratio: 1; display: grid; place-items: center; }
.orbit::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,190,188,.35), transparent 65%); filter: blur(30px);
}
.orbit__logo { position: relative; width: 78%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(171,213,203,.35); animation: spin 40s linear infinite; }
.orbit__ring::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 18px var(--aqua); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }

.orbit__chip {
  position: absolute; display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem;
  background: rgba(15, 39, 71, .75); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; font-size: .85rem; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.orbit__chip .ico { font-style: normal; }
.chip--1 { top: 8%; left: -4%; animation-delay: -1s; }
.chip--2 { top: 46%; right: -8%; animation-delay: -3s; }
.chip--3 { bottom: 6%; left: 6%; animation-delay: -5s; }

.stats {
  position: relative; margin-top: 4rem; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.04); backdrop-filter: blur(10px);
}
.stat { padding: 1.5rem 1.75rem; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: .9rem; color: rgba(255,255,255,.65); }

/* ---------- 6. Quiénes somos ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.about__media { position: relative; padding: 0 2.5rem 3rem 0; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4/5; }
.photo--float { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--snow); }
.badge-year {
  position: absolute; top: 2rem; left: -1.25rem; padding: 1rem 1.25rem; border-radius: 16px;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); max-width: 190px;
}
.badge-year strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.badge-year span { font-size: .85rem; opacity: .9; }

.about__copy > p { color: var(--muted); margin-bottom: 1.1rem; }
.about__copy strong { color: var(--text); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.mv__card { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.mv__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mv__card h3 { font-size: 1.15rem; margin: .8rem 0 .4rem; }
.mv__card p { font-size: .95rem; color: var(--muted); }
.mv__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(35,190,188,.12); color: var(--deep-teal); }
.mv__icon svg { width: 22px; height: 22px; }

.values { margin-top: clamp(5rem, 9vw, 7rem); }
.values__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.value {
  position: relative; padding: 1.75rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.value::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value:hover::before { transform: scaleX(1); }
.value__n { font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--aqua); }
.value h3 { font-size: 1.2rem; margin: .6rem 0 .4rem; }
.value p { font-size: .93rem; color: var(--muted); }
.value:nth-child(1) .value__n { color: var(--steel-blue); }
.value:nth-child(2) .value__n { color: var(--teal); }
.value:nth-child(3) .value__n { color: var(--deep-teal); }
.value:nth-child(4) .value__n { color: var(--royal); }
.value:nth-child(5) .value__n { color: var(--slate-teal); }

/* ---------- 7. Servicios (tabs) ---------- */
#servicios::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,190,188,.18), transparent 60%);
}
.tabs {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem;
}
.tab {
  display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.2rem; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75);
  font-weight: 500; font-size: .93rem; transition: all .25s var(--ease);
}
.tab:hover { background: rgba(255,255,255,.1); color: #fff; }
.tab.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }
.tab__ico { font-size: 1rem; }

.panel {
  position: relative; display: none; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px);
}
.panel.is-active { display: grid; animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.panel__media { position: relative; min-height: 420px; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,28,54,.85)); }
.panel__media figcaption { position: absolute; left: 1.5rem; bottom: 1.25rem; z-index: 1; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--mint); }
.panel__body { padding: clamp(1.75rem, 4vw, 3rem); }
.panel__body h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .6rem; }
.panel__lead { color: rgba(255,255,255,.72); margin-bottom: 1.5rem; }

.checklist { display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.checklist li { position: relative; padding-left: 2rem; color: rgba(255,255,255,.88); font-size: .98rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .25rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: rgba(35,190,188,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2323BEBC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.benefits { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.benefits[hidden] { display: none; }
.benefits span {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 10px;
  background: rgba(171,213,203,.12); border: 1px solid rgba(171,213,203,.22); color: var(--mint); font-size: .85rem; font-weight: 500;
}
.benefits span::before { content: "✓"; font-weight: 700; color: var(--aqua); }

.switcher { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); margin-bottom: 1rem; }
.switcher__btn { padding: .45rem 1rem; border-radius: 999px; border: 0; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; font-size: .88rem; font-weight: 500; transition: all .25s; }
.switcher__btn.is-active { background: #fff; color: var(--royal); }

/* ---------- 8. Por qué elegirnos ---------- */
.why__head { max-width: 680px; margin-bottom: 3rem; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.why__card { padding: 2rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 1.25rem; box-shadow: var(--shadow-glow); }
.why__ico svg { width: 26px; height: 26px; }
.why__card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.why__card p { color: var(--muted); font-size: .95rem; }

.process { margin-top: 4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--mint), var(--aqua), var(--steel-blue)); opacity: .6; }
.process__step { position: relative; text-align: center; padding: 0 .5rem; }
.process__step span {
  position: relative; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; border: 2px solid var(--aqua); font-family: var(--font-head); font-weight: 800; color: var(--deep-teal); margin-bottom: 1rem;
}
.process__step h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.process__step p { color: var(--muted); font-size: .92rem; }

/* ---------- 9. Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.channels { display: grid; gap: .8rem; margin: 2rem 0; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.channel:hover { border-color: var(--aqua); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.channel__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(24,84,142,.08); color: var(--royal); }
.channel__ico svg { width: 22px; height: 22px; }
.channel__ico--wa { background: rgba(37,211,102,.12); color: #1DA851; }
.channel small { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.channel strong { font-weight: 600; color: var(--ink); word-break: break-word; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.form {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.form__hint { color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft);
  transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); background: #fff; box-shadow: 0 0 0 4px rgba(35,190,188,.15); }
.field__err { display: none; color: #C0392B; font-size: .8rem; }
.field.has-error input { border-color: #E57368; }
.field.has-error .field__err { display: block; }

/* ---------- 10. Clientes ---------- */
.clients__bg { position: absolute; inset: 0; opacity: .12; background: var(--img) center/cover no-repeat; mix-blend-mode: luminosity; }
.clients .container { position: relative; }
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.segment { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; isolation: isolate; }
.segment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.segment::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,28,54,.05) 20%, rgba(10,28,54,.92) 85%); }
.segment:hover img { transform: scale(1.07); }
.segment__body { padding: 1.5rem; }
.segment__body h3 { color: #fff; font-size: 1.2rem; margin-bottom: .35rem; }
.segment__body p { color: rgba(255,255,255,.75); font-size: .92rem; }

.cta-band {
  margin-top: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 2.25rem 2.5rem; border-radius: 24px; background: var(--grad); box-shadow: var(--shadow-glow);
}
.cta-band h3 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: .3rem; }
.cta-band p { color: rgba(255,255,255,.88); }

/* ---------- 11. Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { margin-top: 1rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .55rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--aqua); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.45); }

/* ---------- 12. Flotantes ---------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6);
  transition: transform .25s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.to-top {
  position: fixed; right: 1.65rem; bottom: 6.2rem; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--ink-3); color: #fff; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 13. Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 14. Responsive ---------- */
@media (max-width: 1080px) {
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid, .segments { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .menu__link { padding: .55rem .65rem; font-size: .9rem; }
}

@media (max-width: 920px) {
  .burger { display: flex; }
  .menu {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1.25rem 1.5rem 1.75rem; background: rgba(10,28,54,.97); backdrop-filter: blur(14px);
    transform: translateY(-120%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .menu.is-open { transform: none; opacity: 1; }
  .menu__link { padding: .9rem 1rem; font-size: 1.05rem; }
  .menu__link.is-active { background: rgba(35,190,188,.12); }
  .menu__link.is-active::after { display: none; }
  .menu__cta { margin: .75rem 0 0; }

  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .orbit { width: min(340px, 80vw); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .panel.is-active { grid-template-columns: 1fr; }
  .panel__media { min-height: 260px; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .process::before { display: none; }
  .form { position: static; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { width: min(1200px, 100% - 2rem); }
  .values__grid, .why__grid, .segments, .mv, .process, .footer__grid, .field-row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .orbit__chip { font-size: .75rem; padding: .45rem .7rem; }
  .chip--2 { right: -2%; }
  .stat { padding: 1.1rem 1.2rem; }
  .stat__num { font-size: 1.8rem; }
  .about__media { padding: 0 1.25rem 2rem 0; }
  .badge-year { left: -.5rem; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .5rem; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .segment { min-height: 280px; }
  .cta-band { padding: 1.75rem; }
  .cta-band .btn { width: 100%; }
}
