/* ==========================================================================
   Tekugo — Design system
   ========================================================================== */

:root {
  --navy-950: #081426;
  --navy-900: #0b1e35;
  --navy-800: #102a48;
  --navy-700: #163a60;
  --blue-600: #3f6a8e;
  --blue-500: #5081aa;
  --teal-500: #5081aa;
  --teal-600: #5081aa;
  --teal-700: #3f6a8e;
  --teal-400: #7099bd;
  --gold-500: #c9a24b;

  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #e1e7ee;
  --gray-300: #cbd5e0;
  --gray-500: #7c8a9a;
  --gray-600: #566374;
  --gray-700: #3c4753;
  --gray-900: #16212c;

  --white: #ffffff;

  --font-head: "Arial Paneuropean", Arial, Helvetica, sans-serif;
  --font-body: "Arial Paneuropean", Arial, Helvetica, sans-serif;
  --font-serif: "Arial Paneuropean", Arial, Helvetica, sans-serif;
  --font-mono: "Arial Paneuropean", Arial, Helvetica, sans-serif;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 30, 53, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 30, 53, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 30, 53, 0.16);
  --header-h: 100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--gray-700); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

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

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal-500);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: normal; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.section-head p { color: var(--gray-600); font-size: 1.02rem; }
.section-head.left { margin-left: 0; text-align: left; }

.pad { padding: 96px 0; }
.pad-sm { padding: 64px 0; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--teal-700); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.9); }
.btn-outline {
  background: transparent;
  border-color: var(--gray-300);
  color: var(--navy-900);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* Nav ---------------------------------------------------------------------*/
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(11, 30, 53, 0.08);
  transition: box-shadow .25s ease, height .25s ease;
}
.nav.is-scrolled {
  box-shadow: 0 6px 24px rgba(11, 30, 53, 0.14);
  height: 92px;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 72px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--gray-700);
  transition: background .18s ease, color .18s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--gray-100); color: var(--navy-900); }

/* Lado derecho en dos filas: idioma + CTA arriba, redes sociales debajo
   ocupando ese mismo ancho. */
.nav-right { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.nav-right-top { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }

.nav-social { display: flex; align-items: center; justify-content: space-between; }
.nav-social a {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  transition: color .18s ease, background .18s ease;
}
.nav-social a svg { width: 16px; height: 16px; stroke: currentColor; }
.nav-social a:hover { color: var(--teal-600); background: var(--gray-100); }

/* Franja estrecha antes del menú hamburguesa: se oculta el CTA porque el
   menú ya incluye "Contacto" y si no, se desborda del contenedor. */
@media (max-width: 1080px) {
  .nav-cta { display: none; }
}

.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 400;
  font-family: var(--font-body);
  border-radius: 999px;
  color: var(--gray-600);
}
.lang-switch a.active { background: var(--navy-900); color: var(--white); }
.lang-switch a:hover:not(.active) { color: var(--navy-900); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--navy-900);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-social { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 46px; }
  .nav-right { gap: 8px; }
  .lang-switch a { padding: 5px 7px; font-size: 0.7rem; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    gap: 2px;
  }
  .nav.is-open .nav-links a { padding: 12px 14px; }
}

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 100px;
  background: radial-gradient(1100px 560px at 82% -10%, rgba(80,129,170,0.16), transparent 60%),
              linear-gradient(160deg, var(--white) 0%, var(--gray-50) 55%, var(--white) 100%);
  overflow: hidden;
  color: var(--navy-900);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,30,53,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,30,53,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 460px at 78% 20%, black, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: normal;
  color: var(--navy-900);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-700);
}
.hero p.lead {
  color: var(--gray-600);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--navy-900);
}
.hero-stats .stat span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.hero-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 620px;
}
.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1.6 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  opacity: 0;
  transition: opacity .7s ease;
}
.carousel-slide.is-active { opacity: 1; }
.carousel-caption {
  margin: 16px 4px 0;
  font-size: 0.86rem;
  color: var(--gray-600);
  min-height: 2.6em;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dots .dot.is-active {
  background: var(--teal-600);
  transform: scale(1.35);
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { order: -1; max-width: 460px; }
}

/* Trust strip ------------------------------------------------------------ */
.trust {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 0;
}
.trust .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trust-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--gray-600);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.trust-logos { display: flex; align-items: center; gap: 42px; flex-wrap: wrap; }
.trust-logos img { height: 40px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter .2s ease, opacity .2s ease; }
.trust-logos img:hover { filter: grayscale(0); opacity: 1; }
.trust-logos .chip {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-300);
  padding: 8px 16px;
  border-radius: 999px;
}

