html {
      font-size: 112.5%; /* This equates to 18px if the browser's default is 16px, scaling rem units up */
    }

    body {
      background: url('paper-bg.webp') repeat;
      background-size: auto;
      font-family: 'EB Garamond', serif;
      color: #5D4037; /* Softer brown text color */
      margin: 0;
      padding: 0;
    }

    header {
      text-align: center;
      background: #fff5ea; /* Soft, creamy pastel orange */
      padding: 1rem 1rem 0.5rem 1rem; /* Adjusted padding: top, horizontal, bottom */
      border-bottom: 2px solid #d6a562;
      border-top: 1px solid #e0bfa0;
      position: relative; /* Kept for ::before/::after pseudo-elements */
      width: 100%; /* Ensures it spans full width for centering purposes */
    }

    header h1 {
      font-family: 'EB Garamond', serif;
      font-size: 2.8em;
      font-weight: bold;
      color: #3a1f0e;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
      letter-spacing: 0.5px;
      text-align: center;
      text-decoration: none;
      margin-top: 1rem;
      margin-bottom: 1rem;
      padding: 0.5rem 0;
      position: relative;
    }

    header h1 a {
      font-family: 'EB Garamond', serif;  /* Explicit */
      font-size: 1em; /* Relative to parent h1, which has 2.8em etc. */
      font-weight: bold; /* Explicit */
      color: #3a1f0e; /* Explicit */
      text-shadow: 1px 1px 3px rgba(0,0,0,0.15); /* Explicit */
      letter-spacing: 0.5px; /* Explicit */
      text-decoration: none; /* Explicit */
      display: inline; /* Ensure it behaves as an inline element within the h1 flow */
    }

    /* Sparkles still need to be relative to H1 if position:relative is on H1 */
    header h1::before, header h1::after {
      content: '\2728';
      font-size: 1.2rem;
      margin: 0 0.3rem;
      color: #d6a562;
      /* position: absolute; /* If they were absolutely positioned, they'd need H1 relative */
      /* top: 50%; transform: translateY(-50%); /* Example for vertical centering */
    }

    main {
      padding: 2rem;
    }

    #featured-show {
      background: #fff9f0;
      border-style: double;
      border-width: 4px;
      border-color: #d6a562;
      border-radius: 18px;
      margin-bottom: 2rem;
      box-shadow: inset 0 0 8px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.15);
      position: relative;
    }

    .carousel-image-clickable-link {
      display: block;
      text-decoration: none;
      line-height: 0;
    }

    .slide-cta-link {
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 12px 10px;
        background-color: #d6a562;
        color: #3a1f0e !important;
        text-align: center;
        text-decoration: none !important;
        border-radius: 5px;
        font-weight: bold;
        text-transform: uppercase;
        box-sizing: border-box;
    }
    .slide-cta-link:hover {
        background-color: #b88a4f;
    }

    .featured-show-details-container {
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        text-align: left;
    }
    .featured-show-details-container h2 {
        text-transform: uppercase;
        font-size: 2.75rem;
    }
    .featured-show-details-container h2 a {
        text-decoration: none;
        color: inherit;
    }


    .cta-button-wrapper {
        text-align: center;
        margin-top: 1rem;
    }

    .featured-show-info-block {
        margin-top: 1rem;
        margin-bottom: 1rem;
        text-align: left;
    }
    .featured-show-info-block p {
        margin-top: 0.15rem;
        margin-bottom: 0.15rem;
        line-height: 1.3;
        font-size: 1.1rem;
    }
    .featured-show-info-block p.price {
        font-size: 1.3rem;
        font-weight: bold;
        color: #5D4037;
    }

    hr.info-block-boundary {
        border: 0;
        border-top: 1px solid #e0bfa0;
        margin: 1em 0;
    }

    .share-btn {
      background: none;
      cursor: pointer;
      font-family: 'EB Garamond', serif;
      font-size: 0.85rem;
      color: #5D4037;
      display: inline-flex;
      align-items: center;
    }
    .share-icon {
      font-size: 1em;
      margin-right: 6px;
    }

    .secondary-actions-group {
      text-align: center;
      margin-top: 1.5rem;
      margin-bottom: 1rem;
    }

    .secondary-actions-group .ver-comentarios-btn,
    .secondary-actions-group .share-btn {
      display: block;
      width: fit-content;
      min-width: 180px;
      margin-left: auto;
      margin-right: auto;
      padding: 10px 20px;
      border: 1px solid #b0a090;
      background-color: #fff9f0;
      color: #5D4037;
      border-radius: 5px;
      font-family: 'EB Garamond', serif;
      cursor: pointer;
      transition: background-color 0.2s ease, border-color 0.2s ease;
    }
    .secondary-actions-group .ver-comentarios-btn:hover,
    .secondary-actions-group .share-btn:hover {
      background-color: #fdf0e0;
      border-color: #a09080;
    }

    .secondary-actions-group .ver-comentarios-btn {
       margin-bottom: 0.75rem;
    }
    .secondary-actions-group .share-btn {
       margin-top: 0.75rem;
    }

    hr.button-separator {
      width: 70%;
      margin: 0 auto;
      border: 0;
      height: 1px;
      background-color: #e0bfa0;
    }


    .share-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .share-modal-overlay.visible {
        display: flex;
        opacity: 1;
    }

    .share-modal-content {
      background: #fff9f0;
      padding: 20px 25px;
      border-radius: 8px;
      text-align: center;
      box-shadow: 0 4px 15px rgba(0,0,0,0.25);
      min-width: 280px;
      max-width: 350px;
      transform: scale(0.95);
      transition: transform 0.3s ease;
    }
    .share-modal-overlay.visible .share-modal-content {
        transform: scale(1);
    }

    .share-modal-content h3 {
      margin-top: 0;
      margin-bottom: 20px;
      color: #3a1f0e;
      font-size: 1.4rem;
    }
    .share-options a {
      display: block;
      padding: 12px;
      margin: 8px 0;
      border-radius: 5px;
      text-decoration: none;
      color: white !important;
      font-weight: bold;
      transition: opacity 0.2s ease;
    }
    .share-options a:hover {
        opacity: 0.85;
    }
    .share-option-whatsapp { background-color: #25D366; }
    .share-option-facebook { background-color: #1877F2; }
    .share-option-instagram { background-color: #E1306C; }

    .share-modal-close {
      margin-top: 25px;
      padding: 10px 20px;
      background-color: #6c757d;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-family: 'EB Garamond', serif;
      font-size: 1rem;
    }
    .share-modal-close:hover {
      background-color: #5a6268;
    }

    .ver-comentarios-btn {
      display: block;
      margin: 1.5rem auto 1rem auto;
      padding: 8px 15px;
      background-color: #6c757d;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-family: 'EB Garamond', serif;
      font-size: 0.95rem;
    }
    .ver-comentarios-btn:hover {
      background-color: #5a6268;
    }

    .comentarios-seccion {
      display: none !important;
    }

    .comentarios-seccion h4 {
      font-size: 1.2rem;
      color: #3a1f0e;
      margin-bottom: 0.75rem;
    }
    .comentario {
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px dotted #ddd;
    }
    .comentario:last-child {
      border-bottom: none;
      margin-bottom: 0;
    }
    .comentario-texto em {
      line-height: 1.5;
      display: block;
    }

    #other-shows {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2rem;
    }

    .obra {
      background: #fff9f0;
      border-style: double;
      border-width: 4px;
      border-color: #d6a562;
      border-radius: 18px;
      padding: 1rem;
      text-align: center;
      box-shadow: inset 0 0 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.1);
    }

    #other-shows .obra img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 0.5rem;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

   #other-shows .obra picture {
     display: block;
     margin-left: auto;
     margin-right: auto;
     max-width: 320px;
   }
    #other-shows .obra a {
        display: block;
        text-decoration: none;
    }


    #other-shows .obra h2 {
      font-size: 1.5rem;
      margin: 0.5rem 0 0.2rem 0;
      color: #3a1f0e;
      text-transform: uppercase;
    }
    #other-shows .obra h2 a {
        text-decoration: none;
        color: inherit;
    }


    #other-shows .obra p {
      font-size: 0.9rem;
      line-height: 1.4;
      margin-bottom: 0.3rem;
      text-align: left;
    }

    #other-shows .obra .tipo {
      font-size: 1rem;
      color: #7b4c2a;
      text-align: right;
      font-style: italic;
    }

    a {
      text-decoration: none;
      color: inherit;
    }


    #other-shows .obra .price {
      font-size: 1.1rem;
      font-weight: bold;
      color: #c0392b;
      margin: 0.5rem 0;
    }

    #other-shows .obra .obra-cta-link {
        display: block;
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 12px 10px;
        background-color: #d6a562;
        color: #3a1f0e !important;
        text-align: center;
        text-decoration: none !important;
        border-radius: 5px;
        font-weight: bold;
        font-size: 0.9rem;
        text-transform: uppercase;
        box-sizing: border-box;
    }
    #other-shows .obra .obra-cta-link:hover {
        background-color: #b88a4f;
    }

    footer {
      background: rgba(255, 255, 255, 0.8);
      border-top: 3px solid #d6a562;
      padding: 1.5rem 1rem;
      text-align: center;
      margin-top: 2rem;
      font-size: 0.95rem;
    }

    .footer-title {
      margin-bottom: 0.5rem;
    }

    .footer-details {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem 1.5rem;
    }
