/* ==========================================================
   Synapticore — Clean CSS (RESTRUCTURED)
   Keyframes → General → Media Queries
   Source: styles-synapticore.css
   ========================================================== */

/* ==========================================================
   1) KEYFRAMES
   ========================================================== */

@keyframes synaHaloSpin{
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes synaOrbit{
  0%   { transform: rotate(0deg) scale(1);   opacity: .38; }
  50%  { transform: rotate(180deg) scale(1.03); opacity: .52; }
  100% { transform: rotate(360deg) scale(1); opacity: .38; }
}

@keyframes synaPulse{
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(0,-1px,0) scale(1.015); }
  100% { transform: translate3d(0,0,0) scale(1); }
}

@keyframes neonGlow{
  0%{
    text-shadow:
      0 10px 26px rgba(255,159,26,.65),
      0 0 18px rgba(255,159,26,.70),
      0 0 40px rgba(255,159,26,.65);
  }
  33%{
    text-shadow:
      0 10px 26px rgba(255,255,255,.51),
      0 0 18px rgba(255,255,255,.51),
      0 0 40px rgba(255,255,255,.51);
  }
  66%{
    text-shadow:
      0 10px 26px rgba(138,61,255,.65),
      0 0 18px rgba(138,61,255,.60),
      0 0 42px rgba(138,61,255,.55);
  }
  100%{
    text-shadow:
      0 10px 26px rgba(255,159,26,.65),
      0 0 18px rgba(255,159,26,.70),
      0 0 42px rgba(255,159,26,.65);
  }
}

@keyframes iconPulse{
  0%{ filter:
          drop-shadow(0 0 4px rgba(255,159,26,.7))
          drop-shadow(0 0 10px rgba(255,159,26,.6));
  }

  50%{ filter:
          drop-shadow(0 0 6px rgba(255,159,26,1))
          drop-shadow(0 0 18px rgba(255,159,26,.85));

  }

  100%{ filter:
          drop-shadow(0 0 4px rgba(255,159,26,.7))
          drop-shadow(0 0 10px rgba(255,159,26,.6));
  }
}

@keyframes synaBtnSpin{
  to{ transform: rotate(360deg); }
}

@keyframes synaLogoSpin{
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ==========================================================
   2) GENERAL
   ========================================================== */

/* ------------------------------
   Tokens
-------------------------------- */
:root{
  --headerH: 64px;

  /* Core surfaces (dark) */
  --bg0:#05070c;
  --bg1:#070a12;

  /* Text */
  --ink:#eaf0ff;
  --ink2:#c7d4ff;
  --muted:#95a3c6;

  /* UI */
  --line: rgba(231,240,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --r: 22px;
  --focus: 0 0 0 3px rgba(30,107,255,.28);

  /* Soft glows */
  --p1: rgba(30,107,255,.18);
  --p2: rgba(138,61,255,.16);
  --p3: rgba(255,159,26,.10);
  --p4: rgba(0,214,179,.14);
  --p5: rgba(30,107,255,.16);

  /* Brand accents */
  --b1:#1e6bff;   /* blue */
  --b2:#8a3dff;   /* violet */
  --b3:#00d6b3;   /* teal */
  --b4:#ff9f1a;   /* orange */
}

/* ------------------------------
   Base
-------------------------------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; height:100%; }
body{
  height:100%;
  margin:0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight:400;
  color: var(--ink);
  overflow-x:hidden;

  background:
    radial-gradient(1100px 600px at 18% 12%, rgba(30,107,255,.14), transparent 60%),
    radial-gradient(900px 520px at 82% 18%, rgba(138,61,255,.12), transparent 58%),
    radial-gradient(900px 520px at 70% 85%, rgba(255,159,26,.08), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}
a{ color:inherit; text-decoration:none; }
[hidden]{ display:none !important; }
.container{ width:min(1140px, 92vw); margin:0 auto; }
.space20{ height:20px; }


/* ------------------------------
   Header / Nav
-------------------------------- */
header.top{
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 1000;

  width: min(1140px, 92vw);
  margin: 0 auto;

  border-radius: 12px;
  background: rgba(6, 8, 14, 0.55);
  border: 1px solid rgba(231,240,255,.10);
  box-shadow: 0 16px 50px rgba(0,0,0,.42);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 0 26px;

  transition: opacity .28s ease, transform .28s ease;
  will-change: opacity, transform;
}

/* estado final del intro */
header.top.intro-pre{ opacity:0; transform: translateY(-16px); }
header.top.intro-in{ opacity:1; transform: translateY(0); }

/* “anclado” al final del hero */
header.top.is-fixed{ position: fixed; }
header.top.is-anchored{ position: fixed; }

/* Nav layout */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.top .container{ width:100%; }

.nav--twoRows{ display:flex; flex-direction:column; gap:10px; }
.navRow--top{ display:flex; align-items:center; justify-content:space-between; gap:14px; position:relative; }
.navRow--bottom{ display:flex; justify-content:right; }

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;

  background: url("images/logo-Synapticore-ultra-white.png") center / contain no-repeat;
  margin-left: .6px;
}
.brand small{
  display:block;
  font-weight:450;
  color: var(--muted);
  margin-top:-2px;
}

