/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: #fff8e6;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #cce4f7;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

header .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.left-header {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.logo-small {
  height: 70px;
}

.branding {
  display: flex;
  align-items: center;
}

.site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #a26d9b;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.phone, .email {
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone i, .email i {
  color: #4c72af;
}

.phone a, .email a {
  color: #333;
  text-decoration: none;
  word-break: break-word;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #a26d9b;
}

/* HERO */
.hero {
  background-image: url('../imagenes/fondo2.png');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  width: 100%;
  gap: 40px;
}

.hero-text {
  flex: 1;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #fff;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  background-color: #fff4c2;
  color: #333;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block;
}

.btn:hover {
  background-color: #ffe98a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  background-color: #fff4c2;
  color: #333;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block;
}

.btn:hover {
  background-color: #ffe98a;
}

/* Services Accordion */
.accordion-section {
  width: 90%;
  max-width: 1000px;
  margin: 60px auto;
  text-align: center;
}

.accordion-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #a26d9b;
}

.service-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #fffaf5;
  border-radius: 10px;
  padding: 20px;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-menu {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-content {
  flex: 3;
  min-width: 300px;
  position: relative;
}

.sub-accordion {
  background-color: #f7e8ff;
  border: none;
  padding: 14px;
  font-size: 16px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sub-accordion:hover {
  background-color: #e5d4f4;
}

.sub-accordion.active-btn {
  background-color: #fcead1;
  font-weight: bold;
}

.sub-panel {
  display: none;
  flex-direction: column;
  gap: 15px;
  animation: fadeIn 0.3s ease-in-out;
}

.sub-panel.active {
  display: flex;
}

.sub-panel img {
  max-width: 100%;
  max-height: 220px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #fff;
}

.sub-panel h3 {
  color: #a26d9b;
  font-size: 1.3rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* About & Contact */
.about-section,
.contact-section {
  background-color: #fff8e6;
  padding: 60px 20px;
  text-align: center;
}

.about-section h2,
.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #a26d9b;
}

.about-section p,
.contact-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: #cce4f7;
  color: #333;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero-flex {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-logo {
    height: 150px;
  }

  .service-container {
    flex-direction: column;
  }

  .contact-info {
    align-items: center;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  padding: 15px;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.2s;
}

.whatsapp-float:hover {
  background-color: #20b955;
  transform: scale(1.05);
}

/* Contact Form Styling */
form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
}

button[type="button"] {
  background-color: #a26d9b;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

button[type="button"]:hover {
  background-color: #8c5487;
  transform: scale(1.03);
}

.error {
  color: red;
  font-size: 0.85rem;
  display: none;
}

/* WhatsApp direct link (only shown on click) */
.whatsapp-link {
  display: inline-block;
  margin-top: 15px;
  color: #25d366;
  font-weight: bold;
  text-decoration: underline;
}
/* Contact Section Layout: Form + FAQ side by side */
.contact-section {
  background-color: #fff8e6;
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-box {
  flex: 1;
  min-width: 280px;
  background-color: #fffaf5;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-box h3 {
  color: #a26d9b;
  margin-bottom: 20px;
  font-size: 1.3rem;
  text-align: center;
}

.faq-box details {
  margin-bottom: 15px;
  border: 1px solid #e4dede;
  border-radius: 10px;
  background-color: #ffffff;
  padding: 10px 15px;
  transition: box-shadow 0.3s;
}

.faq-box details[open] {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.faq-box summary {
  font-weight: 600;
  cursor: pointer;
  color: #333;
  font-size: 1rem;
  list-style: none;
}

.faq-box p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Form layout within contact section */
.contact-section form {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.contact-section button[type="button"] {
  background-color: #a26d9b;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 1rem;
}

.contact-section button[type="button"]:hover {
  background-color: #8c5487;
  transform: scale(1.03);
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .faq-box, .contact-section form {
    width: 100%;
  }
}
/* REASONS SECTION */
.reasons-section {
  background-color: #fffaf5;
  padding: 60px 20px;
  text-align: center;
}

.reasons-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.reason-card {
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 280px;
  max-width: 320px;
  transition: transform 0.3s;
}

.reason-card:hover {
  transform: translateY(-5px);
}

.reason-card i {
  font-size: 2.5rem;
  color: #a26d9b;
  margin-bottom: 15px;
}

.reason-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.reason-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
.service-slider {
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.slider-wrapper {
  display: flex;
  gap: 15px;
  padding: 10px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
}

.slider-item {
  flex: 0 0 auto;
  width: 150px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: center;
  background-color: #f8f0ff;
  transition: transform 0.3s ease;
}

.slider-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-bottom: 2px solid #ddd;
}

.slider-item span {
  display: block;
  padding: 10px;
  font-size: 14px;
  color: #7c4a91;
}

.slider-item:hover {
  transform: scale(1.05);
  background-color: #fce9ff;
}
.site-footer {
  background-color: #fef3f0;
  color: #333;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-brand h3 {
  margin: 10px 0 5px;
  color: #a26d9b;
}

.footer-logo {
  height: 60px;
  margin-bottom: 10px;
}

.footer-links,
.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 10px;
  color: #a26d9b;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #555;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-contact p {
  margin: 6px 0;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #e6cfcf;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #888;
}
