/* ==========================================================================
   VENTAS OUTSOURCING PARTNERS — CORPORATE & EXECUTIVE REFINEMENT
   Removes AI-style gradients/glows and eliminates "box-inside-box" clutter
   while preserving 100% of content, hierarchy, and page structure.
   ========================================================================== */

/* 1. SOLID CORPORATE RED FOR ALL GRADIENT TITLES & HIGHLIGHTED TEXT */
html main h1 .bg-clip-text,
html main h2 .bg-clip-text,
html main h3 .bg-clip-text,
html main .bg-clip-text,
html main .text-transparent {
  background-image: none !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--ctx-primary) !important;
  color: var(--ctx-primary) !important;
}

/* 2. REMOVE AI NEON BLUR BLOBS & PULSING RADAR DOTS */
html main [class*="blur-["],
html main .blur-3xl,
html main .blur-2xl {
  display: none !important;
}

html main .animate-ping,
html header .animate-ping {
  display: none !important;
}

html main .animate-pulse {
  animation: none !important;
  box-shadow: none !important;
}

/* 3. SOLID CORPORATE BUTTONS (NO NEON GLOW OR MULTI-STOP GRADIENTS) */
html a[class*="from-secondary-container"],
html button[class*="from-secondary-container"],
html a.bg-primary-container,
html button.bg-primary-container {
  background-image: none !important;
  background-color: #d92d1b !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(217, 45, 27, 0.22) !important;
  border-radius: 6px !important;
}

