/* ============================================================
   REVIT SYSTEMS — HOME PAGE STYLES (home.css)
   Luxury · Professional · SEO-Optimised
   Imports after style.css — only homepage-specific rules here
   ============================================================ */

:root {
  --gold: #d17609;
  --gold-light: #e59c50;
  --gold-dim: rgba(209, 118, 9, 0.12);
  --dark: #141416;
  --dark-2: #1e1f22;
  --dark-3: #242527;
  --mid: #404051;
  --muted: #9898aa;
  --off-white: #f7f6f3;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --font-serif: "Bricolage Grotesque", sans-serif;
  --font-sans: "Poppins", sans-serif;
  --shadow-gold: 0 20px 60px rgba(209, 118, 9, 0.18);
  --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ── GLOBAL RESETS FOR HOME PAGE ── */
.rv-page {
  width: 100%;
  overflow-x: hidden;
}

/* ── SHARED UTILITIES ── */
.rv-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.rv-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.rv-label--light {
  color: rgba(255, 255, 255, 0.7);
}
.rv-label--light::before {
  background: rgba(255, 255, 255, 0.5);
}

/* ── BUTTONS ── */
.rv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.rv-btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(209, 118, 9, 0.35);
}
.rv-btn--primary:hover {
  background: #b86808;
  border-color: #b86808;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(209, 118, 9, 0.45);
}
.rv-btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}
.rv-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}
.rv-btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.rv-btn--outline:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}
.rv-btn--light {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.rv-btn--light:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ── SECTION HEADS ── */
.rv-section-head {
  text-align: center;
  margin-bottom: 56px;
}
.rv-section-head .rv-label {
  justify-content: center;
}
.rv-section-head .rv-label::before {
  display: none;
}
.rv-section-head__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 16px;
}
.rv-section-head__sub {
  font-size: 1rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================================
   HERO
================================================================ */
.rv-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  max-height: 980px;
  margin-top: 72px;
  overflow: hidden;
}

.rv-hero__slides {
  position: absolute;
  inset: 0;
}

.rv-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.rv-hero__slide--active {
  opacity: 1;
}

.rv-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 12, 0.82) 0%,
    rgba(10, 10, 12, 0.55) 55%,
    rgba(10, 10, 12, 0.2) 100%
  );
}

.rv-hero__content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 680px;
  color: var(--white);
  z-index: 2;
}

.rv-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(229, 156, 80, 0.4);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(6px);
}

.rv-hero__h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.rv-hero__h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-size: clamp(1.6rem, 4.5vw, 4rem);
}

.rv-hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 200;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 0 36px;
}

.rv-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Dots */
.rv-hero__dots {
  position: absolute;
  bottom: 88px;
  left: 8%;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.rv-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  padding: 0;
}
.rv-hero__dot--active {
  width: 28px;
  border-radius: 4px;
  background: var(--gold);
}

/* Ticker */
.rv-hero__ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(20, 20, 22, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  z-index: 3;
  display: flex;
  align-items: center;
}
.rv-hero__ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
}
.rv-hero__ticker-track span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 0 20px;
}
.rv-hero__ticker-track .sep {
  color: var(--gold);
  padding: 0;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .rv-hero {
    min-height: 600px;
    height: 92vh;
  }
  .rv-hero__content {
    left: 5%;
    right: 5%;
    max-width: none;
    top: 45%;
  }
  .rv-hero__h1 {
    font-size: 2.2rem;
  }
  .rv-hero__dots {
    bottom: 72px;
    left: 5%;
  }
}
@media (max-width: 480px) {
  .rv-hero__actions {
    flex-direction: column;
  }
  .rv-btn {
    justify-content: center;
    width: 140px;
  }
  .rv-hero__h1 {
    font-size: 1.9rem;
  }
}

/* ================================================================
   ABOUT
================================================================ */
.rv-about {
  padding: 100px 0;
  background: var(--white);
}
.rv-about__inner {
  width: 90%;
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.rv-about__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 24px;
}
.rv-about__lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.8;
  margin: 0 0 16px;
}
.rv-about__body {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  margin: 0 0 36px;
}

.rv-about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}
.rv-stat {
  background: var(--dark-3);
  padding: 36px 28px;
  transition: background 0.25s;
}
.rv-stat:hover {
  background: var(--dark-2);
}
.rv-stat:first-child {
  border-radius: var(--radius-md) 0 0 0;
}
.rv-stat:nth-child(2) {
  border-radius: 0 var(--radius-md) 0 0;
}
.rv-stat:nth-child(3) {
  border-radius: 0 0 0 var(--radius-md);
}
.rv-stat:last-child {
  border-radius: 0 0 var(--radius-md) 0;
}

.rv-stat__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.rv-stat__number span {
  font-size: 1.8rem;
}
.rv-stat__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rv-stat__desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .rv-about__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
@media (max-width: 600px) {
  .rv-about {
    padding: 70px 0;
  }
  .rv-about__inner {
    width: 92%;
  }
  .rv-stat {
    padding: 24px 18px;
  }
  .rv-stat__number {
    font-size: 2.2rem;
  }
}

/* ================================================================
   SERVICES
================================================================ */
.rv-services {
  padding: 100px 0;
  background: var(--off-white);
}
.rv-services__inner {
  width: 90%;
  max-width: 1260px;
  margin: 0 auto;
}

