/* ==========================================================================
   RAINGLOW LIMITADA - Institutional Enterprise Design System
   B2C Technology Provider & Software Developer
   ========================================================================== */

:root {
  --rg-bg-base: #060911;
  --rg-bg-surface: #0c111e;
  --rg-bg-elevated: #11182a;
  --rg-bg-glass: rgba(12, 17, 30, 0.75);
  --rg-border-subtle: rgba(255, 255, 255, 0.08);
  --rg-border-medium: rgba(255, 255, 255, 0.14);
  --rg-border-gold: rgba(212, 175, 55, 0.35);
  --rg-gold-primary: #d4af37;
  --rg-gold-light: #f5d061;
  --rg-gold-dark: #a88220;
  --rg-gold-gradient: linear-gradient(135deg, #f5d061 0%, #d4af37 50%, #aa771c 100%);
  --rg-blue-accent: #3b82f6;
  --rg-blue-subtle: rgba(59, 130, 246, 0.12);
  --rg-green-status: #10b981;
  --rg-text-primary: #ffffff;
  --rg-text-secondary: #cbd5e1;
  --rg-text-muted: #94a3b8;
  --rg-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --rg-font-mono: 'Space Grotesk', 'Courier New', monospace;
}

/* Base Overrides */
html, body {
  background-color: var(--rg-bg-base) !important;
  color: var(--rg-text-secondary);
  font-family: var(--rg-font-sans) !important;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--rg-text-primary);
  font-family: var(--rg-font-sans) !important;
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  color: var(--rg-text-secondary);
  line-height: 1.7;
}

/* High Contrast Utility Overrides for Bootstrap Defaults */
.text-secondary {
  color: #cbd5e1 !important;
}

.text-muted {
  color: #94a3b8 !important;
}

.text-white-50 {
  color: #cbd5e1 !important;
}

/* Preloader branding */
.preloader .preloader-heading .load-text {
  color: var(--rg-gold-light) !important;
}

/* Gold Text Gradient with Solid Fallback */
.gold-gradient-text {
  color: #f5d061; /* Solid fallback ensures text is NEVER invisible */
  display: inline-block;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .gold-gradient-text {
    background: var(--rg-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* --------------------------------------------------------------------------
   Top Utility Bar
   -------------------------------------------------------------------------- */
.rg-top-bar {
  background: #04060c;
  border-bottom: 1px solid var(--rg-border-subtle);
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--rg-text-muted);
}

.rg-top-bar a {
  color: var(--rg-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rg-top-bar a:hover {
  color: var(--rg-gold-primary);
}

.rg-status-dot {
  width: 7px;
  height: 7px;
  background: var(--rg-green-status);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.tj-header-area {
  background: rgba(6, 9, 17, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rg-border-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px 0;
}

.tj-header-area.header-sticky.sticky {
  background: rgba(6, 9, 17, 0.95) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 12px 0;
}

.rainglow-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.rainglow-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.25));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.rainglow-brand-link:hover .rainglow-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.45));
}

/* Navigation Links */
.header-menu nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Suppress legacy template ::before underline to prevent duplicate lines on hover */
.tj-header-area .header-menu ul > li > a::before,
.tj-header-area .header-menu ul > li.current-menu-item > a::before,
.tj-header-area .header-menu ul > li.current-menu-ancestor > a::before,
.tj-header-area .header-menu ul > li:hover > a::before,
.tj-header-area .header-menu ul li a::before {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
}

.header-menu nav > ul > li > a {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.header-menu nav > ul > li > a:hover,
.header-menu nav > ul > li.active > a {
  color: var(--rg-gold-light);
}

.header-menu nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rg-gold-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.header-menu nav > ul > li > a:hover::after,
.header-menu nav > ul > li.active > a::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.rg-btn-primary {
  background: var(--rg-gold-gradient);
  color: #0b0f19 !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  color: #000000 !important;
}

.rg-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: 8px;
  border: 1px solid var(--rg-border-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.rg-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--rg-gold-primary);
  color: var(--rg-gold-light) !important;
  transform: translateY(-2px);
}

/* Legacy button classes mapping */
.rainglow-btn-gold {
  background: var(--rg-gold-gradient) !important;
  color: #0b0f19 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  padding: 12px 26px !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
  transition: all 0.25s ease !important;
}

.rainglow-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  color: #000000 !important;
}

.rainglow-btn-outline-gold {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
  border: 1px solid var(--rg-border-medium) !important;
  border-radius: 8px !important;
  padding: 12px 26px !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.rainglow-btn-outline-gold:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--rg-gold-primary) !important;
  color: var(--rg-gold-light) !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Badges & Labels
   -------------------------------------------------------------------------- */
.rg-badge,
.rainglow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--rg-border-gold);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rg-gold-light);
  text-transform: uppercase;
  font-family: var(--rg-font-sans);
}

.rg-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--rg-border-gold);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rg-gold-light) !important;
  text-transform: uppercase;
  font-family: var(--rg-font-sans);
  width: fit-content;
}

.rg-badge-pill span,
.rg-badge span,
.rainglow-badge span {
  color: var(--rg-gold-light) !important;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--rg-gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
}

