/* ========== Global ========== */
:root {
  --primary: #0a2540;
  --accent: #cc0000;
  --accent-glow: #e63946;
  --light: #f5f7fa;
  --dark: #0a0a0a;
  --muted: #6b7280;
  --gold: #c9a227;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

p { color: #4a5568; }

a { text-decoration: none; transition: all 0.3s ease; }

.section { padding: 90px 0; }

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
}

.text-accent { color: var(--accent) !important; }
.bg-primary-dark { background: var(--primary) !important; }
.bg-light-gray { background: var(--light); }

/* ========== Navigation ========== */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 18px 0;
  transition: all 0.3s ease;
  z-index: 1030;
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}

.navbar-brand .neon-accent {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(230, 57, 70, 0.3);
}

.navbar-nav .nav-link {
  color: #2d3748 !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 12px;
  position: relative;
  padding: 8px 4px !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 50%, #0a2540 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 77, 94, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .glow {
  color: var(--accent-glow);
  text-shadow:
    0 0 10px rgba(255, 77, 94, 0.8),
    0 0 20px rgba(255, 77, 94, 0.5),
    0 0 30px rgba(255, 77, 94, 0.3);
  animation: neonFlicker 3s infinite alternate;
}

@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  47% { opacity: 1; }
  48% { opacity: 0.6; }
  49% { opacity: 1; }
  86% { opacity: 1; }
  87% { opacity: 0.4; }
  88% { opacity: 1; }
}

.hero p.lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 3rem;
}

.hero-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-glow);
}

.hero-stat .label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== Buttons ========== */
.btn {
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  font-size: 0.95rem;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-accent:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

.btn-outline-light-custom {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-outline-primary-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: #fff;
}

/* ========== Page Header (inner pages) ========== */
.page-header {
  background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
  padding: 180px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(230, 57, 70, 0.2) 0%, transparent 60%);
}

.page-header h1 {
  color: #fff;
  font-size: 3rem;
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active { color: var(--accent-glow); }

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ========== About / Vision-Mission cards ========== */
.about-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--accent);
  border-radius: 12px;
  z-index: -1;
}

.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.12);
  border-color: transparent;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

.feature-card h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* ========== Services ========== */
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
}

.service-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: #0a2540; /* fallback if image fails */
  position: relative;
  overflow: hidden;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.6) 0%, transparent 50%);
}

.service-body {
  padding: 30px;
}

.service-body h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.service-link:hover { color: var(--primary); gap: 14px; }

/* ========== Stats Strip ========== */
.stats-strip {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
  padding: 80px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-glow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}

/* ========== Clients ========== */
.client-logo {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.client-logo:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ========== Testimonials ========== */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 35px;
  border: 1px solid #e5e7eb;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 25px;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(10, 37, 64, 0.1);
  border-color: transparent;
}

.testimonial-text {
  font-style: italic;
  color: #4a5568;
  position: relative;
  z-index: 2;
  margin-bottom: 25px;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
}

.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1a3a5c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
}

.author-name {
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.author-role {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ========== Leadership ========== */
.leader-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10, 37, 64, 0.08);
  transition: all 0.4s ease;
  text-align: center;
  height: 100%;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(10, 37, 64, 0.15);
}

.leader-avatar {
  width: 100%;
  height: 360px;
  background-color: var(--primary);
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  position: relative;
}

.leader-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(10, 37, 64, 0.35) 100%),
    radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

.leader-info {
  padding: 30px;
}