.logo{
  width: 320px;
  height: 60px;
  border-radius: 12px;
}

.links{
  display:flex;
  gap:8px;
  align-items:center;
  font-weight:550;
  color: var(--ink2);
}
.links a{
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.links a:hover{
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

/* External link arrow */
.links a[target="_blank"]::after{
  content:"↗";
  font-size:.8em;
  margin-left:6px;
  opacity:.6;
}

/* Actions + Buttons */
.actions{
  display:flex;
  gap:10px;
  align-items:center;
  margin-left:auto;
}
.btn{
  border:1px solid rgba(231,240,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--ink);

  padding: 9px 11px;
  border-radius: 14px;
  font-weight:650;
  cursor:pointer;

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.btn:focus-visible{ outline:none; box-shadow: var(--focus); }

.btn-primary{
  border-color: rgba(0, 19, 48, 0.8);
  /*background: linear-gradient(135deg, rgba(30,107,255,.80), rgba(138,61,255,.55));*/
  background: linear-gradient(135deg, rgba(0, 19, 48, 0.8), rgba(138,61,255,.55));
}
.btn-support{
  font-weight:600;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.btn-support:hover{ background: rgba(255,255,255,.09); }

/* No mobile menu/hamburguesa si ya no lo usas */
.menuBtn{ display:none !important; }
.mobileMenu{ display:none !important; }

/* ------------------------------
   Language switcher
-------------------------------- */
.langWrap{ position:relative; display:inline-flex; }

/* botón transparente + texto naranja */
#langBtn.btn{
  background: transparent !important;
  color: var(--b4) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all .25s ease;
}
#langBtn.btn:hover{
  border-color: var(--b4) !important;
  box-shadow: 0 0 12px rgba(255,159,26,.35);
}

/* dropdown oscuro */
.langMenu{
  position:absolute;
  top: calc(100% + 10px);
  right:0;
  width: 220px;
  z-index: 1001;

  background: rgba(6, 8, 14, 0.95) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,.55) !important;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px;
}

.langItem{
  display:block;
  width:100%;
  text-align:left;

  position:relative;
  padding: 10px 16px 10px 20px;
  border-radius: 12px;

  border:0;
  background: transparent;
  color: rgba(234,240,255,.9) !important;

  font: inherit;
  cursor:pointer;
  transition: all .25s ease;
}

/* barra naranja hover */
.langItem::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:0;
  background: var(--b4);
  transition: width .25s ease;
}
.langItem:hover::before{ width:4px; }
.langItem:hover{
  background: rgba(255,159,26,.06) !important;
  color: #fff !important;
}

/* ------------------------------
   Bands (sections)
-------------------------------- */
.band{ position:relative; padding: 60px 0; }

.band--soft{
  background:
    radial-gradient(900px 520px at 12% 10%, rgba(30,107,255,.18), transparent 60%),
    radial-gradient(900px 520px at 86% 18%, rgba(138,61,255,.16), transparent 55%),
    linear-gradient(180deg, rgba(7,10,18,.92), rgba(5,7,12,.98));
}
.band--soft2{
  background:
    radial-gradient(900px 520px at 20% 18%, rgba(0,214,179,.14), transparent 60%),
    radial-gradient(900px 520px at 78% 78%, rgba(30,107,255,.16), transparent 55%),
    linear-gradient(180deg, rgba(7,10,18,.92), rgba(5,7,12,.98));
}
.band--bold{
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 15% 25%, rgba(30,107,255,.22), transparent 60%),
    radial-gradient(900px 520px at 85% 75%, rgba(138,61,255,.18), transparent 55%),
    linear-gradient(135deg, rgba(10,14,24,.92), rgba(5,7,12,.98));
  border-top: 1px solid rgba(231,240,255,.08);
  border-bottom: 1px solid rgba(231,240,255,.08);
}
.band--bold2{
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(255,159,26,.14), transparent 60%),
    radial-gradient(900px 520px at 80% 80%, rgba(30,107,255,.16), transparent 55%),
    linear-gradient(135deg, rgba(10,14,24,.92), rgba(5,7,12,.98));
  border-top: 1px solid rgba(231,240,255,.08);
  border-bottom: 1px solid rgba(231,240,255,.08);
}

/* ------------------------------
   Hero
-------------------------------- */
.hero{
  margin-top:0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-top: 140px;
  text-align: center;
}

/* Video */
.heroVideo{ position:absolute; inset:0; z-index:0; }
.heroVideo video{ width:100%; height:100%; object-fit:cover; }

/* Fog overlay */
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.75) 100%
  );
}

/* si quieres overlay adicional encima del video */
.heroVideo::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: none;
}

.heroInner{
  position:relative;
  z-index:2;
  width:100%;
  text-align:center;
  margin:0 auto;

  display: flex;
  justify-content: center;
}

/* Badge */
.badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(10, 14, 24, 0.62);
  font-weight:700;
  color: var(--ink2);
}
.dot{
  width:10px;
  height:10px;
  border-radius:99px;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.2) 45%, rgba(255,255,255,0) 75%);
  box-shadow: 0 0 0 6px rgba(30,107,255,.35);
}

