/* ============================================================
   RANKOR — Main Stylesheet (Defyned-pattern design)
   Palette: #1a0a2e (dark purple) | #2d1854 (purple mid)
            #F5B800 (gold) | #d4a000 (gold dark) | #ffffff
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --purple-dark:   #1a0a2e;
  --purple-mid:    #2d1854;
  --purple-light:  #3d2470;
  --gold:          #F5B800;
  --gold-dark:     #d4a000;
  --gold-glow:     rgba(245, 184, 0, 0.25);
  --white:         #ffffff;
  --off-white:     #faf8ff;
  --gray-dark:     #525252;
  --gray-medium:   #777777;
  --light-gray:    #E6E6E6;
  --text-body:     #4b5563;
  --text-muted:    rgba(255,255,255,0.5);
  --border-gold:   rgba(245, 184, 0, 0.18);
  --nav-height:    76px;
  --radius:        14px;
  --radius-sm:     8px;
  --radius-full:   9999px;
  --transition:    0.28s ease;
  --shadow-dark:   0 8px 32px rgba(26, 10, 46, 0.35);
  --shadow-gold:   0 6px 24px rgba(245, 184, 0, 0.28);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Montserrat', system-ui, sans-serif;
  color: var(--purple-dark);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: color var(--transition); }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }

@keyframes rsEnter       { to { transform: translateY(0); opacity: 1; } }
@keyframes pulse-diagonal { 0%,100% { opacity:0.5; } 50% { opacity:1; } }
@keyframes pulse-dot      { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.3); opacity:0.7; } }
@keyframes gradient-shift { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
@keyframes gradientShift  { 0% { background-position:0% 50%; } 50% { background-position:100% 50%; } 100% { background-position:0% 50%; } }
@keyframes shimmer        { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
@keyframes float-in {
  from { opacity:0; transform:translateY(30px) scale(0.95); }
  to   { opacity:1; transform:translateY(0)    scale(1);    }
}
@keyframes float-circle {
  0%,100% { transform:translate(0,0)      scale(1);   }
  33%     { transform:translate(20px,-20px) scale(1.1); }
  66%     { transform:translate(-20px,20px) scale(0.9); }
}
@keyframes rk-chat-in {
  from { opacity:0; transform:scale(0.92) translateY(20px); }
  to   { opacity:1; transform:scale(1)    translateY(0);    }
}
@keyframes rk-btn-pulse {
  0%,100% { box-shadow:0 0 0  0  rgba(245,184,0,0.45); }
  50%     { box-shadow:0 0 0 10px rgba(245,184,0,0);    }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); will-change: auto; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.rk-announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, var(--purple-mid) 0%, #1a0a2e 50%, var(--purple-mid) 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  position: relative;
  border-bottom: 1px solid rgba(245,184,0,0.18);
}
.rk-announce-ticker {
  position: relative;
  overflow: hidden;
  height: 1.4em;
  min-width: 0;
  flex: 1;
}
.rk-ticker-slide {
  position: absolute;
  left: 0; right: 0;
  margin: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  white-space: nowrap;
  color: rgba(255,255,255,0.9);
}
.rk-ticker-slide strong { color: var(--gold); }
.rk-ticker-slide.rk-ticker-active { opacity: 1; transform: translateY(0); }
.rk-ticker-slide.rk-ticker-animate {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.55s ease;
}
.rk-ticker-slide.rk-ticker-exit { transform: translateY(-100%); opacity: 0; }
.rk-announce-close {
  position: absolute;
  right: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  opacity: 0.6;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  transition: opacity 0.2s;
}
.rk-announce-close:hover { opacity: 1; }
@media (min-width: 1024px) {
  .rk-announce-bar { font-size: 0.75vw; padding: 0.4vw 1vw; }
}

/* ============================================================
   STICKY NAVIGATION
   ============================================================ */
.sticky-nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10002;
  background-color: rgba(26, 10, 46, 0);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  will-change: background;
  transform: translateZ(0);
}
.sticky-nav-wrapper.scrolled {
  background-color: rgba(20, 6, 36, 0.98);
  box-shadow: 0 2px 24px rgba(26,10,46,0.5);
}
.header {
  width: 100%;
  background-color: transparent;
  border-bottom: 1px solid rgba(245, 184, 0, 0.25);
  transition: background-color 0.3s ease;
}
.sticky-nav-wrapper.scrolled .header {
  background-color: transparent;
  border-bottom-color: rgba(245, 184, 0, 0.12);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 768px) { .header-container { padding: 1.25rem 3rem; } }
@media (min-width: 1280px) { .header-container { padding: 1.25rem 8rem; } }

.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
}
.logo-container a { display: inline-block; }
.logo { height: 2.5rem; width: auto; object-fit: contain; }
@media (min-width: 640px) { .logo { height: 3rem; } }

