/* ============================================================
   Vision Informática — Hoja de estilos moderna (2026)
   Renovación responsive conservando la identidad de marca.
   Sin dependencias externas (RGPD-friendly).
   ============================================================ */

:root {
  --brand: #c5003f;
  --brand-dark: #9e0032;
  --brand-light: #ff4d7e;
  --ink: #1d1d22;
  --body: #3a3a42;
  --muted: #6b7280;
  --line: #e7e7ea;
  --bg: #ffffff;
  --bg-alt: #f6f6f7;
  --dark: #1a1a1f;
  --dark-2: #0d0d10;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 30, .08);
  --shadow-lg: 0 24px 60px rgba(20, 20, 30, .16);
  --maxw: 1360px;
  --header-h: 56px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 700; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(197, 0, 63, .3); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(197, 0, 63, .38); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }

/* ---------- Encabezado de sección ---------- */
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .eyebrow { display: block; padding-bottom: 10px; margin-bottom: 0; }
.feature__body .section-head { max-width: 78ch; border-bottom: 4px solid #c8c8cc; padding-bottom: 10px; margin-bottom: 28px; }
.feature__body .section-head .eyebrow { font-size: 1.1rem; border-bottom: none; padding-bottom: 0; }
.section-head h2, .page-hero h1, .feature__body h2 { font-weight: 600; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ============================================================
   BARRA SUPERIOR
   ============================================================ */
.topbar {
  background: var(--dark); color: #cfcfd6; font-size: .9rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #e7e7ea; }
.topbar a:hover { color: #fff; }
.topbar .tb-group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; gap: 7px; align-items: center; }
.topbar svg { width: 16px; height: 16px; fill: var(--brand-light); flex: none; }

/* ============================================================
   BANDA DE MARCA (logo grande + lema)
   ============================================================ */
.brand-bar { background: #f2f1f1; }
.brand-bar__inner { display: flex; align-items: center; justify-content: center; gap: 120px; padding-top: 20px; padding-bottom: 20px; }
.brand-bar__logo { flex: none; }
.brand-bar__logo img { height: 96px; width: auto; display: block; }
.brand-bar__text h1 {
  font-size: clamp(1.05rem, 2.1vw, 1.6rem); color: #707078; text-transform: uppercase;
  font-weight: 500; letter-spacing: .02em; line-height: 1.2; margin: 0 0 6px;
}
.brand-bar__text p { font-size: clamp(.92rem, 1.5vw, 1.18rem); color: #8a8a92; font-weight: 600; margin: 0; }

/* ============================================================
   CABECERA / NAVEGACIÓN
   ============================================================ */
.header {
  z-index: 1000;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header--fixed { position: fixed; top: 0; left: 0; right: 0; }
.nav { position: relative; display: flex; align-items: center; justify-content: center; height: var(--header-h); }
.nav__logo { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.nav__tagline { display: none; }
.nav__logo img { height: 52px; width: auto; display: block; }
.header.scrolled .nav__logo { opacity: 1; visibility: visible; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 7px 16px; border-radius: 999px; color: var(--ink);
  font-weight: 600; font-size: .92rem; letter-spacing: .02em; transition: background .15s, color .15s;
}
.nav__links a:hover, .nav__links a.active { background: var(--brand); color: #fff; }
.nav-privada a { background: var(--ink); color: #fff !important; margin-left: 8px; }
.nav-privada a:hover { background: var(--brand) !important; }

.nav__toggle {
  display: none; background: var(--brand); border: 0; width: 46px; height: 46px;
  border-radius: 12px; cursor: pointer; padding: 0; place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: .25s;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; width: 100%; aspect-ratio: 1920 / 586; display: grid; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero__slide.active { opacity: 1; }
.hero__slide::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,12,24,.18) 0%, rgba(10,12,24,0) 45%); }
.hero__caption { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hero__caption--right { text-align: right; padding-right: 64px; }
.hero__caption--right .cap-box { text-align: left; }
.hero__caption .cap-box {
  display: inline-block; max-width: 620px;
  background: none;
  padding: 24px 36px;
}
.hero__slide.active .cap-box { animation: capIn 2s ease 0.5s both; }
.cap-btns { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cap-btns--col { flex-direction: column; gap: 8px; align-items: flex-start; }
.cap-btn {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .85rem; font-weight: 700;
  text-decoration: none; transition: background .15s;
}
.cap-btn:hover { background: var(--brand-dark); color: #fff; }
.cap-btn--ghost {
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.8);
  color: #fff;
  backdrop-filter: blur(4px);
}
.cap-btn--ghost:hover { background: rgba(255,255,255,.3); color: #fff; }


.cap-links-hogueras {
  display: flex; flex-direction: column; gap: 6px; text-align: right;
}
.cap-links-hogueras a {
  color: #fff; font-size: .82rem; font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,.9);
  text-decoration: underline;
  transition: opacity .15s;
}
.cap-links-hogueras a:hover { opacity: .75; }
.hero__caption .cap-box--dark { background: rgba(0,0,0,.52); border-radius: 6px; }
@keyframes capIn { from { opacity: 0; } to { opacity: 1; } }
.hero__caption h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 400; margin: 0 0 8px; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.8), 0 0 30px rgba(0,0,0,.5); }
.hero__caption p { color: #fff; font-size: clamp(.95rem, 1.8vw, 1.15rem); margin: 0; font-weight: 400; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.hero__tags { margin-top: 14px; color: #fff; font-size: clamp(.85rem, 1.6vw, 1rem); font-weight: 400; letter-spacing: .01em; opacity: .92; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.hero__dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.hero__dots button { width: 36px; height: 5px; border: 0; border-radius: 999px; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s; padding: 0; }
.hero__dots button.active { background: #fff; }
.hero__dots--dark button { background: rgba(20,20,25,.4); }
.hero__dots--dark button.active { background: #1a1a1f; }

/* ============================================================
   CABECERA DE PÁGINA INTERIOR
   ============================================================ */
.page-hero {
  position: relative; padding: 170px 0 168px; overflow: hidden;
  background: linear-gradient(120deg, var(--dark-2) 0%, var(--dark) 55%, var(--brand-dark) 130%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 22px 22px; opacity: .6;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--brand-light); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 14px; }
.page-hero p { color: #d7d7de; font-size: 1.12rem; max-width: 60ch; margin: 0; }
.page-hero p.nowrap { white-space: nowrap; max-width: none; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #b9b9c2; margin-bottom: 18px; }
.crumb a { color: #b9b9c2; }
.crumb a:hover { color: #fff; }
.crumb span { color: var(--brand-light); }

/* cabecera de sección con foto de fondo */
.page-hero--photo { background-color: var(--dark); background-size: cover; background-position: center; }
.page-hero--photo::before { display: none; }

/* imágenes dentro de las secciones */
.section-photo { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; margin-top: 8px; }
.section-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 12px; }
.section-gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }

/* tarjetas-resumen de la portada */
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.home-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s, box-shadow .2s, border-color .2s; color: inherit;
}
.home-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.home-card__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(197,0,63,.1); display: grid; place-items: center; margin-bottom: 18px; }
.home-card__icon svg { width: 30px; height: 30px; fill: var(--brand); }
.home-card h3 { margin-bottom: 8px; }
.home-card p { color: var(--muted); font-size: .97rem; margin: 0 0 14px; }
.home-card .arrow { color: var(--brand); font-weight: 700; font-size: .95rem; }

/* ============================================================
   TIRA DE ESTADÍSTICAS
   ============================================================ */
.stats { background: var(--brand); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.stat { text-align: center; }
.stat__num { font-size: clamp(1.3rem, 2.8vw, 1.8rem); font-weight: 800; line-height: 1; color: #fff; }
.stat__label { font-size: .82rem; opacity: .9; margin-top: 4px; }

/* ============================================================
   BLOQUES DE TEXTO + ICONO
   ============================================================ */
.feature { display: grid; grid-template-columns: 150px minmax(0, 78ch) 100px; justify-content: center; gap: 44px; align-items: start; }
.feature.reverse { grid-template-columns: 1fr 150px; }
.feature.reverse .feature__icon { order: 2; }
.feature__icon {
  width: 130px; height: 130px; border-radius: 30px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 18px 40px rgba(197,0,63,.28); position: sticky; top: 100px;
  justify-self: center;
}
.feature__icon svg { width: 66px; height: 66px; fill: #fff; }
.feature__body p, .feature__body ul { margin: 0 0 18px; max-width: 78ch; text-align: justify; }
.feature__body ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.feature__body li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.feature__body li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--brand);
}

/* ============================================================
   CLIENTES (marquesina)
   ============================================================ */
.clients { padding: 56px 0; background: var(--bg-alt); overflow: hidden; }
.clients h4 { text-align: center; color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; margin-bottom: 34px; }
.marquee { position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll-x 55s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 46px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.marquee__track a:hover img { filter: grayscale(0); opacity: 1; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   TARJETAS DELSOL (precios)
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.price-card__head { padding: 28px 24px 18px; text-align: center; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.price-card__head img { height: 72px; width: auto; margin: 0 auto 14px; }
.price-card__head .pc-name { font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.price-card__head .pc-desc { font-size: .92rem; color: var(--muted); }
.price-card__body { padding: 22px 24px; flex: 1; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row .pr-amount { font-weight: 500; color: var(--brand); font-size: 1.05rem; }
.price-row .pr-type { color: var(--muted); font-size: .9rem; }
.price-card__note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }
.price-card__foot { padding: 0 24px 26px; text-align: center; }

/* ============================================================
   SERVICIOS (rejilla de tarjetas)
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.svc__icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(197,0,63,.1); display: grid; place-items: center; margin-bottom: 18px; }
.svc__icon svg { width: 30px; height: 30px; fill: var(--brand); }
.svc h3 { margin-bottom: 14px; }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .98rem; color: var(--body); }
.svc li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(197,0,63,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-ok, .form-err { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.form-ok { background: #e8f7ee; color: #1c7a43; border: 1px solid #b7e3c8; }
.form-err { background: #fdeaef; color: var(--brand-dark); border: 1px solid #f3c2d2; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.consent input { margin-top: 4px; }
.contact-info { background: var(--dark); color: #d7d7dd; border-radius: var(--radius); padding: 36px 32px; }
.contact-info h3 { color: #fff; }
.contact-info .ci-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-info .ci-row:last-child { border-bottom: 0; }
.contact-info svg { width: 22px; height: 22px; fill: var(--brand-light); flex: none; margin-top: 3px; }
.contact-info a { color: #fff; }

/* ============================================================
   PIE
   ============================================================ */
.footer { background: #2a2a30; color: #9a9aa3; padding: 42px 0 0; }
.footer__grid { display: grid; grid-template-columns: auto auto auto; justify-content: center; gap: 34px 220px; padding-bottom: 34px; }
.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; line-height: 1.5; text-align: left; }
.footer__contact svg { width: 18px; height: 18px; fill: var(--brand-light); flex: none; margin-top: 4px; }
.footer__contact a { color: #b9b9c2; }
.footer__contact a:hover { color: #fff; }
.footer h5 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.footer__logo { height: 46px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer a { color: #b9b9c2; }
.footer a:hover { color: #fff; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 10px; }
.footer__distrib img { height: 40px; margin: 0 16px 14px 0; display: inline-block; filter: brightness(0) invert(1) opacity(.85); }
.footer__col-center { text-align: center; }
.footer__col-center .footer__distrib { margin-top: 6px; }
.footer__col-center .footer__distrib img { display: block; margin: 0 auto 18px; width: 168px; height: auto; }
.footer__bottom { background: #0a0a0d; margin-top: 8px; }
.footer__bottom-inner { display: flex; align-items: center; flex-wrap: wrap; font-size: .88rem; padding: 11px 0; }
.footer__copy { flex: 0 0 calc((100% - 1186px) / 2 + 379px); white-space: nowrap; }
.footer__opt { color: #7c7c85; }
.footer__social { display: flex; gap: 12px; margin-left: 275px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s; }
.footer__social a:hover { background: var(--brand); }
.footer__social svg { width: 18px; height: 18px; fill: #fff; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: #fff; }

/* ============================================================
   MODALES (legal)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; }
.modal.open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10,10,15,.6); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; max-width: 720px; margin: 6vh auto; background: #fff; border-radius: var(--radius);
  max-height: 86vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(18px); opacity: 0; } }
.modal__head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal__head h3 { margin: 0; color: var(--brand); }
.modal__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }
.modal__body { padding: 26px; overflow-y: auto; }
.modal__body p, .modal__body li { font-size: .95rem; color: var(--body); }
.modal__body h4 { font-size: 1rem; margin: 20px 0 6px; color: var(--ink); }
.modal__body h4:first-child { margin-top: 0; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 10px 0 16px; }
.cookie-table th, .cookie-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.cookie-table th { background: var(--bg-alt); font-weight: 600; color: var(--ink); }

/* ============================================================
   BANNER DE COOKIES (RGPD)
   ============================================================ */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2500; max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 24px 26px; display: none;
}
.cookie.show { display: block; animation: pop .3s ease; }
.cookie h4 { margin: 0 0 8px; color: var(--ink); }
.cookie p { margin: 0 0 18px; font-size: .92rem; color: var(--muted); }
.cookie p a { font-weight: 600; }
.cookie__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie__actions .btn { padding: 11px 22px; font-size: .95rem; }

/* ============================================================
   ANIMACIÓN DE APARICIÓN AL HACER SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 24px; }
  .feature.reverse .feature__icon { order: 0; }
  .feature__icon { position: static; width: 92px; height: 92px; border-radius: 22px; }
  .feature__icon svg { width: 46px; height: 46px; }
  .pricing, .services, .home-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 768px) {
  .hero { aspect-ratio: auto; min-height: 340px; }
  .nav { justify-content: flex-end; }
  .nav__toggle { display: grid; }
  .nav__tagline { display: block; font-size: .78rem; font-weight: 700; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; margin-right: auto; }
  .header.scrolled .nav__tagline { display: none; }
  .nav__links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s;
  }
  .nav.open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 16px; border-radius: var(--radius-sm); }
  .topbar .tb-group.secondary { display: none; }
  .section { padding: 64px 0; }
  .brand-bar__inner { gap: 20px; }
  .brand-bar__logo img { height: 62px; }
}

@media (max-width: 560px) {
  .pricing, .services, .home-cards, .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .brand-bar__text { display: none; }
  .brand-bar__inner { justify-content: center; padding-top: 16px; padding-bottom: 16px; }

}
