/* ==========================================================================
   Riverlux Yacht & Jet — statikus build
   Design forrás: riverlux.hu (Ark / Fresh Framework) rekonstrukció
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Betűtípus
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Design tokenek
   -------------------------------------------------------------------------- */

:root {
  --brand: #00bcd4;
  --brand-hover: #4ed7e8;
  --red: #d40000;

  --ink: #34343c;          /* címsorok */
  --text: #606060;         /* folyó szöveg */
  --dark: #141414;         /* sötét szekciók */
  --dark-alt: #1b1b1b;     /* galéria szekció */
  --grey: #dedede;         /* programok szekció */
  --border: #cdcdcd;

  --header-h: 125px;
  --header-h-shrink: 70px;
  --header-h-mobile: 90px;

  --container: 1170px;
  --container-small: 750px;
  --gutter: 15px;

  --section-pad: 40px;
  --section-pad-lg: 70px;
}

/* --------------------------------------------------------------------------
   3. Alapok
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h-shrink);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover,
a:focus { color: var(--brand-hover); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 15px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
}

p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }

/* A böngésző alapértelmezett 1em/40px margói itt nem kellenek */
figure,
blockquote { margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
}

/* --------------------------------------------------------------------------
   4. Elrendezés — konténer, szekció, ferde (slant) háttérrétegek
   -------------------------------------------------------------------------- */

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

.container--small { max-width: var(--container-small); }
.container--fluid { max-width: none; }
.container--flush { padding: 0; }

.section {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
}

.section__inner { position: relative; z-index: 1; }

.section--dark { background: var(--dark); }
.section--dark-alt { background: var(--dark-alt); }
.section--grey { background: var(--grey); }

.section--dark,
.section--dark-alt,
.section--photo { color: rgba(255, 255, 255, .85); }

.section--dark h1, .section--dark h3, .section--dark h4 { color: #fff; }

/* Szekciócímsor: „A RIVERLUX élmény” — cián, középre, félkövér márkanévvel */
.section__title {
  margin: 0 0 var(--section-pad);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--brand);
  text-align: center;
}

.section__title strong { font-weight: 700; }

@media (min-width: 992px) {
  .section { padding: var(--section-pad-lg) 0 80px; }
  .section--tight-bottom { padding-bottom: var(--section-pad-lg); }
  .section--no-bottom { padding-bottom: 0; }
  /* az eredetin is 40px, nem 70/80 */
  .section--services { padding: var(--section-pad) 0; }
  .section__title { margin-bottom: 80px; }
  .section--services .section__title { margin-bottom: 40px; }
}

/* Háttérfotó-réteg (parallax helyett fix, hogy mobilon se ugráljon) */
.section__photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--photo-dim, .3);
}

/* Ferde sarokháromszögek.
   Az eredeti builder CSS-border trükköt használt: a vízszintes befogó
   tan(szög) * szekciómagasság. Ugyanez itt aspect-ratióval, egzaktul. */
