/* ==========================================================================
   BETIS TRAVEL – Main stylesheet
   --------------------------------------------------------------------------
   1. Design tokens
   2. Base / typography
   3. Layout helpers (container, sections, buttons)
   4. Header + mobile menu
   5. Hero (video background, slider, controls)
   6. About
   7. Incoming Tourism (cards + gallery)
   8. MICE & Corporate Travel
   9. Why Choose Us
   10. Contact
   11. Footer + back-to-top
   12. Reduced motion
   Mobile-first: base rules target small screens, media queries scale up.
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  --color-primary: #ba151b;
  --color-primary-dark: #94110f;
  --color-secondary: #029acc;
  --color-heading: #313131;
  --color-text: #000000;
  --color-white: #ffffff;
  --color-light: #f5f7f9;
  --color-tint: #eef8fc;
  --color-border: #e4e8ec;
  --color-dark: #1c1f22;

  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Typography scale (mobile values, desktop values set in media query) */
  --fs-h1: 32px;
  --fs-h2: 30px;
  --fs-h3: 26px;
  --fs-h4: 22px;
  --fs-body: 18px;
  --lh-body: 1.8;

  /* Spacing – identical for every section */
  --container-max: 1800px;
  --gutter: 20px;
  --section-py: 60px;
  --head-mb: 48px;

  --header-h: 80px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --fs-h1: 40px;
    --fs-h2: 36px;
    --fs-h3: 30px;
    --fs-h4: 24px;
    --gutter: 40px;
    --section-py: 80px;
    --head-mb: 56px;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 60px;
    --header-h: 96px;
  }
}

/* 2. Base / typography
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6em;
}

h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .3s ease;
}
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

figure { margin: 0; }

ul { list-style: none; margin: 0; padding: 0; }

.material-icons-outlined {
  line-height: 1;
  vertical-align: middle;
}

:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 8px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 6px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; color: var(--color-white); }

/* 3. Layout helpers
   ========================================================================== */
.container-fluid {
  max-width: var(--container-max);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-py) 0; }
.section--light { background: var(--color-light); }
.section--tint { background: var(--color-tint); }

.section-head {
  max-width: 820px;
  margin: 0 auto var(--head-mb);
  text-align: center;
}

.section-title { margin-bottom: 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-secondary);
}

/* Primary button */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  background: var(--color-primary);
  border: 0;
  border-radius: 50px;
  transition: background-color .3s ease, transform .3s var(--ease-out), box-shadow .3s ease;
}
.btn-main .material-icons-outlined {
  font-size: 20px;
  transition: transform .3s var(--ease-out);
}
.btn-main:hover,
.btn-main:focus-visible {
  color: var(--color-white);
  background: var(--color-primary-dark);
  box-shadow: 0 10px 24px rgba(186, 21, 27, .3);
}
.btn-main:hover .material-icons-outlined { transform: translateX(4px); }
.btn-main--block { width: 100%; }

/* 4. Header + mobile menu
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  background: transparent;
  transition: background-color .4s ease, box-shadow .4s ease, padding .4s var(--ease-out);
  padding: 16px 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  height: 44px;
  width: auto;
  /* white logo while transparent over the hero */
  filter: brightness(0) invert(1);
  transition: filter .4s ease, height .4s var(--ease-out);
}

.main-menu {
  align-items: center;
  gap: 6px;
}

.menu-link {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
}
.main-menu .menu-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.main-menu .menu-link:hover,
.main-menu .menu-link.is-active { color: var(--color-white); }
.main-menu .menu-link:hover::after,
.main-menu .menu-link.is-active::after { transform: scaleX(1); }

.menu-toggle,
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  transition: color .3s ease, border-color .3s ease, background-color .3s ease;
}
.menu-toggle .material-icons-outlined,
.menu-close .material-icons-outlined { font-size: 26px; }