html a[class*="from-secondary-container"]:hover,
html button[class*="from-secondary-container"]:hover,
html a.bg-primary-container:hover,
html button.bg-primary-container:hover {
  background-color: #b22301 !important;
  box-shadow: 0 4px 12px rgba(178, 35, 1, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* 4. CLEAN CORPORATE OVERLINES INSTEAD OF BOXED PILL BADGES ABOVE HEADINGS */
html main section > div > div > div.rounded-full,
html main section > div > div.rounded-full,
html main .inline-flex.rounded-full[class*="bg-primary-container"],
html main .inline-flex.rounded-full[class*="bg-secondary-container"],
html main .inline-flex.rounded-full[class*="bg-surface-container"],
html main .sm\:inline-flex.rounded-full[class*="bg-surface-container"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #202027 !important;
  font-weight: 700 !important;
  --ctx-heading: #202027;
  --ctx-body: #202027;
  --ctx-secondary: #202027;
  --ctx-tertiary: #202027;
  --ctx-primary: #d92d1b;
}

html main section > div > div > div.rounded-full > span:not(.material-symbols-outlined),
html main section > div > div.rounded-full > span:not(.material-symbols-outlined),
html main .inline-flex.rounded-full[class*="bg-primary-container"] > span:not(.material-symbols-outlined),
html main .inline-flex.rounded-full[class*="bg-secondary-container"] > span:not(.material-symbols-outlined),
html main .inline-flex.rounded-full[class*="bg-surface-container"] > span:not(.material-symbols-outlined),
html main .sm\:inline-flex.rounded-full[class*="bg-surface-container"] > span:not(.material-symbols-outlined) {
  color: #202027 !important;
  font-weight: 700 !important;
}

html main section > div > div > div.rounded-full > span.text-primary:not(.material-symbols-outlined),
html main section > div > div.rounded-full > span.text-primary:not(.material-symbols-outlined),
html main .inline-flex.rounded-full[class*="bg-primary-container"] > span:not(.material-symbols-outlined),
html main .inline-flex.rounded-full[class*="bg-secondary-container"] > span:not(.material-symbols-outlined) {
  color: #d92d1b !important;
}

/* Preserve bright contrast when a pill badge is inside a dark card/section */
html main [class*="bg-surface-container"] .inline-flex.rounded-full,
html main [class*="bg-surface-container"] .inline-flex.rounded-full > span:not(.material-symbols-outlined) {
  color: #ff5542 !important;
  --ctx-heading: #e3e1e9;
  --ctx-body: #e8bcb6;
  --ctx-secondary: #e8bcb6;
  --ctx-tertiary: #b9c8de;
  --ctx-primary: #ff5542;
}

/* 5. DE-BOX STAT STRIPS & INLINE VALUE PILLARS ON LIGHT BACKGROUNDS
      Turns 4-column KPI boxes and 3-column mini-boxes into clean,
      open architectural columns with a sharp left corporate rule. */
html main section:not([class*="bg-surface-container"]) .grid.grid-cols-2.md\:grid-cols-4:not([class*="bg-surface-container"]) > div[class*="bg-surface-container"],
html main section:not([class*="bg-surface-container"]) .grid.grid-cols-2.lg\:grid-cols-4:not([class*="bg-surface-container"]) > div[class*="bg-surface-container"],
html main #about .grid.sm\:grid-cols-3 > div[class*="bg-surface-container"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-left: 3px solid #d92d1b !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 4px 0 4px 18px !important;
  backdrop-filter: none !important;
  --ctx-heading: #202027;
  --ctx-body: #5E5D65;
  --ctx-secondary: #6F6A70;
  --ctx-tertiary: #6F6A70;
  --ctx-primary: #d92d1b;
  --ctx-secondary-accent: #d92d1b;
}

/* When a 2/4-column grid is nested INSIDE a dark panel, flatten its sub-boxes
   while preserving light-on-dark contrast */
html main [class*="bg-surface-container"] .grid.grid-cols-2 > div[class*="bg-surface-container"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-left: 2px solid #ff5542 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 4px 0 4px 14px !important;
  --ctx-heading: #F1F0EF;
  --ctx-body: #C9C5CA;
  --ctx-secondary: #C9C5CA;
  --ctx-tertiary: #C9C5CA;
  --ctx-primary: #ff5542;
  --ctx-secondary-accent: #ffb4a8;
}

/* 6. REMOVE "BOX-INSIDE-BOX" CLUTTER INSIDE DARK CARDS
      Flattens nested credential tags, sub-boxes, and inner pills inside dark cards
      so cards read as clean, unified corporate panels. */
html main [class*="bg-surface-container"] .flex-wrap > span[class*="bg-surface-container"],
html main [class*="bg-surface-container"] .pt-6.mt-6[class*="bg-surface-container"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding-left: 0 !important;
  padding-right: 12px !important;
  box-shadow: none !important;
}

html main [class*="bg-surface-container"] .flex-wrap > span[class*="bg-surface-container"]::before {
  content: "• ";
  color: #ff5542;
  font-weight: 700;
}

/* Flatten inner mini-cards inside Hero right showcase & Bento panels */
html main [class*="bg-surface-container-low"] .grid.grid-cols-2 > div[class*="bg-surface-container-high"],
html main [class*="bg-surface-container"] .grid.sm\:grid-cols-2 > div[class*="bg-surface-container-lowest"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  box-shadow: none !important;
}

/* 7. REFINED CORPORATE CARD BORDERS & SHADOWS (NO NEON HOVER GLOWS) */
html main [class*="bg-surface-container"] {
  box-shadow: 0 4px 18px rgba(18, 19, 24, 0.08) !important;
}

html main .rounded-2xl,
html main .rounded-3xl {
  border-radius: 10px !important;
}

html main .rounded-xl {
  border-radius: 8px !important;
}

/* Hide top neon gradient hover bars inside cards */
html main .group > div.h-1[class*="bg-gradient-to-r"] {
  display: none !important;
}

/* 8. CORPORATE PURE BLACK NAVBAR WITH VIBRANT RED TOP STRIP & HIGH-CONTRAST WHITE LETTERS */
html header,
html header.bg-surface-container-lowest\/80 {
  background-color: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  --ctx-heading: #ffffff !important;
  --ctx-body: #ffffff !important;
  --ctx-secondary: #ffffff !important;
  --ctx-tertiary: #ffffff !important;
  --ctx-primary: #ffffff !important;
}

/* Top utility strip inside header: solid corporate red ("Global Executive Sales & Talent Acceleration" & "1-888-210-5611 | services@ventas-partners.com") */
html header > div:first-child {
  background-color: #d92d1b !important;
  background-image: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

html header > div:first-child span {
  color: #ffffff !important;
}

html header > div:first-child a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease !important;
}

html header > div:first-child a:hover {
  color: #ffffff !important;
  opacity: 0.9 !important;
  text-decoration: underline !important;
}

/* Main navbar links and dropdown triggers: larger, bolder, more filled ("rellena") */
html header nav a,
html header nav button.dropdown-trigger {
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.015em !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  font-family: inherit !important;
  padding: 6px 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
}

html header nav a:hover,
html header nav button.dropdown-trigger:hover,
html header nav a[aria-current="page"],
html header nav .dropdown-parent.is-open > button.dropdown-trigger,
html header nav .dropdown-parent.is-open > a.dropdown-trigger {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7) !important;
}

html header nav a[aria-current="page"] {
  border-bottom: 3px solid #ffffff !important;
}

