/* VARIABLES & RESET */
:root {
  --primary-color: #121212;
  --darker-bg: #0a0a0a;
  --accent-color: #b0ca0a;
  /* VERDE HARKEL */
  --text-color: #979797;
  --white: #ffffff;
  --gradient: linear-gradient(90deg, #b0ca0a 0%, #8a9e08 100%);
  --font-main: 'Google Sans', 'Manrope', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--primary-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* UTILITIES */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.section-title-large {
  font-size: 3rem;
  line-height: 1.3;
}

.highlight {
  color: var(--accent-color);
}

.bg-dark {
  background-color: #1a1a1a;
}

.bg-darker {
  background-color: var(--darker-bg);
}

.justified-text p {
  text-align: justify;
  margin-bottom: 1rem;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.main-nav .menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--white);
}

.main-nav a:hover,
.main-nav a.active-link {
  color: var(--accent-color);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 50px;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.waves-overlay {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

.waves-overlay img {
  width: 100%;
  filter: invert(73%) sepia(64%) saturate(466%) hue-rotate(34deg) brightness(92%) contrast(87%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-slider .slick-list {
  overflow: visible;
}

.slide-content {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.slide-text {
  flex: 1;
}

.slide-text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.slide-text .subtitle {
  font-size: 1.4rem;
  color: #ccc;
  font-weight: 300;
}

.slide-image {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-image img {
  max-height: 550px;
  width: auto;
  filter: drop-shadow(0px 20px 40px rgba(0, 0, 0, 0.6));
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* GRID LAYOUTS */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-box {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}


.mid-slider {
  width: 100%;
  padding: 0;
  background: transparent;
  margin-bottom: 2rem;
}

.mid-slide-item {
  padding: 0;
  outline: none;
  height: auto;
  /* Altura automática según imagen */
  display: block !important;
}

.mid-slide-item img {
  width: 100%;
  /* Ocupa el ancho */
  height: auto;
  /* Mantiene proporción real */
  display: block;
  border-radius: 0;
  box-shadow: none;
}

/* Dots sobre la imagen */
.mid-slider .slick-dots {
  bottom: 20px;
  z-index: 10;
}

.mid-slider .slick-dots li button:before {
  color: var(--white);
  opacity: 0.5;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.mid-slider .slick-dots li.slick-active button:before {
  color: var(--accent-color);
  opacity: 1;
}

/* CONTACT SECTION */
.contact-section {
  background-color: #121212;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-image-wrapper {
  display: flex;
  justify-content: center;
}

.contact-pump-img {
  max-width: 90%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* FORM */
.clean-form input,
.clean-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
}

.clean-form input:focus,
.clean-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-color);
  margin: 0;
}

.checkbox-group label a {
  color: var(--accent-color);
  text-decoration: underline;
}

.btn-submit {
  display: inline-block;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: #d4e92a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(176, 202, 10, 0.2);
}

/* ACCORDION */
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1.2rem;
  cursor: pointer;
  font-family: var(--font-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.accordion-header:hover {
  color: var(--accent-color);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: 0.3s;
}

.accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding-right: 2rem;
}

.accordion-body p {
  padding-bottom: 1.5rem;
  color: #bbb;
}

/* FOOTER */
.site-footer {
  background: #000;
  padding: 5rem 0 3rem;
  margin-top: 5rem;
  text-align: left;
  border-top: 1px solid #222;
}

.footer-logo img {
  height: 45px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 500;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: var(--accent-color);
  opacity: 0.4;
  margin: 2rem 0;
  width: 100%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #666;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a:hover {
  color: var(--accent-color);
}

/* ANIMATIONS */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

@media (max-width: 900px) {

  .slide-content,
  .grid-2-col,
  .contact-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .slide-text {
    text-align: center;
    order: 1;
  }

  .slide-image {
    order: 0;
    margin-bottom: 2rem;
  }

  .slide-image img {
    max-height: 280px;
  }

  .slide-text h1 {
    font-size: 2.8rem;
  }

  .waves-overlay {
    display: none;
  }

  .contact-image-wrapper {
    display: none;
  }

  .main-nav .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    background: #121212;
    padding: 2rem;
    border-bottom: 1px solid #333;
  }

  .main-nav .menu.show {
    display: flex;
  }

  .mobile-menu-trigger {
    display: block;
    cursor: pointer;
    color: white;
    margin-right: 1rem;
  }

  .mobile-menu-trigger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px;
  }
}

.lang-dropdown {
  position: relative;
  margin-left: 10px;
}


.lang-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.lang-trigger:hover {
  opacity: 1;
  color: var(--accent-color);
}

.lang-trigger i {
  font-size: 1.1rem;
}


.lang-menu {
  position: absolute;
  top: 150%;
  right: 0;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 140px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* Animación de entrada */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);

  display: flex;
  flex-direction: column;
  gap: 0;
}


.lang-dropdown:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.lang-menu li {
  margin: 0;
  width: 100%;
}

.lang-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: #ccc;
  text-align: left;
  transition: all 0.2s;
  white-space: nowrap;
}

.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding-left: 25px;
}


.lang-menu a.active-lang {
  color: var(--accent-color);
  font-weight: 700;
}

.lang-menu a.active-lang::before {
  content: '•';
  margin-right: 8px;
}


@media (max-width: 900px) {
  .lang-dropdown {
    margin: 20px 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
  }

  .lang-trigger {
    justify-content: center;
    font-size: 1.2rem;
  }

  .lang-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 0;
    text-align: center;
  }


  .lang-dropdown:hover .lang-menu {
    display: flex;
    animation: fadeIn 0.5s;
  }

  .lang-menu a {
    text-align: center;
    padding: 10px;
  }
}

.lang-dropdown {
  position: relative;
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  height: 30px;
  display: flex;
  align-items: center;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.3s;
}

.lang-trigger:hover {
  color: var(--accent-color);
}

.fi {
  width: 20px;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.lang-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 5px 0;
  z-index: 1001;
}

.lang-dropdown:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu li {
  display: block;
  margin: 0;
}

.lang-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #ccc;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding-left: 20px;
}

.lang-menu a.active-lang {
  color: var(--accent-color);
  background: rgba(176, 202, 10, 0.1);
}

@media (max-width: 900px) {
  .lang-dropdown {
    border-left: none;
    margin: 10px 0;
    justify-content: center;
    width: 100%;
  }

  .lang-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    text-align: center;
  }

  .lang-dropdown:hover .lang-menu {
    display: block;
  }

  .lang-menu a {
    justify-content: center;
  }
}