/* Solid header after scroll */
.site-header.is-scrolled {
  padding: 10px 0;
  background: var(--color-white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}
.site-header.is-scrolled .site-logo img {
  height: 40px;
  filter: none;
}
.site-header.is-scrolled .menu-link { color: var(--color-heading); }
.site-header.is-scrolled .menu-link:hover,
.site-header.is-scrolled .menu-link.is-active { color: var(--color-primary); }
.site-header.is-scrolled .menu-toggle {
  color: var(--color-heading);
  border-color: var(--color-border);
}

@media (min-width: 1200px) {
  .site-header { padding: 22px 0; }
  .site-logo img { height: 52px; }
  .site-header.is-scrolled { padding: 12px 0; }
  .site-header.is-scrolled .site-logo img { height: 44px; }
}
@media (min-width: 1400px) {
  .main-menu { gap: 10px; }
  .menu-link { padding: 8px 14px; }
  .main-menu .menu-link::after { left: 14px; right: 14px; }
}

/* Offcanvas (mobile) */
.mobile-menu {
  --bs-offcanvas-width: min(360px, 88vw);
}
.mobile-menu .offcanvas-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu__logo { height: 38px; width: auto; }
.mobile-menu .menu-close {
  margin-left: auto;
  color: var(--color-heading);
  border-color: var(--color-border);
}
.mobile-menu .offcanvas-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.mobile-menu__list .menu-link {
  padding: 12px 0;
  font-size: 20px;
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu__list .menu-link:hover,
.mobile-menu__list .menu-link.is-active { color: var(--color-primary); }
.mobile-menu__contact {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  font-size: 16px;
}
.mobile-menu__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
}
.mobile-menu__contact .material-icons-outlined { color: var(--color-secondary); }

/* 5. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--color-white);
  background: var(--color-dark) url("../images/hero-poster.jpg") center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

/* --- Background video (cover via scale/crop) --- */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__video.is-ready { opacity: 1; }

.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 box that always covers the hero (like background-size: cover) */
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%) scale(1.8); /* crops the video edges, letterbox bars + YouTube chrome */
  border: 0;
  pointer-events: none;
}

/* --- Per-slide background images (crossfade + slow zoom) --- */
.hero__bgs {
  position: absolute;
  inset: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 8s ease-out;
}
.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, .78) 0%, rgba(10, 14, 18, .45) 55%, rgba(10, 14, 18, .25) 100%),
    linear-gradient(0deg, rgba(10, 14, 18, .7) 0%, rgba(10, 14, 18, 0) 40%);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 40px;
}

.hero__row {
  flex: 1 1 auto;
  align-items: center;
  row-gap: 40px;
}

/* --- Text slider --- */
.hero-slider {
  width: 100%;
  overflow: hidden;
  /* fast start, slow finish */
  --swiper-wrapper-transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slider .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide > * {
  max-width: 820px;
}

.hero-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-white);
}
.hero-slide__eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--color-primary);
}

.hero-slide__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-slide__subtitle {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .88);
}

/* Staggered entrance – re-triggered on every slide change (JS toggles .is-animated) */
.hero-slide .anim {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity .3s ease, transform .3s ease;
}
.hero-slide.is-animated .anim {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
}
.hero-slide.is-animated .anim-1 { transition-delay: .25s; }
.hero-slide.is-animated .anim-2 { transition-delay: .4s; }
.hero-slide.is-animated .anim-3 { transition-delay: .55s; }
.hero-slide.is-animated .anim-4 { transition-delay: .7s; }

/* --- Bottom: controls --- */
.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  transition: background-color .3s ease, border-color .3s ease, transform .3s var(--ease-out);
}
.hero-nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.hero-nav--prev:hover { transform: translateX(-3px); }
.hero-nav--next:hover { transform: translateX(3px); }
.hero-nav.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* Custom pagination: 01 ——— 04 */
.hero-pagination {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
}
.hero-pagination__current { color: var(--color-white); font-size: 20px; }
.hero-pagination__bar {
  position: relative;
  flex: 1 1 auto;
  min-width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}
.hero-pagination__fill {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}

.hero__scroll {
  display: none;
}

@media (min-width: 992px) {
  .hero__inner { padding-bottom: 48px; }
  .hero__bottom {
    flex-direction: row;
    justify-content: flex-end;
  }
  .hero-controls { flex: 0 0 340px; }

  .hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 12px;
    display: inline-flex;
    color: var(--color-white);
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
  }
  .hero__scroll:hover { color: var(--color-secondary); }
}

