/* =========================================================
   PINBLAK · Colores corporativos (NO modificar)
   ========================================================= */
:root {
  --navy: #162663;      /* Azul marino PINBLAK - principal */
  --cyan: #56BBCD;      /* Azul cian - acentos */
  --black: #000000;
  --text: #222222;
  --white: #FFFFFF;
  --green-wa: #489519;  /* Solo para WhatsApp */
  --red: #EF2D56;       /* Avisos / detalles puntuales */

  /* derivados neutros (no son colores de marca nuevos) */
  --muted: #555b6e;
  --soft: #f5f6fa;
  --line: #e3e6ef;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 38, 99, .12);
  --font-head: "Exo 2", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.6em; border-radius: 999px; font: 600 1rem var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .6em 1.15em; font-size: .9rem; }
.btn--primary { background: var(--cyan); color: var(--navy); box-shadow: 0 8px 24px rgba(86, 187, 205, .45); }
.btn--primary:hover { box-shadow: 0 10px 30px rgba(86, 187, 205, .6); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--wa { background: var(--green-wa); color: var(--white); }

.eyebrow { font: 600 .82rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: .8em; }
.eyebrow--center { text-align: center; }
.hl { color: var(--cyan); }

/* ---------- Encabezado ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(86,187,205,.2); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.header__logo { display: flex; align-items: center; text-decoration: none; }
.header__logo img { width: 62px; height: 62px; background: var(--white); border-radius: 12px; padding: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--cyan); }
.nav__lang { border: 1px solid rgba(255,255,255,.3); border-radius: 6px; padding: 0 8px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(ellipse at 75% 40%, rgba(22,38,99,.95) 0%, var(--black) 65%); color: var(--white); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 70px; padding-bottom: 80px; }
.hero h1 { color: var(--white); }
.hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; }
.hero__lead strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.75); font-size: .92rem; }
.hero__badges li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-right: 8px; vertical-align: 1px; }
.hero__visual { position: relative; }
.hero__glow { position: absolute; inset: 10%; background: radial-gradient(circle, rgba(86,187,205,.45), transparent 65%); filter: blur(30px); }
.hero__robot { position: relative; width: 100%; max-width: 480px; margin: 0 auto; animation: float 6s ease-in-out infinite; }
.bubble { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.96); color: var(--navy); font-size: .85rem; font-weight: 600; padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow); white-space: nowrap; animation: pop .6s both; }
.bubble__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; }
.bubble--1 { top: 12%; left: -4%; animation-delay: .4s; }
.bubble--2 { top: 50%; right: -4%; animation-delay: 1s; }
.bubble--3 { bottom: 8%; left: 4%; animation-delay: 1.6s; }
.bubble--wa { border-left: 4px solid var(--green-wa); }
.bubble--wa .bubble__dot { background: var(--green-wa); }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.95); } }

/* ---------- Secciones ---------- */
.section { padding: 90px 0; }
.section--dark { background: var(--black); color: rgba(255,255,255,.85); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--soft { background: var(--soft); }
.section__title { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section__sub { text-align: center; max-width: 680px; margin: 0 auto 40px; color: var(--muted); }

/* Problemas (con fotos reales) */
.pains__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.pain { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-bottom: 4px solid var(--navy); }
.pain img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pain figcaption { padding: 18px 20px 20px; font-weight: 500; color: var(--navy); line-height: 1.45; }
.pains__answer { text-align: center; max-width: 760px; margin: 0 auto; font-size: 1.1rem; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 50px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: linear-gradient(160deg, rgba(22,38,99,.55), rgba(0,0,0,.4)); border: 1px solid rgba(86,187,205,.25); border-radius: var(--radius); padding: 28px; }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: var(--navy); font: 800 1.2rem var(--font-head); margin-bottom: 14px; }
.step p { margin: 0; font-size: .95rem; }
.steps__foot { text-align: center; font-weight: 600; color: var(--cyan); }

/* Fotos de la IA trabajando + robot en medio */
.ai-photos { display: grid; grid-template-columns: 1fr 170px 1fr; align-items: center; gap: 22px; margin-bottom: 60px; }
.ai-photos__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ai-photos__robot { width: 100%; filter: drop-shadow(0 12px 24px rgba(22,38,99,.25)); }

/* Tareas */
.tasks { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.tasks__intro { position: sticky; top: 110px; }
.tasks__intro p:not(.eyebrow) { color: var(--muted); }
.tasks__list { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 12px; }
.tasks__list li { counter-increment: t; position: relative; padding: 16px 18px 16px 62px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-weight: 500; }
.tasks__list li::before { content: counter(t); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 700 .9rem var(--font-head); }
.tasks__list li.is-wa::before { background: var(--green-wa); }

/* Demo */
.demo__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.demo__hints { list-style: none; padding: 0; display: grid; gap: 10px; }
.demo__hints button { width: 100%; text-align: left; background: rgba(86,187,205,.1); border: 1px solid rgba(86,187,205,.35); color: var(--white); padding: 12px 16px; border-radius: 12px; font: 500 .95rem var(--font-body); cursor: pointer; }
.demo__hints button:hover { background: rgba(86,187,205,.22); }

/* Personas atendiendo a sus clientes */
.people__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.people__grid figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.people__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.people__grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 14px; background: linear-gradient(transparent, rgba(22,38,99,.92)); color: var(--white); font: 700 .95rem var(--font-head); }

/* Planes (diseño original PINBLAK: tarjeta plateada con trazos azules) */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; margin-top: 10px; }
.plan { position: relative; display: flex; flex-direction: column; text-align: center; overflow: hidden; border-radius: 14px; padding: 34px 26px 28px; background: linear-gradient(160deg, #ffffff 0%, #f1f3f8 45%, #dfe3ec 100%); box-shadow: 0 18px 40px rgba(22,38,99,.18); border: 1px solid #d6dbe6; }
.plan::before, .plan::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
.plan::before { width: 260px; height: 120px; top: -70px; left: -90px; border-bottom: 10px solid var(--navy); transform: rotate(-18deg); opacity: .9; }
.plan::after { width: 340px; height: 160px; bottom: -110px; right: -120px; border-top: 14px solid var(--navy); transform: rotate(-14deg); box-shadow: 0 -6px 0 rgba(86,187,205,.35); }
.plan > * { position: relative; z-index: 1; }
.plan__brand { margin: 0; font: 800 .95rem var(--font-head); letter-spacing: .08em; color: var(--navy); display: flex; align-items: center; justify-content: center; gap: 10px; }
.plan__brand::before, .plan__brand::after { content: ""; width: 26px; height: 2px; background: var(--navy); }
.plan h3 { font: 800 2.2rem var(--font-head); margin: 2px 0 8px; color: var(--navy); }
.plan__desc { font-size: .92rem; color: var(--text); margin: 0 auto 18px; max-width: 290px; }
.plan__price { align-self: center; margin: 0 0 20px; padding: 10px 26px; border-radius: 12px; background: linear-gradient(180deg, #24367d, var(--navy)); color: rgba(255,255,255,.9); font-size: .9rem; box-shadow: 0 6px 16px rgba(22,38,99,.35), inset 0 0 0 2px rgba(255,255,255,.25); }
.plan__price strong { font: 800 2.3rem var(--font-head); color: var(--white); margin-right: 4px; vertical-align: -3px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; text-align: left; }
.plan li { padding: 7px 0; border-bottom: 1px solid #cfd5e1; font-size: .9rem; color: var(--text); }
.plan li:last-child { border-bottom: 0; }
.plan li strong { color: var(--black); }
.plan__impl { font-size: .9rem; color: var(--navy); margin: 0 0 16px; }
.plan__impl strong { font-size: 1.05rem; }
.plan__btn { background: var(--navy); color: var(--white); border-color: var(--cyan); }
.plan__btn:hover { background: #1d3080; }
.plan--featured { transform: scale(1.04); box-shadow: 0 24px 50px rgba(22,38,99,.28); border-color: var(--cyan); }
.plan--featured .plan__btn { color: var(--cyan); }
.plan__tag { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--cyan); color: var(--navy); font-size: .7rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.plan--featured .plan__brand { margin-top: 14px; }
.plans__notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.plans__notes p { background: var(--white); border-left: 4px solid var(--cyan); border-radius: 12px; padding: 16px 18px; margin: 0; font-size: .92rem; box-shadow: 0 4px 14px rgba(22,38,99,.06); }
.plans__notes strong { color: var(--navy); }

/* Mapa área de la bahía */
.bay__map { max-width: 1060px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(22,38,99,.22); }
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.sectors span { background: var(--white); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: .92rem; display: inline-flex; align-items: center; gap: 10px; }
.sectors span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* Sobre nosotros */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--navy); list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA final */
.cta-final { background: radial-gradient(ellipse at 20% 50%, rgba(22,38,99,.9), var(--black) 70%); color: rgba(255,255,255,.85); padding: 70px 0; overflow: hidden; }
.cta-final h2 { color: var(--white); }
.cta-final__inner { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.cta-final__robot { max-height: 420px; width: auto; margin: 0 auto; border-radius: var(--radius); }

/* Pie */
.footer { background: var(--black); color: rgba(255,255,255,.7); padding: 60px 0 24px; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--white); font-size: 1rem; }
.footer a { display: block; color: rgba(255,255,255,.75); text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: var(--cyan); }
.footer__logo { width: 64px; background: var(--white); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.footer__copy { text-align: center; border-top: 1px solid rgba(255,255,255,.12); margin: 40px 0 0; padding-top: 20px; font-size: .85rem; }

/* ---------- Botones flotantes: WhatsApp a la derecha, chat a la izquierda ---------- */
.fab { position: fixed; bottom: 24px; z-index: 60; border: 0; cursor: pointer; background: none; padding: 0; }
.fab img { width: 64px; height: 64px; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); transition: transform .2s; }
.fab:hover img { transform: scale(1.08); }
.fab--wa { right: 20px; bottom: 84px; } /* más arriba para no quedar debajo de la etiqueta de Netlify (plan gratis) */
.fab--wa img { background: var(--white); border: 3px solid var(--green-wa); }
.fab--chat { left: 20px; display: flex; align-items: center; gap: 10px; }
.fab--chat img { background: var(--black); border: 3px solid var(--cyan); }
.fab__label { background: var(--white); color: var(--navy); font: 600 .9rem var(--font-body); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); color: var(--text); }
.chat--inline { height: 540px; border: 1px solid rgba(86,187,205,.4); }
.chat--float { position: fixed; left: 20px; bottom: 100px; width: 380px; max-width: calc(100vw - 32px); height: min(580px, calc(100vh - 130px)); z-index: 70; }
.chat[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: var(--white); }
.chat__head img { width: 42px; height: 42px; border-radius: 50%; background: var(--black); object-fit: contain; border: 2px solid var(--cyan); }
.chat__head strong { display: block; font-family: var(--font-head); }
.chat__status { font-size: .78rem; color: var(--cyan); }
.chat__status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-right: 6px; }
.chat__close { margin-left: auto; background: none; border: 0; color: var(--white); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.chat__body { flex: 1; overflow-y: auto; padding: 18px 16px; background: var(--soft); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; white-space: pre-wrap; word-wrap: break-word; }
.msg--bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { color: var(--muted); font-style: italic; }
.msg a { color: var(--navy); font-weight: 600; }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat__form input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; font: 1rem var(--font-body); outline: none; min-width: 0; }
.chat__form input:focus { border-color: var(--cyan); }
.chat__form button { background: var(--cyan); color: var(--navy); border: 0; border-radius: 999px; padding: 0 18px; font-weight: 700; cursor: pointer; }
.chat__note { font-size: .72rem; color: var(--muted); text-align: center; padding: 0 12px 8px; background: var(--white); margin: 0; }

/* ---------- Páginas internas (formulario y legales) ---------- */
.page-hero { background: radial-gradient(ellipse at 75% 40%, rgba(22,38,99,.95) 0%, var(--black) 70%); color: rgba(255,255,255,.85); padding: 60px 0 50px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { max-width: 640px; margin: 0; }
.form-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 1rem var(--font-body); color: var(--text); background: var(--white); }
.lead-form textarea { min-height: 110px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .88rem; }
.lead-form .check input { width: auto; margin-top: 4px; }
.lead-form .hp { display: none; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status--ok { background: rgba(72,149,25,.1); color: #2f6410; }
.form-status--err { background: rgba(239,45,86,.08); color: var(--red); }
.form-aside { background: var(--soft); border-radius: var(--radius); padding: 28px; }
.form-aside img { width: 150px; margin: 0 auto 10px; }
.form-aside ul { padding-left: 18px; color: var(--muted); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { color: #3b4050; }
.legal .updated { color: var(--muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pains__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .people__grid { grid-template-columns: repeat(3, 1fr); }
  .plans, .plans__notes { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .plan--featured { transform: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .header__cta { display: none; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--black); padding: 10px 20px 20px; border-bottom: 1px solid rgba(86,187,205,.25); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__lang { border: 0; padding: 12px 0; }
  .hero__inner, .tasks, .demo__inner, .about__inner, .cta-final__inner, .form-wrap { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 40px; padding-bottom: 50px; }
  .hero__visual { max-width: 380px; margin: 0 auto; }
  .bubble { font-size: .75rem; padding: 8px 10px; }
  .bubble--1 { left: 0; } .bubble--2 { right: 0; }
  .tasks__intro { position: static; }
  .ai-photos { grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; }
  .ai-photos__robot { width: 120px; margin: -30px auto; position: relative; z-index: 1; }
  .cta-final__robot { max-height: 260px; }
  .footer__inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .lead-form { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .pains__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pain figcaption { padding: 12px; font-size: .85rem; }
  .steps { grid-template-columns: 1fr; }
  .people__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .people__grid figure:last-child { grid-column: 1 / -1; }
  .people__grid figure:last-child img { aspect-ratio: 16 / 9; }
  .hero__actions .btn { width: 100%; }
  .plan h3 { font-size: 1.9rem; }
  .fab__label { display: none; }
  .fab img { width: 56px; height: 56px; }
  .fab--wa { right: 14px; } .fab--chat { left: 14px; }
  .chat--float { left: 16px; bottom: 90px; }
  .chat--inline { height: 480px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.lead-form .check span { flex: 1; }
.services { border: 0; padding: 0; margin: 0; }
.services legend { font-weight: 600; font-size: .9rem; color: var(--navy); padding: 0; }
.services__hint { font-size: .85rem; color: var(--muted); margin: 2px 0 12px; }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form .opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; font-size: .92rem; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.lead-form .opt input { width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.lead-form .opt:has(input:checked) { border-color: var(--cyan); background: rgba(86,187,205,.1); }
.services textarea { margin-top: 12px; }
.services textarea[hidden] { display: none; }
@media (max-width: 520px) { .services__grid { grid-template-columns: 1fr; } }

/* ---------- v6: títulos de sección más grandes ---------- */
.eyebrow { font-size: .95rem; }
.eyebrow--center { font: 800 1.35rem var(--font-head); letter-spacing: .1em; }
@media (max-width: 520px) { .eyebrow--center { font-size: 1.1rem; } }

/* Soporte técnico */
.nav__support { color: var(--cyan) !important; font-weight: 600 !important; }
.footer__support { color: var(--cyan) !important; font-weight: 600; }

/* Cómo funciona: infografía */
.how__img { display: block; max-width: 1000px; margin: 36px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.how__img img { width: 100%; height: auto; display: block; }

/* Servicios adicionales */
.extras { margin-top: 60px; }
.extras__title, .projects__title { text-align: center; font: 800 1.8rem var(--font-head); color: var(--navy); margin: 0 0 8px; }
.extras__sub { text-align: center; max-width: 640px; margin: 0 auto 28px; color: var(--muted); }
.extras__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.extras__card { background: var(--white); border-top: 4px solid var(--cyan); border-radius: 14px; padding: 22px 22px 14px; box-shadow: 0 8px 24px rgba(22,38,99,.08); }
.extras__card h4 { margin: 0 0 10px; color: var(--navy); font: 700 1.05rem var(--font-head); }
.extras__card ul { list-style: none; padding: 0; margin: 0; }
.extras__card li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.extras__card li:last-child { border-bottom: 0; }
.extras__card li::before { content: "+"; position: absolute; left: 2px; top: 7px; color: var(--cyan); font-weight: 800; }

/* Propiedad de la página web */
.ownership { margin-top: 36px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: linear-gradient(135deg, var(--navy), #24367d); color: rgba(255,255,255,.9); border-radius: 18px; padding: 32px; box-shadow: 0 18px 40px rgba(22,38,99,.25); }
.ownership h3 { color: var(--white); margin: 0 0 12px; font: 800 1.6rem var(--font-head); }
.ownership p { margin: 0 0 12px; font-size: .95rem; }
.ownership strong { color: var(--white); }
.ownership__fine { font-size: .82rem !important; opacity: .8; margin: 0 !important; }
.ownership__table { width: 100%; border-collapse: collapse; background: var(--white); color: var(--text); border-radius: 12px; overflow: hidden; }
.ownership__table caption { caption-side: top; text-align: left; font-weight: 700; color: var(--cyan); padding-bottom: 10px; font-size: .9rem; }
.ownership__table th, .ownership__table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; }
.ownership__table th { font-weight: 600; color: var(--navy); }
.ownership__table td { text-align: right; font: 800 1.05rem var(--font-head); color: var(--navy); white-space: nowrap; }
.ownership__free th, .ownership__free td { background: #e8f6f9; border-bottom: 0; }

/* Proyectos implementados */
.system { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; margin: 30px 0 70px; }
.system__img { width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.modules { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.modules li { background: var(--white); border-radius: 12px; padding: 12px 16px; box-shadow: 0 4px 14px rgba(22,38,99,.07); font-weight: 600; color: var(--navy); }
.modules span { display: inline-block; min-width: 92px; color: var(--cyan); font: 800 .85rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 70px; }
.project { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(22,38,99,.1); display: flex; flex-direction: column; transition: transform .2s; }
.project:hover { transform: translateY(-4px); }
.project__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; display: block; }
.project__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.project__status { align-self: flex-start; background: #e6f4dc; color: var(--green-wa); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.project__status::before { content: "● "; }
.project h4 { margin: 0 0 6px; font: 800 1.2rem var(--font-head); color: var(--navy); }
.project p { margin: 0 0 14px; font-size: .9rem; flex: 1; }
.project__link { color: var(--navy); font-weight: 700; font-size: .9rem; word-break: break-all; }
.project__link::after { content: " ↗"; color: var(--cyan); }
.startups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.startup { text-align: center; border-radius: 14px; padding: 22px 22px 26px; background: linear-gradient(160deg, #ffffff 0%, #f1f3f8 45%, #dfe3ec 100%); border: 1px solid #d6dbe6; box-shadow: 0 14px 32px rgba(22,38,99,.14); }
.startup img { width: 100%; max-width: 220px; height: auto; margin: 0 auto 12px; mix-blend-mode: multiply; }
.startup h4 { margin: 4px 0 8px; font: 800 1.5rem var(--font-head); color: var(--navy); }
.startup p:last-child { margin: 0; font-size: .9rem; }

@media (max-width: 1000px) {
  .extras__grid, .startups { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .ownership, .system { grid-template-columns: 1fr; }
  .system { gap: 20px; }
}
@media (max-width: 520px) {
  .ownership { padding: 22px 18px; }
  .extras__title, .projects__title { font-size: 1.45rem; }
  .projects { grid-template-columns: 1fr; }
}

/* ---------- Ventana de Soporte Técnico ---------- */
.support { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border: 0; border-radius: 18px; padding: 28px 32px 30px; background: linear-gradient(160deg, #0b0f2a 0%, #162663 100%); color: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.support::backdrop { background: rgba(5,8,25,.65); backdrop-filter: blur(2px); }
.support__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; opacity: .8; }
.support__close:hover { opacity: 1; color: var(--cyan); }
.support__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.support__head img { width: 86px; height: 86px; flex: none; }
.support__head h2 { color: var(--white); font: 700 1.35rem/1.25 var(--font-head); margin: 0 0 6px; }
.support__head p { margin: 0; color: rgba(255,255,255,.85); }
.support__form { display: grid; gap: 12px; }
.support__form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.support__form label span { color: var(--red); }
.support__form input, .support__form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 2px solid transparent; background: var(--white); color: var(--text); font: 400 .95rem var(--font-body); }
.support__form input:focus, .support__form textarea:focus { outline: none; border-color: var(--cyan); }
.support__form textarea { resize: vertical; }
.support__btn { margin-top: 8px; padding: 15px; border: 0; border-radius: 12px; background: var(--cyan); color: var(--navy); font: 700 1.02rem var(--font-body); cursor: pointer; }
.support__btn:hover { filter: brightness(1.08); }
.support__btn:disabled { opacity: .7; cursor: wait; }
.support__status { margin: 4px 0 0; padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.support__status.is-ok { background: rgba(72,149,25,.2); border: 1px solid #6cc23a; }
.support__status.is-err { background: rgba(239,45,86,.18); border: 1px solid var(--red); }
@media (max-width: 520px) {
  .support { padding: 22px 18px 24px; }
  .support__head { flex-direction: column; text-align: center; gap: 10px; }
  .support__head img { width: 70px; height: 70px; }
  .support__head h2 { font-size: 1.15rem; }
}
.support__form label { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.support__form label input, .support__form label textarea { flex: 1 1 100%; }
.support .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Ventana "Solicitud en proceso" ---------- */
.processing { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(5,8,25,.7); backdrop-filter: blur(3px); animation: procIn .25s ease; }
.processing.is-out { opacity: 0; transition: opacity .3s; }
.processing__card { width: min(420px, 100%); text-align: center; padding: 30px 26px 26px; border-radius: 18px; background: linear-gradient(160deg, #0b0f2a 0%, #162663 100%); color: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.processing__card img { width: 80px; height: 80px; margin: 0 auto 6px; }
.processing__spinner { width: 34px; height: 34px; margin: 6px auto 12px; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--cyan); border-radius: 50%; animation: procSpin .9s linear infinite; }
.processing__card h2 { color: var(--white); font: 800 1.45rem var(--font-head); margin: 0 0 8px; }
.processing__card p { margin: 0 0 18px; color: rgba(255,255,255,.85); font-size: .95rem; }
.processing__bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.processing__bar span { display: block; height: 100%; width: 0; background: var(--cyan); animation: procBar linear forwards; }
@keyframes procSpin { to { transform: rotate(360deg); } }
@keyframes procBar { to { width: 100%; } }
@keyframes procIn { from { opacity: 0; } }

/* ---------- Menú blanco ---------- */
.header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(22,38,99,.08); }
.nav a { color: var(--navy); }
.nav a:hover { color: #1f8ea3; }
.nav__lang { border-color: rgba(22,38,99,.3); }
.nav__support { color: #1f8ea3 !important; }
.menu-btn span { background: var(--navy); }
@media (max-width: 860px) {
  .nav { background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(22,38,99,.1); }
  .nav a { border-bottom-color: var(--line); }
}

/* Logo del menú: versión transparente, más grande, sin cambiar la altura del menú (80px) */
.header__logo img { width: auto; height: 62px; background: none; border-radius: 0; padding: 0; }
@media (max-width: 520px) { .header__logo img { height: 54px; } }

/* Robot del encabezado a la mitad del tamaño, sin burbujas */
.hero__robot { max-width: 240px; }
@media (max-width: 860px) { .hero__robot { max-width: 190px; } }

/* Sobre PINBLAK: tarjetas Qué hacemos / Cómo trabajamos / Por qué */
.about__tags { color: var(--navy); font-weight: 600; font-size: .92rem; }
.about__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.about__card { background: var(--white); border-top: 4px solid var(--cyan); border-radius: 14px; padding: 24px; box-shadow: 0 8px 24px rgba(22,38,99,.08); }
.about__card h3 { margin: 0 0 10px; color: var(--navy); font: 800 1.25rem var(--font-head); }
.about__card p { margin: 0; font-size: .95rem; }
@media (max-width: 1000px) { .about__cards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.support__legal { margin: 2px 0 0; font-size: .78rem; color: rgba(255,255,255,.7); text-align: center; }
.support__legal a { color: var(--cyan); }

/* Agenda de Google Calendar en la página de diagnóstico */
.booking__frame { max-width: 900px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--line); }
.booking__frame iframe { display: block; width: 100%; height: 680px; border: 0; }
.booking__done { text-align: center; margin: 22px 0 0; }
.booking__alt { text-align: center; margin: 14px 0 6px; }
.booking__or { text-align: center; color: var(--muted); margin: 0; }
@media (max-width: 520px) { .booking__frame iframe { height: 760px; } }
