/* ===========================================================
   Litografía RM — Pro UI System
   Aurora · Bento · Spotlight · Marquee · Magnetic · Mobile-first
   =========================================================== */

:root {
  --rm-primary: #E63946;
  --rm-primary-2: #FF6B7A;
  --rm-primary-dark: #9D0707;
  --rm-accent: #F59E0B;
  --rm-violet: #8B5CF6;
  --rm-cyan: #06B6D4;
  --rm-dark: #0A0A0F;
  --rm-dark-2: #14141C;
  --rm-light: #FAFAFC;
  --rm-gray-50: #F8F9FB;
  --rm-gray-100: #EFF1F5;
  --rm-gray-200: #E1E4EA;
  --rm-gray-400: #9CA3AF;
  --rm-gray-500: #6B7280;
  --rm-gray-700: #374151;
  --rm-gray-900: #111827;

  --rm-r-sm: 12px;
  --rm-r: 18px;
  --rm-r-lg: 28px;
  --rm-r-xl: 40px;

  --rm-shadow-sm: 0 2px 8px rgba(15, 15, 18, 0.06);
  --rm-shadow: 0 8px 30px rgba(15, 15, 18, 0.08);
  --rm-shadow-lg: 0 20px 60px rgba(15, 15, 18, 0.12);
  --rm-shadow-xl: 0 30px 90px rgba(15, 15, 18, 0.18);
  --rm-glow: 0 0 60px rgba(230, 57, 70, 0.35);

  --rm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rm-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --rm-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --rm-container: min(100% - 32px, 1280px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  background: var(--rm-light);
  color: var(--rm-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* Container universal */
.rm-wrap {
  width: var(--rm-container);
  margin-inline: auto;
}

/* ============ ANIMATIONS ============ */
@keyframes rm-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rm-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rm-scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes rm-aurora-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}
@keyframes rm-aurora-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.15); }
}
@keyframes rm-aurora-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -50px); }
}
@keyframes rm-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes rm-marquee-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@keyframes rm-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes rm-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5); }
  50% { box-shadow: 0 0 0 16px rgba(230, 57, 70, 0); }
}
@keyframes rm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rm-rotate-border {
  to { transform: rotate(360deg); }
}
@keyframes rm-word-reveal {
  from { opacity: 0; transform: translateY(40px) rotateX(-30deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.rm-anim-fade-up { animation: rm-fade-up 0.8s var(--rm-ease-out) both; }
.rm-anim-fade-in { animation: rm-fade-in 1.2s var(--rm-ease) both; }
.rm-anim-scale-in { animation: rm-scale-in 0.7s var(--rm-spring) both; }
.rm-delay-1 { animation-delay: 0.1s; }
.rm-delay-2 { animation-delay: 0.2s; }
.rm-delay-3 { animation-delay: 0.3s; }
.rm-delay-4 { animation-delay: 0.4s; }
.rm-delay-5 { animation-delay: 0.5s; }
.rm-delay-6 { animation-delay: 0.6s; }

/* ============ HEADER ============ */
.rm-topbar {
  background: var(--rm-dark);
  color: #d1d1d6;
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rm-topbar a { color: #d1d1d6; transition: color 0.2s; text-decoration: none; }
.rm-topbar a:hover { color: var(--rm-primary-2); }

.rm-nav-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(15, 15, 18, 0.06);
  transition: all 0.3s var(--rm-ease);
}
.rm-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}
.rm-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--rm-dark) 0%, var(--rm-primary) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.rm-logo:hover { text-decoration: none; opacity: 0.88; }
.rm-logo .accent {
  color: var(--rm-primary);
  -webkit-text-fill-color: var(--rm-primary);
}
.rm-logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rm-primary) 0%, var(--rm-primary-dark) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  margin-right: 10px;
  box-shadow: var(--rm-glow);
  -webkit-text-fill-color: white;
}