.menu-icon-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-button {
  padding: 0.375rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  color: var(--white);
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  z-index: 10003;
}
.icon-button svg { width: 20px; height: 20px; }
@media (min-width: 640px) {
  .icon-button { padding: 0.5rem; }
  .icon-button svg { width: 24px; height: 24px; }
}
.icon-button:hover { background-color: rgba(255, 255, 255, 0.08); }
.burger-menu-btn { background: transparent !important; }
.burger-menu-btn:hover, .burger-menu-btn:active, .burger-menu-btn:focus, .burger-menu-btn.active {
  background: transparent !important;
}

/* ── Navigation bar (separate bar BELOW header, Defyned pattern) ── */
.nav-menu {
  width: 100%;
  background-color: transparent;
  border-bottom: none;
  padding: 0;
  display: none;
  transition: background-color 0.3s ease;
}

/* Desktop ≥1380px: show as horizontal bar — overflow must be visible so dropdown shows */
@media (min-width: 1380px) {
  .nav-menu {
    display: block;
    overflow: visible;
    padding: 0.5rem 0;
  }
}
.sticky-nav-wrapper.scrolled .nav-menu { background-color: rgba(20,6,36,0.98); }

/* Mobile/tablet: hidden by default, full-screen overlay when .menu-open */
@media screen and (max-width: 1379px) {
  .sticky-nav-wrapper .nav-menu:not(.menu-open) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  .sticky-nav-wrapper .nav-menu.menu-open {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: var(--nav-height, 76px);
    left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--nav-height, 76px)) !important;
    background-color: var(--purple-dark);
    z-index: 9997;
    overflow-y: auto !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .sticky-nav-wrapper .nav-menu.menu-open .nav-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    flex: 1 1 auto;
    overflow-y: auto;
  }
  .sticky-nav-wrapper .nav-menu.menu-open .nav-item {
    padding: 0.7rem 1rem;
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    background: transparent;
    border-radius: 9999px;
    text-align: left;
    width: 100%;
  }
  .sticky-nav-wrapper .nav-menu.menu-open .nav-item:hover {
    background-color: rgba(245,184,0,0.1);
    color: var(--gold);
  }
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  padding: 1rem;
  flex-wrap: nowrap;
  min-width: 0;
}
@media (min-width: 640px) {
  .nav-container {
    flex-direction: row;
    justify-content: center;
    padding: 0 1rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
  }
}

.nav-item {
  padding: 0.55rem 1.1rem;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
  width: 100%;
  text-align: left;
  text-decoration: none;
  display: inline-block;
}
@media (min-width: 640px) {
  .nav-item { font-size: 15px; padding: 0.45rem 1.1rem; width: auto; text-align: center; }
}
/* Hover at top of page: dark pill visible on any light/warm hero background */
.sticky-nav-wrapper:not(.scrolled) .nav-item:hover {
  background-color: rgba(10, 4, 22, 0.28);
  color: var(--white);
  outline: 2px solid rgba(255, 255, 255, 0.55);
}
/* Hover when scrolled: gold pill visible on dark purple nav */
.sticky-nav-wrapper.scrolled .nav-item:hover {
  background-color: rgba(245, 184, 0, 0.18);
  color: var(--gold);
  outline: 1px solid rgba(245, 184, 0, 0.55);
}
.nav-item:visited { color: rgba(255,255,255,0.9); }

/* Mobile-only nav item: visible only on mobile */
.mobile-only { display: none !important; }
@media screen and (max-width: 1379px) { .mobile-only { display: inline-block !important; } }

/* Services dropdown */
.services-dropdown { position: relative; }

/* Invisible bridge: extends the hover zone 12px below the trigger so the
   mouse never exits .services-dropdown when moving into the dropdown menu */
.services-dropdown::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.services-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: flex;
  flex-direction: column;
  background: var(--gold);
  border-radius: 12px;
  padding: 0.75rem 0;
  min-width: 260px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
  z-index: 10010;
}
.services-dropdown:hover .services-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.services-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.services-menu a + a {
  border-top: 1px solid rgba(26,10,46,0.08);
}
.services-menu a:hover {
  background: rgba(26,10,46,0.08);
  color: var(--purple-dark);
}

/* Nav CTA button */
.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.btn-nav-cta {
  background: var(--gold);
  color: var(--purple-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.55rem 1.35rem;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: var(--purple-dark);
}

/* Burger button — visible on mobile, hidden on desktop ≥1380px */
.burger-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
@media (min-width: 1380px) {
  .burger-menu-btn { display: none !important; }
}

/* Share/contact icon — hidden on mobile, visible on desktop ≥1380px */
.share-icon-btn { display: none; }
@media (min-width: 1380px) { .share-icon-btn { display: flex; } }
.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger-menu-btn.active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-menu-btn.active .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-menu-btn.active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide menu (legacy, kept for header.php compat) */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--purple-dark);
  padding: 2rem 1.75rem;
  overflow-y: auto;
  transform: translateX(100%);
  will-change: transform;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav-item {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}