/* H1 base */
h1{
  margin: 20px 0 20px;
  font-size: clamp(2.2rem, 3.9vw + 1.4rem, 5rem);
  line-height: 1.03;
  letter-spacing: -1.2px;
  font-weight: 750;
}

/* H1 hero glow */
.heroInner > h1{
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: #ffffff;
  z-index: 1;
}

/* Glow “detrás” (1) */
.heroInner > h1::before{
  content: attr(data-glow);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: max-content;
  white-space: pre-line;

  z-index: -1;
  pointer-events: none;

  color: transparent;
  filter: blur(0.6px);
  animation: neonGlow 6s ease-in-out infinite;
}

/* Glow “haze” (2) */
.heroInner > h1::after{
  content: attr(data-i18n);
  position: absolute;
  inset: 0;
  z-index: -1;

  display: block;
  text-align: inherit;

  color: transparent;
  text-shadow:
    0 0 10px rgba(255,159,26,.6),
    0 0 25px rgba(138,61,255,.5),
    0 0 40px rgba(255,255,255,.4);

  animation: neonGlow 6s ease-in-out infinite;
}

.sub{
  margin:0;
  max-width: 70ch;
  font-size: 1.12rem;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(231,240,255,.78);
}

.heroGrid{
  margin-top: 130px;
  transform: translateY(20px);

  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.heroCtas{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.hint{ margin-top:12px; color: var(--muted); font-weight:450; }

/* ------------------------------
   Cards / Typography / Grids
-------------------------------- */
.card{
  border: 1px solid rgba(231,240,255,.12);
  border-radius: var(--r);
  background: rgba(10, 14, 24, 0.62);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardInner{ padding: 18px; }

.cardHero{ background: transparent; box-shadow:none; border:none; }
.cardHero2{
  border: 1px solid rgba(231,240,255,.12);
  border-radius: var(--r);
  background: rgba(10, 14, 24, 0.52);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pillTitle{
  display:flex;
  align-items:center;
  font-weight:750;
  letter-spacing:-.2px;
  font-size: 1.05rem;
  color: var(--ink);
}

.card p{
  margin: 10px 0 0;
  color: var(--muted);
  font-weight:400;
  line-height:1.6;
}

.iconBig{
  display:inline-flex;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  margin-right:10px;
}
.iconBig svg{
  width:48px;
  height:48px;
  stroke: rgba(199,212,255,.92);
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* placeholders */
.imgPh{
  height: 300px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top:10px;
}
.imgPhMini{
  height: 80px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top:10px;
}
.imgPh.small{ margin-top:0; height:170px; background-color: rgba(176,210,236, 1); }
.imgPh.small.filled{ margin-top:0; background-size: cover; }

.sectionHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:14px;
}
.sectionHead--center{ text-align:center; }

h2{
  margin:0;
  font-size: clamp(1.55rem, 1.2vw + 1.1rem, 2.15rem);
  letter-spacing: -.7px;
  color: var(--ink);
  font-weight:750;
  padding-left:12px;
}
h3{ color: var(--ink); font-weight:750; padding-left:12px; }
h4{
  margin:0;
  font-size: clamp(1.35rem, 1.0vw + 1.0rem, 1.65rem);
  letter-spacing: 1px;
  color: rgba(199,212,255,.88);
  font-weight:300;
  padding-left:12px;
}
.lead{
  margin:0;
  color: var(--muted);
  font-weight:400;
  line-height:1.6;
  max-width:72ch;
}
.sectionHead--center .lead{
  max-width: 720px;
  margin: 0 auto;
}

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.grid2{ display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; }

[data-i18n]{ white-space: pre-line; }

/* ------------------------------
   Special section: #que-es-new
-------------------------------- */
#que-es-new.band{
  background:
    radial-gradient(1200px 600px at 10% 20%, rgba(30,107,255,.18), transparent 60%),
    radial-gradient(1000px 500px at 90% 80%, rgba(138,61,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(7,10,18,.92), rgba(5,7,12,.98));
}
#que-es-new h2{
  font-size: clamp(2rem, 1.8vw + 1.2rem, 2.6rem);
  color: white;
}
#que-es-new .lead{
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 60ch;
}
#que-es-new .pillTitle{
  font-size: 1.35rem;
  color: #d7e8e8;
}
#que-es-new .card p{
  font-size: 1.05rem;
  line-height: 1.7;
  color: white;
}
#que-es-new .howSide.card p{
  color: #030101;
}

/* Stats accents */
.percencolor1{ font-size:40px; color: var(--b4) !important; }
.percencolor2{ font-size:40px; color: rgba(30,107,255,.95) !important; }
.percencolor3{ font-size:40px; color: rgba(138,61,255,.95) !important; }