.rm-nav-links { display: flex; gap: 4px; align-items: center; }
.rm-nav-link {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--rm-gray-700);
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s var(--rm-ease);
  position: relative;
}
.rm-nav-link:hover { color: var(--rm-primary); background: rgba(230, 57, 70, 0.06); text-decoration: none; }
.rm-nav-link.active {
  color: var(--rm-primary);
  background: rgba(230, 57, 70, 0.08);
}

/* Mobile menu */
.rm-mobile-toggle {
  display: none;
  background: var(--rm-gray-50);
  border: 1px solid var(--rm-gray-100);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--rm-dark);
}
.rm-mobile-menu {
  display: none;
  padding: 12px 0 20px;
  border-top: 1px solid var(--rm-gray-100);
  margin-top: 12px;
}
.rm-mobile-menu.open { display: block; animation: rm-fade-up 0.3s both; }
.rm-mobile-menu .rm-nav-link { display: block; padding: 14px 16px; }

/* ============ BUTTONS ============ */
.rm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.3s var(--rm-ease);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.rm-btn-primary {
  background: linear-gradient(135deg, var(--rm-primary) 0%, var(--rm-primary-dark) 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.35);
}
.rm-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.25), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--rm-ease);
}
.rm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(230, 57, 70, 0.5);
  color: white;
  text-decoration: none;
}
.rm-btn-primary:hover::before { transform: translateX(100%); }
.rm-btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--rm-dark);
  border: 1.5px solid var(--rm-gray-200);
  backdrop-filter: blur(10px);
}
.rm-btn-ghost:hover {
  border-color: var(--rm-primary);
  color: var(--rm-primary);
  text-decoration: none;
  background: white;
}
.rm-btn-dark {
  background: var(--rm-dark);
  color: white;
}
.rm-btn-dark:hover { background: var(--rm-dark-2); color: white; text-decoration: none; transform: translateY(-2px); }
.rm-btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.rm-btn-lg { padding: 16px 28px; font-size: 1rem; }

