/* Estilos Globales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg-gradient-start: #2e1760;
  --color-bg-gradient-end: #159957;
  --color-text: #faf3e0;
  --color-accent: #ff6b6b;
  --color-button: #ffc857;
  --color-button-hover: #db3a34;
  --color-line: #39a0ed;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
  font-family: "Arial", sans-serif;
}

body {
  background: linear-gradient(
    135deg,
    var(--color-bg-gradient-start),
    var(--color-bg-gradient-end)
  );
  color: var(--color-text);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
  padding: 60px 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
header .container,
header .container {
  padding: 0 20px;
}
option {
  background-color: #145440;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

.btn {
  display: inline-block;
  background-color: var(--color-button);
  color: #333;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-button-hover);
  color: var(--color-text);
  transform: translateY(-3px);
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--color-accent);
}

/* Header y Navegación */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.burger {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--color-text);
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  width: 30px;
  height: 3px;
  background-color: var(--color-text);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.burger::before {
  top: -8px;
}

.burger::after {
  top: 8px;
}

nav ul {
  display: flex;
  list-style-type: none;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 0.3s ease-out;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .nav-toggle:checked ~ nav {
    transform: scale(1, 1);
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background-image: url("./img/IMWWV.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* About Section */
.about {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 80px 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-bottom: 10px;
  color: var(--color-accent);
}

/* Benefits Section */
.benefits {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.testimonial-card::before {
  content: "";
  font-size: 5rem;
  position: absolute;
  top: 10px;
  left: 10px;
  color: rgba(255, 255, 255, 0.1);
  font-family: serif;
}

.testimonial-text {
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-accent);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  position: relative;
  cursor: pointer;
}

.faq-question label {
  display: block;
  padding-right: 30px;
  cursor: pointer;
}

.faq-question label::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  background-color: rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 20px;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-toggle:checked ~ .faq-question label::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Contact Form */
.contact {
  padding: 80px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--color-text);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-checkbox input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background-color: var(--color-button);
  border: none;
  border-radius: 5px;
  color: #333;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--color-button-hover);
  color: var(--color-text);
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding: 2rem;
}

.footer-section h3 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-accent);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 10px;
}

.legal-links {
  list-style: none;
}

.legal-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.cookie-popup.show {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Policy Pages */
.policy-page {
  padding: 80px 0;
}

.policy-container {
  max-width: 800px;
  margin: 5rem auto;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  text-align: center;
}

.policy-content {
  text-align: left;
}

.policy-content h2 {
  margin-top: 2rem;
}

/* Gracias Page */
.gracias-container {
  max-width: 600px;
  margin: 5rem auto;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #ccc;
  text-align: center;
}

/* Responsive */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .service-card,
  .testimonial-card {
    margin-bottom: 20px;
  }
}
