/* =========================================================================
   FlexibarNET 10 — hoja de estilos del sitio de producto.
   Comentarios sin tildes. Paleta Catppuccin (Latte / Mocha).
   ========================================================================= */

/* ---- Tokens de tema ---------------------------------------------------- */
:root {
  --accent: #1e66f5;            /* Catppuccin Latte Blue (marca) */
  --accent-2: #7287fd;          /* Latte Lavender (para degradados) */
  --accent-contrast: #ffffff;
  --bg: #eff1f5;                /* Latte base */
  --bg-elev: #e6e9ef;           /* Latte mantle */
  --surface: #ffffff;           /* tarjetas */
  --surface-2: #ccd0da;         /* Latte surface0 */
  --text: #4c4f69;              /* Latte text */
  --text-strong: #3a3c54;
  --text-muted: #6c6f85;        /* Latte subtext0 */
  --border: #bcc0cc;            /* Latte surface1 */
  --shadow: 0 12px 34px rgba(76, 79, 105, .14);
  --shadow-sm: 0 4px 14px rgba(76, 79, 105, .10);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #89b4fa;          /* Mocha Blue (contraste en oscuro) */
    --accent-2: #b4befe;        /* Mocha Lavender */
    --accent-contrast: #11111b;
    --bg: #1e1e2e;              /* Mocha base */
    --bg-elev: #181825;         /* Mocha mantle */
    --surface: #24273a;         /* tarjeta elevada */
    --surface-2: #313244;       /* Mocha surface0 */
    --text: #cdd6f4;           /* Mocha text */
    --text-strong: #ffffff;
    --text-muted: #a6adc8;      /* Mocha subtext0 */
    --border: #45475a;         /* Mocha surface1 */
    --shadow: 0 14px 40px rgba(0, 0, 0, .5);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --accent: #89b4fa;
  --accent-2: #b4befe;
  --accent-contrast: #11111b;
  --bg: #1e1e2e;
  --bg-elev: #181825;
  --surface: #24273a;
  --surface-2: #313244;
  --text: #cdd6f4;
  --text-strong: #ffffff;
  --text-muted: #a6adc8;
  --border: #45475a;
  --shadow: 0 14px 40px rgba(0, 0, 0, .5);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

/* ---- Reset y base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--text-strong); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p  { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---- Layout ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--bg-elev); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__eyebrow { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: .6rem; }
.section__lead { color: var(--text-muted); font-size: 1.1rem; }
.text-center { text-align: center; margin-inline: auto; }

/* ---- Botones ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 650; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--accent-contrast); box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn--ghost { background: transparent; color: var(--text-strong); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.site-header .container { display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--text-strong); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span b { color: var(--accent); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
/* Los enlaces del menu se estilan con :not(.btn): sin la exclusion, la regla
   pisaba el color del boton primario del nav (texto gris sobre azul, ilegible). */
.nav a:not(.btn) { color: var(--text-muted); font-weight: 600; padding: .5rem .75rem; border-radius: 8px; }
.nav a:not(.btn):hover { color: var(--text-strong); background: color-mix(in srgb, var(--surface-2) 50%, transparent); text-decoration: none; }
.nav .btn { margin-left: .4rem; padding: .55rem 1.15rem; font-size: .95rem; }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: .35rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer; transition: .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn .icon-sun { display: none; }
:root[data-theme="dark"] .icon-btn .icon-sun,
:root:not([data-theme="light"]) .icon-btn .icon-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-btn .icon-moon { display: none; } :root:not([data-theme="light"]) .icon-btn .icon-sun { display: block; } }
:root[data-theme="dark"] .icon-btn .icon-moon { display: none; }
:root[data-theme="dark"] .icon-btn .icon-sun { display: block; }
:root[data-theme="light"] .icon-btn .icon-sun { display: none; }
:root[data-theme="light"] .icon-btn .icon-moon { display: block; }
.nav-toggle { display: none; }