/* ============ HERO with AURORA ============ */
.rm-hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 160px);
  overflow: hidden;
  isolation: isolate;
}
.rm-aurora {
  position: absolute;
  inset: -20%;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.55;
}
.rm-aurora::before, .rm-aurora::after, .rm-aurora span {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.rm-aurora::before {
  width: 500px; height: 500px;
  top: 5%; left: 8%;
  background: radial-gradient(circle, var(--rm-primary) 0%, transparent 70%);
  animation: rm-aurora-1 18s ease-in-out infinite;
}
.rm-aurora::after {
  width: 600px; height: 600px;
  bottom: 0; right: 5%;
  background: radial-gradient(circle, var(--rm-violet) 0%, transparent 70%);
  animation: rm-aurora-2 22s ease-in-out infinite;
}
.rm-aurora span {
  width: 400px; height: 400px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, var(--rm-accent) 0%, transparent 70%);
  animation: rm-aurora-3 20s ease-in-out infinite;
}
.rm-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 15, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 15, 18, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.rm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.rm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rm-primary-dark);
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.1);
}
.rm-hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rm-primary);
  animation: rm-pulse 2s ease-out infinite;
}
.rm-hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 24px;
  color: var(--rm-dark);
}
.rm-word {
  display: inline-block;
  animation: rm-word-reveal 0.8s var(--rm-ease-out) both;
}
.rm-gradient-text {
  background: linear-gradient(135deg, var(--rm-primary) 0%, var(--rm-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.rm-gradient-text.shimmer {
  background: linear-gradient(90deg, var(--rm-primary), var(--rm-violet), var(--rm-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rm-shimmer 4s linear infinite;
}
.rm-hero .lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--rm-gray-500);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.rm-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero scrolling trust line */
.rm-hero-trust {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--rm-gray-500);
  font-size: 0.88rem;
}
.rm-hero-trust .avatars {
  display: inline-flex;
}
.rm-hero-trust .avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  background: linear-gradient(135deg, var(--rm-primary), var(--rm-violet));
  margin-left: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  font-weight: 700;
}
.rm-hero-trust .avatars span:first-child { margin-left: 0; }
.rm-hero-trust .avatars span:nth-child(2) { background: linear-gradient(135deg, var(--rm-accent), var(--rm-primary)); }
.rm-hero-trust .avatars span:nth-child(3) { background: linear-gradient(135deg, var(--rm-cyan), var(--rm-violet)); }
.rm-hero-trust .stars { color: var(--rm-accent); font-size: 0.85rem; }

/* ============ MARQUEE ============ */
.rm-marquee {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  background: var(--rm-dark);
  color: white;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.rm-marquee::before, .rm-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.rm-marquee::before { left: 0; background: linear-gradient(90deg, var(--rm-dark), transparent); }
.rm-marquee::after { right: 0; background: linear-gradient(-90deg, var(--rm-dark), transparent); }
.rm-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: rm-marquee 30s linear infinite;
}
.rm-marquee:hover .rm-marquee-track { animation-play-state: paused; }
.rm-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
}
.rm-marquee-item i { color: var(--rm-primary); font-size: 1.2rem; }
.rm-marquee-item .sep { color: var(--rm-primary); }

/* ============ STATS ============ */
.rm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  padding: 40px;
  background: linear-gradient(135deg, white 0%, var(--rm-gray-50) 100%);
  border-radius: var(--rm-r-lg);
  box-shadow: var(--rm-shadow-xl);
  position: relative;
  z-index: 5;
  margin-top: -70px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.rm-stat { text-align: center; padding: 12px; }
.rm-stat .num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--rm-primary) 0%, var(--rm-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
}
.rm-stat .label {
  color: var(--rm-gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 8px;
  display: block;
}

/* ============ SECTIONS ============ */
.rm-section { padding: clamp(60px, 10vw, 110px) 0; position: relative; }
.rm-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.rm-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rm-primary);
  margin-bottom: 16px;
}
.rm-section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--rm-dark);
}
.rm-section-subtitle {
  color: var(--rm-gray-500);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.6;
}

/* ============ BENTO GRID ============ */
.rm-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.rm-bento-card {
  --x: 50%; --y: 50%;
  position: relative;
  background: white;
  border: 1px solid var(--rm-gray-100);
  border-radius: var(--rm-r-lg);
  padding: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--rm-ease);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.rm-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--x) var(--y),
    rgba(230, 57, 70, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s var(--rm-ease);
  pointer-events: none;
  z-index: 0;
}
.rm-bento-card:hover::before { opacity: 1; }
.rm-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.25);
  box-shadow: var(--rm-shadow-lg);
  text-decoration: none;
  color: inherit;
}
.rm-bento-card > * { position: relative; z-index: 1; }
.rm-bento-card.size-md { grid-column: span 2; }
.rm-bento-card.size-lg { grid-column: span 3; min-height: 280px; }
.rm-bento-card.size-xl { grid-column: span 4; min-height: 320px; }
.rm-bento-card.size-tall { grid-column: span 2; grid-row: span 2; min-height: 380px; }
.rm-bento-card.dark {
  background: linear-gradient(135deg, var(--rm-dark) 0%, var(--rm-dark-2) 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.08);
}
.rm-bento-card.dark::before {
  background: radial-gradient(400px circle at var(--x) var(--y), rgba(230, 57, 70, 0.25), transparent 40%);
}
.rm-bento-card.primary {
  background: linear-gradient(135deg, var(--rm-primary) 0%, var(--rm-primary-dark) 100%);
  color: white;
  border-color: transparent;
}
.rm-bento-card.primary::before {
  background: radial-gradient(400px circle at var(--x) var(--y), rgba(255, 255, 255, 0.2), transparent 40%);
}
.rm-bento-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rm-gray-50), white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rm-primary);
  font-size: 1.4rem;
  border: 1px solid var(--rm-gray-100);
  margin-bottom: 18px;
}
.rm-bento-card.dark .rm-bento-icon,
.rm-bento-card.primary .rm-bento-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}
.rm-bento-img-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--rm-gray-50);
  margin-bottom: 18px;
  border: 1px solid var(--rm-gray-100);
}
.rm-bento-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.rm-bento-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.rm-bento-card.size-xl h3, .rm-bento-card.size-tall h3 { font-size: 1.5rem; }
.rm-bento-card p {
  font-size: 0.94rem;
  color: var(--rm-gray-500);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.rm-bento-card.dark p, .rm-bento-card.primary p { color: rgba(255, 255, 255, 0.75); }
.rm-bento-arrow {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rm-primary);
  opacity: 0.7;
  transition: all 0.3s var(--rm-ease);
}
.rm-bento-card.dark .rm-bento-arrow, .rm-bento-card.primary .rm-bento-arrow { color: white; }
.rm-bento-card:hover .rm-bento-arrow { opacity: 1; gap: 12px; }

