/* =========================================================
   Reina Tech — One-page landing
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --ink: #0c1222;
  --ink-soft: #1a2336;
  --slate: #5c6578;
  --mist: #e8ebe8;
  --paper: #f3f1ec;
  --white: #ffffff;
  --amber: #e8910c;
  --amber-deep: #c47400;
  --smart: #0d7a6f;
  --smart-soft: #e6f4f2;
  --uni: #1e4d8c;
  --uni-soft: #e8eef7;
  --food: #c4452d;
  --food-soft: #f9ebe8;
  --line: rgba(12, 18, 34, 0.1);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body.rt-onepage {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.rt-onepage .page-wrapper {
  overflow: hidden;
}

body.rt-onepage .preloader {
  display: none !important;
}

.rt-container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.rt-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 0.85rem;
}

.rt-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1rem;
}

.rt-lead {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 36rem;
  margin: 0;
}

.rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
}

.rt-btn:hover {
  transform: translateY(-2px);
}

.rt-btn--primary {
  background: var(--amber);
  color: var(--ink) !important;
  border-color: var(--amber);
}

.rt-btn--primary:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
  color: var(--white) !important;
}

.rt-btn--ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.rt-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.rt-btn--outline {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
}

.rt-btn--outline:hover {
  background: var(--ink);
  color: var(--white) !important;
}

.rt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ---------- Reveal motion ---------- */
.rt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.rt-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.rt-reveal-delay-1 { transition-delay: 0.1s; }
.rt-reveal-delay-2 { transition-delay: 0.2s; }
.rt-reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Header ---------- */
.rt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(243, 241, 236, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.rt-header.is-scrolled {
  background: rgba(243, 241, 236, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(12, 18, 34, 0.06);
}

.rt-header__inner {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.rt-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
  flex-shrink: 0;
}

.rt-logo img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.rt-logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.rt-logo__text span {
  color: var(--amber-deep);
}

.rt-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.rt-nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-soft) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.rt-nav a::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.rt-nav a:hover,
.rt-nav a.is-active {
  color: var(--ink) !important;
}

.rt-nav a:hover::after,
.rt-nav a.is-active::after {
  transform: scaleX(1);
}

.rt-header__cta {
  display: none;
}

.rt-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.rt-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.rt-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rt-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.rt-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.rt-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4.5rem;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(232, 145, 12, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(13, 122, 111, 0.22), transparent 50%),
    linear-gradient(155deg, #0a0f1a 0%, #151d30 45%, #0c1222 100%);
}

.rt-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
  animation: rt-grid-drift 28s linear infinite;
  pointer-events: none;
}

@keyframes rt-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-64px, -64px, 0); }
}

.rt-hero__glow {
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -8%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 145, 12, 0.18), transparent 65%);
  filter: blur(20px);
  animation: rt-pulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes rt-pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.12); opacity: 1; }
}

.rt-hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.rt-hero .rt-eyebrow {
  color: var(--amber);
}

.rt-hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  color: var(--white);
}

.rt-hero__brand span {
  color: var(--amber);
}

.rt-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 28ch;
}

.rt-hero .rt-lead {
  color: rgba(255, 255, 255, 0.68);
}

.rt-hero__layout {
  position: relative;
  z-index: 2;
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 3rem;
  align-items: center;
}

.rt-hero__visual {
  position: relative;
  min-height: 500px;
}

.rt-hero-card {
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.38);
  overflow: hidden;
  animation: rt-float-card 7s ease-in-out infinite;
}

.rt-hero-card svg,
.rt-products-nav__media svg,
.rt-product-illustration svg,
.rt-about-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rt-hero-card--smart {
  width: 230px;
  height: 220px;
  top: 22px;
  right: 26px;
}

.rt-hero-card--uni {
  width: 260px;
  height: 220px;
  left: 10px;
  top: 132px;
  animation-delay: -2s;
}

.rt-hero-card--food {
  width: 225px;
  height: 205px;
  right: 52px;
  bottom: 18px;
  animation-delay: -4s;
}