.badge-dot-green {
  width: 6px;
  height: 6px;
  background: var(--rg-green-status);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

/* --------------------------------------------------------------------------
   Enterprise Hero Section (Centered Layout with Generated Background)
   -------------------------------------------------------------------------- */
.rg-hero-section {
  position: relative;
  padding: 160px 0 110px 0;
  background-color: #060911;
  background-image: 
    linear-gradient(180deg, rgba(6, 9, 17, 0.72) 0%, rgba(6, 9, 17, 0.84) 50%, #060911 100%),
    radial-gradient(circle at 50% 25%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    url('/assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.rg-hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.16;
  color: #ffffff;
  margin: 18px 0 22px 0;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.rg-hero-subtext {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.rg-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.rg-hero-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 7px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.rg-hero-tag-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.rg-hero-tag-item i {
  color: var(--rg-gold-primary);
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Corporate & Specification Cards (Presentation System)
   -------------------------------------------------------------------------- */
.rg-corporate-card,
.rg-specs-card {
  background: var(--rg-bg-surface);
  border: 1px solid var(--rg-border-medium);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rg-corporate-card:hover,
.rg-specs-card:hover {
  border-color: var(--rg-border-gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.08);
}

/* --------------------------------------------------------------------------
   Institutional Trust Bar
   -------------------------------------------------------------------------- */
.rg-trust-bar {
  background: #070a14;
  border-top: 1px solid var(--rg-border-subtle);
  border-bottom: 1px solid var(--rg-border-subtle);
  padding: 24px 0;
}

.rg-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.rg-trust-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--rg-border-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rg-gold-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.rg-trust-text-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.rg-trust-text-sub {
  font-size: 0.78rem;
  color: var(--rg-text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section Layouts & Headers
   -------------------------------------------------------------------------- */
.rg-section {
  padding: 90px 0;
  position: relative;
}

.rg-section.alt-bg {
  background: #070b16;
}

.rainglow-section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.rainglow-section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--rg-text-secondary);
  max-width: 650px;
  margin: 0 auto 50px auto;
}

/* --------------------------------------------------------------------------
   Feature / Architecture Cards (Bento Boxes)
   -------------------------------------------------------------------------- */
.rg-feature-card {
  background: var(--rg-bg-surface);
  border: 1px solid var(--rg-border-subtle);
  border-radius: 12px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.rg-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.rg-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--rg-border-hover);
  background: var(--rg-bg-elevated);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.rg-feature-card:hover::before {
  background: var(--rg-gold-gradient);
}

.rg-feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rg-border-medium);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rg-gold-light);
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.rg-feature-card:hover .rg-feature-icon {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--rg-gold-primary);
  color: #ffffff;
}

.rg-feature-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.rg-feature-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--rg-text-secondary);
  margin-bottom: 20px;
}

.rg-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.rg-feature-list li {
  font-size: 0.86rem;
  color: var(--rg-text-secondary);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rg-feature-list li i {
  color: var(--rg-gold-primary);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.rg-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--rg-gold-light);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.rg-card-link:hover {
  gap: 12px;
  color: #ffffff;
}

/* Backward compatibility mapping for old card classes */
.rainglow-card,
.solution-feature-card,
.rainglow-service-detail-card {
  background: var(--rg-bg-surface) !important;
  border: 1px solid var(--rg-border-subtle) !important;
  border-radius: 12px !important;
  padding: 32px 28px !important;
  transition: all 0.3s ease !important;
}

.rainglow-card:hover,
.solution-feature-card:hover,
.rainglow-service-detail-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--rg-border-hover) !important;
  background: var(--rg-bg-elevated) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

.rainglow-card-icon,
.service-icon-box,
.card-icon-tag {
  width: 50px !important;
  height: 50px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--rg-border-medium) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--rg-gold-light) !important;
  margin-bottom: 20px !important;
}

.rainglow-card-title,
.service-title,
.card-title {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 12px !important;
}

.rainglow-card-desc,
.service-desc,
.card-desc {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  color: var(--rg-text-secondary) !important;
}

.rainglow-card-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: var(--rg-gold-light) !important;
  text-decoration: none !important;
}

.rainglow-card-link:hover {
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Breadcrumb & Internal Page Hero
   -------------------------------------------------------------------------- */
.rainglow-breadcrumb-area {
  padding: 130px 0 70px 0;
  background: var(--rg-bg-base);
  border-bottom: 1px solid var(--rg-border-subtle);
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
}

.rainglow-breadcrumb-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.rainglow-breadcrumb-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--rg-text-secondary);
  max-width: 680px;
  margin: 0 auto 20px auto;
}

.breadcrumb-nav a {
  color: var(--rg-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--rg-gold-light);
}

/* --------------------------------------------------------------------------
   Contact Form & Headquarters Component
   -------------------------------------------------------------------------- */
.rainglow-contact-section {
  padding: 90px 0;
  background: var(--rg-bg-base);
  position: relative;
}

.rainglow-contact-card {
  background: var(--rg-bg-surface);
  border: 1px solid var(--rg-border-subtle);
  border-radius: 12px;
  padding: 40px;
}

