/* ===================== RESET ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(
    135deg,
    rgb(107, 93, 61) 0%,
    rgb(213, 200, 168) 40%,
    rgb(213, 200, 168) 60%,
    rgb(107, 93, 61) 100%
  );
  background-size: 200% 200%;
  animation: shimmerMove 10s ease-in-out infinite;
  color: rgba(179, 154, 96, 0.6);
  line-height: 1.6;
}

/* ===================== HEADER ===================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    135deg,
    rgba(171, 151, 104, 0.85),
    rgba(251, 235, 197, 0.8),
    rgba(171, 151, 104, 0.85)
  );
  box-shadow: 0 0 25px rgba(255, 223, 150, 0.8);
  border-bottom: 2px solid rgba(179, 154, 96, 0.6);
}

.logo img {
  background: radial-gradient(circle, rgba(11,45,11,0.9) 20%, rgb(0,0,0) 80%, rgba(252,197,79,0.7) 100%);
  border-radius: 1000px;
  box-shadow: 0 0 40px rgb(252, 197, 79);
  height: 65px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover, nav a.active {
  color: #e2d5c3;
  border-bottom: 2px solid rgb(252, 223, 62);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #0f0f0f;
  color: #fff;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.18));
  color: #fff;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mobile-hero-service {
  display: none;
  text-align: center;
  padding: 14px 20px 0;
}

.agenda-promo {
  text-align: center;
  padding: 28px 20px 36px;
  background: linear-gradient(
    135deg,
    rgba(17, 33, 17, 0.95),
    rgba(40, 61, 29, 0.95),
    rgba(17, 33, 17, 0.95)
  );
  color: #f1e1b7;
  border-top: 2px solid rgba(255, 223, 150, 0.4);
  border-bottom: 2px solid rgba(255, 223, 150, 0.4);
  box-shadow: 0 0 25px rgba(255, 223, 150, 0.25);
}

.agenda-promo h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: rgb(238, 223, 172);
}

.agenda-promo p {
  max-width: 700px;
  margin: 0 auto 18px;
  font-family: 'Montserrat', sans-serif;
  color: #e9dfbf;
  font-size: 1rem;
}

.btn-primary-hero,
.btn-secondary-hero {
  min-width: 155px;
  text-align: center;
  border: 1px solid rgba(238, 223, 172, 0.82);
}

.btn-primary-hero {
  background: rgba(235, 212, 155, 0.75);
  color: #121212;
}

.btn-secondary-hero {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(238, 223, 172, 0.8);
}

.btn-secondary-hero:hover,
.btn-primary-hero:hover {
  background: rgb(169, 150, 97);
  color: #fff;
}


.hero-logo {
  max-width: 280px;
  display: block;
  background: radial-gradient(circle, rgba(11,45,11,0.9) 20%, rgb(0,0,0) 80%, rgba(252,197,79,0.7) 100%);
  border-radius: 1000px;
  box-shadow: 0 0 40px rgba(252, 197, 79, 0.5);
}

.hero h1 {
  font-size: 3rem;
  font-family: 'Great Vibes', cursive;
  margin-bottom: 20px;

  /* Gradiente en el texto */
  background: linear-gradient(
    20deg,
    rgb(150, 129, 58),
    rgb(192, 175, 122),
    rgb(26, 77, 15)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Sombra opcional para destacar */
  text-shadow: 0 0 4px rgba(38, 140, 50, 0);
}


.btn {
  background: rgba(235, 212, 155, 0.532);
  color: #000000;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.btn:hover {
  background: rgb(169, 150, 97);
  color: #e2d5c3;
}

/* ===================== SOBRE NOSOTROS ===================== */
.about {
  position: relative;
  background: linear-gradient(
    135deg,
    rgb(217, 204, 175) 0%,
    rgb(210, 194, 157) 40%,
    rgb(214, 196, 156) 60%,
   rgb(152, 138, 107) 100%
  );
  background-size: 200% 200%;
  animation: shimmerMove 10s ease-in-out infinite;
  padding: 60px 10%;
  color: #8c7643;
  text-align: center;
  border-top: 2px solid rgba(255, 223, 150, 0.4);
  border-bottom: 2px solid rgba(255, 223, 150, 0.4);
  box-shadow: 0 0 25px rgba(255, 223, 150, 0.5);
  overflow: hidden;
}