.leader-name {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.leader-role {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.leader-email {
  color: var(--muted);
  font-size: 0.9rem;
}

.leader-email a { color: var(--muted); }
.leader-email a:hover { color: var(--accent); }

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #c52838 100%);
  padding: 80px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; }

/* ========== Contact ========== */
.contact-card {
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.contact-form {
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-control, .form-select {
  border: 1px solid #e5e7eb;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* ========== Footer ========== */
.footer {
  background: #050d1a;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}

.footer h5 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer .footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
  display: inline-block;
}

.footer .footer-brand .neon-accent { color: var(--accent); }

.footer p { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }

.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.footer ul li a:hover { color: var(--accent-glow); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Footer email + accent icon harmony — red icons (brand), white text, red hover */
.footer .text-accent { color: var(--accent) !important; }

.footer a[href^="mailto:"] {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a[href^="mailto:"]:hover {
  color: var(--accent);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.social-icons a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ========== Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RIL-style Hero Slider ========== */
.ril-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
}

.ril-hero .carousel,
.ril-hero .carousel-inner,
.ril-hero .carousel-item {
  height: 100%;
}

.ril-hero .carousel-item {
  position: relative;
  background: #050a14; /* fallback dark behind any letterboxing */
}

.ril-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ril-hero .carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.ril-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  color: #fff;
}

.ril-hero-caption .container { padding-top: 60px; }

.ril-hero-caption .eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.ril-hero-caption h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  max-width: 900px;
}

.ril-hero-divider {
  width: 280px;
  height: 2px;
  background: var(--gold);
  margin: 45px 0 35px;
  opacity: 0.85;
}

.ril-hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }

.btn-ril {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 14px 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0.3px;
  transition: all 0.35s ease;
  background: transparent;
}

.btn-ril i {
  font-size: 1.1rem;
  transition: transform 0.35s ease;
}

.btn-ril:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a;
}

.btn-ril:hover i { transform: translateX(5px); }

.ril-hero .carousel-indicators {
  bottom: 40px;
  margin-bottom: 0;
  gap: 8px;
  z-index: 6;
}

.ril-hero .carousel-indicators [data-bs-target] {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  opacity: 1;
  transition: all 0.3s ease;
}

.ril-hero .carousel-indicators .active {
  background: var(--gold);
  width: 60px;
}

.ril-hero .carousel-control-prev,
.ril-hero .carousel-control-next {
  width: 60px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 6;
}

.ril-hero:hover .carousel-control-prev,
.ril-hero:hover .carousel-control-next { opacity: 1; }

/* Navbar variant for RIL look */
.navbar.ril-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

/* Hide Bootstrap default dropdown caret — we use bi-chevron-down */
.navbar .dropdown-toggle::after { display: none !important; }

/* Brand logo (image icon + HTML text) */
.brand-icon-img {
  height: 54px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.navbar.scrolled .brand-icon-img { height: 46px; }

@media (max-width: 575px) {
  .brand-icon-img { height: 42px; }
  .navbar.scrolled .brand-icon-img { height: 38px; }
}

/* Legacy image logo (still supported) */
.navbar-brand .logo-img {
  height: 52px;
  width: auto;
  max-width: 100%;
  display: block;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand .logo-img { height: 44px; }

@media (max-width: 575px) {
  .navbar-brand .logo-img { height: 38px; }
  .navbar.scrolled .navbar-brand .logo-img { height: 34px; }
}

/* CSS-built brand fallback (kept available for footer / fallback) */
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 !important;
  text-decoration: none !important;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: #e63946;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.9rem;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.25);
  transition: all 0.3s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0a2540;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.62rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: 0.2px;
  text-transform: none;
}

.navbar.scrolled .brand-icon {
  width: 40px;
  height: 40px;
  font-size: 1.65rem;
}

.navbar.scrolled .brand-name { font-size: 1.05rem; }

/* Footer brand (light variant on dark bg) */
.footer .footer-brand-wrap .brand-icon {
  background: #e63946;
}

.footer .footer-brand-wrap .brand-name { color: #fff; }
.footer .footer-brand-wrap .brand-tagline { color: rgba(255, 255, 255, 0.55); }

@media (max-width: 575px) {
  .brand-icon { width: 38px; height: 38px; font-size: 1.5rem; }
  .brand-name { font-size: 0.95rem; }
  .brand-tagline { display: none; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 0.85rem; }
}

.navbar.ril-navbar .nav-link {
  font-weight: 400 !important;
  font-size: 1rem;
}

.navbar.ril-navbar .nav-link .bi-chevron-down {
  font-size: 0.7rem;
  margin-left: 4px;
  opacity: 0.6;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
  padding-left: 18px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4a5568;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.nav-icons a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .nav-icons {
    margin-left: 0;
    margin-top: 15px;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 15px;
    justify-content: flex-start;
  }
}

/* ========== We Care strip ========== */
.we-care {
  background: #f5ede0;
  padding: 100px 0 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.we-care .we-care-mark {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 7rem;
  line-height: 1;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #c9a227, #8b6914, #c9a227);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  opacity: 0.85;
}

.we-care .we-care-text {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: #2d2a24;
  line-height: 1.35;
  max-width: 1000px;
  margin: 0 auto;
}

/* ========== Businesses section (RIL-style) ========== */
.businesses-section {
  position: relative;
  min-height: 700px;
  background: #1a1a1a;
  overflow: hidden;
  padding: 0;
}

.businesses-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease;
  opacity: 0;
}

.businesses-bg.active { opacity: 1; }

.businesses-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(5,10,18,0.78) 0%,
    rgba(5,10,18,0.55) 30%,
    rgba(5,10,18,0.15) 55%,
    rgba(5,10,18,0) 75%);
  z-index: 1;
  pointer-events: none;
}

.businesses-bg {
  filter: saturate(1.18) contrast(1.08) brightness(1.05);
}

.businesses-content {
  position: relative;
  z-index: 2;
  padding: 110px 0;
  color: #fff;
}

.businesses-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 25px;
}

.businesses-content .eyebrow i { font-size: 1.2rem; }

.business-pane h2 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}

.business-pane p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 18px;
}

.business-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-tabs li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.business-tabs li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.business-tabs li:hover { color: #fff; padding-left: 8px; }

.business-tabs li.active {
  color: #fff;
  font-weight: 600;
}

.business-tabs li.active::after { width: 100%; }

.business-pane { display: none; }
.business-pane.active { display: block; animation: fadeInLeft 0.35s ease; }

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}

.businesses-bg {
  transition: opacity 0.45s ease;
}

/* ========== What Are We section ========== */
.what-section {
  padding: 110px 0;
  background: #fbf8f3;
  position: relative;
  overflow: hidden;
}

.what-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}

.what-section .eyebrow::before {
  content: '';
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.what-section h2 {
  font-size: 3rem;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.what-section h2 .accent { color: var(--gold); font-style: italic; }

.what-section p {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 22px;
}

.what-images {
  position: relative;
  height: 580px;
}

.what-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 75%;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(10, 37, 64, 0.18);
}

.what-image-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 50%;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.25);
  border: 8px solid #fbf8f3;
}

.what-image-badge {
  position: absolute;
  top: 30px;
  right: 20px;
  background: var(--gold);
  color: #1a1a1a;
  padding: 22px 28px;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(201, 162, 39, 0.4);
  z-index: 3;
  text-align: center;
}

.what-image-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.what-image-badge .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 4px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 32px;
  background: var(--gold);
  color: #1a1a1a;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--gold);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 162, 39, 0.3);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  margin-top: 25px;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.08);
}

.trust-pill i {
  color: var(--gold);
  font-size: 1.4rem;
}

.trust-pill strong {
  color: #1a1a1a;
  font-weight: 700;
}

