/**
 * Rossitech — full site stylesheet
 *
 * Link from any page:
 *   <link rel="stylesheet" href="/rossitech.css" />
 *
 * Required page shell (full site):
 *   <main class="site-preview-root">
 *     <div class="wf-assembled-hero-shell" data-wf-section="hero">…</div>
 *     <div class="site-section-wf site-section-wf--coordinated" data-wf-section="…">
 *       <div class="wf-section-body">…section root…</div>
 *     </div>
 *   </main>
 *
 * Optional scroll animations — add before </head>:
 *   <script>document.documentElement.classList.add("wf-anim-js");</script>
 *   plus the wf-reveal script from final_site_preview.html
 *
 * Asset paths use root-absolute /input/ URLs.
 */

@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Syne:wght@400;500;600;700;800&display=swap");

/* Design tokens — use when adding new sections to match the site */
:root {
  --rt-bg-primary: #0A0F1E;
  --rt-bg-secondary: #0D1530;
  --rt-bg-tertiary: #111827;
  --rt-bg-card: #1A2235;
  --rt-bg-hero: #0a0e1a;
  --rt-accent: #6B8CFF;
  --rt-accent-light: #A0B4FF;
  --rt-text-primary: #FFFFFF;
  --rt-text-muted: rgba(255, 255, 255, 0.65);
  --rt-text-subtle: rgba(255, 255, 255, 0.55);
  --rt-text-faint: rgba(255, 255, 255, 0.40);
  --rt-border: rgba(255, 255, 255, 0.12);
  --rt-border-hover: rgba(160, 180, 255, 0.35);
  --rt-divider-section: #222836;
  --rt-container-max: 1320px;
  --rt-container-padding: 48px;
  --rt-section-padding-y: 96px;
  --rt-font-display: "Syne", sans-serif;
  --rt-font-body: "Albert Sans", sans-serif;
  --rt-font-label: "Albert Sans", sans-serif;
  --rt-font-hero: "Syne", sans-serif;
  --rt-glow-text: 0 0 20px rgba(180, 210, 255, 0.35);
  --rt-glow-accent: 0 0 12px rgba(160, 180, 255, 0.5);
  --rt-shadow-card: 0 8px 48px rgba(0, 0, 0, 0.60), 0 0 32px rgba(100, 140, 255, 0.15);
  --rt-radius-sm: 6px;
  --rt-radius-md: 12px;
  --rt-radius-lg: 14px;
  --rt-cta-primary-url: "https://wa.me/447356262456";
  --rt-whatsapp: #25d366;
  --rt-whatsapp-dark: #1da851;
  --rt-gallery-aspect: 3420 / 1962;
  --rt-about-photo-aspect: 1290 / 2335;
  --rt-about-photo-width: 280px;
}

/* preview shell */
html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.site-section-wf[id] {
  scroll-margin-top: 12px;
}
body {
  margin: 0;
  overscroll-behavior: none;
  font-family: var(--rt-font-body);
}
.site-preview-root {
  display: block;
}

/* Keep hero/nav appearance stable even if sections toggle page theme/color-scheme. */
.wf-assembled-hero-shell,
.wf-assembled-hero-shell * {
  color-scheme: normal !important;
}

/* Hide common model-added fixed “Press D / light–dark” hint UI; document-level key handlers still run */
.site-preview-root [aria-label*="Press D" i],
.site-preview-root [aria-label*="press d" i],
.site-preview-root [title*="Press D" i],
.site-preview-root [title*="light/dark" i],
.site-preview-root [title*="light / dark" i],
.site-preview-root [data-theme-toggle],
.site-preview-root [data-wf-theme-hint],
.site-preview-root .wf-theme-toggle-chip {
  display: none !important;
}

/* === scroll reveal animations === */
/*
 * wf-anim-js is added to <html> before body renders.
 * JS marks targets with .wf-reveal + data-wf-reveal variant + --wf-reveal-delay.
 * Without JS, content stays fully visible.
 */