.footer-details p {
  margin: 0;
  color: #5D4037;
}

.footer-contact-link {
  margin-top: 1rem;
  color: #5D4037;
}

.footer-contact-link a {
  font-weight: 600;
}

.footer-whatsapp::before {
  content: "|";
  margin-right: 1.5rem;
  color: #aaa;
}
    footer a {
      color: #3a1f0e;
      text-decoration: underline;
    }

    footer a:hover {
      color: #d6a562;
    }

    .section-divider {
      text-align: center;
      margin-top: 2.5rem;
      margin-bottom: 2.5rem;
    }

    .section-divider h2 {
      font-size: 1.8rem;
      color: #3a1f0e;
      margin-bottom: 0.75rem;
      display: inline-block;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid #d6a562;
    }

    /* Media Queries for Header H1 and other elements */
    @media (max-width: 768px) {
      header h1 {
        font-size: 2.4em;
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
      }
      /* header h1 a will adjust automatically due to font-size: 1em */
      main {
        padding: 1rem;
      }
      .featured-show-details-container h2 {
        font-size: 2.5rem;
      }
      .featured-show-details-container > p {
        font-size: 1.1rem;
      }
      .featured-show-info-block p {
        font-size: 1.05rem;
      }
      #other-shows .obra h2 {
        font-size: 1.45rem;
      }
      #other-shows .obra p {
        font-size: 0.95rem;
      }
      .section-divider h2 {
        font-size: 1.6rem;
      }
    }

    @media (max-width: 480px) {
      header h1 {
        font-size: 2em;
        letter-spacing: 0.25px;
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
      }
      /* header h1 a will adjust automatically due to font-size: 1em */
      .featured-show-details-container h2 {
        font-size: 2.2rem;
      }
      .featured-show-details-container > p {
        font-size: 1rem;
      }
      .featured-show-info-block p {
        font-size: 0.95rem;
      }
      #other-shows {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
      }
      #other-shows .obra h2 {
        font-size: 1.35rem;
      }
      #other-shows .obra p {
        font-size: 0.9rem;
      }
      .section-divider h2 {
        font-size: 1.4rem;
      }
    }

    @media (max-width: 420px) {
      .footer-details {
        flex-direction: column;
        gap: 0.5rem;
      }
      .footer-whatsapp::before {
        content: "";
        margin: 0;
      }
    }

    @media (min-width: 769px) {
        .featured-show-content-wrapper {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .featured-show-content-wrapper > .swiper-container.featured-swiper {
            flex:0 0 60%;
            min-width: 0;
        }

        .featured-show-content-wrapper > .featured-show-details-container {
            flex:1 1 40%;
        }
        #featured-show{
            overflow:visible;
        }
    }

    .comments-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .comments-modal-overlay.visible {
      display: flex;
      opacity: 1;
    }

    .comments-modal-content {
      background: #fff9f0;
      padding: 20px 25px;
      border-radius: 8px;
      text-align: left;
      box-shadow: 0 4px 15px rgba(0,0,0,0.25);
      min-width: 300px;
      max-width: 500px;
      max-height: 80vh;
      overflow-y: auto;
      transform: scale(0.95);
      transition: transform 0.3s ease;
    }
    .comments-modal-overlay.visible .comments-modal-content {
      transform: scale(1);
    }

    .comments-modal-content h3 {
      margin-top: 0;
      margin-bottom: 15px;
      color: #3a1f0e;
      font-size: 1.6rem;
      text-align: center;
    }

    .comments-modal-list {
      list-style: none;
      padding: 0;
      margin: 0 0 20px 0;
    }
    .comments-modal-list li {
      padding: 8px 0;
      border-bottom: 1px dotted #ddd;
    }
    .comments-modal-list li:last-child {
      border-bottom: none;
    }
    .comments-modal-list strong {
      display: block;
      color: #5D4037;
      margin-bottom: 4px;
    }
    .comments-modal-list em {
      font-style: normal;
      line-height: 1.5;
    }

    .comments-modal-close {
      display: block;
      margin: 15px auto 0 auto;
      padding: 10px 20px;
      background-color: #6c757d;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-family: 'EB Garamond', serif;
      font-size: 1rem;
    }
    .comments-modal-close:hover {
      background-color: #5a6268;
    }

    .swiper-container {
        width: 100%;
        overflow: hidden;
        position: relative;
        border-radius: 12px;
    }
    .featured-swiper {
        aspect-ratio: 1080 / 1350;
    }

    .swiper-button-next,
    .swiper-button-prev {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #d6a562;
        width: 44px;
        height: 44px;
    }
    .swiper-button-next {
        right: 5px;
    }
    .swiper-button-prev {
        left: 5px;
    }
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 36px;
    }

    @media (max-width: 768px) {
        .swiper-button-next,
        .swiper-button-prev {
            background-color: rgba(0, 0, 0, 0.25);
            border-radius: 50%;
            width: 40px;
            height: 40px;
        }
        .swiper-button-next {
            right: 3px;
        }
        .swiper-button-prev {
            left: 3px;
        }
        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 28px;
            color: #fff;
        }
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: #d6a562;
        opacity: 0.6;
        margin: 0 5px;
    }

    .swiper-pagination-bullet-active {
        background: #b88a4f;
        opacity: 1;
        width: 14px;
        height: 14px;
    }