.trust-pill span { color: #6b7280; font-size: 0.95rem; }

/* ========== Offer section ========== */
.offer-section {
  padding: 110px 0;
  background: #fff;
  position: relative;
}

.offer-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  justify-content: center;
}

.offer-section .eyebrow::before,
.offer-section .eyebrow::after {
  content: '';
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.offer-section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 18px;
  color: #1a1a1a;
}

.offer-section .lead {
  text-align: center;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.offer-card {
  position: relative;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  background-size: cover;
  background-position: center;
  background-color: #0a2540; /* fallback if image fails */
  display: block;
}

.offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 25, 0.92) 0%, rgba(10, 15, 25, 0.4) 50%, rgba(10, 15, 25, 0.15) 100%);
  transition: all 0.4s ease;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(10, 37, 64, 0.25);
}

.offer-card:hover::before {
  background: linear-gradient(to top, rgba(201, 162, 39, 0.92) 0%, rgba(10, 15, 25, 0.5) 55%, rgba(10, 15, 25, 0.1) 100%);
}

.offer-card .offer-icon {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.offer-card .offer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 35px 30px;
  color: #fff;
  z-index: 2;
}

.offer-card .offer-content h4 { color: #fff; }
.offer-card .offer-content p { color: rgba(255, 255, 255, 0.88); }

.offer-card .offer-content h4 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.offer-card .offer-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.offer-cta-banner {
  margin-top: 70px;
  background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
  border-radius: 12px;
  padding: 45px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.offer-cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.offer-cta-banner h3 {
  color: #fff;
  font-size: 1.6rem;
  margin: 0;
  position: relative;
  z-index: 2;
}

.offer-cta-banner .btn-gold { position: relative; z-index: 2; }

/* ========== Brand Manifesto ========== */
.manifesto {
  padding: 130px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #050a12 0%, #0d1622 40%, #0a1018 100%);
}

/* Ambient color glows + scattered city-light points */
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(201, 162, 39, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 78% 72%, rgba(204, 0, 0, 0.14) 0%, transparent 45%),
    radial-gradient(circle 2px at 12% 18%, rgba(255, 220, 120, 0.55), transparent 50%),
    radial-gradient(circle 2px at 85% 25%, rgba(255, 255, 255, 0.45), transparent 50%),
    radial-gradient(circle 2px at 22% 65%, rgba(255, 100, 100, 0.5),  transparent 50%),
    radial-gradient(circle 2px at 70% 50%, rgba(201, 162, 39, 0.55), transparent 50%),
    radial-gradient(circle 1px at 50% 28%, rgba(255, 220, 100, 0.45), transparent 50%),
    radial-gradient(circle 1px at 35% 82%, rgba(255, 255, 255, 0.4),  transparent 50%),
    radial-gradient(circle 2px at 90% 64%, rgba(204, 0, 0, 0.5),       transparent 50%),
    radial-gradient(circle 1px at 60% 88%, rgba(201, 162, 39, 0.45),  transparent 50%),
    radial-gradient(circle 1px at 8% 55%,  rgba(255, 255, 255, 0.35), transparent 50%),
    radial-gradient(circle 1px at 45% 12%, rgba(255, 220, 100, 0.4),  transparent 50%),
    radial-gradient(circle 1px at 92% 88%, rgba(204, 0, 0, 0.4),       transparent 50%);
  pointer-events: none;
}

/* Subtle grid that fades out near the edges */
.manifesto::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 78%);
  pointer-events: none;
}

.manifesto-mark {
  font-family: 'Playfair Display', serif;
  font-size: 9rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #c9a227 0%, #8b6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
  position: relative;
}

.manifesto-mark + .manifesto-mark {
  margin-top: -30px;
  opacity: 0.3;
  background: linear-gradient(180deg, #c9a227 0%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.manifesto-wrap { position: relative; z-index: 2; }

.manifesto-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  max-width: 900px;
  margin: 50px auto 35px;
}

.manifesto-divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 35px;
}

/* ========== Talk to Us banner ========== */
.talk-section {
  background:
    linear-gradient(rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.85)),
    url('https://images.unsplash.com/photo-1573164574230-db1d5e960238?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 110px 0;
  color: #fff;
  text-align: center;
}

.talk-section h2 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
}

.talk-section .talk-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin: 0 auto 35px;
}

/* ========== Navbar Dropdown ========== */
.navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  padding: 18px 0;
  margin-top: 18px;
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.15);
  min-width: 280px;
  background: #fff;
}

.navbar .dropdown-menu .dropdown-item {
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.navbar .dropdown-menu .dropdown-item i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 22px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  background: rgba(201, 162, 39, 0.08);
  color: var(--accent);
  padding-left: 30px;
}

.navbar .dropdown-menu .dropdown-item:hover i { color: var(--accent); }

@media (max-width: 991px) {
  .navbar .dropdown-menu { box-shadow: none; padding: 8px 0 8px 20px; }
}

/* ========== Service Detail Page ========== */
.service-hero {
  background: linear-gradient(135deg, rgba(10,37,64,0.9), rgba(26,58,92,0.85)), var(--service-bg, none);
  background-size: cover;
  background-position: center;
  padding: 180px 0 90px;
  color: #fff;
}

.service-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.service-hero .eyebrow::before {
  content: '';
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.service-hero h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.service-hero p.lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  max-width: 800px;
  line-height: 1.6;
}

.service-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-top: 18px;
}

.service-hero .breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.service-hero .breadcrumb .active { color: var(--gold); }
.service-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.4); }

/* Features list (with check icons) */
.features-grid .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  height: 100%;
}