.slant {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.slant::before,
.slant::after {
  content: '';
  position: absolute;
  height: 100%;
  background: var(--slant-color, rgba(0, 0, 0, .6));
}

/* bal felső háromszög — az eredeti „edge: left, direction: up” */
.slant::before {
  top: 0;
  left: 0;
  aspect-ratio: var(--slant-left, 1);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* jobb alsó háromszög — az eredeti „edge: right, direction: up” */
.slant::after {
  top: 0;
  right: 0;
  aspect-ratio: var(--slant-right, 1);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* --------------------------------------------------------------------------
   5. Gombok
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 11px 26px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 0;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover,
.btn:focus {
  color: #fff;
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn--block { display: block; width: 100%; }

/* --------------------------------------------------------------------------
   6. Fejléc
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  transition: box-shadow .3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo {
  display: block;
  padding: 22.5px 0;
  line-height: 0;
  transition: padding .4s cubic-bezier(.7, 1, .7, 1);
}

.header__logo img {
  width: auto;
  height: 45px;
  transition: height .4s cubic-bezier(.7, 1, .7, 1);
}

.header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  font-size: 22px;
  background: none;
  border: 0;
  cursor: pointer;
}

.header__nav { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus,
.nav__link.is-active { color: var(--brand); }

.nav__langs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.nav__lang img {
  display: block;
  width: 16px;
  height: auto;
}

.nav__lang[aria-current='true'] { opacity: 1; }
.nav__lang:not([aria-current='true']) { opacity: .55; }
.nav__lang:hover { opacity: 1; }

/* A tartalmat a fix fejléc alá toljuk */
.header-spacer { height: var(--header-h-mobile); }

@media (min-width: 992px) {
  .header__toggle { display: none; }
  .header__nav { display: block; }
  .header__logo { padding: 22.5px 0; }
  .header__logo img { height: 80px; }
  .header-spacer { height: var(--header-h); }

  .header.is-shrunk .header__logo { padding: 12.5px 0; }
  .header.is-shrunk .header__logo img { height: 45px; }
}

/* Mobil menü */
@media (max-width: 991px) {
  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    transition: max-height .3s ease;
  }

  .header__nav.is-open { max-height: 80vh; overflow-y: auto; }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .nav__link { padding: 12px var(--gutter); }

  .nav__langs {
    margin: 4px var(--gutter) 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
  }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  --photo-dim: .3;
  --slant-color: rgba(0, 0, 0, .3);
  --slant-left: 1;            /* 45° */
  --slant-right: 0.5774;      /* 30° */
  padding: 80px 0 100px;
  color: #fff;
}

.hero__grid { display: grid; }

.hero__title {
  margin: 0 0 40px;
  font-size: 35px;
  font-weight: 300;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

.hero__title strong {
  font-weight: 700;
  color: var(--red);
}

.hero__lead {
  margin: 0 0 80px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

/* A hero alján kilógó, a szekcióéllel elvágott márkanév.
   A szekcióhoz képest pozicionált, ezért a hero közvetlen gyermeke. */
.hero__watermark {
  display: none;
  position: absolute;
  z-index: 1;
  bottom: -40px;
  left: 0;
  right: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 160px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 50px;
  color: #fff;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .hero {
    padding-top: 250px;
    padding-bottom: 150px; /* helyet hagy a lap aljára lógó márkanévnek */
  }

  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { text-align: left; }
  .hero__lead {
    margin-bottom: 24px;
    font-size: 18px;
    text-align: left;
  }
  .hero__watermark { display: block; }
}

/* --------------------------------------------------------------------------
   8. „A RIVERLUX élmény” — ikonos szolgáltatáslista
   -------------------------------------------------------------------------- */

.brandmark {
  display: block;
  width: 250px;
  max-width: 100%;
  margin: 0 auto 30px;
}

.services__grid { display: grid; }

/* A képoszlop a szövegoszlop magasságához igazodik, hogy ne maradjon holt tér */
.services__media { display: none; }

.services__media img {
  display: block;
  width: 100%;
}

.services__body { min-width: 0; }

.services__lead { margin-bottom: 40px; }

.services__mobile-img {
  display: block;
  width: 100%;
  margin-bottom: 30px;
}

.services__boxes {
  display: grid;
  gap: 30px 30px;
}

.services__actions {
  margin-top: 40px;
  text-align: center;
}

.iconbox {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.iconbox__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 55px;
  height: 55px;
  font-size: 24px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}

.iconbox__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink);
}

.iconbox__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

@media (min-width: 768px) {
  .services__boxes { grid-template-columns: 1fr 1fr; }
  .services__boxes .iconbox--wide { grid-column: 1 / -1; }
}

@media (min-width: 992px) {
  .services__grid {
    grid-template-columns: 40% 1fr;
    gap: 50px;
  }
  .services__mobile-img { display: none; }

  /* A három kép abszolút rétegben tölti ki az oszlopot, így a szövegoszlop
     határozza meg a szekció magasságát. */
  .services__media {
    display: block;
    position: relative;
  }

  .services__media-inner {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .services__media img {
    height: 100%;
    object-fit: cover;
  }
}

/* --------------------------------------------------------------------------
   9. Csúszkák (galéria + élménybeszámolók)
   -------------------------------------------------------------------------- */

.slider {
  --slide-gap: 30px;
  position: relative;
}

.slider__viewport {
  display: flex;
  gap: var(--slide-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider__viewport::-webkit-scrollbar { display: none; }

/* Egérrel húzható csúszka (érintésen a natív görgetés viszi) */
.slider__viewport[data-slider-drag] { cursor: grab; }

.slider__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}

.slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 44px;
  padding: 0;
  font-size: 18px;
  color: #fff;
  background: rgba(0, 0, 0, .5);
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease;
}

.slider__nav:hover { background: var(--brand); }
.slider__nav[disabled] { opacity: .3; cursor: default; }
.slider__nav--prev { left: 0; }
.slider__nav--next { right: 0; }

/* Galéria */
.gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
}

.gallery .slider__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 850 / 566;
  object-fit: cover;
  transition: opacity .2s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img { opacity: .85; }

@media (min-width: 768px) {
  .gallery .slider__slide { flex-basis: calc((100% - var(--slide-gap)) / 2); }
}

@media (min-width: 992px) {
  .gallery .slider__slide { flex-basis: calc((100% - 2 * var(--slide-gap)) / 3); }
}

/* --------------------------------------------------------------------------
   10. Programkártyák
   -------------------------------------------------------------------------- */

.programs__grid {
  display: grid;
  gap: 30px;
}

.program {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program__img {
  display: block;
  width: 100%;
  aspect-ratio: 500 / 350;
  object-fit: cover;
}

.program__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 0 30px;
  text-align: center;
  background: #fff;
}

.program__header { padding: 30px 30px 0; }

.program__title {
  margin: 0 0 5px;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}

.program__subtitle {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  color: var(--text);
}

.program__list {
  flex: 1;
  margin: 30px 0;
  border-top: 1px solid #ebeef6;
}

.program__list li {
  padding: 11px 20px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid #ebeef6;
}

.program__actions { padding: 0 30px; }

@media (min-width: 992px) {
  .programs__grid { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   11. Élménybeszámolók
   -------------------------------------------------------------------------- */

.testimonials { --photo-dim: .8; }

/* A kártyák szorosabban állnak, mint a galériaképek */
.testimonials .slider {
  --slide-gap: 20px;
  margin-top: 40px;
}

.testimonial {
  height: 100%;
  padding: 20px;
  background: #fff;
}

.testimonial__head {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 10px;
}

.testimonial__avatar {
  flex: none;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__name {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}

.testimonial__role {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  color: var(--brand);
}

.testimonial__quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

@media (min-width: 992px) {
  .testimonials .slider__slide { flex-basis: calc((100% - var(--slide-gap)) / 2); }
}

/* --------------------------------------------------------------------------
   12. Flotta
   -------------------------------------------------------------------------- */

.fleet__item { display: grid; }

.fleet__item + .fleet__item { margin-top: 40px; }

.fleet__img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.fleet__specs { padding: 20px var(--gutter) 40px; }

.spec-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 3px 0;
  font-size: 15px;
  color: var(--text);
}

.spec-list .icon {
  font-size: 13px;
  color: var(--brand);
  transform: translateY(1px);
}

@media (min-width: 992px) {
  .fleet__item { grid-template-columns: 1fr 1fr; }

  /* Fix képmagasság, mellette függőlegesen középre igazított specifikáció */
  .fleet__img {
    height: 420px;
    aspect-ratio: auto;
  }

  .fleet__specs {
    align-self: center;
    padding: 0 0 0 50px;
  }
}

/* --------------------------------------------------------------------------
   13. Ellenőrzőlista („Az ajánlatkérés menete”)
   -------------------------------------------------------------------------- */

.steps { max-width: 820px; margin: 0 auto; }

.steps li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}

.steps .icon {
  font-size: 13px;
  color: #fff;
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   14. Ajánlatkérő űrlap
   -------------------------------------------------------------------------- */

.contact__intro {
  margin-bottom: 15px;
  text-align: center;
}

.form__grid {
  display: grid;
  gap: 0 30px;
}

.form__field { margin-bottom: 20px; }

.form__control {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  transition: border-color .2s ease;
}

.form__control::placeholder { color: var(--text); opacity: 1; }
.form__control:focus { border-color: var(--brand); outline: none; }

textarea.form__control { min-height: 118px; resize: vertical; }

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 14px;
}

.form__consent input { margin-top: 4px; flex: none; }

.form__message {
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 15px;
  border: 1px solid;
}

.form__message[hidden] { display: none; }
.form__message--ok { color: #3c763d; background: #fff; border-color: #ebeef6; }
.form__message--error { color: #a94442; background: #fff; border-color: #ebeef6; }

@media (min-width: 992px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .form__col--right { display: flex; flex-direction: column; }
}

/* --------------------------------------------------------------------------
   15. Lábléc
   -------------------------------------------------------------------------- */

.footer {
  padding-top: var(--section-pad);
  padding-bottom: 30px;
  text-align: center;
}

.footer__title {
  margin: 0 0 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand);
}

.footer__contact { padding: 0 var(--gutter); }

.footer__lead {
  margin: 0 0 30px;
  font-size: 16px;
  font-weight: 400;
}

.footer .footer__details {
  margin: 0 0 100px;
  font-size: 16px;
}

.footer__details strong { font-weight: 500; }

.footer__legal {
  margin: 0;
  font-size: 16px;
}

.footer__legal a { color: var(--brand); }

@media (min-width: 768px) {
  .footer { padding-top: 60px; }
  .footer__title { font-size: 24px; }
  .footer__contact { padding: 0 40px; }
}

@media (min-width: 992px) {
  .footer { padding-top: var(--section-pad-lg); }
}

/* --------------------------------------------------------------------------
   16. Lightbox (galéria nagyítás)
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  background: rgba(0, 0, 0, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  margin: 0 auto;
  object-fit: contain;
}

.lightbox__caption {
  margin: 16px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
}

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 0;
  cursor: pointer;
  transition: background .2s ease;
}

.lightbox__btn:hover { background: var(--brand); }

.lightbox__nav {
  top: 50%;
  width: 44px;
  height: 60px;
  font-size: 22px;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

.lightbox__close {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  text-align: center;
}

@media (min-width: 768px) {
  .lightbox { padding: 70px 80px 80px; }
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
}

/* --------------------------------------------------------------------------
   17. Vissza a tetejére
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 16px;
  color: #fff;
  background: var(--brand);
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease, background .2s ease;
}

.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand-hover); }

/* --------------------------------------------------------------------------
   18. Szöveges aloldal (Adatkezelési tájékoztató)
   -------------------------------------------------------------------------- */

.page-back {
  padding: 20px 0;
  font-size: 15px;
}

.legal {
  padding: 40px 0 60px;
  background: #f5f5f5;
}

.legal__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.legal h1 {
  margin: 0 0 40px;
  font-size: 28px;
  color: var(--brand);
  text-align: center;
}

.legal h2 {
  margin: 40px 0 15px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}

.legal p {
  margin: 0 0 15px;
  font-size: 15px;
  line-height: 1.7;
}

.legal strong { font-weight: 500; color: var(--ink); }

@media (min-width: 992px) {
  .legal { padding: 60px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider__viewport { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