/* --- Styles for show-detail.php --- */
.show-detail-swiper { /* New rule for the container */
    aspect-ratio: 1080 / 1350;
    /* Inherits width: 100%; overflow: hidden; position: relative; border-radius: 12px; from .swiper-container */
    /* Add margin if it needs to be centered within its parent, e.g. margin: 0 auto; */
}

.show-detail-container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff9f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.show-detail-container h1 {
  font-size: 3rem;
  color: #3a1f0e;
  margin-bottom: 1rem;
  text-align: center;
}

.show-image-container {
  margin-bottom: 1.5rem;
}

.show-image-container > picture > img { /* Rule for single static image - kept as is */
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  max-height: 70vh;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-left: auto;
  margin-right: auto;
}

.show-detail-swiper .swiper-slide img { /* Modified rule for images in detail page swiper */
  width: 100%;
  height: 100%; /* Fill the slide height */
  display: block;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.featured-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 12px;
}


.show-detail-container > p {
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.show-meta {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background-color: #fff5ea;
  border-radius: 8px;
  border: 1px solid #e0bfa0;
}

.show-meta p {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}
.show-meta p:last-child {
  margin-bottom: 0;
}
.show-meta strong {
  color: #7b4c2a;
}

.show-meta hr {
  border: 0;
  border-top: 1px solid #e0bfa0;
  margin: 1rem 0;
}

.other-shows-section {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid #d6a562;
}

.other-shows-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #3a1f0e;
}