.features-grid .feature-item:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.08);
  transform: translateY(-3px);
}

.features-grid .feature-item .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.features-grid .feature-item h5 {
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.features-grid .feature-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
  color: #6b7280;
  line-height: 1.5;
}

/* Process steps */
.process-step {
  position: relative;
  padding: 30px 25px;
  text-align: center;
  height: 100%;
}

.process-step .step-num {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(201, 162, 39, 0.2);
  margin-bottom: 10px;
}

.process-step h5 {
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.process-step p { font-size: 0.95rem; color: #6b7280; }

/* Service Gallery */
.service-gallery .gallery-item {
  position: relative;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

.service-gallery .gallery-item::after {
  content: '\f4d6';
  font-family: 'bootstrap-icons';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-gallery .gallery-item:hover { transform: scale(1.02); }
.service-gallery .gallery-item:hover::after { opacity: 1; }

/* Service materials/specs strip */
.specs-strip {
  background: #fbf8f3;
  padding: 70px 0;
}

.spec-pill {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 6px;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.spec-pill:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.spec-pill i { color: var(--gold); }
.spec-pill:hover i { color: #fff; }

/* Footer address blocks */
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-address i {
  color: var(--accent);
  font-size: 1.15rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-address .addr-label {
  display: block;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.footer-address .addr-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Address cards on contact page */
.address-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px 30px;
  border: 1px solid #e5e7eb;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.address-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
}

.address-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(10, 37, 64, 0.1);
}

.address-card .addr-city {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-card .addr-city i { color: var(--gold); }

.address-card .addr-tag {
  display: inline-block;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.address-card .addr-body {
  color: #4a5568;
  line-height: 1.7;
  font-size: 0.98rem;
}

.address-card .addr-body strong { color: var(--primary); }

/* Map cards for the Find Us section on Contact page */
.map-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 35px rgba(10, 37, 64, 0.08);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.map-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(10, 37, 64, 0.14);
}

.map-card-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid #f1f1f1;
  background: linear-gradient(180deg, #fbf8f3 0%, #ffffff 100%);
}

.map-card-tag {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.map-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
}

.map-card-frame {
  flex: 1;
  position: relative;
  min-height: 360px;
}

.map-card-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 991px) {
  .map-card-frame { min-height: 320px; }
  .map-card-title { font-size: 1.15rem; }
}

@media (max-width: 575px) {
  .map-card-frame { min-height: 280px; }
  .map-card-header { padding: 18px 18px 14px; }
  .map-card-title { font-size: 1rem; }
}

/* ========== Awards Section (dark gallery) ========== */
.awards-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #0a1018 0%, #050a12 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.awards-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(204, 0, 0, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.awards-section .container { position: relative; z-index: 2; }

.awards-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  justify-content: center;
}

.awards-section .eyebrow::before,
.awards-section .eyebrow::after {
  content: '';
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.awards-section h2 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.awards-section .awards-lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
  margin: 0 auto 55px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.award-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 12px;
  padding: 28px 20px 24px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.award-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.2) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.award-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}

.award-card:hover::before { opacity: 1; }

.award-image {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.award-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.5s ease;
}

.award-card:hover .award-image img { transform: scale(1.06); }

.award-info { position: relative; z-index: 2; }

.award-org {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}

.award-title {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  min-height: 2.7em;
}

.award-year {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

/* Compact strip variant for homepage */
.awards-strip {
  padding: 90px 0;
  background: #fbf8f3;
  position: relative;
}

.awards-strip .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  justify-content: center;
}

.awards-strip .eyebrow::before,
.awards-strip .eyebrow::after {
  content: '';
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.award-mini {
  background: #fff;
  border: 1px solid #ecdcb0;
  border-radius: 12px;
  padding: 25px 15px 20px;
  text-align: center;
  height: 100%;
  transition: all 0.35s ease;
}

.award-mini:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(201, 162, 39, 0.18);
}

.award-mini .award-mini-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.award-mini .award-mini-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.award-mini .mini-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  line-height: 1.35;
  margin-bottom: 5px;
}

.award-mini .mini-meta {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

@media (max-width: 991px) {
  .award-image { height: 200px; }
  .award-mini .award-mini-img { height: 120px; }
}

/* ========== Our Home / Headquarters Section ========== */
.hq-section {
  padding: 110px 0;
  background: #fbf8f3;
  position: relative;
  overflow: hidden;
}

.hq-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hq-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hq-section .container { position: relative; z-index: 2; }

.hq-image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10, 37, 64, 0.22);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hq-image-wrap:hover { transform: translateY(-4px); }

.hq-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hq-image-wrap:hover img { transform: scale(1.04); }

/* Corner accents — top-right gold, bottom-left red */
.hq-image-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  z-index: 3;
  pointer-events: none;
}

.hq-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-bottom: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  z-index: 3;
  pointer-events: none;
}

.hq-image-tag {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  z-index: 4;
}

.hq-image-tag .tag-eyebrow {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.hq-image-tag .tag-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.hq-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.hq-content .eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.hq-content h2 {
  font-size: 2.7rem;
  margin-bottom: 22px;
  line-height: 1.1;
  color: #1a1a1a;
}

.hq-content h2 .accent {
  color: var(--gold);
  font-style: italic;
}

.hq-content p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4a5568;
}

.hq-features {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.hq-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  color: #4a5568;
}

.hq-features li:last-child { border-bottom: none; }

.hq-features li i {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hq-features li strong {
  color: var(--primary);
  font-weight: 700;
  margin-right: 4px;
}

@media (max-width: 991px) {
  .hq-section { padding: 70px 0; }
  .hq-content h2 { font-size: 2.1rem; }
  .hq-image-wrap { margin-bottom: 30px; }
  .hq-image-wrap::before, .hq-image-wrap::after { width: 50px; height: 50px; }
  .hq-image-tag {
    bottom: 14px; right: 14px;
    padding: 10px 14px;
    border-left-width: 2px;
  }
  .hq-image-tag .tag-name { font-size: 0.95rem; }
  .hq-image-tag .tag-eyebrow { font-size: 0.58rem; letter-spacing: 2px; }
}

@media (max-width: 767px) {
  .hq-image-wrap { border-radius: 10px; margin-bottom: 24px; }
  .hq-image-wrap::before, .hq-image-wrap::after { width: 42px; height: 42px; border-width: 2px; }
  .hq-image-tag {
    bottom: 12px; right: 12px;
    padding: 8px 12px;
  }
  .hq-image-tag .tag-eyebrow { font-size: 0.55rem; letter-spacing: 1.8px; margin-bottom: 2px; }
  .hq-image-tag .tag-name { font-size: 0.85rem; }
  /* Disable hover scale on touch devices to avoid sticky :hover state */
  .hq-image-wrap:hover { transform: none; }
  .hq-image-wrap:hover img { transform: none; }
}

@media (max-width: 575px) {
  .hq-section { padding: 55px 0; }
  .hq-content h2 { font-size: 1.7rem; }
  .hq-image-wrap { border-radius: 8px; margin-bottom: 20px; }
  .hq-image-wrap::before, .hq-image-wrap::after { width: 32px; height: 32px; border-width: 2px; }
  .hq-features li { font-size: 0.88rem; padding: 10px 0; gap: 10px; }
  .hq-image-tag {
    bottom: 8px; right: 8px;
    padding: 6px 10px;
    border-radius: 6px;
  }
  .hq-image-tag .tag-eyebrow { font-size: 0.5rem; letter-spacing: 1.5px; }
  .hq-image-tag .tag-name { font-size: 0.78rem; }
}

/* Extra-small phones — keep the tag readable but compact */
@media (max-width: 380px) {
  .hq-image-wrap::before, .hq-image-wrap::after { width: 26px; height: 26px; }
  .hq-image-tag .tag-name { font-size: 0.72rem; }
}

/* ========== Our Businesses Section — Mobile Responsive ========== */
@media (max-width: 991px) {
  .businesses-section { min-height: auto; }
  .businesses-content { padding: 70px 0; }
  .businesses-section::after {
    /* Stronger darkening on mobile/tablet so text stays readable across the wider crop */
    background: linear-gradient(to bottom,
      rgba(5,10,18,0.55) 0%,
      rgba(5,10,18,0.75) 60%,
      rgba(5,10,18,0.85) 100%);
  }
  .businesses-bg {
    background-position: center center;
    background-size: cover;
  }
  .business-pane h2 { font-size: 2.4rem; }
  .business-pane p { font-size: 0.95rem; line-height: 1.7; }

  /* Stack tabs neatly on tablet */
  .business-tabs li { padding: 16px 0; font-size: 0.88rem; }
}

@media (max-width: 767px) {
  /* Keep cover (avoids empty space) but darken the overlay so cropping is invisible */
  .businesses-bg {
    background-size: cover;
    background-position: center center;
    background-color: #050a18;
  }
  .businesses-section::after {
    /* Much heavier overlay on mobile so the cropped image becomes ambient backdrop only */
    background: linear-gradient(to bottom,
      rgba(5,10,18,0.78) 0%,
      rgba(5,10,18,0.85) 50%,
      rgba(5,10,18,0.92) 100%);
  }
}

@media (max-width: 767px) {
  .businesses-content { padding: 55px 0 60px; }
  .businesses-section .row { row-gap: 0 !important; }

  .business-pane h2 { font-size: 1.85rem; margin-bottom: 18px; }
  .business-pane p { font-size: 0.9rem; }

  /* Make the tab list a horizontal scrollable strip on small screens */
  .business-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 0 14px;
    margin: 30px 0 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .business-tabs::-webkit-scrollbar { height: 4px; }
  .business-tabs::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.5); border-radius: 2px; }

  .business-tabs li {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .business-tabs li:hover,
  .business-tabs li.active {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.15);
    padding-left: 16px;
  }

  .business-tabs li::after { display: none; }

  .businesses-content .col-lg-5 { margin-top: 10px; }
  .businesses-content .col-lg-5 .mt-4 { margin-top: 16px !important; }
  .businesses-content .col-lg-5 .btn-ril { width: 100%; justify-content: space-between; }
}