.mobile-nav-item:hover { color: var(--gold); }
.mobile-services-toggle {
  width: 100%;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toggle-arrow { font-size: 0.8rem; transition: transform var(--transition); }
.mobile-services.open .toggle-arrow { transform: rotate(180deg); }
.mobile-services-sub {
  display: none;
  flex-direction: column;
  padding: 0.5rem 0 0.75rem 1rem;
}
.mobile-services.open .mobile-services-sub { display: flex; }
.mobile-services-sub a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  padding: 0.5rem 0;
  transition: color var(--transition);
}
.mobile-services-sub a:hover { color: var(--gold); }
.mobile-nav-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--purple-dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  text-align: center;
}

/* ============================================================
   HERO SECTION (Defyned pattern)
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--purple-dark) 0%, #2a1050 50%, #1a0a2e 100%);
  overflow: hidden;
  padding-top: 70px;
}

/* Optional: when a hero bg image is placed at img/hero-bg.jpg */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Subtle radial overlay for depth */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(245, 184, 0, 0.06) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 4rem;
  padding-bottom: 6rem;
  padding-left: 2rem;
  padding-right: 2rem;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: calc(100vh - 70px);
  max-width: 800px;
}

@media (max-width: 1379px) {
  .hero-section { min-height: unset; }
  .hero-content {
    min-height: unset;
    padding-top: 4rem;
    padding-bottom: 3rem;
    gap: 0.6rem;
  }
  .hero-subtitle { margin-bottom: 0 !important; }
  .hero-heading { margin-bottom: 0.75rem !important; }
}

@media (min-width: 1380px) {
  .hero-content {
    gap: 2rem;
    padding-top: 10rem;
    padding-bottom: 12rem;
    padding-left: 10rem;
    padding-right: 2rem;
    min-height: 100vh;
  }
}

.hero-subtitle { width: 100%; }

.subtitle-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
@media (min-width: 640px) { .subtitle-text { font-size: 2rem; } }

.hero-heading { width: 100%; }

.main-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .main-heading { font-size: 2.75rem; } }
@media (min-width: 1024px) { .main-heading { font-size: 3.25rem; } }
@media (min-width: 1280px) { .main-heading { font-size: 4rem; } }

.hero-cta { padding-top: 1rem; }

.cta-button, .cta-button:link, .cta-button:visited {
  background-color: var(--gold);
  color: var(--purple-dark);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245, 184, 0, 0.35);
  border-radius: 4px;
}
.cta-button:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--purple-dark);
}

/* ============================================================
   MOBILE HERO FORM (below hero on mobile)
   ============================================================ */
.hero-mobile-form {
  display: block;
  width: 100%;
  background: #f4f2f8;
  padding: 2rem 1.25rem;
}
@media (min-width: 1380px) { .hero-mobile-form { display: none; } }

.hmf-inner {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 24px rgba(26, 10, 46, 0.12);
}

