/* ==========================================================================
   TECHMATIC SYSTEMS - Retail Technology Solutions
   --------------------------------------------------------------------------
   The supplied design (Styles/retail.css and the parts of Styles/effects.css
   this page uses), moved under .tmrt with every class prefixed rt-, so
   nothing here touches the theme's header, footer or other pages.

   Sizes are in px, not rem: the theme changes the root font size. They are
   the supplied sizes at 16px to the rem.

   ON THE LIVE THEME. The theme styles bare elements (p, h1-h6, a, ul), and
   the site prints an extra rule that sets p and h1-h6 to Montserrat. The
   "base" block below states family, weight, size, line height and colour for
   those elements, so they come out as on the supplied page.

   LEFT OUT: the supplied header, navigation, footer, WhatsApp and back-to-top
   styles (the theme supplies those), and the "why choose", "industries" and
   "stats" styles, which this page has no markup for.

   CONTENTS
     1. Base
     2. Hero and buttons
     3. Section headings
     4. Services
     5. Partners
     6. Call to action
     7. Scroll progress bar
     8. Reveal on scroll
     9. Smaller screens
   ========================================================================== */

/* ---- 1. Base ------------------------------------------------------------ */
.tmrt {
  --rt-primary: #933a43;
  --rt-secondary: #bd3d3d;
  --rt-accent: #212529;
  --rt-dark: #0f172a;
  --rt-light: #f8fafc;
  --rt-text: #334155;
  --rt-header-h: 85px;                /* the theme's fixed header; retail-main.js measures the real one */

  position: relative;
  padding-top: var(--rt-header-h);
  overflow: hidden;
  background: #fff;
  color: var(--rt-text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.tmrt *, .tmrt *::before, .tmrt *::after { margin: 0; padding: 0; box-sizing: border-box; }
.tmrt h1, .tmrt h2, .tmrt h3, .tmrt h4, .tmrt p, .tmrt li, .tmrt a, .tmrt span { font-family: inherit; font-style: normal; }
.tmrt h1, .tmrt h2, .tmrt h3, .tmrt h4 { font-weight: 700; line-height: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.tmrt h1 { font-size: 32px; }
.tmrt h2 { font-size: 24px; }
.tmrt h3 { font-size: 18.72px; }
.tmrt h4 { font-size: 16px; }
.tmrt p { font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
.tmrt ul { list-style: none; }
.tmrt a { text-decoration: none; }
.tmrt a:hover, .tmrt a:focus { text-decoration: none; }
.tmrt img { border: 0; }
.tmrt :focus-visible { outline: 2px solid var(--rt-secondary); outline-offset: 3px; }
.tmrt .rt-hero :focus-visible, .tmrt .rt-cta :focus-visible, .tmrt .rt-content :focus-visible { outline-color: #fff; }

.tmrt section { padding: 80px 32px; }

/* ---- 2. Hero and buttons ------------------------------------------------ */
.tmrt .rt-hero {
  background: linear-gradient(135deg, var(--rt-primary) 0%, var(--rt-accent) 100%);
  color: #fff;
  padding: 96px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tmrt .rt-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}
.tmrt .rt-hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.tmrt .rt-hero h1 { font-size: 56px; margin-bottom: 16px; font-weight: 700; line-height: 1.2; color: #fff; }
.tmrt .rt-hero p { font-size: 19.2px; margin-bottom: 40px; opacity: 0.9; line-height: 1.8; }
.tmrt .rt-hero .rt-subtitle { font-size: 24px; margin-bottom: 24px; opacity: 0.95; }

.tmrt .rt-cta-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.tmrt .rt-btn-primary, .tmrt .rt-btn-secondary {
  padding: 19.2px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  font-size: 17.6px;
  line-height: 1.6;
}
.tmrt .rt-btn-primary { background: #fff; color: var(--rt-primary); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.tmrt .rt-btn-primary:hover, .tmrt .rt-btn-primary:focus { color: var(--rt-primary); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.tmrt .rt-btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.tmrt .rt-btn-secondary:hover, .tmrt .rt-btn-secondary:focus { background: #fff; color: var(--rt-primary); }

/* ---- 3. Section headings ------------------------------------------------ */
.tmrt .rt-section-title { text-align: center; font-size: 44.8px; color: var(--rt-primary); margin-bottom: 16px; font-weight: 700; }
.tmrt .rt-section-subtitle { text-align: center; font-size: 19.2px; color: #64748b; margin: 0 auto 64px; max-width: 800px; }

/* ---- 4. Services --------------------------------------------------------- */
.tmrt .rt-services { background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); position: relative; overflow: hidden; }
.tmrt .rt-services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(147, 58, 67, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(189, 61, 61, 0.03) 0%, transparent 50%);
  animation: rt-float-bg 15s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rt-float-bg {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

/* The supplied grid asked for columns at least 500px wide, which ran off the
   side of any screen narrower than that: min() lets a column be the screen's
   width when 500px will not fit. */
.tmrt .rt-services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
  gap: 48px;
  position: relative;
  z-index: 1;
}

.tmrt .rt-service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform;
}
.tmrt .rt-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--rt-primary), var(--rt-secondary), var(--rt-primary));
  background-size: 200% auto;
  animation: rt-shimmer 3s linear infinite;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
@keyframes rt-shimmer { to { background-position: 200% center; } }
.tmrt .rt-service-card:hover::before { transform: scaleX(1); }
.tmrt .rt-service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 25px 70px rgba(147, 58, 67, 0.15),
    0 10px 30px rgba(189, 61, 61, 0.1),
    0 0 60px rgba(147, 58, 67, 0.05);
}
.tmrt .rt-service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(147, 58, 67, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.tmrt .rt-service-card:hover::after { opacity: 1; }
@media (hover: none) {
  .tmrt .rt-service-card:hover { transform: none !important; }
}

.tmrt .rt-service-image {
  display: inline;
  vertical-align: baseline;
  width: 100%;
  max-width: none;
  height: 280px;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.tmrt .rt-service-card:hover .rt-service-image { transform: scale(1.1); filter: brightness(1.1); }

.tmrt .rt-service-content { padding: 48px; position: relative; }
.tmrt .rt-service-content h3 {
  color: var(--rt-primary);
  font-size: 30.4px;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  transition: all 0.3s;
}
.tmrt .rt-service-card:hover .rt-service-content h3 { transform: translateX(10px); }
.tmrt .rt-service-content h3::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rt-secondary), transparent);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tmrt .rt-service-card:hover .rt-service-content h3::after { width: 100%; }
.tmrt .rt-service-content p { color: #64748b; margin-bottom: 24px; line-height: 1.9; font-size: 16.8px; transition: color 0.3s; }
.tmrt .rt-service-card:hover .rt-service-content p { color: #475569; }
.tmrt .rt-service-content h4 {
  color: var(--rt-primary);
  font-size: 20.8px;
  margin-top: 32px;
  margin-bottom: 19.2px;
  font-weight: 700;
  position: relative;
  padding-left: 16px;
}
.tmrt .rt-service-content h4::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--rt-secondary), var(--rt-primary));
  border-radius: 2px;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tmrt .rt-service-card:hover .rt-service-content h4::before { height: 100%; }

.tmrt .rt-service-features { list-style: none; padding: 0; }
.tmrt .rt-service-features li {
  padding: 12.8px 0;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  line-height: 1.7;
  opacity: 0;
  transform: translateX(-20px);
  animation: rt-slide-in-left 0.5s ease forwards;
}
@keyframes rt-slide-in-left { to { opacity: 1; transform: translateX(0); } }
.tmrt .rt-service-features li:nth-child(1) { animation-delay: 0.1s; }
.tmrt .rt-service-features li:nth-child(2) { animation-delay: 0.2s; }
.tmrt .rt-service-features li:nth-child(3) { animation-delay: 0.3s; }
.tmrt .rt-service-features li:nth-child(4) { animation-delay: 0.4s; }
.tmrt .rt-service-features li:nth-child(5) { animation-delay: 0.5s; }
.tmrt .rt-service-features li:nth-child(6) { animation-delay: 0.6s; }
.tmrt .rt-service-features li::before {
  content: "\2713";
  color: var(--rt-secondary);
  font-weight: bold;
  font-size: 22.4px;
  flex-shrink: 0;
  margin-top: 1.6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(189, 61, 61, 0.1), rgba(147, 58, 67, 0.1));
  transition: all 0.3s;
}
.tmrt .rt-service-card:hover .rt-service-features li { animation: none; opacity: 1; transform: translateX(5px); }
.tmrt .rt-service-card:hover .rt-service-features li::before {
  background: linear-gradient(135deg, var(--rt-secondary), var(--rt-primary));
  color: #fff;
  transform: scale(1.1) rotate(360deg);
}

/* "Learn More". On the supplied page a rule for every link inside a card
   (.service-card a) outranked this link's own colour and display, so it shows
   in the card's text colour, as a line of its own; the same is kept here. */
.tmrt .rt-view-service {
  display: block;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 16.8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 24px;
}
.tmrt .rt-view-service::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rt-secondary), var(--rt-primary));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--rt-secondary);
}
.tmrt .rt-view-service:hover, .tmrt .rt-view-service:focus { color: inherit; text-shadow: 0 0 20px rgba(189, 61, 61, 0.5); }
.tmrt .rt-view-service:hover::after { width: 100%; }