@media (max-width: 575px) {
  .businesses-content { padding: 45px 0 50px; }
  .business-pane h2 { font-size: 1.55rem; }
  .businesses-content .eyebrow { letter-spacing: 2px; font-size: 0.78rem; }
}

/* ========== Hero Slider Mobile Fixes ========== */
@media (max-width: 991px) {
  .ril-hero { min-height: 560px; height: 75vh; }
}

@media (max-width: 767px) {
  .ril-hero {
    min-height: 560px;
    height: 88vh;
    max-height: 720px;
  }

  /* Mobile uses purpose-cropped 4:5 portrait images — center cover fills cleanly */
  .ril-hero-img {
    object-fit: cover;
    object-position: center;
  }

  /* Bottom-up gradient so caption sits cleanly over the lower image area */
  .ril-hero .carousel-item::after {
    background:
      linear-gradient(to top,
        rgba(5, 10, 20, 0.88) 0%,
        rgba(5, 10, 20, 0.55) 35%,
        rgba(5, 10, 20, 0.18) 70%,
        rgba(5, 10, 20, 0.05) 100%);
  }

  /* Anchor caption near the bottom of the hero (over the image, on top of the gradient) */
  .ril-hero-caption {
    top: auto;
    bottom: 80px;
    transform: none;
  }
  .ril-hero-caption .container { padding-top: 0; }
}