@keyframes wf-reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wf-reveal-up-lg {
  from {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wf-reveal-left {
  from {
    opacity: 0;
    transform: translate3d(-24px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wf-reveal-right {
  from {
    opacity: 0;
    transform: translate3d(24px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wf-reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wf-reveal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

html.wf-anim-js .site-preview-root .wf-reveal:not(.wf-reveal--in) {
  opacity: 0;
  pointer-events: none;
}

html.wf-anim-js .site-preview-root .wf-reveal:not(.wf-reveal--in)[data-wf-reveal="up"] {
  transform: translate3d(0, 28px, 0);
}

html.wf-anim-js .site-preview-root .wf-reveal:not(.wf-reveal--in)[data-wf-reveal="up-lg"] {
  transform: translate3d(0, 36px, 0);
}

html.wf-anim-js .site-preview-root .wf-reveal:not(.wf-reveal--in)[data-wf-reveal="left"] {
  transform: translate3d(-24px, 0, 0);
}

html.wf-anim-js .site-preview-root .wf-reveal:not(.wf-reveal--in)[data-wf-reveal="right"] {
  transform: translate3d(24px, 0, 0);
}

html.wf-anim-js .site-preview-root .wf-reveal:not(.wf-reveal--in)[data-wf-reveal="scale"] {
  transform: scale(0.96);
}

html.wf-anim-js .site-preview-root .wf-reveal--in {
  pointer-events: auto;
}

html.wf-anim-js .site-preview-root .wf-reveal--in[data-wf-reveal="up"] {
  animation: wf-reveal-up var(--wf-reveal-duration, 0.82s) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--wf-reveal-delay, 0ms);
}

html.wf-anim-js .site-preview-root .wf-reveal--in[data-wf-reveal="up-lg"] {
  animation: wf-reveal-up-lg var(--wf-reveal-duration, 0.95s) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--wf-reveal-delay, 0ms);
}

html.wf-anim-js .site-preview-root .wf-reveal--in[data-wf-reveal="left"] {
  animation: wf-reveal-left var(--wf-reveal-duration, 0.78s) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--wf-reveal-delay, 0ms);
}

html.wf-anim-js .site-preview-root .wf-reveal--in[data-wf-reveal="right"] {
  animation: wf-reveal-right var(--wf-reveal-duration, 0.78s) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--wf-reveal-delay, 0ms);
}

html.wf-anim-js .site-preview-root .wf-reveal--in[data-wf-reveal="scale"] {
  animation: wf-reveal-scale var(--wf-reveal-duration, 0.88s) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--wf-reveal-delay, 0ms);
}

html.wf-anim-js .site-preview-root .wf-reveal--in[data-wf-reveal="fade"] {
  animation: wf-reveal-fade var(--wf-reveal-duration, 0.65s) ease both;
  animation-delay: var(--wf-reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html.wf-anim-js .site-preview-root .wf-reveal:not(.wf-reveal--in) {
    opacity: 1;
    pointer-events: auto;
  }

  html.wf-anim-js .site-preview-root .wf-reveal--in[data-wf-reveal] {
    animation: none !important;
  }
}

/* === hero_final.css === */
.wf-hero {
  font-family: var(--rt-font-body);
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.wf-hero__body {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0a0e1a;
}

.wf-hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url(/input/hero_reference.jpg);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.wf-hero__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.wf-hero__nav {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.wf-hero__nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1340px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  margin-top: 18px;
  padding: 10px 28px;
  background: rgba(10, 14, 30, 0.55);
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}

.wf-hero__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wf-hero__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wf-hero__logo-img {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

.wf-hero__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.wf-hero__logo-name {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--rt-font-display);
}

.wf-hero__logo-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-family: var(--rt-font-body);
}

.wf-hero__nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wf-hero__nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.wf-hero__nav-links a:hover {
  color: #ffffff;
}

.wf-hero__nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  max-width: 100%;
  padding: 11px 28px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.wf-hero__nav-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
}

.wf-hero__content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 32px 28px 88px 20px;
  box-sizing: border-box;
}

.wf-hero__headline,
.wf-hero__subtext,
.wf-hero__actions {
  max-width: 500px;
}

.wf-hero__headline {
  container-type: inline-size;
  max-width: min(500px, 100%);
  font-size: clamp(1.15rem, calc(100cqw / 11.5), 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 24px 0;
  text-transform: uppercase;
  font-family: var(--rt-font-display);
}

.wf-hero__headline-line {
  display: block;
  white-space: nowrap;
}

.wf-hero__headline-line--mobile {
  display: none;
}

.wf-hero__subtext {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  margin: 0 0 42px 0;
  font-weight: 400;
  font-family: var(--rt-font-body);
}

.wf-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.wf-hero__btn-primary {
  display: inline-block;
  padding: 18px 42px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 8px;
  color: #ffffff;
  background: transparent;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--rt-font-display);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.wf-hero__btn-primary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
}

.wf-hero__btn-link {
  color: rgba(255,255,255,0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.97rem;
  font-style: italic;
  font-family: var(--rt-font-body);
  transition: color 0.2s;
}

.wf-hero__btn-link:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .wf-hero__nav-links {
    display: none;
  }

  .wf-hero__nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
  }

  .wf-hero__logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  .wf-hero__nav-cta {
    margin-left: auto;
    padding: clamp(8px, 1.8vw, 11px) clamp(10px, 3.5vw, 28px);
    font-size: clamp(0.68rem, 2.8vw, 0.88rem);
    letter-spacing: clamp(0.04em, 0.5vw, 0.1em);
  }
}

@media (max-width: 600px) {
  .wf-hero__nav-inner {
    justify-content: center;
  }

  .wf-hero__logo {
    justify-content: center;
    max-width: 100%;
  }

  .wf-hero__nav-cta {
    display: none;
  }
}

@media (max-width: 500px) {
  .wf-hero__content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wf-hero__logo-img {
    height: 44px;
  }

  .wf-hero__logo-name {
    font-size: 1.05rem;
  }

  .wf-hero__logo-sub {
    font-size: 0.64rem;
  }
}

/* Web Foundation: hero concept image as section background */
.wf-hero__body {
  position: relative;
}
.wf-hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/input/hero_reference.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 940px) {
  .wf-hero__bg-image {
    background-image: url("/input/mobilebg.jpeg");
    background-position: top center;
    background-size: cover;
  }

  .wf-hero__overlay {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 42%,
      rgba(10, 14, 26, 0.5) 68%,
      rgba(10, 14, 26, 0.92) 100%
    );
  }

  .wf-hero__content {
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    max-width: none;
    padding: 24px 24px 48px;
  }

  .wf-hero__headline,
  .wf-hero__subtext,
  .wf-hero__actions {
    max-width: none;
    width: 100%;
  }

  .wf-hero__headline {
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    font-size: clamp(1.375rem, calc(100cqw / 9.5), 2.25rem);
    text-shadow:
      0 2px 20px rgba(0, 0, 0, 0.7),
      0 1px 3px rgba(0, 0, 0, 0.85);
  }

  .wf-hero__headline-line {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .wf-hero__headline-line--mobile {
    display: none;
  }

  .wf-hero__subtext {
    text-align: center;
  }

  .wf-hero__actions {
    align-items: center;
  }
}

