/* ==========================================================================
   SYS Ti Consulting — Estilos sobre Bulma 1.0 (assets/css/bulma.min.css)
   Sin preprocesadores ni build: Bulma se personaliza con variables CSS.
   Documentación: https://bulma.io/documentation/
   ========================================================================== */

/* ---------- Tokens del sistema de diseño + personalización de Bulma ---------- */
:root {
  /* Paleta propia */
  --c-ink-900: #12343B;
  --c-ink-700: #35434A;
  --c-ink-500: #5C6B72;
  --c-teal-600: #187A73;   /* texto/botones (5.1:1 sobre blanco) */
  --c-teal-500: #1F8A82;   /* decorativo, iconos */
  --c-teal-300: #75C9B7;
  --c-teal-100: #E3F3EF;
  --c-bg: #F6F8F7;
  --c-surface: #FFFFFF;
  --c-line: #DDE5E3;

  /* Bulma: color primario = verde turquesa (HSL de #1F8A82, l ajustado a AA) */
  --bulma-primary-h: 175deg;
  --bulma-primary-s: 63%;
  --bulma-primary-l: 29%;
  --bulma-link-h: 175deg;
  --bulma-link-s: 63%;
  --bulma-link-l: 29%;
  --bulma-primary-invert-l: 100%;   /* texto blanco sobre botones primarios */
  --bulma-link-invert-l: 100%;
  --bulma-link-text: var(--c-teal-600);
  --bulma-link-text-hover: var(--c-ink-900);
  /* Texto y fondos */
  --bulma-body-background-color: var(--c-bg);
  --bulma-body-color: var(--c-ink-700);
  --bulma-text: var(--c-ink-700);
  --bulma-text-strong: var(--c-ink-900);
  --bulma-title-color: var(--c-ink-900);
  --bulma-subtitle-color: var(--c-ink-500);
  --bulma-scheme-main: #FFFFFF;
  --bulma-border: var(--c-line);
  /* Tipografía */
  --bulma-family-primary: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --bulma-family-secondary: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bulma-title-family: var(--bulma-family-secondary);
  --bulma-title-weight: 800;
  --bulma-body-line-height: 1.6;
  /* Formas */
  --bulma-radius: 10px;
  --bulma-radius-large: 16px;
  --bulma-card-radius: 16px;
  --bulma-card-shadow: 0 1px 2px rgba(18, 52, 59, .05), 0 10px 28px -14px rgba(18, 52, 59, .2);
  --bulma-card-content-padding: 1.75rem;
  --bulma-control-radius: 10px;
  --bulma-control-height: 3em;
  --bulma-input-background-l-delta: -2%;
  --bulma-navbar-height: 5.5rem;
  --bulma-navbar-item-img-max-height: 56px;
  --bulma-navbar-background-color: rgba(255, 255, 255, .94);
  --bulma-navbar-item-color: var(--c-ink-700);
  --bulma-navbar-item-hover-color: var(--c-ink-900);
  --bulma-navbar-item-hover-background-color: var(--c-teal-100);
  --bulma-navbar-item-active-color: var(--c-teal-600);
  --bulma-tag-background-color: var(--c-teal-100);
  --bulma-tag-color: var(--c-ink-900);
  --bulma-section-padding: 3rem 1.5rem;
  --bulma-section-padding-desktop: 4.5rem 3rem;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
[hidden] { display: none !important; }
:target { scroll-margin-top: calc(var(--bulma-navbar-height) + 16px); }
:focus-visible { outline: 3px solid var(--c-teal-500); outline-offset: 3px; }
.title { letter-spacing: -.01em; line-height: 1.15; }
.title.is-1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.4rem); }
.title.is-2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
.title.is-3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); }
.icon-svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -.25em; }
.button .icon-svg { width: 1.1em; height: 1.1em; }
.button.is-primary, .button.is-primary:hover, .button.is-primary:focus, .button.is-primary:active { color: #fff !important; }
.button.is-primary .icon-svg { color: #fff; }
.button.is-primary:hover { background-color: var(--c-ink-900) !important; }
/* Botón secundario claro sobre fondos oscuros */
.button.is-light { background-color: #fff; color: var(--c-ink-900); border-color: #fff; }
.button.is-light:hover, .button.is-light:focus { background-color: var(--c-teal-100); color: var(--c-ink-900); border-color: var(--c-teal-100); }
.section-bg .button.is-primary, .hero-main .button.is-primary, .need-panel .button.is-primary { background-color: var(--c-teal-500); }
.section-bg .button.is-primary:hover, .hero-main .button.is-primary:hover, .need-panel .button.is-primary:hover { background-color: var(--c-teal-300) !important; color: var(--c-ink-900) !important; }
.section-bg .button.is-primary:hover .icon-svg, .need-panel .button.is-primary:hover .icon-svg { color: var(--c-ink-900); }

/* Accesibilidad */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--c-ink-900); color: #fff; padding: .7rem 1rem; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Etiquetas de sección */
.eyebrow { display: inline-block; margin: 0 0 .8rem; font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--c-teal-600); }
.eyebrow-light { color: var(--c-teal-300); }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.section-intro { color: var(--c-ink-500); }
.section-intro-light { color: #D5E3E0; }
.note { font-size: .9rem; color: var(--c-ink-500); margin-top: 1.5rem; }
.note-light { color: #B8CBC6; }

/* Secciones y separadores */
.section-lg { padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); position: relative; }
.section-white { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-soft { background: linear-gradient(180deg, var(--c-teal-100), var(--c-bg) 70%); }
.section-bg { position: relative; isolation: isolate; color: #D5E3E0; background-color: var(--c-ink-900); background-size: cover; background-position: center; overflow: hidden; }
.section-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.section-bg-modules { background-image: url("../img/bg-modules.svg"); }
.section-bg-modules::before { background: linear-gradient(180deg, rgba(18, 52, 59, .55), rgba(18, 52, 59, .82)); }
.section-bg-flow { background-image: url("../img/bg-flow.svg"); }
.section-bg-flow::before { background: linear-gradient(135deg, rgba(18, 52, 59, .5), rgba(18, 52, 59, .78)); }
.section-bg { clip-path: polygon(0 0, 100% 44px, 100% 100%, 0 calc(100% - 44px)); padding-top: calc(clamp(3.5rem, 7vw, 5.5rem) + 44px); padding-bottom: calc(clamp(3.5rem, 7vw, 5.5rem) + 44px); margin-top: -22px; margin-bottom: -22px; }
.section-bg + .section { position: relative; z-index: 0; }
/* La sección de contacto es la última antes del footer: sin corte inferior */
.section-bg-flow { clip-path: polygon(0 0, 100% 44px, 100% 100%, 0 100%); margin-bottom: 0; padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.title:has(+ .subtitle) { margin-bottom: 1rem !important; }
.title + .subtitle { margin-top: 0 !important; }
@media screen and (min-width: 1216px) { .container { max-width: 1200px; } }
.section-bg a { color: #fff; text-decoration: underline; text-underline-offset: .15em; }
.section-bg a:hover { color: var(--c-teal-300); }

/* ---------- Navbar ---------- */
.site-navbar { border-bottom: 1px solid transparent; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .2s, border-color .2s; --bulma-navbar-box-shadow-size: 0; }
.site-navbar.is-compact { border-bottom-color: var(--c-line); box-shadow: 0 8px 24px -16px rgba(18, 52, 59, .3); }
.site-navbar .navbar-brand { min-height: var(--bulma-navbar-height); align-items: center; }
.site-navbar .brand-logo { padding: .25rem .75rem; }
.site-navbar .brand-logo img { width: auto; height: 56px; max-height: 56px; }
.site-navbar .navbar-burger { height: var(--bulma-navbar-height); width: 4rem; color: var(--c-ink-900); }
.site-navbar .navbar-burger span { height: 2.5px; width: 22px; left: calc(50% - 11px); }
.site-navbar .navbar-end .navbar-item:not(:has(.button)) { font-weight: 500; font-size: 1.05rem; padding: .5rem 1rem; border-radius: 8px; margin: 0 .1rem; }
.site-navbar .navbar-item[aria-current="true"] { color: var(--c-teal-600); font-weight: 600; }
@media screen and (min-width: 1024px) {
  .site-navbar .navbar-end { align-items: center; }
  .site-navbar .navbar-end .navbar-item:not(:has(.button)) { height: auto; }
  .site-navbar .navbar-item .button { padding-inline: 1.4rem; }

}
@media screen and (max-width: 1023px) {
  :root { --bulma-navbar-height: 4.5rem; }
  .site-navbar .brand-logo img { height: 44px; max-height: 44px; }
  .site-navbar .navbar-menu { box-shadow: 0 16px 32px -14px rgba(18, 52, 59, .3); border-top: 1px solid var(--c-line); padding: .75rem 1rem 1rem; max-height: calc(100dvh - var(--bulma-navbar-height)); overflow-y: auto; }
  .site-navbar .navbar-end .navbar-item:not(:has(.button)) { padding: .9rem .75rem; font-size: 1.1rem; border-bottom: 1px solid var(--c-line); border-radius: 0; margin: 0; }
  .site-navbar .navbar-item .button { width: 100%; margin-top: .5rem; }
}

/* ---------- Hero ---------- */
.hero-main {
  position: relative; isolation: isolate; color: #D5E3E0;
  background: var(--c-ink-900) url("../img/bg-modules.svg") center / cover no-repeat;
  padding-bottom: 56px;
}
.hero-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18, 52, 59, .92) 0%, rgba(18, 52, 59, .78) 55%, rgba(31, 138, 130, .45) 100%); }
.hero-main .hero-body { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero-lead { color: #D5E3E0; max-width: 44ch; margin-bottom: 1.75rem !important; }
.hero-main .buttons { margin-bottom: 1.75rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0; font-weight: 500; color: #fff; }
.trust-list li { display: inline-flex; align-items: center; gap: .45rem; }
.trust-list .icon-svg { color: var(--c-teal-300); }
.hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
.hero-visual { width: 100%; height: auto; aspect-ratio: 560 / 480; --c-line: rgba(18, 52, 59, .12); }
.hero-visual .hv-link { stroke: var(--c-teal-300); }
.divider-bottom { position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; background: var(--c-bg); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: fade-up .6s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-art { animation: fade-up .7s var(--ease) .15s both; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Revelado ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-visible, html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Servicios ---------- */
.grid > .cell { display: flex; min-width: 0; }
.grid > .cell > .card { width: 100%; min-width: 0; }
/* Evita que los márgenes negativos de columns.is-variable desborden en pantallas chicas */
@media screen and (max-width: 1023px) {
  .columns.is-variable.is-8, .columns.is-variable.is-6, .columns.is-variable.is-3 { --bulma-column-gap: .75rem; }
}
.service-card { display: flex; flex-direction: column; border: 1px solid var(--c-line); transition: box-shadow .25s, transform .25s var(--ease); }
.service-card:hover { box-shadow: 0 2px 4px rgba(18, 52, 59, .06), 0 18px 34px -16px rgba(18, 52, 59, .28); transform: translateY(-2px); }
.service-card .card-content { display: flex; flex-direction: column; align-items: flex-start; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c-teal-100); color: var(--c-teal-600); margin-bottom: 1.1rem; }
.service-icon .icon-svg { width: 28px; height: 28px; stroke-width: 1.7; }
.service-card .title { margin-bottom: .5rem; }
.service-text { color: var(--c-ink-500); margin-bottom: .75rem; }
/* El detalle expandible va inmediatamente debajo del texto; las tarjetas de la fila
   mantienen la misma altura, así que al expandir una, las demás no se desalinean. */
.service-details { width: 100%; border-top: 1px solid var(--c-line); padding-top: .25rem; }
.service-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0; font-weight: 600; color: var(--c-teal-600); border-radius: 6px; }
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary .icon-svg { transition: transform .2s; }
.service-details[open] summary .icon-svg { transform: rotate(180deg); }
.service-details ul { list-style: none; margin: 0; padding: .25rem 0 .5rem; display: grid; gap: .4rem; }
.service-details li { position: relative; padding-left: 1.3rem; font-size: .95rem; }
.service-details li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-teal-300); }
.service-cta { background: var(--c-ink-900) url("../img/bg-flow.svg") center / cover; border-color: transparent; color: #D5E3E0; justify-content: center; }
.service-cta .service-text { color: #D5E3E0; }
.service-cta .button { margin-top: auto; max-width: 100%; white-space: normal; height: auto; text-align: left; }

/* ---------- Soluciones ---------- */
.needs-list { display: grid; gap: .6rem; }
.need-tab {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; text-align: left;
  padding: 1rem 1.15rem; border-radius: 12px; border: 1.5px solid var(--c-line); background: var(--c-bg);
  color: var(--c-ink-700); font: inherit; font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; min-height: 56px;
}
.need-tab .icon-svg { color: var(--c-teal-500); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.need-tab:hover { border-color: var(--c-teal-300); background: var(--c-surface); }
.need-tab[aria-selected="true"] { border-color: var(--c-teal-600); background: var(--c-surface); color: var(--c-ink-900); font-weight: 600; }
.need-tab[aria-selected="true"] .icon-svg { opacity: 1; transform: none; }
/* La tarjeta ocupa todo el alto de la columna */
.need-panel { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; background: var(--c-ink-900) url("../img/bg-modules.svg") center / cover; color: #D5E3E0; border: 0; }
.need-panel .card-content { flex: 1 1 auto; padding: clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(180deg, rgba(18, 52, 59, .7), rgba(18, 52, 59, .9)); }
.need-panel .need-label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-teal-300); margin-bottom: .75rem; }
.need-panel .title { color: #fff; }
.need-text { font-size: 1.05rem; color: #D5E3E0; }
.need-footer { padding: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem); background: rgba(18, 52, 59, .9); }
@media (prefers-reduced-motion: no-preference) { .need-panel.is-entering { animation: fade-up .35s var(--ease) both; } }
@media screen and (max-width: 768px) { .needs .column.is-flex { display: block !important; } }

/* ---------- Experiencia ---------- */
.case-card { position: relative; border: 1px solid rgba(255, 255, 255, .5); }
.case-num { position: absolute; top: 1.2rem; right: 1.5rem; font-family: var(--bulma-family-secondary); font-weight: 800; font-size: 1.7rem; color: var(--c-teal-100); margin: 0; }
.case-card .title { padding-right: 3rem; }
.case-steps { margin: 0; display: grid; gap: .9rem; }
.case-steps > div { display: grid; grid-template-columns: 112px 1fr; gap: .75rem; align-items: start; }
.case-steps dt { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-teal-600); padding-top: .2em; }
.case-steps > div:nth-child(2) dt { color: var(--c-ink-900); }
.case-steps dd { margin: 0; color: var(--c-ink-700); }
.case-steps .tags { margin-bottom: 0; }
.case-steps .tag { margin-bottom: 0; font-size: .85rem; }
@media (max-width: 480px) { .case-steps > div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Nosotros ---------- */
.about-copy p { color: var(--c-ink-700); }
.principles { background: var(--c-ink-900); color: #fff; border: 0; }
.principles-title { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--c-teal-300); margin-bottom: 1rem; font-weight: 600; }
.principles ol { list-style: none; margin: 0; padding: 0; }
.principles li { display: flex; gap: 1rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--bulma-family-secondary); font-weight: 700; font-size: 1.1rem; color: #fff; }
.principles li:last-child { border-bottom: 0; }
.principles li span { font-size: .85rem; color: var(--c-teal-300); font-variant-numeric: tabular-nums; }

/* ---------- Proceso ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.process li { position: relative; padding: 1.5rem 1.5rem 1.5rem 4.4rem; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 16px; }
.process .title { margin-bottom: .35rem; }
.process p { margin: 0; color: var(--c-ink-500); }
.step-num { position: absolute; left: 1.4rem; top: 1.5rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ink-900); color: var(--c-teal-300); font-family: var(--bulma-family-secondary); font-weight: 800; }
.process li::before { content: ""; position: absolute; left: calc(1.4rem + 18px); top: calc(1.5rem + 38px); bottom: -1.25rem; width: 2px; background: var(--c-teal-300); }
.process li:last-child::before { display: none; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .process li { padding: 4.2rem 1.4rem 1.5rem; }
  .step-num { top: 1.25rem; }
  .process li::before { left: calc(1.4rem + 38px + 6px); right: -1.5rem; top: calc(1.25rem + 18px); bottom: auto; height: 2px; width: auto; }
}

/* ---------- Tecnologías ---------- */
.section-tech { padding: 2.25rem 1.5rem; background: var(--c-bg); border-top: 1px solid var(--c-line); }
.tech-title { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-500); margin-bottom: .9rem; }
.tech-list .tag { background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink-700); }

/* ---------- Contacto ---------- */
.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; color: #fff; }
.contact-list .icon-svg { color: var(--c-teal-300); margin-top: .2rem; }
.contact-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #B8CBC6; }
.pending { color: #B8CBC6; font-style: italic; }
.contact-form { color: var(--c-ink-700); }
.contact-form .card-content { padding: clamp(1.5rem, 3vw, 2.5rem); }
.contact-form .label { color: var(--c-ink-900); }
.contact-form .opt { font-weight: 400; color: var(--c-ink-500); }
.req { color: var(--c-teal-600); }
.contact-form .input, .contact-form .textarea, .contact-form .select select { background: var(--c-bg); border-color: var(--c-line); }
.contact-form .input:focus, .contact-form .textarea:focus, .contact-form .select select:focus { background: #fff; }
.contact-form .field-error:empty { display: none; }
.contact-form .field-error::before { content: "⚠ "; }
.contact-form .checkbox { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.contact-form .checkbox input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--c-teal-600); flex-shrink: 0; }
.contact-form .checkbox a { color: var(--c-teal-600); }
.form-note { font-size: .85rem; color: var(--c-ink-500); margin-top: .75rem; }
.btn-submit { min-width: 220px; background-color: var(--c-teal-600) !important; }
.btn-submit:hover { background-color: var(--c-ink-900) !important; }
.btn-submit .btn-loading { display: none; }
.btn-submit.is-loading { pointer-events: none; opacity: .8; }
.btn-submit.is-loading .btn-label { display: none; }
.btn-submit.is-loading .btn-loading { display: inline; }
.form-status .notification { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink-900); color: #B8CBC6; padding: 3.5rem 1.5rem 0; }
.site-footer a { color: #D5E3E0; text-decoration: none; }
.site-footer a:hover { color: var(--c-teal-300); }
.footer-logo { width: 220px; height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 42ch; font-size: .95rem; margin-bottom: .75rem; }
.footer-brand .tagline { color: var(--c-teal-300); font-weight: 500; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.25rem 0; margin-top: 2rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-teal-600); color: #fff; box-shadow: 0 12px 28px -12px rgba(18, 52, 59, .5); transition: transform .2s var(--ease), background-color .2s;
}
.wa-float:hover { background: var(--c-ink-900); color: #fff; transform: translateY(-2px); }
.wa-float .icon-svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .footer-bottom { padding-bottom: 5rem; } }

/* ---------- Página legal ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.legal .container { max-width: 760px; }
.legal .meta { color: var(--c-ink-500); font-size: .9rem; }
.legal .back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 2rem; font-weight: 600; text-decoration: none; }