/* ------------------------------
   Modal (main)
-------------------------------- */
.modalOverlay{
  position: fixed;
  inset: 0;
  background: rgba(17,18,22,.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}






.modalOverlay.open{ display:flex; }

.modal{
  width: 900px;
  height: 700px;
  max-width: 92vw;
  max-height: 92vh;

  background: rgba(10, 14, 24, 0.92);
  border: 1px solid rgba(231,240,255,.14);
  border-radius: 18px;
  box-shadow: 0 18px 70px rgba(0,0,0,.55);

  position: relative;
  overflow: hidden;
  padding: 18px 18px 14px;
}
.modal h3{
  margin: 0 40px 12px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.modalBody{
  height: calc(718px - 18px - 14px - 38px);
  max-height: calc(92vh - 120px);
  overflow:auto;
  padding-right:8px;
  color: rgba(231,240,255,.78);
  line-height:1.6;
}
.modalClose{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border-radius:12px;

  background: rgba(255,255,255,.06);
  color: var(--ink);
  border: 1px solid rgba(231,240,255,.14);
  cursor:pointer;
  font-size:22px;
  line-height:1;
}

/* Inputs */
input, textarea{
  background: rgba(255,255,255,.06) !important;
  color: var(--ink) !important;
  border-color: rgba(231,240,255,.14) !important;
}

/* ------------------------------
   Cookie bar
-------------------------------- */
.cookieBar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;

  background: rgba(14, 18, 20, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 -14px 40px rgba(0,0,0,0.35);

  padding: 12px 0;
}
.cookieBar[hidden]{ display:none !important; }

.cookieBar__inner{
  width: min(1140px, 92vw);
  margin: 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:space-between;
}
.cookieBar__content{ min-width:0; }
.cookieBar__title{
  font-weight:800;
  color: rgba(255,255,255,0.94);
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}
.cookieBar__text{
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
  font-size: 0.95rem;
}
.cookieBar__text a{
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookieBar__actions{
  display:flex;
  gap:10px;
  flex-shrink:0;
}

/* ------------------------------
   Footer
-------------------------------- */
footer{
  padding: 26px 0 38px;
  color: var(--muted);

  background: rgba(6, 8, 14, 0.55);
  border-top: 1px solid rgba(231,240,255,.10);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
footer .logo{
  height: 44px !important;
  width: 220px;
  background: url("images/logo-Synapticore-ultra-white.png") center / contain no-repeat;
}


.foot{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
/*  grid-template-columns: 200px 1fr 200px;*/

  grid-template-rows: auto min-content;
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.foot > :first-child{ justify-self: start; }
.footLinks{ justify-self: center; text-align: center; }
.footSpacer{
  justify-self: end;
  min-height: 1px;
}


.footerCopy{
  grid-column: 2;
  margin-top: 6px;
  font-size: 10px;
  text-align: center;

  letter-spacing: 1px;
  font-weight: 400;
  width:100%;
  color:var(--b4);
}
/* ------------------------------
   HERO CAROUSEL (slides)
-------------------------------- */
.heroCarousel{
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: 22px;
  overflow: hidden;
}

/* cada slide ocupa todo el contenedor */
.heroCarousel .slide{
  position: absolute;
  inset: 0;

  display:flex;
  align-items:stretch;
  justify-content:center;

  opacity: 0;
  transform: translateX(65vw) scale(.98);
  transition: opacity 700ms ease, transform 1100ms cubic-bezier(.18,.9,.22,1);
  will-change: opacity, transform;

  padding: 0 !important;
}

/* Activo: centrado */
.heroCarousel .slide.is-active{
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Saliendo: hacia la izquierda */
.heroCarousel .slide.is-exit{
  opacity: 0;
  transform: translateX(-65vw) scale(.985);
  transition: opacity 900ms ease, transform 1600ms cubic-bezier(.22,.7,.15,1);
}

.heroCarousel--section{
  margin-top: 18px;
  display: block;
}
.heroCarousel--section .heroCard{ height: 270px; }

/* ------------------------------
   HERO Card inside carousel
-------------------------------- */
.heroCard{
  width: min(860px, 100%);
  height: 270px;
  display:grid;
  grid-template-columns: 270px 1fr;
  gap: 18px;

  border-radius: 22px;
  border: 1px solid rgba(231,240,255,.12);
  background: rgba(10, 14, 24, 0.62);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);

  overflow:hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  align-items: stretch;
}

.heroCard__media{
  position:relative;
  border-right: 1px solid rgba(231,240,255,.10);

  display:flex;
  align-items:center;
  justify-content:center;

  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  overflow: hidden;

  padding: 0 !important;
  background: none !important;
}

.heroCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important;
}

.heroCard__body{
  padding: 22px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap: 10px;
  text-align:left;
}

.heroCard__tag{
  display:inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,159,26,.28);
  color: rgba(255,209,150,.95);
  background: rgba(255,159,26,.06);
  font-weight: 700;
  font-size: 0.86rem;
}

.heroCard__title{
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.4px;
  color: #ffffff;
}

.heroCard__text{
  margin: 0;
  color: rgba(231,240,255,.78);
  line-height: 1.6;
  font-size: 1.02rem;
}

.heroCard__btn{
  display: inline-block;
  width: fit-content;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  text-decoration: none;

  color: #fff;
  background: linear-gradient(90deg, #005dff, #7a3fff);

  transition: all .25s ease;
}
.heroCard__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0,120,255,.55);
}
.heroCard__btn:active{
  transform: translateY(0px);
  opacity: .9;
}

/* ------------------------------
   Floating button (FAB) + Modal
-------------------------------- */

/* FAB base */
.synaFab{
  position: fixed;
  right: calc(26px + env(safe-area-inset-right));
  bottom: calc(26px + env(safe-area-inset-bottom));
  width: 90px;
  height: 90px;
  border-radius: 999px;
  z-index: 9999;

  border: 1px solid rgba(120,180,255,.25);
  background: rgba(10,14,22,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  cursor: pointer;
  padding: 0;
  outline: none;

  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    0 0 0 1px rgba(140,80,255,.12) inset;

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;

  isolation: isolate;
  transform: translateZ(0);
  will-change: transform, filter;

  animation: synaPulse 3.2s ease-in-out infinite;
}

.synaFab:hover{
  transform: translateY(-3px);
  border-color: rgba(120,180,255,.45);
  box-shadow:
    0 22px 55px rgba(0,0,0,.55),
    0 0 18px rgba(0,120,255,.22),
    0 0 0 1px rgba(140,80,255,.18) inset;

  animation-duration: 2.2s;
}
.synaFab:active{ transform: translateY(-1px); }

.synaFab__inner{
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 6px;
  text-align: center;
}

.synaFab__logo{
  width: 75%;
  aspect-ratio: 1/1;
  max-width: 70px;
  border-radius: 14px;
  background: url(images/logo-Synapticore-alone.png) center / contain no-repeat;
  opacity: .95;
}

.synaFab__text{
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

/* Halo fino (borde luminoso animado) */
.synaFab::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: 999px;
  z-index: -1;

  background:
    conic-gradient(
      from 0deg,
      rgba(0,140,255,.0) 0deg,
      rgba(0,140,255,.55) 50deg,
      rgba(255, 123, 23, 0.71) 120deg,
      rgba(0,140,255,.15) 180deg,
      rgba(140,70,255,.55) 260deg,
      rgba(0,140,255,.0) 360deg
    );

  filter: blur(10px);
  opacity: .55;
  animation: synaHaloSpin 6.5s linear infinite;
}

/* Orbital glow */
.synaFab::after{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius: 999px;
  z-index: -1;

  background:
    radial-gradient(circle at 82% 18%, rgba(0,160,255,.85), rgba(0,160,255,0) 44%),
    radial-gradient(circle at 18% 82%, rgba(160,90,255,.65), rgba(160,90,255,0) 46%);

  filter: blur(12px);
  opacity: .45;
  animation: synaOrbit 3.8s ease-in-out infinite;
}

/* Synapticore modal (FAB) */
.synaModalOverlay{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;

  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  padding-right: 16px;
  padding-bottom: 60px; /* botón + margen */
}
.synaModalOverlay.open{ display: flex; }

.synaModal{
  width: 600px;
  height: 700px;

  background: #000;
  border-radius: 22px;
  border: 1px solid rgb(127, 59, 234);
  box-shadow: 0 28px 90px rgba(0,0,0,.65);

  position: relative;
  overflow: hidden;
}

.synaModal__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 26px;
  line-height: 1;

  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.synaModal__close:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}

.synaModal__content{
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 70px 26px 26px;
}
.synaModal__title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  color: #fff;
}
.synaModal__subtitle{
  margin: 14px 0 0;
  max-width: 680px;
  color: rgba(255,255,255,.78);
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 1.45;
}




.synaModal__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;

  border: 1px solid rgba(255,159,26,.25);
  background: rgba(255,159,26,.08);
  color: #ff9f1a;

  font-size: 26px;
  cursor: pointer;

  transition: all .25s ease;
}

