:root {
  --white: #ffffff;
  --black: #000000;
  --font-header: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --max-width: 1400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--white); font-family: var(--font-header); overflow-x: hidden; }

.container { max-width: var(--max-width); margin: 0 auto; width: 92%; }

/* Header */
.main-header { width: 100%; background: var(--white); z-index: 1000; position: relative; padding: 40px 0; }
.header-inner { display: flex; justify-content: center; align-items: center; position: relative; }
.logo-center img { height: 90px; width: auto; }

.nav-right { position: absolute; right: 0; display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--black); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* Language Switch Capsule */
.lang-capsule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  background: #fff;
}
.lang-capsule img { height: 18px; width: auto; }
.lang-capsule span { font-size: 12px; font-weight: 700; }

/* Slider & Giant Isotype */
.hero-fullwidth { width: 100vw; height: 80vh; position: relative; background: #000; overflow: hidden; }

/* IMPORTANT: without these, the slider won't fill the hero */
.slider-wrapper { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 600ms ease; }
.slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.isotipo-giant-overlay {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 85%;
  aspect-ratio: 1/1;
  background: url('https://energia-audiovisual.click/assets/img/isotipo.png') no-repeat center;
  background-size: contain;
  mix-blend-mode: overlay;
  opacity: 0.45;
  z-index: 10;
  pointer-events: none;
}

/* Centered Bottom Slider Controls */
.slider-controls-centered {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 20;
}
.arrow {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}
.arrow:hover { opacity: 1; }
.slider-dots { display: flex; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; cursor: pointer; transition: 0.3s; }
.dot.active { background: #fff; transform: scale(1.2); }

/* Footer (minimal) */
.site-footer { position: relative; padding: 100px 0; background: var(--white); }
.footer-gradient-base { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, #eef2f5 0%, #ffffff 60%); }
.footer-container { position: relative; z-index: 1; }
.footer-about-header p { font-size: 22px; font-family: var(--font-body); margin: 25px 0 80px; line-height: 1.5; color: #111; }

.footer-main-row { display: flex; gap: 80px; align-items: flex-start; }
.footer-brand img { height: 110px; width: auto; }
.footer-columns { display: flex; gap: 70px; flex-wrap: wrap; }
.f-col h4 { font-size: 12px; letter-spacing: 1px; margin-bottom: 14px; }
.f-col p, .f-col li, .f-col a { font-family: var(--font-body); font-size: 13px; color: #111; line-height: 1.7; }
.f-col ul { list-style: none; }
.f-col a { text-decoration: none; }
.f-col a:hover { text-decoration: underline; }

/* Newsletter Styling */
.newsletter-styled {
  display: flex;
  border-bottom: 1.5px solid #000;
  width: 240px;
  padding: 5px 0;
}
.newsletter-styled input { border: none; background: none; font-size: 12px; flex-grow: 1; outline: none; font-family: var(--font-body); }
.newsletter-styled button { background: none; border: none; font-size: 18px; cursor: pointer; }

/* Responsive */
@media (max-width: 980px) {
  .main-header { padding: 18px 0; }
  .header-inner { flex-direction: column; gap: 14px; }
  .nav-right { position: static; flex-direction: column; gap: 14px; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .logo-center img { height: 64px; }

  .footer-main-row { flex-direction: column; gap: 40px; }
  .footer-about-header p { font-size: 16px; margin: 18px 0 40px; }
}

@media (max-width: 520px) {
  .hero-fullwidth { height: 75vh; }
  .slider-controls-centered { bottom: 18px; gap: 18px; }
  .arrow { font-size: 20px; }
}
