/* Estilos generales para el sitio domain.com */
:root {
  --coral: #FF6B6B;
  --beige: #FFF4E0;
  --dark-blue: #1A2B4C;
  --light-gray: #F0F4F8;
  --lime-green: #A3D76D;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-blue);
  background-color: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

a {
  text-decoration: none;
  color: var(--dark-blue);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--coral);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #e05a5a;
  transform: translateY(-3px);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--dark-blue);
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #666;
}

section {
  padding: 5rem 0;
}

/* Header y Navegación */
header {
	top: 0;
  position: fixed;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--dark-blue);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--coral);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
}

#menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark-blue);
  transition: 0.4s;
}

/* Hero Section */
#hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  color: white;
  text-align: center;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Sobre nosotros */
#about {
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text {
  max-width: 800px;
  text-align: center;
  margin-bottom: 2rem;
}

/* Servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

/* Etapas de trabajo */
#steps {
  background-color: var(--beige);
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

/* Ventajas */
.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.benefit {
  width: 48%;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  margin-right: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--lime-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon img {
  width: 30px;
  height: 30px;
}

/* Testimonios */
#testimonials {
  background-color: var(--light-gray);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
}

.testimonial-text::before {
  content: """;
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -15px;
  opacity: 0.2;
  color: var(--coral);
}

.testimonial-author {
  font-weight: bold;
  color: var(--dark-blue);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  position: relative;
  padding: 1rem;
  background-color: var(--light-gray);
  cursor: pointer;
}

.faq-checkbox {
  display: none;
}

.faq-label {
  display: block;
  font-weight: bold;
  padding-right: 30px;
  position: relative;
  cursor: pointer;
}

.faq-label::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-checkbox:checked + .faq-label::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: white;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

/* Contacto */
#contact {
  background-color: var(--beige);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--lime-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text {
  flex: 1;
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Formulario */
#order {
  background-color: white;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}

/* Estilizar el fondo de las opciones en el select */
.form-group select option {
  background-color: var(--light-gray);
  color: var(--dark-blue);
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.checkbox-label input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-button {
  width: 100%;
  padding: 12px;
  background-color: var(--coral);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s;
}

.form-button:hover {
  background-color: #e05a5a;
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  color: var(--lime-green);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-text {
  margin-right: 1rem;
}

.cookie-buttons {
  display: flex;
}

.cookie-btn {
  padding: 8px 16px;
  margin-left: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-accept {
  background-color: var(--lime-green);
  color: white;
}

.cookie-more {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

/* Página de gracias */
.gracias-container {
  border: 1px solid #ccc;
  margin: 10rem auto 5rem;
  max-width: 600px;
  text-align: center;
  padding: 2rem;
      display: grid;
    gap: 1rem;
    justify-items: center;
}

/* Páginas de políticas */
.policy-container {
  max-width: 800px;
  margin: 7rem auto 3rem;
  padding: 2rem;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.policy-title {
  margin-bottom: 2rem;
  text-align: center;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h3 {
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

/* Media Queries */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .step {
    flex: 100%;
  }
  
  /* Hamburger menu */
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links li {
    margin: 1rem auto;
  }
  
  .menu-btn {
    display: block;
  }
  
  #menu-toggle:checked ~ .nav-links {
    left: 0;
  }
  
  #menu-toggle:checked ~ .menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  #menu-toggle:checked ~ .menu-btn span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ .menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .cookie-consent {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
    text-align: center;
  }
}