/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1780418003
Updated: 2026-06-02 10:33:23

*/

/* =============================
   SALA9 — HEADER
   ============================= */

#sala9-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #000;
  border-bottom: 0.5px solid #1a1a1a;
  height: 60px;
}

.s9-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
  position: relative;
}

/* HAMBURGER */
.s9-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10001;
  position: relative;
}

.s9-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.35s cubic-bezier(.77,0,.18,1);
  transform-origin: center;
}

.s9-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.s9-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.s9-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* LOGO */
.s9-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.s9-logo a {
  display: flex;
  align-items: center;
}

.s9-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.s9-header-right {
  width: 30px;
}

/* =============================
   SALA9 — MENÚ OVERLAY
   ============================= */

.s9-menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.4s cubic-bezier(.77,0,.18,1) !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

.s9-menu-overlay.open {
    opacity: 1 !important;
    pointer-events: all !important;
    visibility: visible !important;
}

/* GRAIN */
.s9-grain {
    position: absolute !important;
    inset: 0 !important;
    background: #0a0a0a !important;
    z-index: 0 !important;
}

.s9-grain::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
}

/* ITEMS DEL MENÚ */
.s9-menu-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s9-menu-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 0.5px solid #141414;
  text-decoration: none;
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1),
              opacity 0.5s cubic-bezier(.77,0,.18,1);
}

.s9-menu-item:last-child {
  border-bottom: none;
}

.s9-menu-overlay.open .s9-menu-item:nth-child(1) { transition-delay: 0.05s; transform: translateY(0); opacity: 1; }
.s9-menu-overlay.open .s9-menu-item:nth-child(2) { transition-delay: 0.10s; transform: translateY(0); opacity: 1; }
.s9-menu-overlay.open .s9-menu-item:nth-child(3) { transition-delay: 0.15s; transform: translateY(0); opacity: 1; }
.s9-menu-overlay.open .s9-menu-item:nth-child(4) { transition-delay: 0.20s; transform: translateY(0); opacity: 1; }
.s9-menu-overlay.open .s9-menu-item:nth-child(5) { transition-delay: 0.25s; transform: translateY(0); opacity: 1; }

.s9-num {
  font-size: 11px;
  color: #333;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  min-width: 20px;
  letter-spacing: .08em;
  transition: color 0.2s;
}

.s9-title {
  font-size: 42px;
  font-weight: 700;
  color: #2a2a2a;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: .04em;
  line-height: 1;
  transition: color 0.2s;
}

.s9-arrow {
  width: 20px;
  height: 20px;
  color: #222;
  margin-left: auto;
  transition: color 0.2s, transform 0.2s;
}

.s9-menu-item:hover .s9-title { color: #fff; }
.s9-menu-item:hover .s9-num { color: #B90101; }
.s9-menu-item:hover .s9-arrow { color: #B90101; transform: translate(3px, -3px); }

/* PÁGINA ACTIVA */
.s9-menu-item.active .s9-title { color: #fff; }
.s9-menu-item.active .s9-num { color: #B90101; }

/* FOOTER DEL MENÚ */
.s9-menu-footer {
  position: relative;
  z-index: 2;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid #141414;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s 0.3s, transform 0.5s 0.3s;
}

.s9-menu-overlay.open .s9-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.s9-menu-footer-links {
  display: flex;
  gap: 24px;
}

.s9-menu-footer-links span {
  font-size: 11px;
  color: #333;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: .1em;
}

.s9-menu-social {
  display: flex;
  gap: 16px;
}

.s9-menu-social a {
  font-size: 11px;
  color: #333;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: color 0.2s;
}

.s9-menu-social a:hover { color: #fff; }

/* EMPUJAR CONTENIDO BAJO EL HEADER FIJO */
.site-content,
.elementor-section-wrap,
#content {
  padding-top: 60px !important;
}

/* OCULTAR HEADER ORIGINAL DE HELLO ELEMENTOR */
.site-header,
header.entry-header {
  display: none !important;
}

/* RESPONSIVE MÓVIL */
@media (max-width: 768px) {
  .s9-header-inner { padding: 0 20px; }
  .s9-title { font-size: 28px; }
  .s9-menu-content { padding: 0 24px; }
  .s9-menu-footer { padding: 16px 24px; }
  .s9-menu-footer-links { gap: 14px; }
  .s9-logo img { height: 22px; }
}

/* Ocultar contenido automático de WordPress en la home */
.home .site-main > article,
.home .entry-header,
.home .entry-content,
.home .entry-thumbnail,
.home .post-thumbnail,
.home img.wp-post-image,
.home .page-header {
    display: none !important;
}

/* Asegurar que el hero arranca inmediatamente después del header */
.home #s9-hero {
    margin-top: -60px !important;
}

.home .site-main,
.home #main,
.home .content-area {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ocultar footer original de Hello Elementor — reforzado */
#site-footer,
.site-footer,
.dynamic-footer,
footer.footer-has-copyright,
.footer-inner,
.site-branding,
.site-description,
.copyright {
    display: none !important;
}