/* ============ STANDARD CARD GRID (Services secondary) ============ */
.rm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.rm-service-card {
  --x: 50%; --y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: white;
  border: 1px solid var(--rm-gray-100);
  border-radius: var(--rm-r);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all 0.4s var(--rm-ease);
  isolation: isolate;
}
.rm-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--x) var(--y), rgba(230, 57, 70, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--rm-ease);
  z-index: 0;
}
.rm-service-card:hover::before { opacity: 1; }
.rm-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: var(--rm-shadow-lg);
  text-decoration: none;
  color: inherit;
}
.rm-service-card > * { position: relative; z-index: 1; }
.rm-service-card:hover .rm-service-img { transform: scale(1.08); }
.rm-service-card:hover .rm-service-arrow { transform: translateX(4px); opacity: 1; }
.rm-service-img-wrap {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--rm-gray-50);
  overflow: hidden;
  border: 1px solid var(--rm-gray-100);
}
.rm-service-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--rm-ease); }
.rm-service-title { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--rm-dark); }
.rm-service-desc { font-size: 0.9rem; color: var(--rm-gray-500); line-height: 1.5; margin: 0; flex: 1; }
.rm-service-arrow {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rm-primary);
  opacity: 0.65;
  transition: all 0.3s var(--rm-ease);
}

/* ============ FEATURED PRODUCT CARDS ============ */
.rm-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.rm-product-card {
  --x: 50%; --y: 50%;
  background: white;
  border-radius: var(--rm-r);
  overflow: hidden;
  border: 1px solid var(--rm-gray-100);
  transition: all 0.4s var(--rm-ease);
  position: relative;
  isolation: isolate;
}
.rm-product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--x) var(--y), rgba(230, 57, 70, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--rm-ease);
  z-index: 0;
  pointer-events: none;
}
.rm-product-card:hover::before { opacity: 1; }
.rm-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rm-shadow-lg);
  border-color: rgba(230, 57, 70, 0.2);
}
.rm-product-card:hover .rm-product-img { transform: scale(1.06); }
.rm-product-card > * { position: relative; z-index: 1; }
.rm-product-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--rm-gray-50);
  position: relative;
}
.rm-product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--rm-ease); }
.rm-product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px;
  background: linear-gradient(135deg, var(--rm-primary), var(--rm-primary-dark));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
}
.rm-product-info { padding: 18px; }
.rm-product-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--rm-dark);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rm-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.rm-product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rm-dark);
}
.rm-product-old { font-size: 0.85rem; color: var(--rm-gray-400); text-decoration: line-through; }
.rm-stars { color: var(--rm-accent); font-size: 0.8rem; }
.rm-product-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  background: var(--rm-gray-50);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--rm-dark);
  text-decoration: none;
  transition: all 0.25s var(--rm-ease);
}
.rm-product-cta:hover {
  background: var(--rm-dark);
  color: white;
  text-decoration: none;
}