.hmf-header {
  text-align: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.hmf-header h3 {
  color: var(--purple-dark);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 3px;
  letter-spacing: 0.02em;
}
.hmf-header p { color: #777; font-size: 0.78rem; margin: 0; }

.hmf-form { display: flex; flex-direction: column; gap: 10px; }
.hmf-group { display: flex; flex-direction: column; gap: 3px; }
.hmf-group label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--purple-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hmf-group input, .hmf-group select, .hmf-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #222;
  background: #f8f8fb;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}
.hmf-group input:focus, .hmf-group select:focus, .hmf-group textarea:focus {
  border-color: var(--purple-dark);
  background: #fff;
}
.hmf-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231a0a2e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.hmf-group textarea { resize: none; line-height: 1.45; }

.hmf-btn {
  margin-top: 4px;
  padding: 12px 16px;
  background: var(--purple-dark);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  font-family: inherit;
  letter-spacing: 0.02em;
  width: 100%;
}
.hmf-btn:hover { background: var(--gold); color: var(--purple-dark); }
.hmf-btn:active { transform: scale(0.98); }

/* ============================================================
   PHONE WIDGET (Desktop floating contact form)
   ============================================================ */
.hero-phone-widget {
  display: none;
  position: absolute;
  right: 8%;
  top: calc(50% + 40px);
  transform: translateY(-50%);
  z-index: 20;
}
@media (min-width: 1380px) { .hero-phone-widget { display: block; } }

.phone-frame {
  width: 560px;
  height: auto;
  background: linear-gradient(150deg, #f6f6f6 0%, #e6e6e6 25%, #d8d8d8 50%, #e2e2e2 75%, #f0f0f0 100%);
  border-radius: 22px;
  padding: 16px 22px 16px 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(0,0,0,0.06),
    inset 1px 0 0 rgba(255,255,255,0.5),
    inset -1px 0 0 rgba(0,0,0,0.04),
    0 0 0 1.5px #c2c2c2,
    0 28px 72px rgba(0,0,0,0.42),
    0 8px 20px rgba(0,0,0,0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.phone-notch {
  width: 100%;
  height: 18px;
  background: transparent;
  margin-bottom: 6px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-notch::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #3a3a3a;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.35), inset 0 1px 2px rgba(0,0,0,0.7);
  flex-shrink: 0;
}

.phone-screen {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: visible;
  padding: 18px 22px 16px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.07), inset 0 2px 5px rgba(0,0,0,0.05);
}

.phone-form-header {
  text-align: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.phone-form-header h3 {
  color: var(--purple-dark);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.phone-form-header p { color: #777; font-size: 0.78rem; margin: 0; }

.phone-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.phone-form .phone-form-group:last-of-type,
.phone-form .phone-form-btn { grid-column: 1 / -1; }

.phone-form-group { display: flex; flex-direction: column; gap: 3px; }
.phone-form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.phone-form-group input, .phone-form-group select, .phone-form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 9px;
  font-size: 0.82rem;
  color: #222;
  background: #f8f8fb;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}
.phone-form-group input:focus, .phone-form-group select:focus, .phone-form-group textarea:focus {
  border-color: var(--purple-dark);
  background: #fff;
}
.phone-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231a0a2e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  padding-right: 26px;
}
.phone-form-group textarea { resize: none; line-height: 1.45; }

.phone-form-btn {
  margin-top: 6px;
  padding: 12px 16px;
  background: var(--purple-dark);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.phone-form-btn:hover { background: var(--gold); color: var(--purple-dark); }
.phone-form-btn:active { transform: scale(0.98); }

.phone-home-bar {
  width: 80px;
  height: 5px;
  background: rgba(80,80,80,0.22);
  border-radius: 3px;
  margin-top: 10px;
  flex-shrink: 0;
  display: block;
}

/* ============================================================
   PORTFOLIO SECTION (Defyned pattern - color blocks)
   ============================================================ */
.portfolio-section {
  width: 100%;
  background-color: var(--white);
  overflow: hidden;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}
@media (min-width: 768px) { .portfolio-grid { min-height: 38rem; } }
@media (min-width: 1380px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.portfolio-left { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1380px) {
  .portfolio-left { display: grid; grid-template-columns: 1fr; height: 100%; }
}

.portfolio-inner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  min-height: 40rem;
}
@media (min-width: 640px) { .portfolio-inner-grid { min-height: 38rem; } }
@media (min-width: 1380px) { .portfolio-inner-grid { min-height: 38rem; height: auto; } }

.portfolio-block {
  min-height: 10rem;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) { .portfolio-block { min-height: 12.5rem; } }
@media (min-width: 768px) { .portfolio-block { min-height: 15rem; } }
@media (min-width: 1380px) { .portfolio-block { height: 100%; min-height: 0; } }

.navy-block { background-color: var(--purple-dark); }
.gold-block  { background-color: var(--gold-dark); }

.image-block {
  position: relative;
  background-color: var(--white);
  overflow: hidden;
}
.portfolio-image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Animate blocks on scroll */
.portfolio-block, .portfolio-right {
  transform: scaleY(-1);
  transition: transform 0.8s ease-in-out;
}
.portfolio-section.in-view .portfolio-block,
.portfolio-section.in-view .portfolio-right {
  transform: scaleY(1);
}
.portfolio-inner-grid .portfolio-block:nth-child(1) { transition-delay: 0s; }
.portfolio-inner-grid .portfolio-block:nth-child(2) { transition-delay: 0.15s; }
.portfolio-inner-grid .portfolio-block:nth-child(3) { transition-delay: 0.3s; }
.portfolio-inner-grid .portfolio-block:nth-child(4) { transition-delay: 0.45s; }
.portfolio-right { transition-delay: 0.6s; }

.portfolio-image-center { object-position: center center; }
.portfolio-image-right  { object-position: right center; }
.portfolio-image-left   { object-position: left center; }

.color-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  pointer-events: none;
}
.blue-overlay   { background: rgba(26, 10, 46, 0.6); }
.yellow-overlay { background: rgba(245, 184, 0, 0.55); }

.portfolio-right {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--purple-dark);
  min-height: 40rem;
}
@media (min-width: 640px) { .portfolio-right { min-height: 38rem; } }
@media (min-width: 768px) { .portfolio-right { min-height: 38rem; } }
@media (max-width: 767px) {
  .portfolio-right {
    min-height: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .portfolio-right .portfolio-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    object-position: center center;
    display: block;
  }
}

/* Stat blocks (used instead of images) */
.portfolio-stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  height: 100%;
  width: 100%;
}
.portfolio-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.portfolio-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  max-width: 140px;
}
.portfolio-right-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 3rem 2.5rem;
  height: 100%;
  background: linear-gradient(to top, rgba(26,10,46,0.95) 0%, rgba(26,10,46,0.6) 60%, transparent 100%);
}
.portfolio-right-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.portfolio-right-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.portfolio-right-body {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  font-family: 'Roboto', sans-serif;
}

/* ============================================================
   WHO WE ARE SECTION (Defyned pattern)
   ============================================================ */
.who-we-are-section {
  position: relative;
  width: 100%;
  background: var(--purple-dark);
  overflow: hidden;
}
.who-we-are-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 4, 22, 0.55);
  pointer-events: none;
}

.who-we-are-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.who-we-are-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.who-we-are-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px) {
  .who-we-are-content { gap: 1.25rem; padding: 4rem 2rem; }
}
@media (min-width: 768px) { .who-we-are-content { padding: 5rem 3rem; } }
@media (min-width: 1024px) { .who-we-are-content { padding: 6rem 6rem; } }
@media (min-width: 1280px) { .who-we-are-content { padding: 7rem 10rem; } }