html header nav .dropdown-arrow {
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* Explicit open state for dropdown menus (supports hover, click, and keyboard focus-within) */
html header nav .dropdown-parent.is-open .dropdown-menu,
html header nav .dropdown-parent:focus-within .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

html header nav .dropdown-parent.is-open .dropdown-arrow,
html header nav .dropdown-parent:focus-within .dropdown-arrow {
  transform: rotate(180deg) !important;
}

/* Keyboard accessibility & visible focus ring */
html header nav a:focus-visible,
html header nav button.dropdown-trigger:focus-visible,
html header a[data-path="contact-us"]:focus-visible,
html header #mobileMenuBtn:focus-visible,
html header #mobileMenu button:focus-visible,
html header #mobileMenu a:focus-visible {
  outline: 2px solid #ffffff !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}

/* Dropdown menu under Property Management, Services, Industries in sleek dark surface */
html header nav .group > div > div {
  background-color: #121318 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75) !important;
}

html header nav .group > div > div a {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-bottom: none !important;
}

html header nav .group > div > div a:hover {
  background-color: rgba(217, 45, 27, 0.25) !important;
  color: #ffffff !important;
}

/* Mobile dropdown styles */
html header #mobileMenu a,
html header #mobileMenu button.mobile-dropdown-btn {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

html header #mobileMenu button.mobile-dropdown-btn {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  width: 100% !important;
  text-align: left !important;
}

html header #mobileMenu button.mobile-dropdown-btn:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
}

html header #mobileMenu .mobile-dropdown-content a {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  border-bottom: none !important;
}

html header #mobileMenu .mobile-dropdown-content a:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
}

/* "Schedule a Consultation" button in navbar */
html header a[href*="contact-us"].hidden,
html header a[data-path="contact-us"]:not(nav a) {
  background-image: none !important;
  background-color: #d92d1b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(217, 45, 27, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

html header a[data-path="contact-us"]:not(nav a):hover {
  background-color: #b22301 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(217, 45, 27, 0.5) !important;
}

/* Subtle contrast shadow on the logo so the V icon stands out on the black navbar */
html header img[alt*="Ventas"] {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
}

/* Mobile menu button & drawer in pure black */
html header #mobileMenuBtn {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

html header #mobileMenu {
  background-color: #0c0d12 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* 9. HOW IT WORKS SECTION — HIGH-CONTRAST CORPORATE READABILITY */
html main #how-it-works {
  background-color: #F1F0EF !important;
}

html main #how-it-works h2 {
  color: #202027 !important;
  font-weight: 800 !important;
}

html main #how-it-works p {
  color: #5E5D65 !important;
}

html main #how-it-works .step-card {
  background-color: #ffffff !important;
  border: 1px solid #E2E4EB !important;
  box-shadow: 0 4px 14px rgba(18, 19, 24, 0.05) !important;
}

html main #how-it-works .step-card:hover {
  border-color: #d92d1b !important;
  box-shadow: 0 8px 24px rgba(217, 45, 27, 0.12) !important;
}

html main #how-it-works .step-card h3 {
  color: #202027 !important;
  font-weight: 700 !important;
}

html main #how-it-works .step-card p {
  color: #5E5D65 !important;
}

html main #how-it-works .step-num {
  color: #d92d1b !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   10. GLOBAL FOOTER OPTIMIZATION — PURE BLACK & CRISP WHITE
   Strictly scoped to html footer to avoid affecting any element outside
   ========================================================================== */