.other-shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.obra-similar {
  background: #fff9f0;
  border: 1px solid #e0bfa0;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.obra-similar h3 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.obra-similar h3 a {
  color: #5D4037;
  text-decoration: none;
  transition: color 0.2s ease;
}
.obra-similar h3 a:hover {
  color: #d6a562;
}

.obra-similar p {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  text-align: left;
}
.obra-similar p:last-of-type {
    margin-bottom: 1rem;
}

.obra-similar .other-show-thumbnail-link {
    display: block;
    margin-bottom: 0.75rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.obra-similar .other-show-thumbnail-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}


.obra-similar .obra-cta-link {
  margin-top: auto;
  display: inline-block;
  font-size: 0.9rem;
  padding: 10px 15px;
  width: auto;
  background-color: #b88a4f;
  color: #fff !important;
}
.obra-similar .obra-cta-link:hover {
    background-color: #a07542;
}


@media (max-width: 768px) {
  .show-detail-container h1 {
    font-size: 2.5rem;
  }
  /* Adjust header h1 for 768px if the new base is 2.8em */
  /* header h1, header h1 a { font-size: 2.4em; } /* This is already in the new block */

  .other-shows-section h2 {
    font-size: 1.7rem;
  }
  .other-shows-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .obra-similar h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .show-detail-container {
    padding: 1rem;
    margin: 1rem auto;
  }
  .show-detail-container h1 {
    font-size: 2rem;
  }
  /* Adjust header h1 for 480px if the new base is 2.8em */
  /* header h1, header h1 a { font-size: 2em; } /* This is already in the new block */

   .show-detail-container > p {
    font-size: 1rem;
  }
  .show-meta {
    padding: 0.75rem;
  }
  .show-meta p {
    font-size: 0.95rem;
  }
  .other-shows-section h2 {
    font-size: 1.5rem;
  }
}