/* ============ PROCESS TIMELINE ============ */
.rm-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.rm-process::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--rm-primary), var(--rm-violet), var(--rm-cyan), var(--rm-accent));
  z-index: 0;
  opacity: 0.3;
}
.rm-process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.rm-process-num {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--rm-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--rm-primary);
  position: relative;
  z-index: 2;
  transition: all 0.3s var(--rm-ease);
}
.rm-process-step:hover .rm-process-num {
  background: var(--rm-primary);
  color: white;
  border-color: var(--rm-primary);
  transform: scale(1.1);
  box-shadow: var(--rm-glow);
}
.rm-process-step h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.rm-process-step p {
  font-size: 0.9rem;
  color: var(--rm-gray-500);
  line-height: 1.5;
  margin: 0;
}

/* ============ TESTIMONIALS MARQUEE ============ */
.rm-testimonials {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.rm-testimonial-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-block: 10px;
}
.rm-testimonial-track.t-1 { animation: rm-marquee 40s linear infinite; }
.rm-testimonial-track.t-2 { animation: rm-marquee-reverse 50s linear infinite; }
.rm-testimonial-card {
  width: 360px;
  padding: 22px;
  background: white;
  border: 1px solid var(--rm-gray-100);
  border-radius: var(--rm-r);
  box-shadow: var(--rm-shadow-sm);
  flex-shrink: 0;
}
.rm-testimonial-card .stars { color: var(--rm-accent); margin-bottom: 10px; font-size: 0.85rem; }
.rm-testimonial-card .quote {
  font-size: 0.94rem;
  color: var(--rm-gray-700);
  line-height: 1.55;
  margin-bottom: 16px;
}
.rm-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rm-testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rm-primary), var(--rm-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}
.rm-testimonial-author .name { font-weight: 700; font-size: 0.9rem; }
.rm-testimonial-author .role { font-size: 0.8rem; color: var(--rm-gray-500); }

/* ============ FAQ ACCORDION ============ */
.rm-faq { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.rm-faq-item {
  background: white;
  border: 1px solid var(--rm-gray-100);
  border-radius: var(--rm-r);
  overflow: hidden;
  transition: all 0.3s var(--rm-ease);
}
.rm-faq-item:hover { border-color: rgba(230, 57, 70, 0.2); }
.rm-faq-item[open] {
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: var(--rm-shadow-sm);
}
.rm-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--rm-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.rm-faq-q::-webkit-details-marker { display: none; }
.rm-faq-q .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--rm-gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--rm-primary);
  flex-shrink: 0;
  transition: all 0.3s var(--rm-ease);
}
.rm-faq-item[open] .rm-faq-q .icon {
  background: var(--rm-primary);
  color: white;
  transform: rotate(45deg);
}
.rm-faq-a {
  padding: 0 24px 22px;
  color: var(--rm-gray-500);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ============ CTA BAND ============ */
.rm-cta-band {
  padding: clamp(40px, 6vw, 70px);
  background:
    radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, var(--rm-dark) 0%, var(--rm-dark-2) 100%);
  border-radius: var(--rm-r-xl);
  color: white;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.rm-cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.rm-cta-band > * { position: relative; z-index: 1; }
.rm-cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 10px; line-height: 1.15; }
.rm-cta-band p { color: rgba(255, 255, 255, 0.7); max-width: 540px; margin: 0; font-size: 1rem; }