@media (max-width: 575px) {
  .ril-hero { min-height: 520px; height: 85vh; max-height: 680px; }
  .ril-hero-img { object-position: center; }
  .ril-hero-caption { bottom: 70px; }
  .ril-hero-caption .eyebrow { font-size: 0.72rem; letter-spacing: 3px; margin-bottom: 14px; }
  .ril-hero-caption h1 { font-size: 2.1rem; line-height: 1.1; }
  .ril-hero-caption p.lead { font-size: 0.95rem; }
  .ril-hero-divider { width: 140px; margin: 22px 0 18px; }
  .btn-ril { padding: 11px 20px; font-size: 0.82rem; gap: 14px; }
  .ril-hero-buttons { gap: 10px; flex-direction: column; align-items: stretch; }
  .ril-hero-buttons .btn-ril { justify-content: space-between; }
  .ril-hero .carousel-indicators { bottom: 22px; }
  .ril-hero .carousel-indicators [data-bs-target] { width: 24px; height: 3px; }
  .ril-hero .carousel-indicators .active { width: 40px; }
}

@media (max-width: 380px) {
  .ril-hero-caption { bottom: 60px; }
  .ril-hero-caption h1 { font-size: 1.75rem; }
}

/* ========== Editorial Story Grid (About — image + image + premium stat tile) ========== */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  width: 100%;
  height: 500px;
  position: relative;
}

/* Red offset frame for site continuity */
.editorial-grid::before {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  top: 35%;
  left: 35%;
  border: 3px solid var(--accent);
  border-radius: 14px;
  z-index: -1;
}

/* Floating "EST · 1992" pill */
.editorial-est {
  position: absolute;
  top: -18px;
  left: 30px;
  z-index: 6;
  background: #fff;
  color: var(--primary);
  padding: 9px 20px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 2px solid var(--accent);
  box-shadow: 0 14px 30px rgba(10, 37, 64, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.editorial-est::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: estPulse 1.6s ease-in-out infinite;
}

@keyframes estPulse {
  0%, 100% { opacity: 1; transform: scale(1);    }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* Image tiles */
.editorial-tile {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(10, 37, 64, 0.18);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-tile.is-hero { grid-row: span 2; }

.editorial-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 60px rgba(10, 37, 64, 0.3);
}

.editorial-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 25, 0.7) 0%, rgba(10, 15, 25, 0.05) 45%, transparent 65%);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.editorial-tile:hover::after { background: linear-gradient(to top, rgba(10, 15, 25, 0.78) 0%, rgba(10, 15, 25, 0.1) 50%, transparent 70%); }

.editorial-tile-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  color: #fff;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-tile:hover .editorial-tile-label { transform: translateY(-4px); }

.editorial-tile-label .eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.editorial-tile-label .title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.editorial-tile.is-hero .editorial-tile-label .title { font-size: 1.45rem; }
.editorial-tile.is-hero .editorial-tile-label {
  left: 24px;
  bottom: 24px;
}

/* Animated underline on hover */
.editorial-tile-label::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-tile:hover .editorial-tile-label::after { width: 40px; }

/* Premium gold stat tile (replaces 1 image cell) */
.editorial-stat-tile {
  position: relative;
  background: linear-gradient(135deg, #d4ac2c 0%, #a68015 60%, #8b6914 100%);
  border-radius: 14px;
  padding: 26px 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(201, 162, 39, 0.32);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-stat-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 55px rgba(201, 162, 39, 0.45);
}

.editorial-stat-tile::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.editorial-stat-tile::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.editorial-stat-tile .stat-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  z-index: 2;
}

.editorial-stat-tile .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 8px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.editorial-stat-tile .stat-divider {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  margin: 14px 0 12px;
  position: relative;
  z-index: 2;
}

.editorial-stat-tile .stat-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.45;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .editorial-grid { height: 440px; gap: 12px; }
  .editorial-stat-tile { padding: 20px 16px; }
  .editorial-stat-tile .stat-num { font-size: 2.3rem; }
  .editorial-tile-label .title { font-size: 1rem; }
  .editorial-tile.is-hero .editorial-tile-label .title { font-size: 1.2rem; }
}

@media (max-width: 575px) {
  .editorial-grid { height: 360px; gap: 10px; }
  .editorial-grid::before { bottom: -10px; right: -10px; }
  .editorial-est { top: -14px; left: 16px; padding: 7px 14px; font-size: 0.6rem; letter-spacing: 2px; }
  .editorial-stat-tile .stat-num { font-size: 1.75rem; }
  .editorial-stat-tile .stat-eyebrow, .editorial-stat-tile .stat-sub { font-size: 0.65rem; }
  .editorial-tile-label .eyebrow { font-size: 0.55rem; }
  .editorial-tile-label .title { font-size: 0.85rem; }
  .editorial-tile.is-hero .editorial-tile-label .title { font-size: 1rem; }
}