.who-we-are-label { display: flex; flex-direction: column; }
.label-text {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-align: left;
  line-height: 1em;
}

.who-we-are-heading { display: flex; flex-direction: column; }
.who-we-are-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3em;
  text-align: left;
}
@media (min-width: 640px) { .who-we-are-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .who-we-are-title { font-size: 48px; } }

.who-we-are-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 42rem;
}
.body-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.6em;
  text-align: left;
}

/* ============================================================
   CAROUSEL SECTION (Defyned pattern)
   ============================================================ */
.carousel-section {
  width: 100%;
  background-color: var(--white);
  position: relative;
  padding: 2rem 0;
}

.carousel-section-title {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-dark);
  text-align: center;
  line-height: 1em;
  font-family: 'Montserrat', sans-serif;
}
@media (min-width: 768px) { .carousel-section-title { font-size: 32px; } }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.carousel-btn:hover {
  background-color: rgba(255,255,255,1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.carousel-btn-left  { left: 1rem; }
.carousel-btn-right { right: 1rem; }
@media (min-width: 640px) {
  .carousel-btn { width: 56px; height: 56px; }
  .carousel-btn-left  { left: 1.5rem; }
  .carousel-btn-right { right: 1.5rem; }
}
.carousel-btn svg { width: 24px; height: 24px; }

.carousel-list {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  align-items: center;
  height: 100%;
  scroll-behavior: smooth;
  width: 100%;
}
@media (min-width: 768px) { .carousel-list { gap: 20px; padding: 0 3rem; } }

@media (max-width: 767px) {
  .carousel-list { scrollbar-width: none; }
  .carousel-list::-webkit-scrollbar { display: none; }
}
.carousel-list::-webkit-scrollbar { height: 8px; }
.carousel-list::-webkit-scrollbar-track { background: #e5e7eb; border-radius: 4px; }
.carousel-list::-webkit-scrollbar-thumb { background: #9ca3af; border-radius: 4px; }
.carousel-list::-webkit-scrollbar-thumb:hover { background: #6b7280; }

.carousel-item {
  flex-shrink: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@media (min-width: 768px) { .carousel-item { width: auto; padding: 0; } }

.carousel-card {
  position: relative;
  width: 100%;
  max-width: 307px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@media (min-width: 640px) { .carousel-card { max-width: 340px; height: 374px; } }
@media (min-width: 768px) { .carousel-card { width: 307px; max-width: none; margin: 0; } }
@media (min-width: 1024px) { .carousel-card { width: 340px; height: 374px; } }
@media (min-width: 1280px) { .carousel-card { width: 360px; height: 408px; } }

.carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient card (when no image) */
.carousel-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-mid) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.5rem;
}
.carousel-card-icon {
  font-size: 3rem;
  opacity: 0.15;
}

.carousel-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.85) 100%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}
.carousel-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  line-height: 1em;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
}
.carousel-description {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.3em;
  text-align: left;
  font-family: 'Roboto', sans-serif;
}
.carousel-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--purple-dark);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  z-index: 3;
}
@media (max-width: 640px) {
  .carousel-text { padding: 0.9rem; }
  .carousel-title { font-size: 18px; }
  .carousel-description { font-size: 14px; }
}

/* ============================================================
   SERVICES SECTION (Defyned pattern)
   ============================================================ */
.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  background-color: var(--white);
  overflow: hidden;
}
.services-section.services-reverse { flex-direction: column-reverse; }
@media (min-width: 1380px) {
  .services-section {
    flex-direction: row;
    min-height: 540px;
  }
  .services-section.services-reverse {
    flex-direction: row-reverse;
  }
}

.services-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 3rem 1.5rem;
  width: 100%;
}
@media (min-width: 768px) { .services-content { padding: 3rem 2.5rem; } }
@media (min-width: 1380px) {
  .services-content {
    flex: 1;
    padding: 5rem 5rem;
    justify-content: center;
  }
}

.services-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-medium);
  text-align: left;
  line-height: 1em;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif;
}
.services-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.3em;
  text-align: left;
  margin: 0;
}
@media (min-width: 768px) { .services-heading { font-size: 34px; } }
@media (min-width: 1280px) { .services-heading { font-size: 40px; } }

.services-body {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gray-medium);
  line-height: 1.6em;
  text-align: left;
  margin: 0;
  max-width: 42rem;
}

.services-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--gold-dark);
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  width: fit-content;
  font-family: 'Inter', sans-serif;
  border-radius: 4px;
}
.services-btn:hover { opacity: 0.9; transform: translateY(-1px); color: var(--white); }

.services-image {
  width: 100%;
  position: relative;
  min-height: 320px;
  background-color: var(--white);
}
@media (min-width: 1380px) {
  .services-image {
    flex: 1;
    min-height: 540px;
  }
}
.services-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}
/* Gradient panel when no image */
.services-image-gradient {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.services-panel-purple {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-mid) 100%);
}
.services-panel-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
}
.services-panel-icon {
  text-align: center;
}
.services-panel-icon svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
  stroke: var(--white);
}