/* Selector de idioma (misma altura que los icon-btn para alinear la cabecera) */
.lang-switch { display: inline-flex; align-items: stretch; height: 42px; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: transparent; border: 0; color: var(--text-muted); font: inherit; font-size: .78rem; font-weight: 700; padding: 0 .6rem; cursor: pointer; transition: background .2s ease, color .2s ease; }
.lang-switch button:hover { color: var(--text-strong); }
.lang-switch button.is-active { background: var(--accent); color: var(--accent-contrast); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  /* Con el nav en fixed deja de empujar: las acciones se alinean a la derecha */
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border);
    padding: .5rem clamp(16px, 4vw, 32px) 1rem; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: .8rem .5rem; border-radius: 8px; }
  .nav .btn { margin: .5rem 0 0; justify-content: center; padding: .8rem 1.35rem; }
}

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 10vw, 132px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background:
    radial-gradient(60% 60% at 20% 10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(50% 50% at 85% 0%, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 70%);
  filter: blur(6px);
}
.hero .container { position: relative; z-index: 1; max-width: 900px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 650; font-size: .85rem; margin-bottom: 1.2rem; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.hero p.hero__sub { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--text-muted); max-width: 680px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
/* Motivo de barras (guino al logo) */
.barcode { display: flex; gap: 6px; align-items: flex-end; height: 54px; margin-top: 2.4rem; opacity: .5; }
.barcode i { width: 6px; background: var(--accent); border-radius: 2px; height: 100%; transform-origin: bottom; animation: barpulse 2.6s ease-in-out infinite; }
.barcode i:nth-child(3n) { background: var(--accent-2); }
.barcode i:nth-child(odd) { height: 70%; }
.barcode i:nth-child(4n) { height: 40%; }
@keyframes barpulse { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }

/* ---- Chips / sectores -------------------------------------------------- */
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.chip { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.chip__icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.chip h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.chip p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ---- Pasos (como funciona) -------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.3rem 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 1.3rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: var(--accent-contrast); font-weight: 800; box-shadow: var(--shadow-sm); }
.step h3 { margin-top: .6rem; }
.step p { margin: 0; color: var(--text-muted); }

/* ---- Grid de funcionalidades ------------------------------------------ */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.feature { padding: 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; margin-bottom: .9rem; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.feature h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--text-muted); font-size: .96rem; }

/* ---- El producto por dentro (ventanas) -------------------------------- */
.window-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.window-row:last-child { margin-bottom: 0; }
.window-row--rev .window-text { order: 2; }
.window-row--rev .window { order: 1; }
.window { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.window__bar { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--text-muted); opacity: .55; }
.window__bar i:nth-child(1) { background: #f38ba8; opacity: .8; }
.window__bar i:nth-child(2) { background: #f9e2af; opacity: .8; }
.window__bar i:nth-child(3) { background: #a6e3a1; opacity: .8; }
.window img { width: 100%; display: block; background: var(--bg-elev); }
.window-text h3 { font-size: 1.5rem; }
.window-text p { color: var(--text-muted); margin: 0; }
.window-text .tag { display: inline-block; color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
@media (max-width: 760px) {
  .window-row { grid-template-columns: 1fr; gap: 20px; }
  .window-row--rev .window-text, .window-row--rev .window { order: initial; }
}

/* ---- Seguridad --------------------------------------------------------- */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.8rem; }
.sec-item { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.sec-item svg { color: var(--accent); flex: 0 0 auto; }
.sec-item p { margin: 0; font-size: .95rem; }
.sec-item strong { color: var(--text-strong); display: block; }

/* ---- FAQ --------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: .7rem; overflow: hidden; }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; background: transparent; border: 0; font: inherit; font-weight: 650; color: var(--text-strong); cursor: pointer; }
.faq__q::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .2s ease; line-height: 1; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 1.2rem; color: var(--text-muted); }
.faq__item.is-open .faq__a { max-height: 400px; padding: 0 1.2rem 1.1rem; }

/* ---- Contacto ---------------------------------------------------------- */
.contact { text-align: center; }
.contact__card { max-width: 720px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); box-shadow: var(--shadow); }
.contact__mail { font-size: clamp(1.2rem, 1rem + 1.4vw, 1.8rem); font-weight: 800; color: var(--text-strong); margin: .6rem 0 1.4rem; word-break: break-word; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--bg-elev); border-top: 1px solid var(--border); padding-block: 2.4rem; color: var(--text-muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--text-muted); font-weight: 600; }
.site-footer a:hover { color: var(--accent); }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-strong); font-weight: 700; }
.footer-brand img { width: 26px; height: 26px; border-radius: 6px; }

