@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;1,800&display=swap");

:root {
  --primary-color: #ef3a2a;
  --dark-bg: #1e1e1e;
  --card-bg: #121212;
  --footer-bg: #0a0a0a;
  --text-color: #ffffff;
  --text-muted: #a0a0a0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  font-weight: 400;
  cursor: url("../img/cursor.png"), auto;
}

a,
button {
  cursor: url("../img/cursor.png"), auto;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  font-style: italic;
}

p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

.header {
  background-color: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #333;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 0 5%;
  height: 80px;
}

.nav-left,
.nav-center,
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-left {
  justify-content: flex-start;
}

.nav-center {
  justify-content: center;
}

.nav-right {
  justify-content: flex-end;
}

.logo {
  height: 110px;
  width: auto;
}

.nav-center a {
  font-weight: 800;
  font-style: italic;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-center a:hover {
  color: var(--primary-color);
}

.nav-right .fab,
.nav-right .fa-brands {
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-right a:hover .fab,
.nav-right a:hover .fa-brands {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
}

#hero {
  background-image: url("../img/background.avif");
  background-size: cover;
  background-position: center center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--dark-bg), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--text-color);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
}

.btn {
  padding: 0.8rem 2.5rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  margin: 0.5rem;
  transition: all 0.3s ease;
  display: inline-block;
  font-style: italic;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-secondary {
  background-color: #333;
  color: var(--text-color);
}

.btn-secondary:hover {
  background-color: #444;
}

section {
  padding: 6rem 10%;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(239, 58, 42, 0.1);
  border: 1px solid rgba(239, 58, 42, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-subtitle span {
  color: var(--primary-color);
  font-weight: 800;
  font-style: italic;
  font-size: 0.9rem;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #333;
}

.icon-container {
  font-size: 1.8rem;
  color: var(#ef3a2a);
  margin: 0 auto 1.5rem auto;
  width: 60px;
  height: 60px;
  background-color: #db3737;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 400;
}

#gallery-preview {
  background-color: var(--dark-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.grid-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.grid-thumbnail:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--dark-bg);
  width: 100%;
  height: 100%;
  max-width: 1400px;
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close-button {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
}

.modal-gallery-body {
  display: flex;
  gap: 1rem;
  height: 100%;
  flex-grow: 1;
}

.modal-main-image {
  flex: 4;
}

.modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.modal-thumbnail-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--dark-bg);
}

.modal-thumbnail-list::-webkit-scrollbar {
  width: 8px;
}

.modal-thumbnail-list::-webkit-scrollbar-track {
  background: var(--dark-bg);
  border-radius: 10px;
}

.modal-thumbnail-list::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 10px;
  border: 2px solid var(--dark-bg);
}

.modal-thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  border: 3px solid transparent;
  transition: border-color 0.3s ease;
  background-color: #000;
}

.modal-thumbnail.active,
.modal-thumbnail:hover {
  border-color: var(--primary-color);
}

.faq-accordion {
  max-width: 1500px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #333;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  font-weight: 800;
  font-style: italic;
  font-size: 1.2rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-left i {
  color: var(--primary-color);
}

.faq-content p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-weight: 400;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item[open] > summary .faq-icon {
  transform: rotate(45deg);
}

.partners-section {
  padding: 4rem 0;
  background-color: var(--dark-bg);
  text-align: center;
}

.partners-section h2 {
  margin-bottom: 2rem;
}

.partners-container {
  background-color: var(--card-bg);
  padding: 2rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.partners-container::before,
.partners-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.partners-container::before {
  left: 0;
  background: linear-gradient(to left, rgba(18, 18, 18, 0), var(--card-bg));
}

.partners-container::after {
  right: 0;
  background: linear-gradient(to right, rgba(18, 18, 18, 0), var(--card-bg));
}

.partners-track {
  display: flex;
  width: calc(200px * 22);
  animation: scroll 40s linear infinite;
}

.partners-track img {
  height: 50px;
  width: 200px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partners-container:hover .partners-track {
  animation-play-state: paused;
}

.partners-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

#reviews {
  padding-top: 4rem;
}

.reviews-summary-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.reviews-avatars {
  display: flex;
}

.reviews-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--dark-bg);
  margin-left: -15px;
  object-fit: cover;
}

.reviews-avatars img:first-child {
  margin-left: 0;
}

.reviews-rating {
  font-weight: 800;
  font-style: italic;
  font-size: 1.2rem;
}

.reviews-link-new {
  color: var(--text-muted);
  font-weight: 800;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.reviews-link-new:hover {
  color: var(--primary-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.review-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border: 1px solid #333;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  font-weight: 400;
}

.stars {
  color: var(--primary-color);
}

footer {
  background-color: var(--footer-bg);
  padding: 3.5rem 10% 1.5rem;
  font-weight: 400;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 120px;
  width: auto;
}

.dmca-logo {
  width: auto;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-column .sobre-nosotros-icon {
  color: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-column a {
  color: var(--text-muted);
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid #333;
  padding-top: 2rem;
  font-size: 0.9rem;
}

.nav-social-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  section {
    padding: 5rem 5%;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .modal-gallery-body {
    flex-direction: column;
  }

  .modal-thumbnail-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .modal-thumbnail {
    width: 120px;
    height: 80px;
  }

  .navbar {
    justify-content: space-between;
  }

  .nav-center {
    display: none;
  }

  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-center.nav-menu_visible {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--card-bg);
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid #333;
  }

  .nav-social-mobile {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    border-top: 1px solid #333;
    padding-top: 1rem;
    width: 100%;
  }

  .nav-social-mobile a .fab,
  .nav-social-mobile a .fa-brands {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: color 0.3s ease;
  }

  .nav-social-mobile a:hover .fab,
  .nav-social-mobile a:hover .fa-brands {
    color: var(--primary-color);
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column {
    align-items: center;
  }

  .logo {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
