/* ==========================================================================
   CERENE - Modern Web Design Enhancements & Fixes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --cerene-primary: #0099d8;
  --cerene-primary-hover: #0077a8;
  --cerene-primary-light: rgba(0, 153, 216, 0.08);
  --cerene-accent: #00c9a7;
  --cerene-dark: #0f172a;
  --cerene-slate: #334155;
  --cerene-muted: #64748b;
  --cerene-radius: 16px;
  --cerene-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Typography */
html {
  scroll-behavior: smooth !important;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: var(--cerene-slate) !important;
  -webkit-font-smoothing: antialiased !important;
}

h1, h2, h3, h4, h5, h6, 
.preview-title, 
.blocks-preview-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.01em !important;
}

/* ==========================================================================
   HERO SLIDER TEXT - LE TRAS BLANCAS CON BORDES BLANCOS (USER REQUEST)
   ========================================================================== */
.promo-wrapper h1,
.promo-wrapper .preview-title,
#vbid-561d10b3-bpbsr9sd {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 38px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  /* Glowing white border & outline shadow for high contrast visibility */
  text-shadow: 
    0 0 4px #ffffff,
    0 0 10px rgba(255, 255, 255, 0.8),
    0 4px 20px rgba(0, 0, 0, 0.9),
    -1.5px -1.5px 0 #ffffff,
     1.5px -1.5px 0 #ffffff,
    -1.5px  1.5px 0 #ffffff,
     1.5px  1.5px 0 #ffffff !important;
  -webkit-text-stroke: 0.5px #ffffff !important;
  line-height: 1.25 !important;
}

/* Slider Subtitle / Button */
.promo-wrapper .preview-item-links span,
.promo-wrapper .preview-element.Link {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0099d8 0%, #0077a8 100%) !important;
  border: 2px solid #ffffff !important;
  border-radius: 30px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 255, 255, 0.5) !important;
  transition: var(--cerene-transition) !important;
  display: inline-block !important;
}

.promo-wrapper .preview-item-links span:hover,
.promo-wrapper .preview-element.Link:hover {
  transform: translateY(-2px) scale(1.04) !important;
  background: linear-gradient(135deg, #00b4fc 0%, #0099d8 100%) !important;
  box-shadow: 0 10px 25px rgba(0, 153, 216, 0.6), 0 0 15px #ffffff !important;
}

/* ==========================================================================
   HEADER & MENU RECOVERY & STYLING
   ========================================================================== */

/* Logo visibility */
.logo-holder img {
  max-height: 75px !important;
  width: auto !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.logo-holder img:hover {
  transform: scale(1.04) !important;
}

/* Hamburger button styling so it's always clearly visible */
.hamburger {
  display: inline-block !important;
  cursor: pointer !important;
  padding: 10px !important;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  background-color: var(--cerene-primary) !important;
  height: 3.5px !important;
  border-radius: 4px !important;
}

/* Menu links wrapper styling */
.preview-item-links {
  z-index: 1001 !important;
}

.preview-links-wrapper li a span,
.preview-links-wrapper li span {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #0f172a !important;
  transition: var(--cerene-transition) !important;
}

.preview-links-wrapper li a:hover span,
.preview-links-wrapper li:hover span {
  color: var(--cerene-primary) !important;
}

/* ==========================================================================
   CARDS & SECTIONS ENHANCEMENTS
   ========================================================================== */

.sub.item-box.page-box {
  border-radius: var(--cerene-radius) !important;
  transition: var(--cerene-transition) !important;
}

.sub.item-box.page-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(0, 153, 216, 0.12) !important;
}

.circlize {
  border: 3px solid #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 153, 216, 0.2) !important;
  transition: var(--cerene-transition) !important;
}

.sub.item-box.page-box:hover .circlize {
  border-color: var(--cerene-primary) !important;
  transform: scale(1.05) !important;
}

.preview-divider {
  height: 4px !important;
  width: 50px !important;
  background: linear-gradient(90deg, var(--cerene-primary), var(--cerene-accent)) !important;
  border-radius: 10px !important;
  margin: 15px auto !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--cerene-primary);
  border-radius: 4px;
}
