/* ==========================================================================
   RAJAMAYIL DECORATORS — Modern Minimalist Design System
   Style: Apple-inspired clean, white, airy with emerald accents
   Fonts: Playfair Display (headings) + Inter (UI)
   ========================================================================== */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  /* Colors */
  --slate-950: #0b0f19;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;
  --accent:    #10b981;
  --accent-dark: #059669;
  --accent-glow: rgba(16, 185, 129, 0.12);
  --accent-glow-strong: rgba(16, 185, 129, 0.25);
  --gold:      #f59e0b;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 120px);
  --container-max: 1200px;
  --container-px: clamp(20px, 4vw, 40px);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-600);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- UTILITY CLASSES ---------- */
.d-none { display: none !important; }
.d-flex { display: flex !important; }

.rm-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- BADGE ---------- */
.rm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.rm-badge--dark {
  background: var(--slate-100);
  color: var(--slate-700);
  border-color: var(--slate-200);
}

/* ---------- BUTTONS ---------- */
.rm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  line-height: 1;
}

.rm-btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.rm-btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  color: var(--white);
}

.rm-btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.rm-btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.rm-btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.rm-btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}

.rm-btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

.rm-btn i {
  font-size: 14px;
  transition: transform var(--duration) var(--ease);
}

.rm-btn:hover i {
  transform: translateX(3px);
}

/* ====================================================================
   NAVBAR — Frosted Glass
   ==================================================================== */
.rm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--duration) var(--ease);
  background: transparent;
}

.rm-navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.rm-navbar .rm-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rm-navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.rm-navbar__brand img {
  border-radius: 10px;
}

.rm-navbar.scrolled .rm-navbar__brand {
  color: var(--slate-900);
}

.rm-navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rm-navbar__link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.rm-navbar__link:hover,
.rm-navbar__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.rm-navbar.scrolled .rm-navbar__link {
  color: var(--slate-500);
}

.rm-navbar.scrolled .rm-navbar__link:hover,
.rm-navbar.scrolled .rm-navbar__link.active {
  color: var(--slate-900);
  background: var(--slate-100);
}

.rm-navbar__cta {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  margin-left: 8px;
}

.rm-navbar__cta:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.rm-navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.rm-navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.rm-navbar.scrolled .rm-navbar__toggle span {
  background: var(--slate-800);
}

.rm-navbar__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.rm-navbar__toggle.active span:nth-child(2) { opacity: 0; }
.rm-navbar__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .rm-navbar__toggle {
    display: flex;
  }

  .rm-navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }

  .rm-navbar__menu.open {
    right: 0;
  }

  .rm-navbar__menu .rm-navbar__link {
    color: var(--slate-700);
    font-size: 16px;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .rm-navbar__menu .rm-navbar__link:hover,
  .rm-navbar__menu .rm-navbar__link.active {
    background: var(--slate-100);
    color: var(--slate-900);
  }

  .rm-navbar__menu .rm-navbar__cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ====================================================================
   HERO
   ==================================================================== */
.rm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.rm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 25, 0.85) 0%,
    rgba(11, 15, 25, 0.6) 50%,
    rgba(16, 185, 129, 0.15) 100%
  );
}

.rm-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.rm-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin: 24px 0;
}

.rm-hero__title span {
  background: linear-gradient(135deg, var(--accent), #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rm-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 520px;
}

.rm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ====================================================================
   STATS BAR
   ==================================================================== */
.rm-stats {
  background: var(--white);
  padding: 0;
  margin-top: -48px;
  position: relative;
  z-index: 10;
}

.rm-stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px 48px;
}

.rm-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.rm-stats__number {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}

.rm-stats__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rm-stats__divider {
  width: 1px;
  height: 48px;
  background: var(--slate-200);
  flex-shrink: 0;
  margin: 0 24px;
}

@media (max-width: 640px) {
  .rm-stats__grid {
    flex-wrap: wrap;
    padding: 32px 24px;
    gap: 24px;
  }
  .rm-stats__item {
    flex: 0 0 calc(50% - 12px);
  }
  .rm-stats__divider {
    display: none;
  }
}

/* ====================================================================
   SECTIONS (Generic)
   ==================================================================== */
.rm-section {
  padding: var(--section-py) 0;
}

.rm-section--alt {
  background: var(--slate-50);
}

.rm-section--dark {
  background: var(--slate-950);
}

.rm-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.rm-section__header--light .rm-section__title {
  color: var(--white);
}

.rm-section__header--light .rm-section__subtitle {
  color: var(--slate-400);
}

.rm-section__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
  margin-top: 16px;
}

.rm-section__subtitle {
  font-size: 17px;
  color: var(--slate-500);
  margin-top: 16px;
  line-height: 1.7;
}

/* ====================================================================
   BENTO GRID (Services)
   ==================================================================== */
.rm-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.rm-bento__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.rm-bento__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.rm-bento__card:hover img {
  transform: scale(1.08);
}