.synaModal__close:hover{
  background: rgba(255,159,26,.18);
  border-color: rgba(255,159,26,.55);
  box-shadow:
          0 0 12px rgba(255,159,26,.6),
          0 0 24px rgba(255,159,26,.35);
  transform: translateY(-1px);
}





/* ------------------------------
   Claims carousel (radio track)
-------------------------------- */
.heroClaims{ position: relative; width: 100%; }

/* Shell */
.claimsCarousel{
  --cc-radius: 22px;
  --cc-pad: clamp(16px, 2vw, 28px);
  --cc-gap: 18px;
  --cc-cardW: 100vw;              /* full-bleed */
  --cc-bg: rgba(10, 14, 25, .55);
  --cc-bd: rgba(255,255,255,.10);
  --cc-txt: rgba(255,255,255,.92);
  --cc-sub: rgba(255,255,255,.70);

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100vw;
  max-width: none;
  margin: 10px auto 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding-bottom: 60px;
}

/* Radios hidden but still accessible */
.ccRadio{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Viewport + Track */
.ccViewport{
  overflow: hidden;
  border-radius: 0 !important;
  width: 100%;
}
.ccTrack{
  display: flex;
  gap: var(--cc-gap);
  width: calc((var(--cc-cardW) * 3) + (var(--cc-gap) * 2));

  --step: 0;
  transform: translateX(calc(var(--step) * (var(--cc-cardW) + var(--cc-gap))));
  transition: transform 520ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

#cc-1:checked ~ .ccViewport .ccTrack { --step: 0; }
#cc-2:checked ~ .ccViewport .ccTrack { --step: -1; }
#cc-3:checked ~ .ccViewport .ccTrack { --step: -2; }

/* Card (clean style) */
.ccCard{
  width: var(--cc-cardW);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;

  padding: 6px 0 0 !important;
  min-height: 0 !important;

  padding-left: clamp(18px, 4vw, 42px);
  padding-right: clamp(18px, 4vw, 42px);
}

/* Claim title: glow DIRECT on text (wrap perfecto) */
.ccTitle{
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;

  margin: 0 0 10px 0;
  line-height: 1.03;
  letter-spacing: -0.6px;

  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 3.9vw + 1.4rem, 5rem);
  font-weight: 700;
  color: #fff;

  padding-left: clamp(24px, 6vw, 120px);
  padding-right: clamp(24px, 6vw, 120px);

  animation: neonGlow 6s ease-in-out infinite;
}
/* apaga pseudos antiguos */
.ccTitle::before,
.ccTitle::after{ content: none !important; }

.ccDesc{
  margin: 0;
  margin-top: clamp(40px, 6vw, 80px);

  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.5;
  text-align: center;
  font-weight: 400;
  color: #ffffff;

  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;

  padding-left: clamp(24px, 6vw, 140px);
  padding-right: clamp(24px, 6vw, 140px);
}

/* Dots abajo */
/*.ccDots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;

  margin: 0 !important;
  padding: 0;

  display: flex;
  justify-content: center;
  gap: 10px;

  bottom: -120px;
}*/

.ccDots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -120px;          /* siempre misma altura */
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ccDot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 0 !important;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, width 160ms ease;
}
#cc-1:checked ~ .ccDots label[for="cc-1"],
#cc-2:checked ~ .ccDots label[for="cc-2"],
#cc-3:checked ~ .ccDots label[for="cc-3"]{
  background: rgba(255,255,255,.72);
  width: 22px;
}

