/*
Theme Name: Ron Lavender Child
Template: hello-elementor
Version: 1.0.0
*/

/* ── Fuentes ── */
@font-face {
  font-family: 'Astrid';
  src: url('./fonts/Astrid.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ScalaSans';
  src: url('./fonts/ScalaSans-RegularLFSC.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ScalaSans';
  src: url('./fonts/ScalaSans-RegularLFSCItalic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
}

/* ── Variables ── */
:root {
  --gold:  #cd942c;
  --navy:  #0f2252;
  --gray:  #575756;
  --white: #fafafa;
  --dark:  #2e2e2e;
}

/* ── Reset base ── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'ScalaSans', Georgia, serif;
  color: #575756;
  background: #fafafa;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: 'Astrid', serif;
  font-weight: normal;
}

a {
  color: #cd942c;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #0f2252;
}

/* ── Header fijo ── */
.site-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 60px !important;
  background-color: #0f2252 !important;
  border-bottom: none !important;
  box-shadow: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
}

.site-header .site-logo img,
.site-header .custom-logo {
  height: 92px !important;
  width: auto !important;
}

.main-navigation a,
.site-navigation a {
  font-family: 'ScalaSans', Georgia, serif !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #fafafa !important;
  text-decoration: none !important;
  padding-top: 10px !important;
  padding-bottom: 3px !important;
  border-bottom: 1px solid transparent !important;
  transition: color 0.3s, border-color 0.3s !important;
}

.main-navigation a:hover,
.site-navigation a:hover {
  color: #cd942c !important;
  border-bottom-color: #cd942c !important;
}

/* ── Espaciador header fijo ── */
.site-content {
  margin-top: 84px !important;
}

/* ── Ocultar footer nativo ── */
.site-footer {
  display: none !important;
}

/* ── Elementor — solo quitar padding del widget HTML ── */
.elementor-widget-html {
  line-height: 1;
}

/* ── Scroll to top ── */
#rl-scroll-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 44px;
  height: 44px;
  background: #cd942c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  pointer-events: none;
}
#rl-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#rl-scroll-top:hover { background: #b8821e; }
#rl-scroll-top svg {
  width: 18px;
  height: 18px;
  fill: #fafafa;
}

/* ── Utilidades ── */
.rl-gold  { color: #cd942c; }
.rl-navy  { color: #0f2252; }
.rl-gray  { color: #575756; }
.rl-white { color: #fafafa; }

/* ── Greca azteca en header ── */
.site-header::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #cd942c 0px,  #cd942c 8px,
    #0f2252 8px,  #0f2252 16px,
    #cd942c 16px, #cd942c 24px,
    rgba(205,148,44,0.2) 24px, rgba(205,148,44,0.2) 32px
  );
}

/* ── Forzar layout flex en hero ── */
.rl-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 100vh !important;
  background: #2e2e2e !important;
}

.rl-hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.rl-hero h1,
.rl-hero p,
.rl-hero-eyebrow,
.rl-hero-place,
.rl-hero-desc {
  text-align: center !important;
  width: 100% !important;
}