/* ---- 5. Partners --------------------------------------------------------- */
.tmrt .rt-solutions { background: #fff; }
.tmrt .rt-solution-container { max-width: 2500px; margin: 0 auto; position: relative; }
.tmrt .rt-solution { position: relative; min-height: 500px; margin: 160px 0; overflow: visible; }

/* The supplied page gave each half a fixed 50% and would not let either
   shrink, so with the 48px gap the pair was 48px wider than its row and sat
   off-centre. Here each half is 50% less half the gap, and the row's side
   padding is 8px instead of 32px, which gives the halves the same widths as
   on the supplied page while keeping the pair centred and on the screen. */
.tmrt .rt-solution-wrap {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.tmrt .rt-solution.is-flip .rt-solution-wrap { flex-direction: row-reverse; }

/* The dark box with the words */
.tmrt .rt-content {
  position: relative;
  z-index: 20;
  flex: 0 0 calc(50% - 24px);
  min-width: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 64px;
  border-radius: 15px;
  color: #fff;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 100px rgba(147, 58, 67, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.tmrt .rt-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(147, 58, 67, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.tmrt .rt-content:hover::before { opacity: 1; }

.tmrt .rt-logo-text {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, var(--rt-secondary) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rt-logo-shine 4s linear infinite;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
@keyframes rt-logo-shine { to { background-position: 200% center; } }
.tmrt .rt-logo-tagline { color: var(--rt-secondary); font-size: 13.6px; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 40px; font-weight: 700; }
.tmrt .rt-industry-label { color: var(--rt-secondary); font-size: 13.6px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; display: block; font-weight: 600; }
.tmrt .rt-solution-title { font-size: 32px; margin-bottom: 24px; line-height: 1.3; font-weight: 600; color: #fff; }
.tmrt .rt-solution-desc { font-size: 16.8px; line-height: 1.8; margin-bottom: 32px; opacity: 0.9; }

.tmrt .rt-tags { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.tmrt .rt-tag {
  display: flex;
  align-items: center;
  gap: 9.6px;
  background: linear-gradient(135deg, rgba(147, 58, 67, 0.15), rgba(147, 58, 67, 0.08));
  padding: 11.2px 20.8px;
  border-radius: 30px;
  font-size: 14.4px;
  border: 1px solid rgba(147, 58, 67, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}
.tmrt .rt-tag:hover {
  background: linear-gradient(135deg, rgba(189, 61, 61, 0.25), rgba(189, 61, 61, 0.15));
  border-color: var(--rt-secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(189, 61, 61, 0.2);
}
.tmrt .rt-ico { display: block; flex: none; height: 16px; width: auto; color: var(--rt-secondary); filter: drop-shadow(0 0 5px rgba(189, 61, 61, 0.5)); }

.tmrt .rt-view-solution {
  display: inline-flex;
  align-items: center;
  gap: 12.8px;
  color: var(--rt-secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 16.8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tmrt .rt-view-solution::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rt-secondary), var(--rt-primary));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--rt-secondary);
}
.tmrt .rt-view-solution:hover, .tmrt .rt-view-solution:focus { color: var(--rt-secondary); gap: 24px; text-shadow: 0 0 20px rgba(189, 61, 61, 0.5); }
.tmrt .rt-view-solution:hover::after { width: 100%; }

/* The screenshot on its three coloured panels.
   On the supplied page this block was 600px high, the panels 500, 450 and
   380px high and the picture 600px wide, whatever the room. Here the same
   arrangement is kept in proportion (a 648 x 600 block), so it shrinks with
   the screen instead of spilling out of its column. */
.tmrt .rt-visual {
  position: relative;
  flex: 0 0 calc(50% - 24px);
  min-width: 0;
  aspect-ratio: 648 / 600;
  max-height: 600px;
  perspective: 2000px;
  perspective-origin: center center;
}
.tmrt .rt-layer { position: absolute; border-radius: 15px; transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; transform-style: preserve-3d; }
.tmrt .rt-layer-1 {
  width: 90%;
  height: 83.33%;
  background: linear-gradient(135deg, var(--rt-primary), #7a2f37);
  background-size: 200% 200%;
  animation: rt-gradient-move 8s ease infinite;
  top: 0; left: 0;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(147, 58, 67, 0.3);
}
.tmrt .rt-layer-2 {
  width: 85%;
  height: 75%;
  background: linear-gradient(135deg, var(--rt-secondary), #a33535);
  background-size: 200% 200%;
  animation: rt-gradient-move 10s ease infinite reverse;
  top: 6.67%; left: 6.17%;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(189, 61, 61, 0.3);
}
.tmrt .rt-layer-3 {
  width: 75%;
  height: 63.33%;
  background: linear-gradient(135deg, var(--rt-accent), #1a1e23);
  background-size: 200% 200%;
  animation: rt-gradient-move 12s ease infinite;
  bottom: 5%; right: 0;
  z-index: 3;
  box-shadow: 0 20px 60px rgba(33, 37, 41, 0.3);
}
@keyframes rt-gradient-move {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tmrt .rt-shot {
  position: relative;
  z-index: 10;
  width: 92.3%;
  max-width: 600px;
  margin: 4.63% 0 0 7.7%;
  transform-origin: left center;
  transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tmrt .rt-solution.is-flip .rt-shot { transform-origin: right center; }
.tmrt .rt-shot img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 15px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(147, 58, 67, 0.2);
  border: 2px solid rgba(147, 58, 67, 0.3);
  backface-visibility: hidden;
  transition: all 0.4s ease;
}
.tmrt .rt-shot::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--rt-secondary), transparent, var(--rt-secondary));
  border-radius: 15px;
  z-index: -1;
  opacity: 0;
  animation: rt-border-glow 3s ease infinite;
}
@keyframes rt-border-glow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.5; }
}
.tmrt .rt-shot:hover img {
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 80px rgba(147, 58, 67, 0.4);
}

/* ---- 6. Call to action --------------------------------------------------- */
.tmrt .rt-cta { background: linear-gradient(135deg, var(--rt-primary), var(--rt-accent)); color: #fff; text-align: center; padding: 80px 32px; }
.tmrt .rt-cta-content { max-width: 800px; margin: 0 auto; }
.tmrt .rt-cta-content h2 { font-size: 44.8px; margin-bottom: 24px; color: #fff; }
.tmrt .rt-cta-content p { font-size: 19.2px; margin-bottom: 40px; opacity: 0.95; }

/* ---- 7. Scroll progress bar ---------------------------------------------- */
.tmrt .rt-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #933a43, #d4344a, #f97373);
  transform: scaleX(0);
  transform-origin: 0 0;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(147, 58, 67, 0.4);
}
@supports (animation-timeline: scroll()) {
  .tmrt .rt-progress { animation: rt-scroll-fill linear; animation-timeline: scroll(root); }
}
@keyframes rt-scroll-fill { to { transform: scaleX(1); } }

/* ---- 8. Reveal on scroll ---------------------------------------------------
   retail-main.js puts .rt-js on the page block, then .is-in on each card and
   partner block as it scrolls into view. Without the script nothing is
   hidden. The starting positions below are the supplied ones. They apply on
   screens wider than 768px only: below that the supplied page switches its
   movement off, and so does this one. */
@keyframes rt-fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.tmrt.rt-js .rt-service-card:not(.is-in) { opacity: 0; }
.tmrt.rt-js .rt-service-card.is-in { animation: rt-fade-in-up 0.6s ease both; }
.tmrt.rt-js .rt-service-card.is-done { animation: none; }
.tmrt.rt-js .rt-services-grid .rt-service-card:nth-child(2).is-in { animation-delay: 0.08s; }

@media (min-width: 769px) {
  .tmrt.rt-js .rt-solution:not(.is-in) .rt-content { transform: translateX(-100px); }
  .tmrt.rt-js .rt-solution.is-flip:not(.is-in) .rt-content { transform: translateX(100px); }
  .tmrt.rt-js .rt-solution:not(.is-in) .rt-layer-1 { transform: translateX(-150px) rotateY(-45deg); }
  .tmrt.rt-js .rt-solution:not(.is-in) .rt-layer-2 { transform: translateX(150px) rotateY(45deg); }
  .tmrt.rt-js .rt-solution:not(.is-in) .rt-layer-3 { transform: translateY(100px) rotateX(30deg); }
  .tmrt.rt-js .rt-solution:not(.is-in) .rt-shot { transform: translateX(-200px) rotateY(-90deg) scale(0.8); }
  .tmrt.rt-js .rt-solution.is-flip:not(.is-in) .rt-shot { transform: translateX(200px) rotateY(90deg) scale(0.8); }
  .tmrt.rt-js .rt-solution.is-in .rt-layer-1 { transition-delay: 0.2s; }
  .tmrt.rt-js .rt-solution.is-in .rt-layer-2 { transition-delay: 0.3s; }
  .tmrt.rt-js .rt-solution.is-in .rt-layer-3 { transition-delay: 0.4s; }
  .tmrt.rt-js .rt-solution.is-in .rt-shot { transition-delay: 0.5s; }
}

@media (prefers-reduced-motion: reduce) {
  .tmrt *, .tmrt *::before, .tmrt *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .tmrt.rt-js .rt-service-card:not(.is-in) { opacity: 1; }
  .tmrt.rt-js .rt-solution .rt-content,
  .tmrt.rt-js .rt-solution .rt-layer,
  .tmrt.rt-js .rt-solution .rt-shot { transform: none !important; }
}

/* ---- 9. Smaller screens ----------------------------------------------------
   The supplied page had two steps, 1200px and 768px, plus 480px. They are
   kept, with the supplied sizes. What is new: between them the partner
   blocks keep their proportions instead of a fixed height, and nothing is
   wider than the screen. */

/* Narrower desktops: the halves of a partner block need less padding to
   stay comfortable side by side. */
@media (max-width: 1400px) and (min-width: 1201px) {
  .tmrt .rt-content { padding: 48px; }
  .tmrt .rt-logo-text { font-size: 48px; }
  .tmrt .rt-solution-title { font-size: 28px; }
}

/* Tablet (1200px and below): the two halves stack */
@media (max-width: 1200px) {
  .tmrt .rt-solution { margin: 112px 0; min-height: 0; }
  .tmrt .rt-solution-wrap,
  .tmrt .rt-solution.is-flip .rt-solution-wrap { flex-direction: column; align-items: stretch; gap: 48px; }
  .tmrt .rt-content, .tmrt .rt-visual { flex: none; width: 100%; }
  .tmrt .rt-visual { max-width: 648px; max-height: none; margin: 0 auto; }
  .tmrt .rt-services-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  /* the supplied page switches movement off on phones */
  .tmrt *, .tmrt *::before, .tmrt *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .tmrt { font-size: 14px; }

  .tmrt section { padding: 48px 16px; }
  .tmrt .rt-hero { padding: 48px 24px; }
  .tmrt .rt-hero h1 { font-size: 28.8px; line-height: 1.3; margin-bottom: 16px; }
  .tmrt .rt-hero .rt-subtitle { font-size: 17.6px; }
  .tmrt .rt-hero p { font-size: 15.2px; margin-bottom: 32px; }
  .tmrt .rt-cta-row { flex-direction: column; gap: 16px; }
  .tmrt .rt-btn-primary, .tmrt .rt-btn-secondary { width: 100%; padding: 16px 32px; font-size: 16px; }

  .tmrt .rt-section-title { font-size: 28.8px; padding: 0 8px; }
  .tmrt .rt-section-subtitle { font-size: 16px; padding: 0 8px; }

  .tmrt .rt-services-grid { gap: 32px; }
  .tmrt .rt-service-card, .tmrt .rt-service-card:hover { transform: none !important; }
  .tmrt .rt-service-image { height: 220px; }
  .tmrt .rt-service-content { padding: 32px 24px; }
  .tmrt .rt-service-content h3 { font-size: 22.4px; }
  .tmrt .rt-service-content p { font-size: 15.2px; }

  .tmrt .rt-solution { margin: 48px 0; min-height: 0; }
  .tmrt .rt-solution-wrap,
  .tmrt .rt-solution.is-flip .rt-solution-wrap { padding: 0 16px; gap: 0; }
  .tmrt .rt-content { padding: 32px 24px; background: rgba(15, 23, 42, 0.95); transform: none !important; }
  .tmrt .rt-logo-text { font-size: 32px; }
  .tmrt .rt-logo-tagline { font-size: 11.2px; }
  .tmrt .rt-solution-title { font-size: 22.4px; }
  .tmrt .rt-solution-desc { font-size: 15.2px; }
  .tmrt .rt-tags { gap: 8px; }
  .tmrt .rt-tag { padding: 8px 16px; font-size: 12.8px; }

  /* the supplied page shows the screenshot alone on phones, without the panels */
  .tmrt .rt-visual { aspect-ratio: auto; max-width: none; margin-top: 32px; perspective: none; }
  .tmrt .rt-layer { display: none; }
  .tmrt .rt-shot { width: auto; max-width: none; margin: 10px; transform: none !important; }
  .tmrt .rt-shot img { border-radius: 10px; }

  .tmrt .rt-cta { padding: 48px 24px; }
  .tmrt .rt-cta-content h2 { font-size: 28.8px; }
  .tmrt .rt-cta-content p { font-size: 16px; }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .tmrt .rt-hero h1 { font-size: 24px; }
  .tmrt .rt-section-title { font-size: 24px; }
  .tmrt .rt-service-image { height: 180px; }
  .tmrt .rt-service-content { padding: 24px; }
  .tmrt .rt-service-content h3 { font-size: 19.2px; }
  .tmrt .rt-content { padding: 24px; }
  .tmrt .rt-logo-text { font-size: 25.6px; }
  .tmrt .rt-solution-title { font-size: 19.2px; }
  .tmrt .rt-tag { padding: 6.4px 12.8px; font-size: 12px; }
}

/* Landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .tmrt .rt-hero { padding: 32px 24px; }
  .tmrt .rt-solution { margin: 32px 0; }
}