/* ========== 3D Signage Cube (About page — rotating cube of projects) ========== */
.cube-stage {
  position: relative;
  width: 100%;
  height: 540px;
  perspective: 1400px;
  perspective-origin: 50% 38%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient red+gold glow halo */
.cube-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 30% 40%, rgba(204, 0, 0, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(201, 162, 39, 0.28) 0%, transparent 55%);
  filter: blur(40px);
  z-index: 0;
  animation: cubeGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cubeGlow {
  from { transform: translate(-50%, -50%) scale(1);   opacity: 0.85; }
  to   { transform: translate(-50%, -50%) scale(1.1); opacity: 1;    }
}

/* Perspective grid floor */
.cube-floor {
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: 600px;
  height: 200px;
  transform: translateX(-50%) rotateX(72deg);
  transform-origin: center top;
  background-image:
    linear-gradient(rgba(204, 0, 0, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 0, 0, 0.35) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center top, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse at center top, #000 0%, transparent 75%);
  opacity: 0.45;
  z-index: 0;
}

/* The cube itself */
.cube {
  position: relative;
  width: 300px;
  height: 360px;
  transform-style: preserve-3d;
  animation: cubeSpin 18s linear infinite;
  z-index: 2;
  cursor: grab;
}

.cube-stage:hover .cube { animation-play-state: paused; }
.cube-stage:hover .cube-stage::before { animation-play-state: paused; }

@keyframes cubeSpin {
  0%   { transform: rotateX(-8deg) rotateY(0deg);   }
  100% { transform: rotateX(-8deg) rotateY(360deg); }
}

/* Floating Y-axis bob layered on top of spin */
.cube-bob {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cubeBob 4s ease-in-out infinite alternate;
}

@keyframes cubeBob {
  from { transform: translateY(-10px); }
  to   { transform: translateY(10px);  }
}

/* Each face of the cube */
.cube-face {
  position: absolute;
  inset: 0;
  background-color: #0a0f17;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backface-visibility: hidden;
}

/* Inner red-glow border highlight on each face */
.cube-face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 2px var(--accent),
    inset 0 0 30px rgba(204, 0, 0, 0.35),
    0 0 24px rgba(204, 0, 0, 0.55);
  pointer-events: none;
}

/* Dark gradient overlay so labels remain readable */
.cube-face::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.cube-face .face-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.cube-face .face-label .lbl-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.cube-face .face-label .lbl-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

/* Cube face positions — 4-sided spinner (front, right, back, left) */
.cube-face.front  { transform: translateZ(150px); }
.cube-face.right  { transform: rotateY(90deg)  translateZ(150px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(150px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(150px); }

/* Floating "EST 1992" badge orbiting above */
.cube-est-stamp {
  position: absolute;
  top: 12px;
  right: 12%;
  z-index: 4;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  text-align: center;
  line-height: 1;
  box-shadow:
    0 20px 40px rgba(204, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotate(-6deg);
  animation: stampFloat 5s ease-in-out infinite alternate;
}

.cube-est-stamp .est-eyebrow {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.cube-est-stamp .est-year {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 800;
}

@keyframes stampFloat {
  from { transform: rotate(-6deg) translateY(0); }
  to   { transform: rotate(-4deg) translateY(-10px); }
}

/* Stat chips floating around the cube */
.cube-chip {
  position: absolute;
  z-index: 3;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  text-align: center;
  line-height: 1;
  animation: chipFloat 4.5s ease-in-out infinite alternate;
}

.cube-chip .chip-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
}

.cube-chip .chip-lbl {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.cube-chip.chip-left  { bottom: 28%; left: 4%;  animation-delay: 0.5s; }
.cube-chip.chip-right { top: 32%;    right: 4%; animation-delay: 1.2s; }

@keyframes chipFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

@media (max-width: 991px) {
  .cube-stage { height: 460px; }
  .cube { width: 240px; height: 290px; }
  .cube-face.front  { transform: translateZ(120px); }
  .cube-face.right  { transform: rotateY(90deg)  translateZ(120px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(120px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(120px); }
  .cube-est-stamp { padding: 9px 14px; }
  .cube-est-stamp .est-year { font-size: 1.2rem; }
  .cube-chip { padding: 8px 12px; }
}

@media (max-width: 575px) {
  .cube-stage { height: 400px; }
  .cube { width: 200px; height: 250px; }
  .cube-face.front  { transform: translateZ(100px); }
  .cube-face.right  { transform: rotateY(90deg)  translateZ(100px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(100px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(100px); }
  .cube-face .face-label .lbl-title { font-size: 1.1rem; }
  .cube-floor { width: 400px; height: 140px; bottom: 30px; }
  .cube-est-stamp { right: 4%; }
  .cube-est-stamp .est-year { font-size: 1rem; }
  .cube-chip { padding: 6px 10px; }
  .cube-chip .chip-num { font-size: 1.05rem; }
}

/* ========== Smart Signage Panel (About page — illuminated display look) ========== */
.signage-panel {
  position: relative;
  background: linear-gradient(180deg, #0d1422 0%, #060a14 100%);
  border-radius: 18px;
  padding: 16px;
  box-shadow:
    0 30px 60px rgba(10, 15, 25, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  isolation: isolate;
}

/* Animated glow halo behind the panel */
.signage-panel::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg,
    var(--accent) 0%,
    transparent 35%,
    transparent 65%,
    var(--gold) 100%);
  z-index: -1;
  opacity: 0.55;
  filter: blur(14px);
  animation: panelGlow 7s ease-in-out infinite;
}

@keyframes panelGlow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.70; transform: scale(1.015); }
}

/* Top header: LED indicators + EST stamp */
.signage-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.signage-leds {
  display: flex;
  gap: 9px;
}

.signage-leds span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(204, 0, 0, 0.45);
  animation: ledPulse 1.8s ease-in-out infinite;
}

.signage-leds span:nth-child(2) {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold), 0 0 16px rgba(201, 162, 39, 0.45);
  animation-delay: 0.45s;
}

.signage-leds span:nth-child(3) {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80, 0 0 16px rgba(74, 222, 128, 0.4);
  animation-delay: 0.9s;
}

@keyframes ledPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.92); }
}

.signage-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.signage-meta .dot {
  color: var(--gold);
  margin: 0 6px;
}

/* The "screen" — main image with scanline + vignette */
.signage-screen {
  position: relative;
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #050a14;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.signage-screen::before {
  /* scanline pattern */
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.12) 0px,
      rgba(0, 0, 0, 0.12) 1px,
      transparent 2px,
      transparent 4px
    );
  pointer-events: none;
  opacity: 0.55;
}