/* ============================================================
   VALUES SECTION (Defyned pattern — dark background)
   ============================================================ */
.values-section {
  width: 100%;
  background-color: var(--purple-dark);
  padding: 3rem 1.5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .values-section { padding: 4rem 3rem; } }
@media (min-width: 1024px) { .values-section { padding: 6rem; } }

.values-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 1380px) {
  .values-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .value-card { flex: 1; max-width: none; }
}

.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.value-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.value-icon svg { width: 100%; height: 100%; }
.value-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5em;
  text-align: center;
  color: rgba(230,230,230,0.9);
}
.value-text strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}

/* ============================================================
   RELATED SERVICES SECTION  (Defyned pattern, Rankor colors)
   ============================================================ */
.related-services-section {
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.6), rgba(255, 255, 255, 0));
  padding: 48px 0;
  border-top: 1px solid rgba(26, 10, 46, 0.06);
}

.related-services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.related-services-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--purple-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.related-services-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.related-services-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 48px 18px 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-radius: 14px;
  border: 1px solid rgba(26, 10, 46, 0.05);
  box-shadow: 0 12px 30px rgba(26, 10, 46, 0.06);
  color: var(--purple-dark);
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 220ms ease, background 220ms ease;
  position: relative;
  transform: translateY(12px);
  opacity: 0;
  animation: rsEnter 420ms forwards ease;
}
.related-services-link:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 28px 60px rgba(26, 10, 46, 0.12);
  background: linear-gradient(180deg, #ffffff, #f8f5ff);
}
.related-services-link::after {
  content: '→';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-weight: 900;
}

.rs-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.06), rgba(245, 184, 0, 0.05));
  color: var(--gold);
  box-shadow: 0 6px 18px rgba(26, 10, 46, 0.04);
}
.rs-icon svg {
  width: 26px;
  height: 26px;
  color: var(--purple-dark);
}

.rs-copy { flex: 1; }

.rs-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--purple-dark);
}
.rs-excerpt {
  display: block;
  margin-top: 6px;
  color: var(--gray-medium);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.25;
  opacity: 0.95;
}

.related-services-item:nth-child(1) .related-services-link { animation-delay:   0ms; }
.related-services-item:nth-child(2) .related-services-link { animation-delay:  70ms; }
.related-services-item:nth-child(3) .related-services-link { animation-delay: 140ms; }
.related-services-item:nth-child(4) .related-services-link { animation-delay: 210ms; }
.related-services-item:nth-child(5) .related-services-link { animation-delay: 280ms; }
.related-services-item:nth-child(6) .related-services-link { animation-delay: 350ms; }

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */
.testimonial-section {
  width: 100%;
  background: var(--off-white);
  padding: 4rem 1.5rem;
}
.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
  display: block;
}
.testimonial-quote {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--purple-dark);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 1.5rem;
}
.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  left: 0; top: -0.5rem;
  font-size: 3rem;
  color: var(--gold);
  font-style: normal;
  line-height: 1;
}
.testimonial-quote::after {
  content: '\201D';
  position: absolute;
  right: 0; bottom: -1.5rem;
  font-size: 3rem;
  color: var(--gold);
  font-style: normal;
  line-height: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-info { text-align: left; }
.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple-dark);
}
.testimonial-role {
  font-size: 0.82rem;
  color: var(--gray-medium);
  font-family: 'Inter', sans-serif;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  justify-content: center;
}
.testimonial-stars svg { width: 20px; height: 20px; fill: var(--gold); stroke: var(--gold); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-section {
  background: var(--purple-dark);
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(245,184,0,0.12);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-inner { grid-template-columns: repeat(4, 1fr); } }

.stat-item {}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  display: block;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  width: 100%;
  background-color: #1a0a2e;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  border-top: 1px solid rgba(26,10,46,0.1);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 100vw;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 640px) { .footer-container { padding: 4rem 3rem; gap: 2rem; } }
@media (min-width: 1024px) { .footer-container { padding: 4rem 5rem; gap: 2.5rem; } }
@media (min-width: 1380px) {
  .footer-container {
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 4rem 6rem;
  }
}

.footer-top-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media (min-width: 1380px) { .footer-top-mobile { display: none; } }

.footer-shapes { display: flex; align-items: center; gap: 2px; flex-shrink: 0; position: relative; }
.footer-shapes-desktop { display: none; }
@media (min-width: 1380px) {
  .footer-shapes-desktop {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    position: relative;
  }
}

/* Footer logo — no background needed, white logo visible on light purple footer */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-brand-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-spacer { display: none; }
@media (min-width: 1380px) {
  .footer-spacer {
    flex: 1 0 0px;
    height: min-content;
    min-height: 17px;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
  }
}

.footer-spacer-desktop { display: none; }
@media (min-width: 1380px) {
  .footer-spacer-desktop {
    flex: 1 0 0px;
    height: 100px;
    position: relative;
    display: block;
  }
}

.footer-columns-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 480px) { .footer-columns-wrapper { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1380px) {
  .footer-columns-wrapper {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: auto;
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  position: relative;
}
@media (min-width: 1380px) { .footer-column { width: auto; min-width: 160px; max-width: 100%; } }

.footer-column-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
  color: #d4a000;
  margin: 0 0 0.35rem;
}

.footer-link {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: rgb(153, 153, 153);
  cursor: pointer;
  transition: color 150ms;
  text-decoration: none;
  display: block;
}
.footer-link:hover { color: var(--gold-dark); }

.footer-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgb(153, 153, 153);
  margin: 0;
}
.footer-text a { color: rgb(153, 153, 153); transition: color 150ms; }
.footer-text a:hover { color: var(--gold-dark); }