@keyframes shimmerMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.about h2 {
  text-align: center;
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: rgb(134, 120, 75);
  margin-bottom: 15px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.about-image {
  order: 2;
}

.about-image img {
  width: 420px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 223, 150, 0.7);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  text-align: center;
  order: 1;
}

.about-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: #4a463f;
  line-height: 1.6;
}

/* ===================== SERVICIOS ===================== */
.servicios-page {
  position: relative;
  text-align: center;
  padding: 60px 20px;

  background: linear-gradient(
    135deg,
    rgb(217, 204, 175) 0%,
    rgb(210, 194, 157) 40%,
    rgb(214, 196, 156) 60%,
   rgb(152, 138, 107) 100%
  );

  border-top: 2px solid rgba(255, 223, 150, 0.4);
  border-bottom: 2px solid rgba(255, 223, 150, 0.4);
  box-shadow: 0 0 25px rgba(255, 223, 150, 0.4);

  color: #6c5b2c;
  overflow: hidden;
}



.servicios-page h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: rgb(134, 120, 75);
  margin-bottom: 20px;
}

.servicios-page h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.7rem;
  color:  rgb(210, 196, 152);
  margin-bottom: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
    background: linear-gradient(
    135deg,
    #152515,
    #283d1d,
    #152515
  );
  border: 2px solid rgb(238, 223, 172);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  align-items: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ==== Slider ==== */
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider .slide.active {
  opacity: 1;
}

/* ==== Texto y botones ==== */ 
.ver-mas {
  background: linear-gradient(
    135deg,
   rgb(238, 223, 172),
    rgba(251, 235, 197, 0.886),
    rgb(238, 223, 172)
  );
  border: none;
  padding: 8px 15px;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: 0.3s;
  font-family: 'Montserrat', sans-serif;
  width: fit-content;
  display: inline-block;
}

.ver-mas:hover {
  background: #8e7d5a;
  color: #fff;
}

/* ==== Texto e información dentro de la tarjeta ==== */
.info {
  max-height: 0;
  overflow: hidden;
  background: transparent;
  border-top: 2px solid rgba(238, 223, 172, 0.3);
  transition: max-height 0.6s ease, padding 0.3s ease;
  margin-top: 10px;
}

/* Cuando la tarjeta se expande */
.card.active .info {
  max-height: 250px;
  overflow-y: auto;
  padding: 10px 0;
}

/* Scrollbar elegante */
.info::-webkit-scrollbar {
  width: 6px;
}
.info::-webkit-scrollbar-thumb {
  background: rgba(167,156,90,0.8);
  border-radius: 10px;
}
.info::-webkit-scrollbar-track {
  background: #f8f4ec;
}

/* Texto interno */
.info p {
  color: rgb(210, 196, 152);
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  font-family: 'playfair display', sans-serif;
}

/* Botón de cotizar */
.btn-cotizar {
  display: inline-block;
  background: #1c3e28;
  color: white;
  padding: 8px 15px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  margin-top: 10px;
}
.btn-cotizar:hover {
  background: #314d31;
}


@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===================== FOOTER ===================== */
footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(171, 151, 104, 0.85),
    rgba(251, 235, 197, 0.8),
    rgba(171, 151, 104, 0.85)
  );
  box-shadow: 0 0 25px rgba(255, 223, 150, 0.8);
  color: #333;
}

/* ===================== MENÚ HAMBURGUESA ===================== */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  z-index: 2000;
  position: relative;
}

@media (max-width: 768px) {
  nav#menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background-color: rgba(171, 151, 104, 0.53);
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    z-index: 1500;
  }

  nav#menu.active {
    right: 0;
  }

  nav#menu ul {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  nav#menu ul li a {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 18px;
    color: #000;
    text-decoration: none;
  }

  nav#menu ul li a:hover {
    background-color: #f0f0f0;
  }

  .menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
  }
}