/* Video --------------------------------------------------------------- */
.video-section { background: var(--white); }
.video-frame {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.video-el { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy-950); }
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(8, 20, 38, 0.5);
  border: 0;
  cursor: pointer;
  color: var(--white);
}
.video-play-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .18s ease;
}
.video-play-icon svg { width: 24px; height: 24px; margin-left: 3px; }
.video-play:hover .video-play-icon { transform: scale(1.06); }
.video-play-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.video-play.is-hidden { display: none; }

/* Feature / why cards ------------------------------------------------------ */
.features { background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.icon-tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  margin-bottom: 20px;
}
.icon-tile svg { width: 24px; height: 24px; stroke: var(--white); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.94rem; margin-bottom: 0; }

/* Services ---------------------------------------------------------------- */
.services { background: var(--gray-50); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .icon-tile { background: var(--teal-600); }
.service-card h3 { font-size: 1.14rem; margin-bottom: 12px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-card li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.45;
}
.service-card li svg {
  width: 16px; height: 16px;
  stroke: var(--teal-500);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Stats / impact ----------------------------------------------------------*/
.impact {
  background: var(--white);
  color: var(--navy-900);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.impact .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.impact h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: normal; color: var(--navy-900); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.impact p { color: var(--gray-600); }
.impact-bars { display: flex; flex-direction: column; gap: 26px; }
.impact-row { display: flex; align-items: center; gap: 20px; }
.impact-pct {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.9rem;
  width: 90px;
  flex-shrink: 0;
  color: var(--navy-900);
}
.impact-bar {
  flex: 1;
  height: 12px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}
.impact-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--teal-600);
  transition: width 1.4s cubic-bezier(.16,.84,.44,1);
}
.impact-bar.alt span { background: var(--gold-500); }
.impact-caption { font-size: 0.88rem; color: var(--gray-500); margin-top: 4px; }
@media (max-width: 900px) {
  .impact .container { grid-template-columns: 1fr; gap: 34px; }
}

/* Team ---------------------------------------------------------------- */
.team { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.team-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  background: var(--gray-50);
}
.team-top { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--gray-200);
}
.team-top h3 { margin-bottom: 2px; font-size: 1.12rem; }
.team-role { font-size: 0.86rem; color: var(--teal-500); font-weight: 400; font-family: var(--font-body); }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.team-tags span {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 5px 11px;
  border-radius: 999px;
}
.team-card p { font-size: 0.94rem; color: var(--gray-600); }
.team-card details summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--blue-600);
  list-style: none;
  margin-top: 6px;
}
.team-card details summary::-webkit-details-marker { display: none; }
.team-card details summary::after { content: " →"; }
.team-card details[open] summary::after { content: " ↑"; }
.team-card details p { margin-top: 14px; }

@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

/* Events -------------------------------------------------------------- */
.events { background: var(--gray-50); }
.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(11,30,53,0.2); }
.event-card img { width: 100%; height: auto; display: block; }
.events-foot { text-align: center; margin-top: 32px; }

/* Contact ----------------------------------------------------------------*/
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: border-color .2s ease, transform .2s ease;
}
.contact-card:hover { border-color: var(--teal-500); transform: translateY(-2px); }
.contact-card .icon-tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0; flex-shrink: 0; }
.contact-card .icon-tile svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 0.92rem; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  height: 100%;
  min-height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Footer ------------------------------------------------------------------*/
.site-footer {
  background: var(--gray-50);
  color: var(--gray-600);
  border-top: 1px solid var(--gray-200);
  padding: 76px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--gray-200);
}
.footer-grid img.logo-mark { height: 54px; margin-bottom: 16px; display: block; }
.footer-grid p { color: var(--gray-600); font-size: 0.92rem; }
.footer-grid h5 {
  color: var(--navy-900);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 0.92rem; color: var(--gray-600); transition: color .18s ease; }
.footer-grid a:hover { color: var(--blue-600); }
.footer-grid li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.92rem; color: var(--gray-600); }
.footer-grid li svg { width: 15px; height: 15px; stroke: var(--teal-500); flex-shrink: 0; margin-top: 3px; }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.social-row a svg { width: 16px; height: 16px; stroke: var(--navy-900); transition: stroke .18s ease; }
.social-row a:hover { background: var(--teal-500); border-color: var(--teal-500); transform: translateY(-2px); }
.social-row a:hover svg { stroke: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.84rem;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Responsive grids ---------------------------------------------------------*/
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Reveal-on-scroll ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Back to top --------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 998;
  cursor: pointer;
  border: 0;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; stroke: white; }