.btn-secondary-custom {
  display: inline-block;
  padding: 10px 20px;
  background-color: #86634b;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 5px;
  border: 1px solid #70523e;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-secondary-custom:hover {
  background-color: #70523e;
  border-color: #5c4230;
  color: #ffffff !important;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}
.swiper-slide img {
   display: block;
}

/* Contact Section Styles */
#contact-section {
    background-color: #ffffff;
    border-radius: 8px;
    margin: 40px auto;
    padding: 30px 25px;
    max-width: 760px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#contact-section h3 {
    font-size: 1.9em;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

#contact-section p {
    font-size: 1em;
    color: #555;
    margin-bottom: 24px;
    text-align: center;
}

#contact-section .contact-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

#contact-section .field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#contact-section .field-group.full-width {
    grid-column: 1 / -1;
}

#contact-section label {
    font-weight: 600;
    color: #444;
}

#contact-section input,
#contact-section select,
#contact-section textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact-section input:focus,
#contact-section select:focus,
#contact-section textarea:focus {
    border-color: #5cb85c;
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.2);
    outline: none;
}

#contact-section textarea {
    resize: vertical;
    min-height: 140px;
}

#contact-section .field-group.actions {
    display: flex;
    justify-content: flex-end;
}

#contact-section .field-group.actions button {
    align-self: flex-end;
    padding: 12px 28px;
    background-color: #5cb85c;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#contact-section .field-group.actions button:hover {
    background-color: #4cae4c;
    transform: translateY(-1px);
}

/* Legacy contact CTA styles removed. The invitación ahora vive en el footer. */

.contact-page {
    padding: 2rem 1.5rem 4rem;
}