.rt-hero-badge {
  position: absolute;
  left: 24px;
  bottom: 12px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
}

@keyframes rt-float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Section shared ---------- */
.rt-section {
  padding: 6rem 0;
  position: relative;
}

.rt-section--tight {
  padding: 4.5rem 0;
}

.rt-section__head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.rt-section__head .rt-display {
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.rt-section--ink {
  background: var(--ink);
  color: var(--white);
}

.rt-section--ink .rt-display {
  color: var(--white);
}

.rt-section--ink .rt-lead {
  color: rgba(255, 255, 255, 0.65);
}

.rt-section--mist {
  background: var(--mist);
}

/* ---------- Product strip ---------- */
.rt-products-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.rt-product-card {
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid rgba(12, 18, 34, 0.08);
  border-radius: 24px;
  min-height: 100%;
  box-shadow: 0 18px 40px rgba(12, 18, 34, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.rt-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(12, 18, 34, 0.1);
  border-color: rgba(12, 18, 34, 0.14);
}

.rt-products-nav__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.rt-products-nav__media {
  height: 140px;
  margin-bottom: 1.15rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfbf8, #f3efe6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rt-products-nav__desc {
  font-size: 0.9rem;
  color: var(--slate);
  margin: 0;
}

.rt-products-nav__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.rt-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: #f5f2ea;
  border: 1px solid rgba(12, 18, 34, 0.08);
  color: var(--ink) !important;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rt-link-chip:hover {
  transform: translateY(-1px);
  background: #ece7db;
}

.rt-link-chip--primary {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
}

.rt-link-chip--primary:hover {
  background: #161f33;
  color: var(--white) !important;
}

.rt-product-card[data-tone="smart"] .rt-products-nav__label { color: var(--smart); }
.rt-product-card[data-tone="uni"] .rt-products-nav__label { color: var(--uni); }
.rt-product-card[data-tone="food"] .rt-products-nav__label { color: var(--food); }
.rt-product-card[data-tone="smart"] .rt-link-chip--primary { background: var(--smart); border-color: var(--smart); }
.rt-product-card[data-tone="uni"] .rt-link-chip--primary { background: var(--uni); border-color: var(--uni); }
.rt-product-card[data-tone="food"] .rt-link-chip--primary { background: var(--food); border-color: var(--food); }

/* ---------- Product feature ---------- */
.rt-product {
  padding: 6.5rem 0;
  border-top: 1px solid var(--line);
}

.rt-product__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.rt-product__layout--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.rt-product__layout--reverse .rt-product__visual {
  order: -1;
}

.rt-product .rt-display {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.rt-product__tone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.rt-product__tone::before {
  content: '';
  width: 18px;
  height: 2px;
  background: currentColor;
}

.rt-product--smart .rt-product__tone { color: var(--smart); }
.rt-product--uni .rt-product__tone { color: var(--uni); }
.rt-product--food .rt-product__tone { color: var(--food); }

.rt-apps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.rt-apps li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.rt-apps__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.rt-apps__text {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.rt-product__visual {
  position: relative;
  min-height: 400px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}

.rt-product__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.95;
}

.rt-product--smart .rt-product__visual {
  background:
    linear-gradient(145deg, rgba(13, 122, 111, 0.12), transparent 50%),
    var(--smart-soft);
}

.rt-product--uni .rt-product__visual {
  background:
    linear-gradient(145deg, rgba(30, 77, 140, 0.12), transparent 50%),
    var(--uni-soft);
}

.rt-product--food .rt-product__visual {
  background:
    linear-gradient(145deg, rgba(196, 69, 45, 0.12), transparent 50%),
    var(--food-soft);
}

.rt-visual-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.rt-product-illustration {
  width: min(100%, 420px);
  aspect-ratio: 21 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 26px 60px rgba(12, 18, 34, 0.12);
}

.rt-visual-badge {
  position: absolute;
  left: 8%;
  bottom: 12%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  animation: rt-float-card 6s ease-in-out infinite;
}

/* ---------- About ---------- */
.rt-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.rt-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rt-about-art {
  margin-top: 2rem;
  width: min(100%, 520px);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.rt-stats__item {
  background: var(--ink-soft);
  padding: 1.6rem 1.35rem;
}

.rt-stats__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.rt-stats__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ---------- Contact ---------- */
.rt-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.rt-contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.rt-contact-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.rt-contact-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.rt-contact-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 0.25rem;
}

.rt-contact-list span,
.rt-contact-list a {
  color: var(--ink) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.rt-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.rt-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rt-form .form-group {
  margin-bottom: 1rem;
}

.rt-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.rt-form input,
.rt-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rt-form input:focus,
.rt-form textarea:focus {
  border-color: var(--amber);
  background: var(--white);
}

.rt-form textarea {
  min-height: 140px;
  resize: vertical;
}

.rt-form .alert {
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.rt-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 4.5rem;
}

.rt-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-footer__brand {
  max-width: 280px;
}

.rt-footer__brand .rt-logo__text {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.rt-footer__brand p {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.rt-footer h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 1.1rem;
}

.rt-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rt-footer li + li {
  margin-top: 0.55rem;
}

.rt-footer a {
  color: rgba(255, 255, 255, 0.68) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.rt-footer a:hover {
  color: var(--amber) !important;
}

.rt-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.35rem 0;
  font-size: 0.88rem;
}

.rt-social {
  display: flex;
  gap: 0.5rem;
}

.rt-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white) !important;
}

.rt-social a:hover {
  border-color: var(--amber);
  color: var(--amber) !important;
}

/* Hide legacy footer subscribe when onepage uses its own */
body.rt-onepage .subscribe-section,
body.rt-onepage .main-footer,
body.rt-onepage .main-header,
body.rt-onepage .scroll-to-top {
  display: none !important;
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) {
  .rt-header__cta {
    display: inline-flex;
  }
}

@media (max-width: 991px) {
  .rt-nav-toggle {
    display: inline-flex;
  }

  .rt-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(243, 241, 236, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .rt-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .rt-nav a {
    padding: 0.9rem 1rem;
  }

  .rt-nav a::after {
    display: none;
  }

  .rt-hero {
    align-items: center;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 3.5rem;
  }

  .rt-hero__layout {
    grid-template-columns: 1fr;
  }

  .rt-hero__brand {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .rt-hero__visual {
    min-height: 380px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .rt-products-nav,
  .rt-product__layout,
  .rt-product__layout--reverse,
  .rt-about-grid,
  .rt-contact-grid,
  .rt-footer__grid,
  .rt-form__row,
  .rt-apps li {
    grid-template-columns: 1fr;
  }

  .rt-product__layout--reverse .rt-product__visual {
    order: 0;
  }

  .rt-product__visual {
    min-height: 300px;
  }

  .rt-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .rt-container,
  .rt-header__inner,
  .rt-hero__content {
    width: calc(100% - 1.5rem);
  }

  .rt-section,
  .rt-product {
    padding: 4rem 0;
  }

  .rt-products-nav {
    grid-template-columns: 1fr;
  }

  .rt-stats {
    grid-template-columns: 1fr;
  }

  .rt-footer__grid {
    grid-template-columns: 1fr;
  }

  .rt-logo img {
    height: 40px;
  }

  .rt-hero__visual {
    min-height: 300px;
  }

  .rt-hero-card--smart {
    width: 180px;
    height: 170px;
    right: 10px;
    top: 8px;
  }

  .rt-hero-card--uni {
    width: 200px;
    height: 168px;
    left: 0;
    top: 90px;
  }

  .rt-hero-card--food {
    width: 175px;
    height: 160px;
    right: 26px;
    bottom: 10px;
  }

  .rt-hero-badge {
    left: 8px;
    right: 8px;
    bottom: 0;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rt-reveal,
  .rt-hero__grid,
  .rt-hero__glow,
  .rt-visual-badge,
  .rt-hero-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