.rm-bento__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background var(--duration) var(--ease);
}

.rm-bento__card:hover .rm-bento__overlay {
  background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,0.85) 100%);
}

.rm-bento__overlay h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.rm-bento__overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.rm-bento__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.rm-bento__card--lg {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .rm-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }
  .rm-bento__card--lg {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .rm-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .rm-bento__card--lg {
    grid-column: span 1;
  }
}

/* ====================================================================
   FEATURE CARDS (Why Choose Us)
   ==================================================================== */
.rm-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rm-feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--duration) var(--ease);
  /* Glassmorphism touch */
  backdrop-filter: blur(10px);
}

.rm-feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-6px);
}

.rm-feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  color: var(--accent);
  transition: all var(--duration) var(--ease);
}

.rm-feature-card:hover .rm-feature-card__icon {
  background: var(--accent);
  color: var(--white);
}

.rm-feature-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.rm-feature-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .rm-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .rm-features {
    grid-template-columns: 1fr;
  }
}

/* ====================================================================
   SPLIT SECTION (Explore)
   ==================================================================== */
.rm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rm-split__images {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 480px;
}

.rm-split__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.rm-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.rm-split__img:hover img {
  transform: scale(1.05);
}

.rm-split__img--main {
  grid-row: span 2;
}

.rm-split__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rm-split__content .rm-section__title {
  text-align: left;
  margin-top: 12px;
}

.rm-split__content p {
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.7;
}

.rm-checklist {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.rm-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}

.rm-checklist li:last-child {
  border-bottom: none;
}

.rm-checklist li i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .rm-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rm-split__images {
    min-height: 300px;
  }
  .rm-split__content .rm-section__title {
    text-align: center;
  }
}

/* ====================================================================
   GALLERY (Masonry-style Grid)
   ==================================================================== */
.rm-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}

.rm-gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.rm-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.rm-gallery__item:hover img {
  transform: scale(1.08);
}

.rm-gallery__hover {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.rm-gallery__item:hover .rm-gallery__hover {
  opacity: 1;
}

.rm-gallery__hover i {
  font-size: 24px;
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.rm-gallery__item--wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .rm-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 480px) {
  .rm-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .rm-gallery__item--wide {
    grid-column: span 1;
  }
}

/* ====================================================================
   TESTIMONIALS
   ==================================================================== */
.rm-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rm-testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--duration) var(--ease);
}

.rm-testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-4px);
}

.rm-testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: 15px;
}

.rm-testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-600);
  font-style: normal;
  flex: 1;
}

.rm-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.rm-testimonial-card__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.rm-testimonial-card__author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}

.rm-testimonial-card__author span {
  font-size: 13px;
  color: var(--slate-400);
}

@media (max-width: 768px) {
  .rm-testimonials {
    grid-template-columns: 1fr;
  }
}

/* ====================================================================
   BOOKING FORM
   ==================================================================== */
.rm-booking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}

.rm-form__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.rm-form__grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.rm-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rm-form__group--full {
  margin-bottom: 24px;
}

.rm-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  letter-spacing: 0.02em;
}

.rm-form__input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: all var(--duration) var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.rm-form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}

.rm-form__input::placeholder {
  color: var(--slate-400);
}

select.rm-form__input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825a.983.983 0 01-.713-.288L1.575 4.825a.977.977 0 010-1.4.977.977 0 011.4 0L6 6.45l3.025-3.025a.977.977 0 011.4 0 .977.977 0 010 1.4L6.713 8.537A.983.983 0 016 8.825z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.rm-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  gap: 16px;
}

@media (max-width: 768px) {
  .rm-form__grid {
    grid-template-columns: 1fr;
  }
  .rm-form__grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .rm-form__grid--4col {
    grid-template-columns: 1fr;
  }
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.rm-footer {
  background: var(--slate-900);
  padding: 80px 0 0;
  color: var(--slate-400);
}

.rm-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--slate-800);
}

.rm-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 20px;
}

.rm-footer__logo strong {
  font-weight: 400;
  opacity: 0.6;
}

.rm-footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-400);
  margin-bottom: 24px;
}

.rm-footer__social {
  display: flex;
  gap: 10px;
}

.rm-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  transition: all var(--duration) var(--ease);
  font-size: 15px;
}

.rm-footer__social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.rm-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rm-footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.rm-footer__col a {
  display: block;
  font-size: 14px;
  color: var(--slate-400);
  padding: 6px 0;
  transition: color var(--duration) var(--ease);
  text-decoration: none;
}

.rm-footer__col a:hover {
  color: var(--accent);
}

.rm-footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.rm-footer__bottom p {
  font-size: 13px;
  color: var(--slate-500);
}

.rm-footer__bottom a {
  color: var(--accent);
  text-decoration: none;
}

.rm-footer__bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .rm-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rm-footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .rm-footer__links {
    grid-template-columns: 1fr;
  }
}

/* ====================================================================
   SCROLL-TO-TOP (optional UX enhancement)
   ==================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