html footer {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

html footer * {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

html footer span,
html footer p,
html footer div {
  color: #ffffff !important;
}

html footer span.text-white\/70 {
  color: rgba(255, 255, 255, 0.75) !important;
}

html footer a {
  color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, opacity 0.2s ease !important;
}

html footer a:hover {
  color: #ff5542 !important;
}

/* Button "Talk With Us" on pure black background */
html footer a[data-path="contact-us"] {
  background-color: #ff5542 !important;
  background-image: linear-gradient(135deg, #b22301, #ff5542) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 14px rgba(255, 85, 66, 0.35) !important;
}

html footer a[data-path="contact-us"]:hover {
  filter: brightness(1.15) !important;
  box-shadow: 0 6px 20px rgba(255, 85, 66, 0.55) !important;
  color: #ffffff !important;
}

/* Logo contrast on pure black */
html footer img[alt*="Ventas"] {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}


/* ==========================================================================
   6. DARK PANEL CARDS TEXT COLOR HIERARCHY (RED HEADINGS + WHITE BODY)
   - Títulos / Headings de cada recuadro oscuro -> Rojo corporativo (#ff5542)
   - Textos descriptivos / Párrafos -> Blanco (rgba(255, 255, 255, 0.92))
   - Etiquetas auxiliares y bullets -> Blanco suave (rgba(255, 255, 255, 0.8))
   - Elimina completamente textos en tono rosita / salmón (#e8bcb6)
   - Preserva íconos y botones de acento en rojo (#ff5542)
   ========================================================================== */

/* Overwrite body variable inside all dark containers so no text turns pink */
html [class*="bg-surface-container"],
html [class*="bg-surface-bright"],
html [class*="from-surface-container"],
html .dark-surface {
  --ctx-body: rgba(255, 255, 255, 0.92) !important;
  --ctx-secondary: rgba(255, 255, 255, 0.8) !important;
}

/* Headings of cards in dark panel containers -> Corporate Red */
html [class*="bg-surface-container-low"] .font-headline-sm:not(p):not(ul),
html [class*="bg-surface-container-low"] .font-headline-md:not(p):not(ul),
html [class*="bg-surface-container-low"] h3,
html [class*="bg-surface-container-low"] h4,
html [class*="bg-surface-container-high"] .font-headline-sm:not(p):not(ul),
html [class*="bg-surface-container-high"] .font-headline-md:not(p):not(ul),
html [class*="bg-surface-container-high"] h3,
html [class*="bg-surface-container-high"] h4,
html [class*="bg-surface-container-lowest"] .grid > div[class*="bg-surface-container"] .font-headline-sm,
html [class*="bg-surface-container-lowest"] .grid > div[class*="bg-surface-container"] h3,
html [class*="bg-surface-container-lowest"] .grid > div[class*="bg-surface-container"] h4 {
  color: #ff5542 !important;
}

/* Paragraphs & body text in dark panel cards -> Crisp White */
html [class*="bg-surface-container-low"] p,
html [class*="bg-surface-container-low"] ul,
html [class*="bg-surface-container-high"] p,
html [class*="bg-surface-container-high"] ul,
html [class*="bg-surface-container-lowest"] .grid > div[class*="bg-surface-container"] p,
html [class*="bg-surface-container-lowest"] .grid > div[class*="bg-surface-container"] ul {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Auxiliary labels & bottom tags inside dark cards -> Soft White */
html [class*="bg-surface-container-low"] .font-label-sm,
html [class*="bg-surface-container-low"] .text-label-sm,
html [class*="bg-surface-container-high"] .font-label-sm,
html [class*="bg-surface-container-high"] .text-label-sm,
html [class*="bg-surface-container-lowest"] .grid > div[class*="bg-surface-container"] .font-label-sm,
html [class*="bg-surface-container-lowest"] .grid > div[class*="bg-surface-container"] .text-label-sm {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   7. DARK PANEL CARDS ICON COLOR ADJUSTMENT (PURE WHITE #FFFFFF)
   - Todos los iconos dentro de tarjetas / paneles oscuros -> Blanco puro (#ffffff)
   - Conserva el fondo gris oscuro de los pequeños recuadros contenedores
   - Mantiene títulos en rojo corporativo y textos en blanco
   - No afecta navbar, footer, botones de acción ni componentes fuera de tarjetas
   ========================================================================== */
html [class*="bg-surface-container-low"]:not([class*="rounded-full"]) .material-symbols-outlined:not(button *):not(a.bg-primary-container *):not(a[class*="from-primary-container"] *):not([class*="rounded-full"] *):not(.text-primary),
html [class*="bg-surface-container-high"]:not([class*="rounded-full"]) .material-symbols-outlined:not(button *):not(a.bg-primary-container *):not(a[class*="from-primary-container"] *):not([class*="rounded-full"] *):not(.text-primary),
html [class*="bg-surface-container-lowest"] .grid > div[class*="bg-surface-container"] .material-symbols-outlined:not(button *):not(a.bg-primary-container *):not(a[class*="from-primary-container"] *):not([class*="rounded-full"] *):not(.text-primary),
html [class*="bg-surface-container"] .rounded-xl .material-symbols-outlined:not(button *):not(a.bg-primary-container *):not(a[class*="from-primary-container"] *):not([class*="rounded-full"] *):not(.text-primary),
html [class*="bg-surface-container"] .rounded-2xl .material-symbols-outlined:not(button *):not(a.bg-primary-container *):not(a[class*="from-primary-container"] *):not([class*="rounded-full"] *):not(.text-primary),
html [class*="bg-surface-container-low"] svg:not(button *):not(a[class*="primary"] *),
html [class*="bg-surface-container-high"] svg:not(button *):not(a[class*="primary"] *),
html [class*="bg-surface-container"] .rounded-xl svg:not(button *):not(a[class*="primary"] *),
html [class*="bg-surface-container"] .rounded-2xl svg:not(button *):not(a[class*="primary"] *) {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}