/* Oculta flechas si quedan en DOM */
.ccArrows{ display:none !important; }

/* ------------------------------
   Products section helpers
-------------------------------- */
#products-carousel{
  padding-top: 20px;
  padding-bottom: 80px;
}
#products-carousel .sectionHead{ margin-bottom: 24px; }
#products-carousel .lead{ margin: 0 auto; }

/* ------------------------------
   Features
-------------------------------- */
.features{ padding: 100px 0; }

.featuresHeader{
  text-align: center;
  margin-bottom: 36px;
}
.featuresTitle{
  position: relative;
  display: inline-block;

  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;

  animation: neonGlow 6s ease-in-out infinite;
}

.featuresGrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.featureItem{
  position: relative;
  background: rgba(15, 18, 30, 0.6);
  border-radius: 18px;
  border: 1px solid rgba(255, 138, 0, 0.35);
  transition: all 0.3s ease;
  padding: 28px 22px;
}

/* Glow suave alrededor */
.featureItem::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;

  background: linear-gradient(
    135deg,
    rgba(255,138,0,0.6),
    rgba(138,61,255,0.5)
  );

  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-origin: content-box, border-box;
  -webkit-mask-clip: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.featureItem:hover{
  transform: translateY(-6px);
  border-color: rgba(255,138,0,0.7);
}

.featureItem h3{
  font-size: 22px;
  margin-bottom: 14px;
}
.featureItem p{
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.featureIcon{
  width: 72px;
  height: 72px;
  margin: 0 auto 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--b4);
}
.featureIcon svg{
  width: 40px;
  height: 40px;

  stroke: var(--b4) !important;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  filter: drop-shadow(0 0 12px rgba(255,159,26,.55));
}

/* Compactar sección Ventajas */
#ventajas{
  padding-top: 30px;
  padding-bottom: 60px;
}



/* ===== Contact form (TEHO-like) ===== */
.formCheck{
  display:flex;
  align-items:center;
  gap:10px;
  font: inherit;
  color: var(--ink);
  line-height: 1.2;
  padding-left: 10px;
}
.formCheck input[type="checkbox"]{
  width:16px !important;
  height:16px;
  min-width:16px;
  min-height:16px;
  margin:0;
  flex-shrink:0;
  accent-color: var(--b4);
}
.formCheck span{ font: inherit; white-space: nowrap; }

.fieldError{
  display:none;
  color: #ff5a5a;
  font: inherit;
  font-size: 13px;
  padding-left: 10px;
}

.is-invalid{
  border-color: rgba(250, 0, 0, 0.65) !important;
}

#contactForm input,
#contactForm textarea{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--ink);
  font: inherit;
  outline: none;
}
#contactForm textarea{
  min-height: 120px;
  resize: vertical;
}
#contactForm input:focus,
#contactForm textarea:focus{
  box-shadow: var(--focus);
}

/* Honeypot invisible */
.hpField{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* Status */
.formStatus{
  display:none;
  padding-left: 10px;
  font: inherit;
  color: var(--ink);
}
.formStatus.is-show{ display:block; }
.formStatus.is-success{
  background: rgba(60, 190, 120, .10);
}
.formStatus.is-error{
  background: rgba(255, 80, 80, .10);
}







/* ==========================================================
   Contact feedback modal (inside form card) — NO BLUR
   ========================================================== */

/* El card ya existe, pero aseguramos contexto para absolute overlay */
#contacto .grid2 > article.card{
  position: relative;
}

.cfm{
  position: absolute;
  inset: 0;
  z-index: 30;

  display: grid;
  place-items: center;
  padding: 16px;

  /* sin blur, solo oscurecido */
  background: rgba(0,0,0,.55);
}