.contact-page-hero {
    max-width: 960px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.contact-hero-card {
    width: 100%;
    text-align: center;
    padding: 3rem 3.5rem;
    background: linear-gradient(135deg, rgba(255, 245, 236, 0.95), rgba(255, 226, 198, 0.95));
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(90, 45, 15, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-hero-eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b25a1c;
    font-weight: 700;
}

.contact-hero-card h1 {
    font-size: 2.6rem;
    margin: 0;
    color: #6d3a12;
}

.contact-hero-lead {
    font-size: 1.2rem;
    color: #4b2c16;
    line-height: 1.7;
    max-width: 620px;
    margin: 0;
}

.contact-hero-subcopy {
    margin: 0;
    color: #7a5533;
    max-width: 580px;
    line-height: 1.6;
}

.contact-support {
    max-width: 1040px;
    margin: 3.5rem auto 0;
    padding: 0 1.5rem;
}

.contact-support-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-support-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.1rem;
    border: 1px solid rgba(240, 201, 164, 0.8);
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.08);
    color: #4b2c16;
}

.contact-support-card h2,
.contact-support-card h3 {
    color: #7a3f12;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.contact-support-card p {
    margin: 0 0 0.8rem;
    line-height: 1.6;
}

.contact-support-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.contact-support-card li {
    line-height: 1.5;
    background: rgba(255, 240, 224, 0.6);
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
}

.contact-support-card--channels {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    background: linear-gradient(160deg, rgba(255, 239, 220, 0.95), rgba(255, 224, 198, 0.9));
}

.contact-channel-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.contact-channel-label {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a4d19;
    font-size: 0.85rem;
}

.contact-support-card a {
    color: #b25a1c;
    font-weight: 600;
    text-decoration: none;
}

.contact-support-card a:hover {
    text-decoration: underline;
}

@media (max-width: 575px) {
    #contact-section {
        padding: 25px 18px;
    }

    #contact-section .field-group.actions {
        justify-content: center;
    }

    .contact-page {
        padding: 1.5rem 1rem 3rem;
    }

    .contact-hero-card {
        padding: 2.5rem 1.6rem;
        border-radius: 24px;
    }

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

    .contact-hero-lead {
        font-size: 1.1rem;
    }

    .contact-support {
        padding: 0;
    }
}

/* Subscription Section Styles (Main Content Area) */
#subscription-section {
    text-align: center;
    padding: 30px 20px;                /* Reverted padding */
    background-color: #f9f9f9;         /* Kept background, seems intentional for the block */
    border-radius: 8px;
    margin: 30px auto;                  /* Reverted margin */
    max-width: 600px;                   /* Reverted max-width */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#subscription-section h3 {
    font-size: 1.8em;                   /* Reverted font size */
    color: #333;
    margin-bottom: 10px;
}

#subscription-section p {
    font-size: 1em;                     /* Reverted font size */
    color: #555;
    margin-bottom: 20px;                /* Reverted margin */
}

#subscription-section form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;                          /* Reverted gap */
}

#subscription-section form label {
    display: none; /* Keep label hidden as it's for accessibility */
}

#subscription-section form input[type="email"] {
    padding: 12px;                      /* Reverted padding */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;                     /* Reverted font size */
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
}

#subscription-section form button[type="submit"] {
    padding: 12px 25px;                 /* Reverted padding */
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;                     /* Reverted font size */
    transition: background-color 0.3s ease;
}

#subscription-section form button[type="submit"]:hover {
    background-color: #4cae4c;
}

/* Responsive adjustments for the form in main content */
@media (min-width: 576px) { /* Adjusted breakpoint for main content form */
    #subscription-section form {
        flex-direction: row;
        align-items: baseline;
    }

    #subscription-section form input[type="email"] {
        width: auto;
        flex-grow: 1;
    }
}

/* Subscription Feedback Message Styles (Main Content Area) */
#contact-feedback,
#subscription-feedback {
    padding: 15px;                      /* Reverted padding */
    margin: 20px auto;                  /* Reverted margin */
    max-width: 600px;                   /* Reverted max-width */
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 1em;                     /* Reverted font size */
}

#contact-feedback.success,
#subscription-feedback.success {
    background-color: #4CAF50;
    border: 1px solid #3d8b40;
}

#contact-feedback.error,
#subscription-feedback.error {
    background-color: #f44336;
    border: 1px solid #d32f2f;
}