.footer-bottom {
  width: 100%;
  border-top: 1px solid #e5e7eb;
  padding: 1.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  box-sizing: border-box;
}
@media (min-width: 640px) { .footer-bottom { padding: 1.4rem 2rem; } }
.footer-copyright { font-size: 0.78rem; color: rgb(153,153,153); }
.footer-copyright a { color: rgb(153,153,153); }
.footer-copyright a:hover { color: var(--gold-dark); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: rgb(153,153,153); }
.footer-legal a:hover { color: var(--purple-dark); }
@media (max-width: 599px) { .footer-bottom { flex-direction: column; text-align: center; } }

/* ============================================================
   THANK-YOU POPUP MODAL
   ============================================================ */
.ty-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(10, 4, 22, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  will-change: opacity;
}
.ty-overlay.active { opacity: 1; visibility: visible; }

.ty-card {
  background: var(--purple-dark);
  border: 1px solid rgba(245, 184, 0, 0.22);
  border-radius: 24px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: scale(0.88) translateY(20px);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  will-change: transform, opacity;
}
.ty-overlay.active .ty-card { transform: scale(1) translateY(0); opacity: 1; }
.ty-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(245,184,0,0.3));
}
.ty-card::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,184,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ty-icon-wrap { position: relative; width: 90px; height: 90px; margin: 0 auto 1.75rem; }
.ty-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(245,184,0,0.3);
  opacity: 0;
}
.ty-overlay.active .ty-pulse { animation: ty-pulse-ring 1.2s ease-out 0.9s forwards; }
@keyframes ty-pulse-ring {
  0%   { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.ty-svg { width: 90px; height: 90px; display: block; }
.ty-circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform-origin: center;
  transform: rotate(-90deg);
  will-change: stroke-dashoffset;
}
.ty-overlay.active .ty-circle { animation: ty-draw 0.6s ease 0.25s forwards; }
.ty-check {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  will-change: stroke-dashoffset;
}
.ty-overlay.active .ty-check { animation: ty-draw 0.42s ease 0.78s forwards; }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }

.ty-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ty-p { position: absolute; bottom: -10px; border-radius: 50%; opacity: 0; will-change: transform, opacity; }
.ty-overlay.active .ty-p { animation: ty-float 1.8s ease-out forwards; }
.ty-p:nth-child(1) { width:8px; height:8px; left:12%; background:var(--gold); animation-delay:0.55s; }
.ty-p:nth-child(2) { width:5px; height:5px; left:25%; background:rgba(255,255,255,0.6); animation-delay:0.65s; }
.ty-p:nth-child(3) { width:7px; height:7px; left:38%; background:var(--gold); animation-delay:0.45s; }
.ty-p:nth-child(4) { width:4px; height:4px; left:50%; background:rgba(255,255,255,0.4); animation-delay:0.7s; }
.ty-p:nth-child(5) { width:9px; height:9px; left:63%; background:var(--gold); animation-delay:0.5s; }
.ty-p:nth-child(6) { width:5px; height:5px; left:75%; background:rgba(245,184,0,0.6); animation-delay:0.6s; }
.ty-p:nth-child(7) { width:6px; height:6px; left:85%; background:rgba(255,255,255,0.5); animation-delay:0.75s; }
.ty-p:nth-child(8) { width:4px; height:4px; left:5%; background:rgba(245,184,0,0.5); animation-delay:0.8s; }
@keyframes ty-float {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(-200px) rotate(360deg); opacity: 0; }
}

.ty-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}
.ty-heading span { color: var(--gold); }
.ty-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  font-family: 'Roboto', sans-serif;
}
.ty-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--purple-dark);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  z-index: 1;
  border: none;
  font-family: 'Inter', sans-serif;
}
.ty-close-btn:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.ty-dismiss {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  line-height: 1;
  z-index: 2;
}
.ty-dismiss:hover { background: rgba(255,255,255,0.12); color: var(--white); }

@media (max-width: 599px) {
  .ty-card { padding: 2.5rem 1.75rem 2rem; }
  .ty-heading { font-size: 1.65rem; }
}

/* ============================================================
   FIXED SCHEDULE BUTTON  (bottom-left)
   ============================================================ */