.rv-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rv-svc-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
  position: relative;
  min-height: 380px;
}
.rv-svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
}
.rv-svc-card--dark {
  background: var(--dark-3);
  color: var(--white);
}
.rv-svc-card--gold {
  background: var(--gold);
  color: var(--white);
}
.rv-svc-card--light {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.rv-svc-card__num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  top: 20px;
  right: 24px;
}
.rv-svc-card--light .rv-svc-card__num {
  color: var(--gold);
  opacity: 0.2;
}

.rv-svc-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  position: relative;
}
.rv-svc-card--light .rv-svc-card__title {
  color: var(--dark);
}

.rv-svc-card__body {
  font-size: 0.88rem;
  line-height: 1.75;
  opacity: 0.82;
  flex: 1;
  position: relative;
}
.rv-svc-card--light .rv-svc-card__body {
  color: var(--mid);
  opacity: 1;
}

.rv-svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
  transition: gap 0.2s;
  position: relative;
}
.rv-svc-card__link:hover {
  gap: 12px;
}
.rv-svc-card__link--dark {
  color: var(--gold);
}
.rv-svc-card--gold .rv-svc-card__link {
  color: rgba(255, 255, 255, 0.85);
}
.rv-svc-card--gold .rv-svc-card__link:hover {
  color: var(--white);
}

.rv-svc-card__img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  opacity: 0.12;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius-md) 0 var(--radius-lg) 0;
}
.rv-svc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-services__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 1100px) {
  .rv-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .rv-services {
    padding: 70px 0;
  }
  .rv-services__grid {
    grid-template-columns: 1fr;
  }
  .rv-svc-card {
    min-height: 280px;
  }
}

/* ================================================================
   WHY / CTA BANNER
================================================================ */
.rv-why {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.rv-why::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(209, 118, 9, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.rv-why__inner {
  width: 90%;
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 60px;
}

.rv-why__text {
  padding: 20px 0 20px;
}

.rv-why__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 20px;
}
.rv-why__body {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 520px;
}
.rv-why__form {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 6px;
  max-width: 520px;
  backdrop-filter: blur(10px);
}
.rv-why__form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--white);
}
.rv-why__form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
.rv-why__form .rv-btn {
  padding: 12px 22px;
  font-size: 0.82rem;
  border-radius: var(--radius-xl);
}
.rv-why__image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-height: 420px;
  overflow: hidden;
}
.rv-why__image img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: bottom;
}

@media (max-width: 1000px) {
  .rv-why__inner {
    grid-template-columns: 1fr;
    padding: 30px 0 0px;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .rv-why__form {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .rv-why__form .rv-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   TEAM  (inherits team-section from style.css — header only override)
================================================================ */
.team-section {
  padding-top: 40px;
}

.team-section .header {
  width: 90%;
  max-width: 700px;
  margin: 0 auto 0 5%;
}
.team-section .titles h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 16px;
}
.team-section .titles p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 560px;
}

/* ================================================================
   BLOG
================================================================ */
.rv-blog {
  background: var(--off-white);
  padding: 100px 0 80px;
}
.rv-blog__inner {
  width: 90%;
  max-width: 1260px;
  margin: 0 auto;
}
.rv-blog__topics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.rv-topic {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.rv-topic:hover,
.rv-topic--active {
  color: var(--gold);
}
.rv-topic-div {
  color: rgba(0, 0, 0, 0.2);
}

.rv-blog__scroll {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0 20px;
}
.rv-blog__row {
  display: flex;
  gap: 24px;
  padding: 4px 2px;
  min-width: max-content;
}
.rv-blog__row .blog-card {
  width: 300px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  cursor: pointer;
  flex-shrink: 0;
}
.rv-blog__row .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(209, 118, 9, 0.18);
}
.rv-blog__skeleton .image-frame {
  height: 160px;
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ================================================================
   CONSULT CTA
================================================================ */
.rv-consult {
  background: var(--gold);
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rv-consult::before,
.rv-consult::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.rv-consult::before {
  width: 400px;
  height: 400px;
  top: -150px;
  left: -100px;
}
.rv-consult::after {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -80px;
}

.rv-consult__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.rv-consult__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}
.rv-consult__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 16px;
  line-height: 1.2;
}
.rv-consult__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0 0 36px;
}

.rv-title {
  font-family: var(--font-serif);
}

.rv-subtitle {
  font-family: var(--font-sans);
}

/* ================================================================
   FOOTER ADDITIONS (NAP + extra col)
================================================================ */
.rv-footer-nap {
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
  margin-top: 12px;
}
.rv-footer-nap a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.rv-footer-nap a:hover {
  color: var(--gold-light);
}

.menu-footer-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.2s;
}
.menu-footer-cta:hover {
  background: #b86808;
}

/* ================================================================
   RESPONSIVE — global page padding
================================================================ */
@media (max-width: 768px) {
  .rv-about {
    padding: 70px 0;
  }
  .rv-services {
    padding: 70px 0;
  }
  .rv-blog {
    padding: 70px 0 60px;
  }
  .rv-consult {
    padding: 70px 20px;
  }
}