.wf-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.wf-hero__nav,
.wf-hero__content,
.wf-hero__text-col,
.wf-hero__tablet-preview {
  position: relative;
  z-index: 2;
}

/* === assembled preview layer (hero bg, sections, rhythm, responsive non-hero) === */
/* ========== Assembled preview: coordinated rest-of-site (variant CSS owns section backgrounds) ========== */
.site-preview-root {
  min-height: auto;
  background: #fff;
}

.wf-assembled-hero-shell {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-section-wf {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-top: none;
  background: transparent;
  color: inherit;
}

.site-section-wf.site-section-wf--coordinated {
  border-top: 1px solid var(--rt-divider-section);
}
@media (max-width: 900px) {
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) {
    padding-left: max(0rem, env(safe-area-inset-left, 0px));
    padding-right: max(0rem, env(safe-area-inset-right, 0px));
  }

  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) img,
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) video,
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) svg {
    max-width: 100%;
    height: auto;
  }

  .site-section-wf--coordinated[data-wf-section="footer"] .footer-section-v1 .brand-logo {
    height: 48px;
    width: auto;
    max-width: 48px;
  }

  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) {
    min-width: 0;
  }

  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) [style*="display:grid"],
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) [style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }

  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) [style*="flex-direction:row"],
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) [style*="flex-direction: row"] {
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) button,
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) .button,
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) a[class*="btn"],
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) a[class*="cta"] {
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }
}