.cfmBox{
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 18px 18px 16px;

  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;

  background: rgba(10, 14, 24, 0.92);
  border: 1px solid rgba(231,240,255,.14);
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
}

/*-------------------------*/
.cfmIcon{
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  position: relative;
  background: none;
  border: none;
}

.cfmIcon svg{
  width: 34px;
  height: 34px;
  display: block;
}

.cfm.is-success .cfmIcon{
  color: #32dc82;
}

.cfm.is-success .cfmIcon svg{
  filter:
          drop-shadow(0 0 6px rgba(50,220,130,.9))
          drop-shadow(0 0 14px rgba(50,220,130,.7));
}

/* ERROR (naranja) */
.cfm.is-error .cfmIcon{
  color: #ff9f1a;
}

.cfm.is-error .cfmIcon svg{
  filter:
          drop-shadow(0 0 6px rgba(255,159,26,.95))
          drop-shadow(0 0 14px rgba(255,159,26,.75));
}


.cfmTitle{
  font-size: 16px;
  font-weight: 750;
  color: rgba(255,255,255,.95);
  margin-bottom: 6px;
}

.cfmText{
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}

.cfmBtn{
  width: fit-content;
}


/* ==========================================================
   Synapticore Glow Icons (Global reusable)
   ========================================================== */