/* ============ FOOTER ============ */
.rm-footer {
  background: var(--rm-dark);
  color: #d1d1d6;
  padding: 80px 0 30px;
}
.rm-footer h6 {
  color: white;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rm-footer a {
  color: #9ca3af;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color 0.2s, transform 0.2s;
  font-size: 0.94rem;
}
.rm-footer a:hover { color: var(--rm-primary-2); transform: translateX(2px); }
.rm-footer-info p { font-size: 0.92rem; line-height: 1.6; color: #9ca3af; }
.rm-social { display: flex; gap: 8px; margin-top: 12px; }
.rm-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.25s var(--rm-ease);
  padding: 0;
}
.rm-social a:hover {
  background: var(--rm-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}
.rm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 60px;
  padding-top: 28px;
  font-size: 0.82rem;
  color: #71717a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ CONTACT ============ */
.rm-contact-card {
  background: white;
  border-radius: var(--rm-r-lg);
  padding: 40px;
  box-shadow: var(--rm-shadow);
  border: 1px solid var(--rm-gray-100);
}
.rm-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--rm-gray-50);
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s var(--rm-ease);
  color: var(--rm-dark);
}
.rm-input:focus {
  outline: none;
  background: white;
  border-color: var(--rm-primary);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}
.rm-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rm-gray-700);
  margin-bottom: 8px;
}

/* ============ WHATSAPP FLOAT ============ */
.rm-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.3s var(--rm-spring);
}
.rm-wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: rm-pulse 2s ease-out infinite;
}
.rm-wa-float:hover { color: white; transform: scale(1.1) rotate(-5deg); text-decoration: none; }

/* ============ RESPONSIVE — Mobile-first refinements ============ */
@media (max-width: 1100px) {
  .rm-bento-card.size-lg { grid-column: span 6; }
  .rm-bento-card.size-xl { grid-column: span 6; }
  .rm-bento-card.size-tall { grid-column: span 3; grid-row: span 1; min-height: 240px; }
  .rm-bento-card.size-md { grid-column: span 3; }
}
@media (max-width: 768px) {
  .rm-topbar { font-size: 0.75rem; }
  .rm-topbar .d-md-flex { display: none !important; }
  .rm-nav-links { display: none; }
  .rm-mobile-toggle { display: inline-flex; }
  .rm-mobile-menu .rm-btn { width: 100%; justify-content: center; margin-top: 8px; }

  .rm-bento { grid-template-columns: repeat(2, 1fr); }
  .rm-bento-card,
  .rm-bento-card.size-md,
  .rm-bento-card.size-lg,
  .rm-bento-card.size-xl,
  .rm-bento-card.size-tall {
    grid-column: span 2;
    grid-row: auto;
    min-height: 200px;
  }
  .rm-bento-card.featured { grid-column: span 2; }

  .rm-process { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .rm-process::before { display: none; }

  .rm-cta-band { grid-template-columns: 1fr; text-align: center; }
  .rm-cta-band .rm-btn { justify-content: center; }

  .rm-stats { padding: 24px; margin-top: -40px; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rm-stat { padding: 8px; }
  .rm-stat .num { font-size: 1.7rem; }

  .rm-testimonial-card { width: 280px; }

  .rm-contact-card { padding: 24px; }

  .rm-hero { padding: 50px 0 70px; }
  .rm-section { padding: 60px 0; }

  .rm-wa-float { width: 52px; height: 52px; font-size: 1.3rem; bottom: 16px; right: 16px; }

  .rm-footer { padding: 60px 0 24px; }
  .rm-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .rm-bento { grid-template-columns: 1fr; }
  .rm-bento-card,
  .rm-bento-card.size-md,
  .rm-bento-card.size-lg,
  .rm-bento-card.size-xl,
  .rm-bento-card.size-tall { grid-column: span 1; }

  .rm-hero h1 { font-size: 2rem; }
  .rm-hero .lead { font-size: 0.98rem; }
  .rm-hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .rm-hero-cta .rm-btn { justify-content: center; }

  .rm-stats { grid-template-columns: 1fr 1fr; }

  .rm-section-title { font-size: 1.6rem; }
  .rm-cta-band { padding: 30px 20px; }
  .rm-cta-band h2 { font-size: 1.4rem; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
  .rm-aurora { animation: none; }
}