/* === about_v1.css === */
.about-section-v1 {
  background: #0A0F1E;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(100, 130, 200, 0.15) 0%, transparent 50%),
    linear-gradient(90deg, rgba(100, 130, 200, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(100, 130, 200, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.about-section-v1 .about-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.about-section-v1 .about-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.about-section-v1 .about-headline {
  font-family: var(--rt-font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 32px;
  display: block;
}

.about-section-v1 .about-accent {
  color: #6B8CFF;
  text-shadow: 0 0 20px rgba(180, 210, 255, 0.35);
}

.about-section-v1 .about-body p {
  font-family: var(--rt-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}

.about-section-v1 .about-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}

.about-section-v1 .stat-item {
  text-align: center;
}

.about-section-v1 .stat-number {
  font-family: var(--rt-font-display);
  font-size: 32px;
  font-weight: 700;
  color: #A0B4FF;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(180, 210, 255, 0.35);
}

.about-section-v1 .stat-label {
  font-family: var(--rt-font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
}

.about-section-v1 .about-image {
  position: relative;
  width: var(--rt-about-photo-width);
  max-width: 100%;
  aspect-ratio: var(--rt-about-photo-aspect);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: #0d1220;
}

.about-section-v1 .about-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-section-v1 .image-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(160, 180, 255, 0.15) 0%, transparent 70%);
  border-radius: 24px;
  z-index: -1;
}

@media (max-width: 1024px) {
  .about-section-v1 .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about-section-v1 .about-image {
    width: min(var(--rt-about-photo-width), 72vw);
    margin-inline: auto;
  }
  
  .about-section-v1 .about-stats {
    justify-content: center;
  }
}

/* === services_v1.css === */
.services-section-v1 {
  background: #0D1530;
  background-image: radial-gradient(circle at 50% 50%, rgba(160, 180, 255, 0.05) 0%, transparent 70%);
  padding: 96px 0;
  position: relative;
}

.services-section-v1 .services-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.services-section-v1 .services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-section-v1 .services-title {
  font-family: var(--rt-font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.services-section-v1 .services-intro {
  font-family: var(--rt-font-body);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 720px;
  margin: 0 auto;
}

.services-section-v1 .services-list {
  max-width: 900px;
  margin: 0 auto;
}

.services-section-v1 .service-band {
  position: relative;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
}

.services-section-v1 .service-band:last-child {
  border-bottom: none;
}

.services-section-v1 .service-band:hover .band-accent,
.services-section-v1 .service-band:active .band-accent,
.services-section-v1 .service-band.service-band--active .band-accent,
.services-section-v1 .service-band:focus-within .band-accent {
  opacity: 1;
  transform: scaleY(1);
}

.services-section-v1 .band-content {
  flex: 1;
  min-width: 0;
  padding-left: 24px;
  transition: transform 0.3s ease;
}

.services-section-v1 .service-band:hover .band-content,
.services-section-v1 .service-band:active .band-content,
.services-section-v1 .service-band.service-band--active .band-content,
.services-section-v1 .service-band:focus-within .band-content {
  transform: translateX(6px);
}

.services-section-v1 .service-title {
  font-family: var(--rt-font-label);
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.services-section-v1 .service-desc {
  font-family: var(--rt-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  text-wrap: pretty;
  hanging-punctuation: first last;
}

.services-section-v1 .band-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #6B8CFF 0%, #A0B4FF 100%);
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(160, 180, 255, 0.5);
}

/* Keep hover accent behaviour if scroll-reveal classes are ever applied */
.services-section-v1 .band-accent.wf-reveal,
.services-section-v1 .band-accent.wf-reveal--in {
  animation: none !important;
  opacity: 0;
  transform: scaleY(0);
}

@media (max-width: 768px) {
  .services-section-v1 .services-header {
    margin-bottom: 48px;
  }
  
  .services-section-v1 .service-band {
    padding: 32px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

/* === gallery_v1.css === */
.gallery-section-v1 {
  background: #111827;
  padding: 96px 0;
  position: relative;
}

.gallery-section-v1 .gallery-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.gallery-section-v1 .gallery-header {
  text-align: center;
  margin-bottom: 80px;
}

.gallery-section-v1 .gallery-title {
  font-family: var(--rt-font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.gallery-section-v1 .gallery-intro {
  font-family: var(--rt-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 720px;
  margin: 0 auto;
}

.gallery-section-v1 .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-section-v1 .gallery-card {
  position: relative;
  display: block;
  border-radius: var(--rt-radius-md);
  overflow: hidden;
  background: var(--rt-bg-card);
  border: 1px solid var(--rt-border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-section-v1 .gallery-card.gallery-card--more {
  display: none !important;
}

.gallery-section-v1 .gallery-card.gallery-card--more.gallery-card--visible {
  display: block !important;
}

.gallery-section-v1 .gallery-card:hover {
  border-color: var(--rt-border-hover);
  box-shadow: var(--rt-shadow-card);
  transform: translateY(-4px);
}

.gallery-section-v1 .gallery-card__media {
  position: relative;
  aspect-ratio: var(--rt-gallery-aspect);
  overflow: hidden;
  line-height: 0;
  background: #0d1220;
}

.gallery-section-v1 .gallery-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0) 0%,
    rgba(10, 15, 30, 0.08) 50%,
    rgba(10, 15, 30, 0.88) 100%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-section-v1 .gallery-card:hover .gallery-card__media::after {
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.05) 0%,
    rgba(10, 15, 30, 0.35) 45%,
    rgba(10, 15, 30, 0.96) 100%
  );
}

.gallery-section-v1 .gallery-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-section-v1 .gallery-card:hover .gallery-card__image {
  transform: scale(1.02);
}

.gallery-section-v1 .gallery-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-section-v1 .gallery-card__tag {
  font-family: var(--rt-font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rt-accent-light);
}

.gallery-section-v1 .gallery-card__title {
  font-family: var(--rt-font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--rt-text-primary);
  margin: 0;
  line-height: 1.15;
}

.gallery-section-v1 .gallery-card__url {
  font-family: var(--rt-font-body);
  font-size: 13px;
  color: var(--rt-text-muted);
}

.gallery-section-v1 .gallery-card__cta {
  font-family: var(--rt-font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rt-accent);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease;
}

.gallery-section-v1 .gallery-card:hover .gallery-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.gallery-section-v1 .gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.gallery-section-v1 .gallery-see-more {
  font-family: var(--rt-font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rt-text-primary);
  background: transparent;
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-sm);
  padding: 14px 32px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.gallery-section-v1 .gallery-see-more:hover {
  border-color: var(--rt-accent);
  color: var(--rt-accent);
  background: rgba(107, 140, 255, 0.06);
}

@media (max-width: 768px) {
  .gallery-section-v1 .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section-v1 .gallery-card__cta {
    opacity: 1;
    transform: none;
  }
}

/* === cta_v1.css === */
.cta-section-v1 {
  background: var(--rt-bg-primary);
  padding: 112px 0 120px;
  position: relative;
  overflow: hidden;
}

.cta-section-v1::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(107, 140, 255, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(37, 211, 102, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(160, 180, 255, 0.15) 0%, transparent 45%);
  pointer-events: none;
}

.cta-section-v1 .cta-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}

.cta-section-v1 .cta-panel {
  position: relative;
  padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(26, 34, 53, 0.92) 0%, rgba(10, 15, 30, 0.96) 100%);
  border: 1px solid rgba(160, 180, 255, 0.22);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 60px rgba(107, 140, 255, 0.12);
  overflow: hidden;
}

.cta-section-v1 .cta-panel__aurora {
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(
    from 200deg at 50% 50%,
    rgba(37, 211, 102, 0.18) 0deg,
    rgba(107, 140, 255, 0.28) 120deg,
    rgba(160, 180, 255, 0.12) 240deg,
    rgba(37, 211, 102, 0.18) 360deg
  );
  opacity: 0.55;
  filter: blur(48px);
  animation: cta-aurora-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.cta-section-v1 .cta-panel__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.55) 0%,
    rgba(107, 140, 255, 0.35) 35%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(107, 140, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

@keyframes cta-aurora-drift {
  from { transform: translate(-3%, -2%) rotate(0deg); }
  to   { transform: translate(3%, 2%) rotate(8deg); }
}

.cta-section-v1 .cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section-v1 .cta-eyebrow {
  display: inline-block;
  font-family: var(--rt-font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rt-accent-light);
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(160, 180, 255, 0.28);
  background: rgba(107, 140, 255, 0.1);
}

.cta-section-v1 .cta-headline {
  font-family: var(--rt-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--rt-text-primary);
  margin: 0 0 20px;
  display: block;
}

.cta-section-v1 .headline-accent {
  display: block;
  color: var(--rt-accent);
  text-shadow: var(--rt-glow-text);
}

.cta-section-v1 .cta-text {
  font-family: var(--rt-font-body);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: var(--rt-text-muted);
  margin: 0 auto 36px;
  max-width: 560px;
}

.cta-section-v1 .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-section-v1 .cta-button {
  font-family: var(--rt-font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-section-v1 .cta-button--primary {
  background: linear-gradient(135deg, var(--rt-whatsapp) 0%, var(--rt-whatsapp-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow:
    0 8px 32px rgba(37, 211, 102, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  min-width: min(100%, 280px);
  font-size: 14px;
  padding: 18px 32px;
}

.cta-section-v1 .cta-button--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(37, 211, 102, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.cta-section-v1 .cta-button__icon {
  flex-shrink: 0;
}

.cta-section-v1 .cta-button--secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.88);
}

.cta-section-v1 .cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(160, 180, 255, 0.4);
  transform: translateY(-1px);
}

.cta-section-v1 .cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section-v1 .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-section-v1 .trust-icon {
  font-size: 8px;
  color: var(--rt-accent);
  text-shadow: var(--rt-glow-text);
}

.cta-section-v1 .trust-text {
  font-family: var(--rt-font-body);
  font-size: 13px;
  color: var(--rt-text-subtle);
}

@media (max-width: 768px) {
  .cta-section-v1 {
    padding: 80px 0 88px;
  }

  .cta-section-v1 .cta-container {
    padding: 0 20px;
  }

  .cta-section-v1 .cta-panel {
    padding: 32px 20px;
  }

  .cta-section-v1 .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
  }

  .cta-section-v1 .cta-button {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: clamp(10px, 2.85vw, 13px);
    letter-spacing: 0.05em;
    gap: 8px;
  }

  .cta-section-v1 .cta-button--primary {
    padding: 15px 16px;
    font-size: clamp(11px, 3vw, 14px);
  }

  .cta-section-v1 .cta-button__icon {
    width: 18px;
    height: 18px;
  }

  .cta-section-v1 .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .cta-section-v1 .cta-container {
    padding: 0 16px;
  }

  .cta-section-v1 .cta-panel {
    padding: 28px 16px;
  }

  .cta-section-v1 .cta-button {
    padding: 13px 12px;
    font-size: clamp(9px, 2.65vw, 12px);
    letter-spacing: 0.04em;
  }

  .cta-section-v1 .cta-button--primary {
    padding: 14px 12px;
    font-size: clamp(10px, 2.8vw, 13px);
  }
}

/* === footer_v1.css === */
.footer-section-v1 {
  background: #111827;
  padding: 80px 0 40px;
  position: relative;
}

.footer-section-v1 .footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer-section-v1 .footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-section-v1 .brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 56px;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-section-v1 .brand-description {
  font-family: var(--rt-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 300px;
}

.footer-section-v1 .group-title {
  font-family: var(--rt-font-label);
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-section-v1 .group-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section-v1 .footer-link {
  font-family: var(--rt-font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section-v1 .footer-link:hover {
  color: #A0B4FF;
}

.footer-section-v1 .contact-title {
  font-family: var(--rt-font-label);
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-section-v1 .contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-section-v1 .contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-section-v1 .contact-label {
  font-family: var(--rt-font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
}

.footer-section-v1 .contact-value {
  font-family: var(--rt-font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section-v1 .contact-value:hover {
  color: #A0B4FF;
}

.footer-section-v1 .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-section-v1 .footer-bottom__start {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-section-v1 .footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.footer-section-v1 .footer-legal__btn {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--rt-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section-v1 .footer-legal__btn:hover {
  color: var(--rt-accent-light);
}

.footer-section-v1 .footer-legal__sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
  user-select: none;
}

.footer-section-v1 .footer-copyright {
  font-family: var(--rt-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
}

.footer-section-v1 .footer-tagline {
  font-family: var(--rt-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
  font-style: italic;
}

@media (max-width: 1024px) {
  .footer-section-v1 .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .footer-section-v1 .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-section-v1 .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-section-wf--coordinated[data-wf-section="footer"] .footer-section-v1 .brand-logo {
    height: 44px;
    width: auto;
    max-width: 44px;
  }
  
  .footer-section-v1 .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-section-v1 .footer-bottom__start {
    align-items: center;
  }

  .footer-section-v1 .footer-legal {
    justify-content: center;
  }
}

/* === legal modals (footer privacy / terms) === */
html.rt-legal-modal-open {
  overflow: hidden;
}

.rt-legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
}

.rt-legal-modal[hidden] {
  display: none;
}

.rt-legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 15, 0.88);
  backdrop-filter: blur(6px);
}

.rt-legal-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  max-height: min(85vh, 820px);
  border: 1px solid rgba(140, 190, 255, 0.45);
  border-radius: 4px;
  background: rgba(8, 12, 22, 0.97);
  box-shadow:
    inset 0 0 40px rgba(100, 150, 255, 0.06),
    0 0 48px rgba(80, 130, 220, 0.22);
  animation: rt-legal-modal-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rt-legal-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rt-legal-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) 0;
  flex-shrink: 0;
}

.rt-legal-modal__title {
  margin: 0;
  font-family: var(--rt-font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rt-text-primary);
  text-shadow: var(--rt-glow-text);
}

.rt-legal-modal__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(140, 190, 255, 0.35);
  border-radius: 4px;
  background: rgba(10, 15, 30, 0.8);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.rt-legal-modal__close:hover {
  border-color: rgba(170, 210, 255, 0.75);
  color: var(--rt-accent-light);
  background: rgba(13, 21, 48, 0.9);
}

.rt-legal-modal__body {
  overflow-y: auto;
  padding: clamp(16px, 2.5vw, 24px) clamp(20px, 3vw, 28px) clamp(24px, 3vw, 32px);
  font-family: var(--rt-font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--rt-text-muted);
}

.rt-legal-modal__body p {
  margin: 0 0 1em;
}

.rt-legal-modal__body p:last-child {
  margin-bottom: 0;
}

.rt-legal-modal__body h3 {
  margin: 1.5em 0 0.65em;
  font-family: var(--rt-font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rt-accent-light);
}

.rt-legal-modal__body h3:first-child {
  margin-top: 0;
}

.rt-legal-modal__updated {
  margin-bottom: 1.25em !important;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--rt-text-faint);
}

.rt-legal-modal__body a {
  color: var(--rt-accent-light);
  text-decoration: none;
  transition: color 0.25s ease;
}

.rt-legal-modal__body a:hover {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .rt-legal-modal__dialog {
    animation: none;
  }
}

/* === cookie consent banner === */
.rt-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483645;
  padding: clamp(12px, 2.5vw, 20px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rt-cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 28px);
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 22px) clamp(18px, 3vw, 28px);
  border: 1px solid rgba(140, 190, 255, 0.45);
  border-radius: 4px;
  background: rgba(8, 12, 22, 0.96);
  box-shadow:
    inset 0 0 40px rgba(100, 150, 255, 0.06),
    0 0 48px rgba(80, 130, 220, 0.22);
}

.rt-cookie-banner__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--rt-font-body);
  font-size: clamp(0.78rem, 1.4vw, 0.88rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}

.rt-cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px;
}

.rt-cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: var(--rt-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.rt-cookie-banner__btn--primary {
  border: 1px solid rgba(160, 180, 255, 0.55);
  background: rgba(13, 21, 48, 0.9);
  color: #ffffff;
}

.rt-cookie-banner__btn--primary:hover {
  border-color: rgba(170, 210, 255, 0.85);
  color: var(--rt-accent-light);
  box-shadow: 0 0 20px rgba(100, 150, 255, 0.18);
}

.rt-cookie-banner__btn--ghost {
  border: 1px solid rgba(140, 190, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.rt-cookie-banner__btn--ghost:hover {
  border-color: rgba(170, 210, 255, 0.65);
  color: var(--rt-accent-light);
}

@media (max-width: 768px) {
  .rt-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .rt-cookie-banner__actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rt-cookie-banner {
    transition: none;
  }
}

/* === cross-page fade transition === */
.rt-page-fade-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: #06080f;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.rt-page-fade-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .rt-page-fade-overlay {
    transition: none;
    will-change: auto;
  }
}

/* === domain gateway (index.html) === */
.rt-gateway {
  margin: 0;
  min-height: 100vh;
  color: var(--rt-text-primary);
  font-family: var(--rt-font-body);
  background: #06080f;
}

.rt-gateway__atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(80, 130, 220, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 20% 20%, rgba(100, 140, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(100, 140, 255, 0.08) 0%, transparent 35%),
    linear-gradient(180deg, #06080f 0%, #0a101c 45%, #06080f 100%);
}

.rt-gateway__atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 15% 70%, rgba(160, 190, 255, 0.35) 0%, transparent 2px),
    radial-gradient(circle at 35% 40%, rgba(160, 190, 255, 0.25) 0%, transparent 1.5px),
    radial-gradient(circle at 55% 65%, rgba(160, 190, 255, 0.3) 0%, transparent 2px),
    radial-gradient(circle at 75% 35%, rgba(160, 190, 255, 0.28) 0%, transparent 1.5px),
    radial-gradient(circle at 88% 58%, rgba(160, 190, 255, 0.32) 0%, transparent 2px);
  background-size: 100% 100%;
}

.rt-gateway__main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vh, 48px);
  padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 32px);
  box-sizing: border-box;
  overflow: visible;
}

.rt-gateway__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rt-gateway__brand-icon {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

.rt-gateway__brand-name {
  font-family: var(--rt-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rt-gateway__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  width: min(1120px, 100%);
  overflow: visible;
}

.rt-gateway__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  overflow: visible;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px) clamp(24px, 3vw, 32px);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.25s ease, z-index 0s;
}

.rt-gateway__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 4px;
  border: 1px solid rgba(140, 190, 255, 0.45);
  background: rgba(8, 12, 22, 0.72);
  box-shadow:
    inset 0 0 40px rgba(100, 150, 255, 0.06),
    0 0 32px rgba(80, 130, 220, 0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.rt-gateway__panel:hover {
  z-index: 3;
  transform: translateY(-2px);
}

.rt-gateway__panel:hover::before {
  border-color: rgba(170, 210, 255, 0.75);
  box-shadow:
    inset 0 0 48px rgba(120, 170, 255, 0.1),
    0 0 48px rgba(100, 150, 255, 0.22);
}

.rt-gateway__panel-title {
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  font-family: var(--rt-font-display);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.rt-gateway__visual {
  width: 100%;
  max-width: min(320px, 42vw);
  aspect-ratio: 1 / 1;
  margin-bottom: clamp(16px, 2.5vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: clamp(20px, 3vw, 32px);
  box-sizing: content-box;
  filter: drop-shadow(0 0 24px rgba(180, 210, 255, 0.35));
  transition: filter 0.5s ease;
}

.rt-gateway__visual-img {
  display: block;
  width: 72%;
  height: 72%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-gateway__panel:hover .rt-gateway__visual {
  filter: drop-shadow(0 0 40px rgba(180, 210, 255, 0.5));
}

.rt-gateway__panel:hover .rt-gateway__visual-img {
  transform: scale(1.3);
}

.rt-gateway__panel-desc {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(0.72rem, 1.25vw, 0.82rem);
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 768px) {
  .rt-gateway__main {
    justify-content: flex-start;
    padding-top: clamp(32px, 8vh, 56px);
  }

  .rt-gateway__panels {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .rt-gateway__visual {
    max-width: 260px;
  }

  .rt-gateway__panel:hover .rt-gateway__visual-img {
    transform: scale(1.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rt-gateway__visual,
  .rt-gateway__visual-img,
  .rt-gateway__panel:hover .rt-gateway__visual-img {
    transition: none;
    transform: none;
    filter: none;
  }
}
