/* Tipografía Roboto cargada de forma no bloqueante desde index.html para máximo PageSpeed */

:root {
  --color-brand-yellow: #F5A623;
  --color-brand-yellow-hover: #EAA00A;
  --color-brand-yellow-light: #FFF8EB;
  --color-dark-bg: #0D0D0E;
  --color-dark-card: #151517;
  --color-dark-border: rgba(255, 255, 255, 0.08);
  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  scroll-behavior: smooth;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-dark-bg);
  color: #E2E2E5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography styles - Unificado a Roboto */
.font-display {
  font-family: 'Roboto', sans-serif;
}

.font-serif-accent {
  font-family: 'Roboto', sans-serif;
}

.font-body {
  font-family: 'Roboto', sans-serif;
}

/* Editorial subtle borders */
.subtle-border {
  border: 1px solid var(--color-dark-border);
}

.subtle-border-top {
  border-top: 1px solid var(--color-dark-border);
}

.subtle-border-bottom {
  border-bottom: 1px solid var(--color-dark-border);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(13, 13, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-card {
  background: rgba(21, 21, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(245, 166, 35, 0.12);
}

/* Subtle glow */
.amber-glow {
  box-shadow: 0 0 40px -10px rgba(245, 166, 35, 0.25);
}

.amber-text-gradient {
  background: linear-gradient(135deg, #FFD278 0%, #F5A623 50%, #D88907 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Organic transitions and reveals */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button micro-interactions with Depth & Layered Shadows */
.btn-primary {
  background: linear-gradient(180deg, #FFB938 0%, #F5A623 50%, #E2950F 100%);
  color: #0D0D0E !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px 0 rgba(0, 0, 0, 0.2),
    0 4px 12px 0 rgba(245, 166, 35, 0.35),
    0 8px 24px -4px rgba(0, 0, 0, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FFC454 0%, #FFAE33 50%, #EB9E15 100%);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 4px 0 rgba(0, 0, 0, 0.15),
    0 8px 24px 0 rgba(245, 166, 35, 0.55),
    0 16px 36px -4px rgba(0, 0, 0, 0.65);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 
    inset 0 2px 4px 0 rgba(0, 0, 0, 0.3),
    0 2px 6px 0 rgba(245, 166, 35, 0.35);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
    0 4px 14px 0 rgba(0, 0, 0, 0.4),
    0 8px 20px -4px rgba(0, 0, 0, 0.6);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(245, 166, 35, 0.5);
  border-top-color: rgba(245, 166, 35, 0.7);
  color: #FFC454;
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25),
    0 6px 20px 0 rgba(0, 0, 0, 0.5),
    0 12px 28px -4px rgba(245, 166, 35, 0.2);
}

.btn-secondary:active {
  transform: translateY(1px);
  box-shadow: 
    inset 0 2px 4px 0 rgba(0, 0, 0, 0.4),
    0 2px 6px 0 rgba(0, 0, 0, 0.3);
}

/* Official WhatsApp Button Styling - Color Original WhatsApp #0B7A3E Plano sin brillos */
.btn-whatsapp {
  background: #0B7A3E !important;
  background-color: #0B7A3E !important;
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.2s ease-in-out;
  position: relative;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.btn-whatsapp:hover {
  background: #096B36 !important;
  background-color: #096B36 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

.btn-whatsapp:active {
  background: #085C2E !important;
  background-color: #085C2E !important;
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.whatsapp-badge {
  background-color: #0B7A3E;
  color: #FFFFFF;
}

/* Brand Yellow Button - Color Amarillo Oficial del Logo #F7AD00 */
.btn-brand-yellow {
  background: #F7AD00 !important;
  background-color: #F7AD00 !important;
  color: #0D0D0E !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.2s ease-in-out;
  position: relative;
  border: none !important;
  box-shadow: 0 4px 14px rgba(247, 173, 0, 0.25) !important;
}

.btn-brand-yellow:hover {
  background: #E5A000 !important;
  background-color: #E5A000 !important;
  color: #0D0D0E !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247, 173, 0, 0.35) !important;
}

.btn-brand-yellow:active {
  background: #D49400 !important;
  background-color: #D49400 !important;
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(247, 173, 0, 0.2) !important;
}

/* Custom Dropdown Menus Rounded */
.custom-dropdown-menu {
  background: rgba(24, 24, 27, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1rem !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(245, 166, 35, 0.08) !important;
}

.custom-dropdown-option {
  border-radius: 0.75rem !important;
  transition: all 0.15s ease-in-out;
}

.custom-dropdown-option:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}

/* Floating WhatsApp Widget */
.floating-whatsapp-widget {
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6) !important;
}
.floating-whatsapp-widget:hover {
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.75) !important;
}

/* Image zoom inside cards */
.img-editorial {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .img-editorial {
  transform: scale(1.04);
}

/* Subtle custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0D0D0E;
}
::-webkit-scrollbar-thumb {
  background: #242428;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #383840;
}

/* Hide scrollbars for sliders */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