/* ===================== WHATSAPP FLOTANTE ===================== */

/* Animación salto para la burbuja flotante */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* BOTÓN FLOTANTE */
#whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  background: none;
}

#whatsapp-float img {
  width: 50%;
  height: 50%;
  
}


/* ================ CONTACTO =================== */
.contacto-info {
  background: linear-gradient(
    135deg,
    rgba(171, 151, 104, 0.85),
    rgba(251, 235, 197, 0.8),
    rgba(171, 151, 104, 0.85)
  );
  padding: 15px 8%;
  text-align: center;
  color: #333;
  font-family: 'Raleway', sans-serif;
  box-shadow: 0 0 15px rgba(255, 223, 150, 0.6);
}

.contacto-info h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #b99654;
}

/* Contenedor centrado en columna */
.contacto-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Listas apiladas */
.contacto-left,
.contacto-right {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Líneas más compactas */
.contacto-info li {
  margin-bottom: 8px;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Enlaces elegantes */
.contacto-info a {
  color: #7b5b1f;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contacto-info a:hover {
  text-decoration: underline;
  color: #b45309;
}

/* ===================== RESPONSIVE GENERAL ===================== */
@media (max-width: 768px) {
  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 44px 20px 28px;
    gap: 15px;
  }

  .hero-logo {
    max-width: 150px;
    box-shadow: 0 0 25px rgba(252, 197, 79, 0.6);
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    padding: 0 10px;
    line-height: 1.4;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero .btn-primary-hero,
  .hero .btn-secondary-hero {
    padding: 10px 25px;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .about {
    padding: 28px 10% 40px;
  }

  .about-container {
    display: block;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
  }

  .about-image {
    float: right;
    order: unset;
    width: 128px;
    max-width: 128px;
    margin: 0 0 10px 12px;
  }

  .about-image img {
    width: 100%;
    max-width: 128px;
  }

  .about-text {
    text-align: left;
    order: unset;
  }

  .about-text p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

/* ===================== RESPONSIVE EXTRA PEQUEÑO (móviles pequeños) ===================== */
@media (max-width: 480px) {
  .hero-content {
    padding: 34px 15px 22px;
    gap: 10px;
  }

  .hero-logo {
    max-width: 120px;
  }

  .hero h1 {
    font-size: 1.2rem;
    padding: 0 5px;
    margin-bottom: 3px;
  }

  .hero .btn-primary-hero,
  .hero .btn-secondary-hero,
  .mobile-hero-service .btn-primary-hero,
  .agenda-promo .btn-primary-hero {
    padding: 8px 20px;
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .agenda-promo {
    padding: 22px 16px 28px;
  }

  .agenda-promo h2 {
    font-size: 2rem;
  }

  .agenda-promo p {
    font-size: 0.92rem;
  }

  .about {
    padding: 22px 8% 34px;
  }

  .about-container {
    gap: 10px;
  }

  .about-image {
    width: 102px;
    max-width: 102px;
    margin: 0 0 8px 10px;
  }

  .about-image img {
    max-width: 102px;
  }

  .about-text p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* ===================== PRODUCTOS ===================== */
.productos-page {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(
    135deg,
    rgb(217, 204, 175) 0%,
    rgb(210, 194, 157) 40%,
    rgb(214, 196, 156) 60%,
   rgb(152, 138, 107) 100%
  );
  border-top: 2px solid rgba(255, 223, 150, 0.4);
  border-bottom: 2px solid rgba(255, 223, 150, 0.4);
  box-shadow: 0 0 25px rgba(255, 223, 150, 0.4);
  color: #6c5b2c;
  min-height: 80vh;
}

.productos-page h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: rgb(134, 120, 75);;
  margin-bottom: 10px;
}

.productos-intro {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: #4a463f;
  margin-bottom: 40px;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.producto-card {
  background: linear-gradient(135deg, #152515, #283d1d, #152515);
  border: 2px solid rgb(238, 223, 172);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 223, 150, 0.5);
}

.producto-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 2px solid rgba(238, 223, 172, 0.5);
}

.producto-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, rgba(251, 235, 197, 0.3), rgba(171, 151, 104, 0.3));
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 3rem;
  color: rgba(255, 223, 150, 0.6);
}

.producto-placeholder p:last-child {
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  margin-top: 10px;
}

.producto-card h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: rgb(210, 196, 152);
  margin-bottom: 10px;
}

.producto-desc {
  font-family: 'Montserrat', sans-serif;
  color: rgb(228, 215, 187);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.btn-producto {
  display: inline-block;
  background: linear-gradient(135deg, rgb(238, 223, 172), rgba(251, 235, 197, 0.886), rgb(238, 223, 172));
  color: #000;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  transition: 0.3s;
}

.btn-producto:hover {
  background: #8e7d5a;
  color: #fff;
}

/* ===================== AGENDAR CITA ===================== */
.agendar-page {
  position: relative;
  padding: 60px 20px;
  background: linear-gradient(
    135deg,
    rgb(217, 204, 175) 0%,
    rgb(210, 194, 157) 40%,
    rgb(214, 196, 156) 60%,
   rgb(152, 138, 107) 100%
  );
  background-size: 200% 200%;
  animation: shimmerMove 10s ease-in-out infinite;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agendar-page h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: rgb(134, 120, 75);
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(255, 223, 150, 0.6);
}

.agendar-form {
  background: linear-gradient(135deg, #152515, #283d1d, #152515);
  border: 2px solid rgb(238, 223, 172);
  border-radius: 15px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  color: rgb(228, 215, 187);
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(238, 223, 172, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgb(238, 223, 172);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.info-mensaje {
  background: rgba(238, 223, 172, 0.2);
  border-left: 4px solid rgb(238, 223, 172);
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.info-mensaje p {
  color: rgb(228, 215, 187);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ===================== CALENDARIO FECHA ===================== */
.fecha-calendar {
  background: rgba(21, 37, 21, 0.3);
  border: 1px solid rgba(185, 150, 84, 0.3);
  border-radius: 12px;
  padding: 15px;
  margin-top: 8px;
}

.month-calendar {
  display: grid;
  gap: 12px;
}

.month-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.month-calendar-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f6e7b4;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.month-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(185, 150, 84, 0.45);
  background: rgba(21, 37, 21, 0.45);
  color: #f7ecd0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.month-nav-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(185, 150, 84, 0.28);
}

.month-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.month-calendar-weekdays,
.month-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.month-calendar-weekday {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d8ccaa;
  padding: 4px 0;
}

.calendar-day {
  min-height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(185, 150, 84, 0.28);
  background: rgba(185, 150, 84, 0.12);
  color: #f7ecd0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-1px);
}

.calendar-day--empty {
  background: transparent;
  border: none;
  cursor: default;
}

.calendar-day--available {
    background: rgba(68, 96, 68, 0.28);
  color: #50713c;
}

.calendar-day--busy {
    background: rgba(237, 108, 2, 0.35);
  border-color: rgba(237, 108, 2, 0.45);
  color: #fff1d6;
}

.calendar-day--occupied {
    background: rgba(198, 40, 40, 0.38);
  border-color: rgba(198, 40, 40, 0.55);
  color: #ffe6e6;
}

.calendar-day--disabled {
    background: rgba(120, 120, 120, 0.18);
  border-color: rgba(120, 120, 120, 0.2);
  color: rgba(247, 236, 208, 0.35);
  cursor: not-allowed;
}

.calendar-day--full {
    background: rgba(198, 40, 40, 0.38);
  border-color: rgba(198, 40, 40, 0.55);
  color: #ffe6e6;
  cursor: not-allowed;
}

.calendar-day--selected {
  background: #b99654;
  border-color: #f1db97;
  color: white;
  box-shadow: 0 0 0 2px rgba(241, 219, 151, 0.25);
}

.calendar-day-number {
  z-index: 1;
}

.calendar-day-dot {
  position: absolute;
  bottom: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5d5d;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.calendar-legend--months {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(185, 150, 84, 0.2);
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.free {
  background: rgba(76, 175, 80, 0.4);
  border: 1px solid rgba(76, 175, 80, 0.6);
}

.legend-dot.busy {
  background: rgba(237, 108, 2, 0.4);
  border: 1px solid rgba(237, 108, 2, 0.6);
}

.legend-dot.full {
  background: rgba(198, 40, 40, 0.5);
  border: 1px solid rgba(198, 40, 40, 0.7);
}

#fechaFallback {
  background: rgba(240, 240, 240, 0.8);
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 6px;
  color: #666;
  text-align: center;
  font-size: 0.95rem;
}

.btn-enviar,
.btn-submit {
  width: 100%;
  background: #8e7d5a;
  color: #ffffff;
  padding: 18px 20px;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-enviar:hover,
.btn-submit:hover {
  background: #6c5b2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-enviar:disabled,
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .month-calendar-weekdays,
  .month-calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 50px;
    font-size: 0.85rem;
  }

  .month-calendar-header {
    align-items: flex-start;
  }
}

.success-message {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 3000;
  width: min(92vw, 460px);
  padding: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(21, 37, 21, 0.98), rgba(40, 61, 29, 0.98), rgba(21, 37, 21, 0.98));
  color: #f7ecd0;
  border: 2px solid rgba(238, 223, 172, 0.92);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 223, 150, 0.28);
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  animation: popIn 0.28s ease-out;
}

.error-message {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 3000;
  width: min(92vw, 460px);
  padding: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(87, 28, 28, 0.98), rgba(123, 35, 35, 0.98), rgba(87, 28, 28, 0.98));
  color: #fff4f4;
  border: 2px solid rgba(255, 207, 207, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 164, 164, 0.2);
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  animation: popIn 0.28s ease-out;
}

.message-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 22px 18px;
}

.message-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  font-size: 1.5rem;
  background: rgba(238, 223, 172, 0.16);
  border: 1px solid rgba(238, 223, 172, 0.55);
}

.message-card__body {
  flex: 1;
}

.message-card__title {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: rgb(238, 223, 172);
  margin-bottom: 6px;
}

.message-card__text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #f7ecd0;
}

.message-card__actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 22px 22px;
}

.message-card__button {
  border: 1px solid rgba(238, 223, 172, 0.88);
  background: rgba(238, 223, 172, 0.16);
  color: #fff8e6;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.message-card__button:hover {
  transform: translateY(-1px);
  background: rgba(238, 223, 172, 0.28);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 480px) {
  .message-card {
    padding: 18px 16px 14px;
    gap: 12px;
  }

  .message-card__title {
    font-size: 1.7rem;
  }

  .message-card__text {
    font-size: 0.92rem;
  }

  .message-card__actions {
    padding: 0 16px 16px;
  }
}

/* ===================== FORMULARIO DINÁMICO ===================== */
.service-fields {
  margin-bottom: 20px;
}

.service-fieldset {
  border: 1px solid rgba(238, 223, 172, 0.35);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.service-fieldset legend {
  padding: 0 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: rgb(238, 223, 172);
}

.service-options {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.service-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgb(228, 215, 187);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
}

.service-option input {
  margin-top: 3px;
  width: auto;
}

.service-option small {
  display: block;
  color: rgba(228, 215, 187, 0.8);
  font-size: 0.82rem;
  line-height: 1.4;
}

.service-note {
  margin: 12px 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 4px solid rgb(238, 223, 172);
  background: rgba(238, 223, 172, 0.12);
  color: rgb(243, 234, 210);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
}

.readonly-field {
  background: rgba(255, 255, 255, 0.86) !important;
  color: #2c2c2c;
}

.time-summary {
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgb(228, 215, 187);
  font-family: 'Montserrat', sans-serif;
}