/* Clase base para iconos con glow */
.icon-glow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.icon-glow svg{
  display: block;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

/* NARANJA Synapticore */
.icon-glow--orange{
  color: #ff9f1a;
}

.icon-glow--orange svg{
  filter:
          drop-shadow(0 0 4px rgba(255,159,26,.9))
          drop-shadow(0 0 10px rgba(255,159,26,.75))
          drop-shadow(0 0 18px rgba(255,159,26,.55));
}

/* Verde (por coherencia futura) */
.icon-glow--green{
  color: #32dc82;
}

.icon-glow--green svg{
  filter:
          drop-shadow(0 0 4px rgba(50,220,130,.9))
          drop-shadow(0 0 10px rgba(50,220,130,.75))
          drop-shadow(0 0 18px rgba(50,220,130,.55));
}

.icon-glow--orange svg{
  animation: iconPulse 3.5s ease-in-out infinite;
}


/* =====================================
   Button Spinner (Contact Form)
===================================== */


.btn-send{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Spinner */
.btn-spinner{
  width: 14px;
  height: 14px;
  border-radius: 999px;

  border: 2px solid rgba(255,159,26,.22);
  border-top-color: rgba(255,159,26,1);

  filter:
          drop-shadow(0 0 4px rgba(255,159,26,.9))
          drop-shadow(0 0 10px rgba(255,159,26,.65))
          drop-shadow(0 0 18px rgba(255,159,26,.45));

  animation: synaBtnSpin .75s linear infinite;

  display: none;
}


/* Estado loading */
.btn-send.is-loading{
  opacity: .9;
  pointer-events: none;
}

.btn-send.is-loading .btn-spinner{
  display: inline-block;
}


/* =====================================
   Synapticore Logo Spinner (minimal)
===================================== */

.btn-send{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Logo spinner */
.btn-logo-spinner{
  width: 18px;
  height: 18px;

  background: url("images/logo-Synapticore-alone.png") center / contain no-repeat;

  animation: synaLogoSpin 2.8s linear infinite;

  display: none;
}


/* Estado loading */
.btn-send.is-loading{
  pointer-events: none;
  opacity: .9;
}

.btn-send.is-loading .btn-logo-spinner{
  display: inline-block;
}

#synap_container {
  width: 100% !important;
  height: 100% !important;
}
.synap_chat-input-section {
  border-top: 1px solid #422b7a !important;

}
.synap_welcome-icon{
  background: url(images/logo-Synapticore-alone.png) center / contain no-repeat;
  font-size: 0 !important;
  width: 100%;
  height: 48px;
}

.synap_message-avatar.bot.llm-backup {
  background: #422c77 !important;
  box-shadow: none;

}
.synap_message-avatar.bot {
  /*background: var(--synap-secondary);
  color: var(--synap-white);*/
}
.synap_message-avatar {
  background: url(images/logo-Synapticore-alone.png) center / contain no-repeat;
  font-size: 0 !important;
  width: 32px;
  height: 32px;
}

.synap_message-bubble.bot {
  border: none !important;
}

.synap_message-avatar.bot,
.synap_message-avatar.bot.llm-backup{
  background: url(images/logo-Synapticore-alone.png) center / contain no-repeat !important;
  font-size: 0 !important;

}
.synap_typing-indicator{
  color:orange;
}

.synap_chat-modal {
  background-color: black !important;
}

.synap_chat-send-btn{
  width: 32px !important;
  height: 32px !important;
  background: url(images/fw_avion_trans_white.png) center / contain no-repeat !important;
  font-size: 0 !important;
}






/* HERO video crossfade */
.heroVideo video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 2000ms ease;
  will-change: opacity;
}

.heroVideo video.is-on{
  opacity: 1;
}



/* ==========================================================
   3) MEDIA QUERIES (ordered)
   ========================================================== */

@media (max-width: 980px){
  /* el contenedor debe crecer */
  .heroCarousel{
    height: auto !important;
    overflow: visible !important;
  }

  .heroCarousel .slide{
    position: relative !important;
    inset: auto !important;

    /* ocultamos todos por defecto */
    display: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .heroCarousel .slide.is-active{ display: flex !important; }
  .heroCarousel .slide.is-exit{
    display: none !important;
    transform: translateX(-75vw) scale(.985);
  }

  .navRow--bottom{ display:none; }
  .heroGrid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .links{ display:none; }
  .band{ padding: 40px 0; }
  .cardInner{ padding: 15px; }

  .heroCard__media{
    border-right: 0 !important;
    border-bottom: 1px solid rgba(231,240,255,.10);
  }
  .heroCard__body{ text-align: left; }

  .featuresGrid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px){
  .hero{ min-height: 100svh; }

  /*.heroCard{
    display: flex !important;
    flex-direction: column !important;
    height: 400px;
  }*/
  .heroCard__media{
    width: 100% !important;
    aspect-ratio: auto !important;
  }
  .heroCard__media img{
    width: 100%;
    object-fit: contain;
    display: block;
    background-color: #000000;
  }
  .heroCard__body{ width: 100%; }

  .foot{
    justify-items: start;
  }
  footer .logo{
    width: 120px;
    height: 36px;
    background: url(images/logo-Synapticore-alone.png) center / contain no-repeat;
  }

  .footLinks{ justify-self: start; text-align: left; }
  .footSpacer{ display: none; }

  .synaFab{
    width: 92px;
    height: 92px;
  }
  .synaFab__text{ font-size: 10px; }
  .synaFab::before{ inset:-4px; }
  .synaFab::after { inset:-7px; }

  .claimsCarousel{
    margin-top: 10svh;
    padding-bottom: 64px;
  }
  .ccDesc{ margin-top: 34px; }
  .ccDots{ bottom: -200px; }

  .cookieBar__inner{
    flex-direction: column;
    align-items: stretch;
  }
  .cookieBar__actions{ justify-content: flex-end; }
}

@media (max-width: 720px){
  .ccViewport{
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--cc-radius);
  }
  .ccTrack{
    width: max-content;
    transform: none !important;
    transition: none !important;
    padding-bottom: 6px;
  }
  .ccCard{
    scroll-snap-align: start;
    width: min(92vw, 720px);
  }

  .claimsCarousel{ max-width: 100%; }

  .logo{ width: clamp(180px, 12vw, 170px); }
  .heroCard{
    display: flex !important;
    flex-direction: column !important;
    height: 380px;
  }

  .heroCarousel{ height: 300px; }
  .heroCarousel--section .heroCard{ height: 380px; }

  footer .logo{
    width: 100px;
  }
}

@media (max-width: 480px){
  .logo{
    width: 58px;
    height: 40px;
    background: url(images/logo-Synapticore-alone.png) center / contain no-repeat;
  }

  footer .logo{
    width: 70px;
  }

  .foot{
    justify-items: center;   /* sobrescribe el start */
  }

  .footLinks{
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;     /* centra los links */
    justify-self: center;    /* centra la celda del grid */
    text-align: center;
  }
  .footerCopy{
    margin-top: 20px;
  }

  .brand{ background: none; }
  .btn{ padding: 8px 10px; }
  .btn-support{ padding: 8px 9px; font-size: .9rem; }

  .heroInner > h1{
    animation: none !important;
    text-shadow:none !important;
    margin: 50px 0 0px;
  }

  .synaFab{
    width: 70px;
    height: 70px;
    right: calc(14px + env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .synaFab__text{ display: none; }
  .synaFab__logo{ width: 75%; max-width: 50px; }

  .synaFab::before{ inset:-5px; }
  .synaFab::after { inset:-8px; }

  .featuresGrid{ grid-template-columns: 1fr; }

  .ccDots{ bottom: -180px; }

  .cfmBox{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cfmIcon{ margin: 0 auto; }
  .cfmBtn{ width: 100%; }
  .langMenu{
    right: 0;
    left: auto;
    max-width: 92vw;
    width: max-content;
    min-width: 160px;
  }


  /* Overlay: que no empuje el modal y que sea full-screen */
  .synaModalOverlay{
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
  }

  /* Modal: full-screen real, sin borde ni redondeo */
  .synaModal{
    width: 100vw !important;
    height: 100svh !important;   /* mejor en móvil que 100vh */
    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  /* Contenedor del chat a pantalla completa */
  #synap_container{
    width: 100% !important;
    height: 100% !important;
  }

  /* Aspa: visible, sin dependencia de estilos desktop */
  .synaModal__close{
    display: grid !important;
    place-items: center !important;

    position: fixed !important;
    top: calc(12px + env(safe-area-inset-top)) !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    z-index: 10001 !important;

    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
  }
}

@media (min-width: 721px){
  .synaFab{
    right: calc(26px + env(safe-area-inset-right));
    bottom: calc(26px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce){
  .synaFab, .synaFab::before, .synaFab::after{
    animation: none !important;
  }

  header.top{ transition: none !important; }
  header.top.intro-pre,
  header.top.intro-in{
    opacity: 1 !important;
    transform: none !important;
  }
  .heroInner > h1{ animation: none !important; text-shadow:none !important; }
}