/* ---- Scroll reveal (solo se oculta si hay JS) -------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }

/* ---- Pagina de contenido (seguridad) ---------------------------------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose code { background: var(--surface-2); padding: .1rem .4rem; border-radius: 6px; font-size: .9em; }
.prose .divider { height: 1px; background: var(--border); border: 0; margin: 2.2rem 0; }
.u-mt-lg { margin-top: 2rem; }

/* =========================================================================
   Animaciones y pulido (modernizacion). Todo se anula en reduced-motion.
   ========================================================================= */

/* ---- Reveal direccional + escalonado ---------------------------------- */
.js [data-reveal="left"]  { transform: translateX(-42px); }
.js [data-reveal="right"] { transform: translateX(42px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-visible { transform: none; }
.js .chips .chip:nth-child(2), .js .features .feature:nth-child(3n+2) { transition-delay: .08s; }
.js .chips .chip:nth-child(3), .js .features .feature:nth-child(3n) { transition-delay: .16s; }
.js .steps .step:nth-child(2) { transition-delay: .1s; }
.js .steps .step:nth-child(3) { transition-delay: .2s; }
.js .steps .step:nth-child(4) { transition-delay: .3s; }
.js .sec-grid .sec-item:nth-child(2) { transition-delay: .08s; }
.js .sec-grid .sec-item:nth-child(3) { transition-delay: .16s; }
.js .sec-grid .sec-item:nth-child(4) { transition-delay: .24s; }

/* ---- Cabecera elevada al hacer scroll --------------------------------- */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--bg) 92%, transparent); }

/* ---- Subrayado animado del menu --------------------------------------- */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .32rem; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---- Hero: aurora animada, titulo en degradado, entrada escalonada ---- */
.hero__glow { animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 4%, 0) scale(1.12); }
}
.hero h1 {
  background: linear-gradient(115deg, var(--text-strong) 30%, var(--accent) 75%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.js .hero__eyebrow { animation: heroIn .7s ease .05s both; }
.js .hero h1        { animation: heroIn .7s ease .15s both; }
.js .hero__sub      { animation: heroIn .7s ease .28s both; }
.js .hero__cta      { animation: heroIn .7s ease .40s both; }
.js .hero .barcode  { animation: heroIn .7s ease .52s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---- Botones: brillo al pasar ----------------------------------------- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn--primary:hover::after { animation: sheen .8s ease; }
@keyframes sheen { to { left: 140%; } }

/* ---- Tarjetas de funcionalidad: icono e iluminacion en hover ---------- */
.feature__icon { transition: transform .25s ease, background .25s ease; }
.feature:hover .feature__icon { transform: translateY(-3px) scale(1.08) rotate(-3deg); background: color-mix(in srgb, var(--accent) 22%, transparent); }
.chip__icon { transition: transform .25s ease; }
.chip:hover .chip__icon { transform: scale(1.1) rotate(3deg); }

/* ---- Ventanas: elevacion e inclinacion sutil -------------------------- */
.window { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.window:hover { transform: translateY(-8px) scale(1.012); box-shadow: 0 30px 70px rgba(30,102,245,.22); }

/* ---- Paso: numero con leve rebote al aparecer ------------------------- */
.js .step.is-visible::before { animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* ---- Contacto: glow pulsante ------------------------------------------ */
.contact__card { animation: glowpulse 4.5s ease-in-out infinite; }
@keyframes glowpulse {
  0%, 100% { box-shadow: var(--shadow); }
  50%      { box-shadow: var(--shadow), 0 0 44px 4px color-mix(in srgb, var(--accent) 32%, transparent); }
}

/* ---- Pulido profesional ------------------------------------------------ */
h1, h2, h3 { text-wrap: balance; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
.chip, .sec-item { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.chip:hover, .sec-item:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); box-shadow: var(--shadow-sm); }
.faq__q { transition: background .2s ease; }
.faq__item:not(.is-open) .faq__q:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.faq__a p { margin: 0; }
.contact__mail a { color: inherit; text-decoration: none; transition: color .2s ease; }
.contact__mail a:hover { color: var(--accent); }
.site-footer { font-size: .95rem; }
@media (max-width: 460px) {
  /* En moviles estrechos el logo basta como marca: evita apreturas en la cabecera */
  .brand span { display: none; }
  .header-actions { gap: .4rem; }
}

/* ---- Reduce motion (anula todo lo anterior) --------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero h1 { -webkit-text-fill-color: currentColor; color: var(--text-strong); }
}