.rainglow-contact-subtext {
  font-size: 0.96rem;
  color: var(--rg-text-secondary);
}

.inquiry-pills .pills-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rg-text-muted);
}

.scope-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rg-border-subtle);
  color: var(--rg-text-secondary);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scope-pill:hover,
.scope-pill.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--rg-gold-primary);
  color: var(--rg-gold-light);
}

.form-label-custom {
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
  display: block;
}

.rainglow-input {
  width: 100%;
  background: #080b14 !important;
  border: 1px solid var(--rg-border-medium) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rainglow-input:focus {
  border-color: var(--rg-gold-primary) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

.rainglow-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Headquarters Info Card */
.rainglow-contact-info-card {
  background: var(--rg-bg-surface);
  border: 1px solid var(--rg-border-subtle);
  border-radius: 12px;
  padding: 40px;
  height: 100%;
}

.hq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rg-green-status);
  text-transform: uppercase;
}

.reg-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--rg-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.info-company-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.info-company-sub {
  font-size: 0.88rem;
  color: var(--rg-text-muted);
  margin-bottom: 24px;
}

.info-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rg-border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rg-gold-primary);
  flex-shrink: 0;
}

.info-text .info-title {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rg-text-muted);
  margin-bottom: 3px;
}

.info-text .info-value,
.info-text .info-link,
.info-text .info-address {
  font-size: 0.92rem;
  color: #f1f5f9;
  text-decoration: none;
  font-style: normal;
  line-height: 1.6;
}

.info-text .info-link:hover {
  color: var(--rg-gold-light);
}

/* Modals */
.rainglow-modal .modal-content {
  background: var(--rg-bg-surface);
  border: 1px solid var(--rg-border-medium);
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}

.modal-status-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--rg-green-status);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.modal-status-badge.error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--rg-text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-icon-success {
  font-size: 3.5rem;
  color: var(--rg-green-status);
}

.modal-icon-error {
  font-size: 3.5rem;
  color: #ef4444;
}

/* --------------------------------------------------------------------------
   Institutional Corporate Footer
   -------------------------------------------------------------------------- */
.tj-footer-area {
  background: #04060d !important;
  border-top: 1px solid var(--rg-border-subtle);
  padding: 70px 0 35px 0;
}

.footer-logo-box {
  max-width: 60px;
  margin: 0 0 20px 0;
  text-align: left;
}

.rg-footer-top {
  padding-bottom: 50px;
  border-bottom: 1px solid var(--rg-border-subtle);
}

.rg-footer-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 20px;
}

.rg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rg-footer-links li {
  margin-bottom: 12px;
}

.rg-footer-links li a {
  color: var(--rg-text-secondary);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.rg-footer-links li a:hover {
  color: var(--rg-gold-light);
  transform: translateX(3px);
}

.rg-footer-reg-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--rg-border-subtle);
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}

.rg-footer-bottom {
  padding-top: 30px;
}

.rg-disclaimer-text {
  font-size: 0.78rem;
  color: var(--rg-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Policy & Documentation Styling
   -------------------------------------------------------------------------- */
.policy-card-container {
  background: var(--rg-bg-surface);
  border: 1px solid var(--rg-border-subtle);
  border-radius: 12px;
  padding: 45px;
}

.policy-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rg-gold-light);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.policy-heading {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.policy-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--rg-text-secondary);
}

.cookie-types-grid {
  display: grid;
  gap: 16px;
}

.cookie-type-item {
  background: var(--rg-bg-elevated);
  border: 1px solid var(--rg-border-subtle);
  border-radius: 8px;
  padding: 20px;
}

.cookie-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  display: inline-block;
}

.cookie-status-badge.mandatory {
  background: rgba(16, 185, 129, 0.15);
  color: var(--rg-green-status);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cookie-status-badge.telemetry {
  background: rgba(59, 130, 246, 0.15);
  color: var(--rg-blue-accent);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.cookie-status-badge.functional {
  background: rgba(212, 175, 55, 0.15);
  color: var(--rg-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.cookie-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.cookie-desc {
  font-size: 0.88rem;
  color: var(--rg-text-secondary);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .rg-metrics-grid {
    grid-template-columns: 1fr;
  }
  .rg-corporate-card,
  .rg-specs-card {
    margin-top: 40px;
  }
  .rainglow-contact-card,
  .rainglow-contact-info-card,
  .policy-card-container {
    padding: 28px 20px;
  }
  .rg-top-bar {
    text-align: center;
  }
  .tj-header-area .mobile-menu {
    background-color: #060911 !important;
    border-bottom: 1px solid var(--rg-border-medium) !important;
    top: 72px !important;
    z-index: 9999 !important;
  }
  .tj-header-area .mobile-menu.mean-container .mean-nav ul li a {
    color: #ffffff !important;
    font-family: var(--rg-font-sans) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 14px 20px !important;
  }
  .tj-header-area .mobile-menu.mean-container .mean-nav ul li a:hover {
    color: var(--rg-gold-light) !important;
    background: rgba(212, 175, 55, 0.05) !important;
  }
}