.rk-schedule-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--purple-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(245,184,0,0.35);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.rk-schedule-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(245,184,0,0.45);
  color: var(--purple-dark);
}
.rk-schedule-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ============================================================
   FIXED CHAT BUTTON  (bottom-right)
   ============================================================ */
.rk-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--purple-dark);
  border: 2.5px solid rgba(245,184,0,0.45);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26,10,46,0.4);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
  animation: rk-btn-pulse 2.8s infinite;
}
.rk-chat-btn:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 8px 30px rgba(26,10,46,0.5);
  border-color: var(--gold);
}
.rk-chat-btn svg { width: 26px; height: 26px; }

/* ============================================================
   CHAT / CONTACT MODAL
   ============================================================ */
.rk-chat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.rk-chat-modal.show { display: flex; }
.rk-chat-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.rk-chat-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: transparent;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  z-index: 2;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: rk-chat-in 260ms ease;
}

/* Left panel */
.rk-chat-modal-left {
  background: var(--purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
}
.rk-chat-left-inner { max-width: 320px; width: 100%; }
.rk-chat-left-brand { margin-bottom: 1.5rem; }
.rk-chat-left-brand img { height: 42px; width: auto; object-fit: contain; }
.rk-chat-modal-left h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin: 0 0 1rem;
}
.rk-chat-divider {
  width: 44px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.rk-chat-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.rk-chat-contact-item { display: flex; align-items: center; gap: 12px; }
.rk-chat-contact-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(245,184,0,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rk-chat-contact-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.rk-chat-contact-val { display: block; font-size: 0.9rem; font-weight: 600; color: var(--white); }
.rk-chat-contact-val a { color: var(--white); text-decoration: none; }
.rk-chat-contact-val a:hover { color: var(--gold); }

/* Right panel */
.rk-chat-modal-right {
  background: var(--white);
  padding: 2rem 1.75rem 2.25rem;
  position: relative;
}
.rk-chat-modal-close {
  position: absolute; right: 14px; top: 14px;
  background: transparent; border: none;
  font-size: 20px; cursor: pointer;
  color: rgba(0,0,0,0.4); line-height: 1;
  padding: 4px 8px; border-radius: 4px;
  transition: color 150ms, background 150ms;
}
.rk-chat-modal-close:hover { color: var(--purple-dark); background: rgba(26,10,46,0.06); }
.rk-chat-right-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--purple-dark); margin: 0 0 1.1rem;
}
.rk-chat-error {
  background: #fff0f0; border: 1.5px solid #e55;
  border-radius: 8px; padding: 9px 12px;
  font-size: 0.8rem; color: #c00; display: none;
  margin-bottom: 0.6rem;
}
.rk-chat-form { display: flex; flex-direction: column; gap: 0.65rem; }
.rk-cf-row { display: flex; gap: 0.65rem; }
.rk-cf-half { flex: 1; }
.rk-chat-form label {
  display: block; font-size: 0.8rem;
  font-weight: 600; color: var(--purple-dark); margin-bottom: 3px;
}
.rk-chat-form input,
.rk-chat-form select,
.rk-chat-form textarea {
  width: 100%; padding: 0.52rem 0.75rem;
  border: 1.5px solid rgba(26,10,46,0.15); border-radius: 8px;
  font-size: 0.88rem; font-family: 'Inter', sans-serif;
  color: var(--purple-dark); background: var(--white);
  transition: border-color 150ms; box-sizing: border-box;
}
.rk-chat-form input:focus,
.rk-chat-form select:focus,
.rk-chat-form textarea:focus { outline: none; border-color: var(--gold); }
.rk-chat-form textarea { min-height: 80px; resize: vertical; }
.rk-chat-submit {
  background: var(--purple-dark); color: var(--white);
  border: none; padding: 0.78rem 1.5rem;
  border-radius: 8px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 0.88rem; cursor: pointer;
  transition: background 150ms, transform 150ms; align-self: flex-start;
}
.rk-chat-submit:hover { background: var(--purple-mid); transform: translateY(-1px); }
.rk-chat-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Success state */
.rk-chat-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.rk-chat-success-icon {
  width: 58px; height: 58px;
  background: rgba(245,184,0,0.1);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 1.1rem; color: var(--gold-dark);
}
.rk-chat-success h4 {
  font-family: 'Montserrat', sans-serif; font-size: 1.1rem;
  font-weight: 800; color: var(--purple-dark); margin: 0 0 0.5rem;
}
.rk-chat-success p { font-size: 0.87rem; color: var(--gray-medium); line-height: 1.55; }

/* Mobile: stack panels, form first */
@media (max-width: 700px) {
  .rk-chat-modal { align-items: flex-start; padding: 12px; }
  .rk-chat-modal-content {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px); overflow-y: auto; border-radius: 14px;
  }
  .rk-chat-modal-right { order: 1; }
  .rk-chat-modal-left  { order: 2; padding: 1.5rem; }
  /* Schedule button: icon-only pill on small screens */
  .rk-schedule-btn .rk-sch-label { display: none; }
  .rk-schedule-btn { padding: 14px; gap: 0; }
}