.signage-screen::after {
  /* vignette + slight red wash near corners for that signage feel */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45) 100%),
    radial-gradient(circle at 0% 100%, rgba(204, 0, 0, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.signage-screen-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.signage-screen-label .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: ledPulse 1.4s ease-in-out infinite;
}

/* Stats strip at the bottom — scoreboard style */
.signage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 14px;
  padding: 14px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signage-stat {
  text-align: center;
  position: relative;
}

.signage-stat + .signage-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.signage-stat .num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 18px rgba(201, 162, 39, 0.35);
}

.signage-stat .label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

/* Marquee ticker below the panel */
.signage-marquee {
  position: relative;
  margin-top: 14px;
  background: #050a14;
  border-radius: 8px;
  padding: 9px 0;
  overflow: hidden;
  border: 1px solid rgba(204, 0, 0, 0.2);
}

.signage-marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: scrollMarquee 28s linear infinite;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.signage-marquee-track span {
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
}

.signage-marquee-track .accent { color: var(--gold); }
.signage-marquee-track .sep { color: var(--accent); font-size: 0.6rem; }

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 991px) {
  .signage-screen { height: 260px; }
  .signage-stat .num { font-size: 1.6rem; }
  .signage-meta { font-size: 0.6rem; letter-spacing: 2px; }
}

@media (max-width: 575px) {
  .signage-panel { padding: 12px; border-radius: 14px; }
  .signage-screen { height: 200px; }
  .signage-stat .num { font-size: 1.35rem; }
  .signage-stat .label { font-size: 0.55rem; letter-spacing: 1.4px; }
  .signage-marquee-track { font-size: 0.6rem; letter-spacing: 1.4px; }
}

/* ========== Philosophy Grid (3-image asymmetric grid) ========== */
.philosophy-collage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  width: 100%;
  height: 480px;
  position: relative;
}

.philosophy-collage::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  right: 30%;
  bottom: 30%;
  border: 3px solid var(--accent);
  border-radius: 14px;
  z-index: -1;
}

.collage-tile {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(10, 37, 64, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collage-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 50px rgba(10, 37, 64, 0.28);
}

.collage-tile .tile-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10, 37, 64, 0.92);
  color: #fff;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.collage-tile.is-main {
  grid-row: span 2;
}

.collage-tile.is-main .tile-label {
  background: var(--accent);
  bottom: 18px;
  left: 18px;
  padding: 6px 14px;
  font-size: 0.75rem;
}

@media (max-width: 991px) {
  .philosophy-collage { height: 400px; gap: 12px; }
  .collage-tile .tile-label { font-size: 0.65rem; padding: 4px 10px; letter-spacing: 1.2px; }
}

@media (max-width: 575px) {
  .philosophy-collage { height: 340px; gap: 10px; }
  .philosophy-collage::before { top: -10px; left: -10px; }
  .collage-tile .tile-label { font-size: 0.6rem; padding: 3px 8px; letter-spacing: 1px; bottom: 10px; left: 10px; }
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 30px; }
  .hero-stat .number { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .page-header h1 { font-size: 2.2rem; }
  .section { padding: 60px 0; }

  .ril-hero-caption h1 { font-size: 3.2rem; }
  .ril-hero { min-height: 560px; }
  .we-care .we-care-mark { font-size: 4rem; }
  .we-care .we-care-text { font-size: 1.4rem; }
  .business-pane h2 { font-size: 2.8rem; }
  .businesses-content { padding: 70px 0; }
  .nav-icons { margin-left: 0; margin-top: 15px; }

  .what-section h2, .offer-section h2, .talk-section h2 { font-size: 2.2rem; }
  .what-images { height: 460px; }
  .manifesto-mark { font-size: 5rem; }
  .manifesto-text { font-size: 1.3rem; }
  .offer-cta-banner { padding: 30px 25px; text-align: center; justify-content: center; }
  .offer-cta-banner h3 { font-size: 1.25rem; }
  .talk-section { background-attachment: scroll; padding: 70px 0; }
}

@media (max-width: 575px) {
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2.2rem; }
  .contact-form { padding: 30px 25px; }
  .stat-item .stat-num { font-size: 2.5rem; }

  .ril-hero-caption h1 { font-size: 2.3rem; }
  .ril-hero-divider { width: 180px; margin: 30px 0 25px; }
  .we-care { padding: 60px 0; }
  .we-care .we-care-mark { font-size: 3rem; }
  .we-care .we-care-text { font-size: 1.15rem; }
  .business-pane h2 { font-size: 2.2rem; }

  .what-section, .offer-section { padding: 60px 0; }
  .what-images { height: 360px; }
  .what-image-badge { padding: 14px 18px; }
  .what-image-badge .num { font-size: 1.6rem; }
  .manifesto { padding: 70px 0; }
  .manifesto-mark { font-size: 3.4rem; }
  .manifesto-text { font-size: 1.05rem; margin: 35px auto 25px; }
  .offer-card { height: 380px; }
}