/* Slide 1 (video only): hide the scroll hint, lighten the overlay */
.hero__overlay,
.hero__scroll {
  transition: opacity .6s ease, visibility .6s ease;
}
.hero-nav {
  transition: background-color .3s ease, border-color .3s ease, transform .3s var(--ease-out),
    opacity .6s ease, visibility .6s ease;
}
.hero.is-video-slide .hero__overlay { opacity: .35; }
.hero.is-video-slide .hero__scroll {
  opacity: 0;
  visibility: hidden;
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* 6. About
   ========================================================================== */
.about__media {
  position: relative;
  max-width: 640px;
}
.about__media img {
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}
.about__badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  padding: 20px 24px;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.3;
}
.about__badge strong {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
}
.about__badge span { font-size: 15px; }

@media (min-width: 992px) {
  .about__badge { right: -24px; bottom: 40px; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats li { line-height: 1.2; }
.stats__num,
.stats__plus {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--color-primary);
}
.stats__label {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--color-text);
}

/* 7. Incoming Tourism
   ========================================================================== */
.service-card {
  height: 100%;
  padding: 36px 30px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  font-size: 32px;
  color: var(--color-white);
  background: var(--color-secondary);
  border-radius: 50%;
}
.service-card__title { margin-bottom: 12px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: var(--head-mb);
}
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery__item--big { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 40px 20px 16px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(0deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
}
.gallery__item:hover img { transform: scale(1.06); }

@media (min-width: 992px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .gallery__item { aspect-ratio: auto; min-height: 240px; }
  .gallery__item--big { grid-column: span 2; grid-row: span 2; }
}

/* 8. MICE & Corporate Travel
   ========================================================================== */
.mice__media {
  position: relative;
  padding-bottom: 60px;
}
.mice__img { display: block; overflow: hidden; border-radius: var(--radius); }
.mice__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.mice__img:hover img { transform: scale(1.05); }
.mice__img--main {
  width: 80%;
  margin-left: auto;
  aspect-ratio: 6 / 7;
}
.mice__img--small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--color-white);
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.feature-list li > .material-icons-outlined {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 28px;
  color: var(--color-primary);
  background: rgba(186, 21, 27, .08);
  border-radius: 50%;
}
.feature-list__title { margin-bottom: 4px; }

/* 9. Why Choose Us
   ========================================================================== */
.why-card {
  position: relative;
  height: 100%;
  padding: 36px 30px;
  background: var(--color-white);
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  transition: border-color .4s ease, transform .4s var(--ease-out), box-shadow .4s ease;
}
.why-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.why-card__icon {
  margin-bottom: 20px;
  font-size: 44px;
  color: var(--color-secondary);
}
.why-card__title { margin-bottom: 12px; }

/* 10. Contact
   ========================================================================== */
.contact-info {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  font-style: normal;
}
.contact-info > a,
.contact-info > span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text);
}
.contact-info > a:hover { color: var(--color-primary); }
.contact-info .material-icons-outlined {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  color: var(--color-white);
  background: var(--color-secondary);
  border-radius: 50%;
}

.contact-form {
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form .form-label {
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-heading);
}
.contact-form .form-control,
.contact-form .form-select {
  padding: 12px 16px;
  font-size: 16px;
  border-color: var(--color-border);
  border-radius: 10px;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 .2rem rgba(2, 154, 204, .2);
}
.contact-form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  color: #1a7f3c;
}

@media (min-width: 768px) {
  .contact-form { padding: 48px; }
}

/* 11. Footer + back-to-top
   ========================================================================== */
.site-footer {
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, .75);
  background: var(--color-dark);
}
.site-footer__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.footer-menu a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
}
.footer-menu a:hover { color: var(--color-secondary); }
.site-footer__copy {
  margin: 40px 0 0;
  padding-top: 24px;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

@media (min-width: 768px) {
  .footer-menu { justify-content: flex-end; }
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1020;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .4s ease, visibility .4s ease, transform .4s var(--ease-out), background-color .3s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover { color: var(--color-white); background: var(--color-primary-dark); }

/* 12. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
