
/* Extracted from templates/errors/maintenance.php block 1 */
.maintenance-page {
      min-height: 100vh;
      min-height: 100dvh;
      margin: 0;
      display: grid;
      place-items: center;
      padding: clamp(1rem, 4vw, 2.5rem);
      background: radial-gradient(circle at top left, rgba(134, 183, 195, 0.28), transparent 34%), linear-gradient(135deg, #ffffff 0%, #edf2f7 100%);
       color: var(--ec-dark);
       font-family: var(--ec-font-body);
       box-sizing: border-box;
    }
.maintenance-card {
       width: min(92vw, 720px);
       margin: auto;
       position: relative;
       z-index: 2;
      padding: clamp(2rem, 6vw, 4.5rem);
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid rgba(134, 183, 195, 0.36);
      box-shadow: 0 24px 70px rgba(64, 85, 101, 0.12);
      text-align: center;
      border-radius: 28px;
      backdrop-filter: blur(10px);
    }
.maintenance-logo {
       width: clamp(180px, 42vw, 280px);
       height: auto;
       margin-bottom: 2rem;
    }
    .maintenance-eyebrow {
      color: var(--ec-burgundy);
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }
.maintenance-title {
       font-size: clamp(2rem, 7vw, 4.4rem);
       font-family: var(--ec-font-title);
       font-weight: 500;
       line-height: 0.98;
      margin-bottom: 1.25rem;
    }
    .maintenance-body {
      color: var(--ec-muted);
      font-size: clamp(1rem, 2.4vw, 1.18rem);
      line-height: 1.75;
      max-width: 540px;
      margin: 0 auto 2rem;
    }
    .maintenance-contact {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.75rem;
    }
.maintenance-contact a {
      color: var(--ec-dark);
      text-decoration: none;
      border: 1px solid rgba(64, 85, 101, 0.16);
      border-radius: 999px;
      padding: 0.75rem 1.1rem;
      background: #fff;
      font-weight: 600;
    }

/* Shared public utilities extracted from inline attributes */
.z-1 { z-index: 1; }
.public-eyebrow { color: var(--ec-gold); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; }
.public-eyebrow-wide { letter-spacing: 0.35em; margin-bottom: 1.2rem; }
.public-form-section { background: var(--ec-warm-white); position: relative; overflow: hidden; }
.public-hero-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 200; line-height: 1.1; margin-bottom: 1rem; }
.public-hero-lead { color: rgba(255,255,255,0.8); font-weight: 300; font-size: 1rem; max-width: 520px; margin: 0 auto; line-height: 1.6; }
.public-section-title { color: var(--ec-dark); font-weight: 300; font-size: 1.6rem; margin-bottom: 0.3rem; }
.public-section-sub { color: var(--ec-muted); font-weight: 300; font-size: 0.85rem; margin-bottom: 2rem; }
.cf-optional { font-weight: 300; color: var(--ec-muted); text-transform: none; letter-spacing: 0; }
.cf-note { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(134, 183, 195, 0.24); }
.cf-note-text { font-size: 0.82rem; color: var(--ec-text); line-height: 1.6; margin: 0; }
.cf-map-frame { border: 0; display: block; }
.public-external-icon { font-size: 0.75rem; }
.is-hidden { display: none; }
.gallery-card-link,
.gallery-item-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.gallery-card-link:hover,
.gallery-card-link:focus,
.gallery-card-link:hover *,
.gallery-card-link:focus *,
.gallery-item-link:hover,
.gallery-item-link:focus,
.gallery-item-link:hover *,
.gallery-item-link:focus * { text-decoration: none; }
.gallery-card-link .gallery-desc,
.gallery-item-link .gallery-desc { cursor: pointer; }
.gallery-more-card { display: block; }
.gallery-more-card .gallery-preview-img-wrapper { width: 100%; }
.legal-page { background: var(--ec-ivory); min-height: 100vh; }
.legal-container { max-width: 800px; }
.legal-eyebrow { color: var(--ec-gold); font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 0.75rem; font-weight: 600; }
.legal-title { color: var(--ec-dark); font-weight: 300; font-family: var(--ec-font-title, sans-serif); margin-bottom: 1.5rem; }
.legal-divider { width: 40px; height: 1px; background: var(--ec-gold); margin: 0 auto; }
.legal-card { border: 1px solid rgba(134, 183, 195, 0.25); color: var(--ec-text); font-size: 0.95rem; line-height: 1.75; font-weight: 300; }
.legal-card strong { font-weight: 700; color: var(--ec-dark); }
.legal-heading { color: var(--ec-burgundy); font-weight: 500; }
.legal-subheading { color: var(--ec-dark); font-weight: 500; }
.legal-link { color: var(--ec-burgundy); text-decoration: underline; }
.legal-back-btn { border-radius: 50px; font-size: 0.85rem; letter-spacing: 0.05em; }
.category-filters-wrap { position: relative; }
.cat-scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: #fff; border: 1px solid #ddd; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.1); color: var(--ec-burgundy); }
.cat-scroll-left { left: -12px; }
.cat-scroll-right { right: -12px; }
.category-filters-scroll { overflow-x: auto; padding-bottom: 0.25rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 24px; }
.category-filters-inner { display: flex; gap: 0.5rem; justify-content: center; width: max-content; min-width: 100%; }
.filter-btn { flex-shrink: 0; border-radius: 2rem; padding: 0.4rem 1.1rem; font-size: 0.85rem; border: 1px solid #ddd; background: #fff; color: var(--ec-text); font-weight: 500; white-space: nowrap; }
.filter-btn:hover,
.filter-btn:focus {
  border-color: var(--sf-mist) !important;
  background: rgba(134, 183, 195, 0.14);
  color: var(--sf-slate);
}
.filter-btn.is-active { background: var(--ec-burgundy); color: #fff; border-color: var(--ec-burgundy); font-weight: 600; }
.filter-btn.is-active:hover,
.filter-btn.is-active:focus {
  background: var(--ec-burgundy);
  color: #fff;
  border-color: var(--ec-burgundy) !important;
}
.service-modal { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.4); align-items: center; justify-content: center; }
.service-modal-card { background: #fff; border-radius: 1rem; max-width: 520px; width: 90%; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.service-modal-head { padding: 1rem 1.25rem; border-bottom: 1px solid #e2e8f0; position: relative; }
.service-modal-header { display: flex; gap: 1rem; align-items: flex-start; }
.service-modal-img { width: 120px; height: 90px; object-fit: cover; border-radius: 0.5rem; flex-shrink: 0; }
.service-modal-title { margin: 0 0 0.25rem; font-weight: 700; color: var(--ec-dark); }
.service-modal-subtitle { margin: 0; font-size: 0.85rem; color: var(--ec-muted); }
.service-modal-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--ec-muted); }
.service-modal-form { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; }
.service-modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.5rem; }
.service-modal-btn { border: none; padding: 0.6rem 1.5rem; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem; font-family: inherit; }
.service-modal-btn-secondary { background: #f1f5f9; color: #64748b; }
.service-modal-btn-primary { background: var(--ec-burgundy); color: #fff; }
.service-confirm { display: none; padding: 1.5rem; flex-direction: column; gap: 1rem; flex: 1; min-height: 0; overflow: hidden; }
.service-confirm-title { font-size: 0.9rem; color: var(--ec-burgundy); font-weight: 600; }
.service-confirm-content { display: flex; flex-direction: column; gap: 0.6rem; max-height: 40vh; overflow-y: auto; }
.service-field { margin-bottom: 0.9rem; }
.service-field label { font-weight: 600; font-size: 0.85rem; color: var(--ec-text); display: block; margin-bottom: 4px; }
.service-field input,
.service-field select,
.service-field textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 12px; font-size: 0.9rem; font-family: inherit; }
.service-field textarea { resize: none; }
@media (max-width: 768px) {
  .service-field textarea { resize: none; }
}
.service-confirm-row { background: #f8fafc; padding: 0.55rem 0.75rem; border-radius: 8px; font-size: 0.85rem; word-break: break-word; overflow-wrap: anywhere; }
.service-confirm-row strong { color: var(--ec-dark); }
.service-confirm-row span { color: var(--ec-text); word-break: break-word; overflow-wrap: anywhere; }
.gallery-more-wrapper { background: var(--ec-ivory); display: flex; align-items: center; justify-content: center; text-align: center; }
.gallery-more-icon { width: 56px; height: 56px; background: var(--ec-burgundy); }
.text-ec-dark { color: var(--ec-dark); }
.section-ivory {
  background: #edf2f7;
  position: relative;
}

.section-ivory::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(180deg, #edf2f7 0%, var(--ec-ivory) 100%);
  pointer-events: none;
}
.section-eyebrow { color: var(--ec-gold); font-size: 0.6rem; letter-spacing: 0.3em; }
.section-title-soft { color: var(--ec-dark); font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.process-step-card { border-top: 1px solid rgba(134, 183, 195, 0.45); padding-top: 1rem; }
.process-step-number { color: var(--ec-gold); font-size: 0.75rem; letter-spacing: 0.15em; }
.process-step-title { color: var(--ec-dark); font-weight: 500; }
.banner-cover { background: url('../img/evento-banner.png') no-repeat center; background-size: cover; }
.about-hero-img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(36, 53, 64, 0.86) 0%, rgba(64, 85, 101, 0.4) 52%, rgba(134, 183, 195, 0.2) 100%); }
.about-hero-content { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding-bottom: 3.5rem; }
.about-hero-eyebrow { color: var(--ec-gold-light); font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 0.75rem; font-weight: 500; }
.about-hero-title { color: #fff; font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 200; line-height: 1; margin-bottom: 0.5rem; }
.about-hero-lead { color: rgba(255,255,255,0.8); font-size: 1rem; font-weight: 300; max-width: 400px; }
.section-dark { background: linear-gradient(135deg, var(--sf-slate) 0%, var(--sf-slate-dark) 100%); }
.quote-divider { width: 24px; height: 1px; background: var(--ec-gold-light); margin: 0 auto 2.5rem; }
.quote-text-light { color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 200; line-height: 1.55; font-style: italic; }
.quote-signature { color: rgba(199, 221, 227, 0.62); font-size: 0.7rem; margin-top: 1.5rem; letter-spacing: 0.1em; }
.story-text { color: var(--ec-text); font-size: 1.05rem; font-weight: 300; line-height: 1.85; }
.section-title-fixed { color: var(--ec-dark); font-weight: 300; font-size: 2rem; }
.testimonial-quote { color: rgba(255,255,255,0.7); font-size: 1.05rem; font-weight: 300; font-style: italic; line-height: 1.8; }
.testimonial-meta-light { color: rgba(199, 221, 227, 0.62); font-size: 0.75rem; }
.cta-gold-link { display: inline-block; color: var(--ec-gold-light); text-decoration: none; font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid rgba(199, 221, 227, 0.35); padding-bottom: 4px; transition: border-color 0.3s; }
.testimonial-hero-section { position: relative; overflow: hidden; }
.testimonial-hero-section::after { content: ''; position: absolute; width: 280px; height: 280px; right: -90px; bottom: -130px; border: 1px solid rgba(199, 221, 227, 0.22); border-radius: 50%; }
.testimonial-hero-eyebrow { color: var(--ec-gold-light); font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 0.85rem; font-weight: 500; }
.testimonial-hero-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 250; line-height: 1.15; margin-bottom: 1rem; }
.testimonial-hero-sub { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 300; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.rounded-cta-btn { border-radius: 999px; padding: 0.75rem 1.4rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.section-warm { background: var(--ec-warm-white); }
.small-gold-divider { width: 20px; height: 1px; background: var(--ec-gold); margin: 0 auto 2rem; }
.small-gold-divider-tight { margin-bottom: 1.5rem; }
.featured-testimonial-text { color: var(--ec-dark); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 300; line-height: 1.7; font-style: italic; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; position: relative; }
.featured-testimonial-text::before { content: '\201C'; display: block; font-size: 2.6rem; line-height: 0.8; color: var(--ec-gold-light); font-style: normal; font-family: Georgia, serif; opacity: 0.7; }
.featured-testimonial-name { color: var(--ec-dark); font-size: 0.9rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.2rem; overflow-wrap: anywhere; word-break: break-word; }
.featured-testimonial-role { color: var(--ec-muted); font-size: 0.72rem; overflow-wrap: anywhere; word-break: break-word; }
.testimonial-card-public { background: #fff; padding: 1.6rem; height: 100%; display: flex; flex-direction: column; border-radius: 0.45rem; border: 1px solid rgba(64, 85, 101, 0.1); }
.testimonial-card-text { color: var(--ec-dark); font-size: 0.95rem; font-weight: 300; line-height: 1.75; font-style: italic; margin-bottom: 1.25rem; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; flex: 1; position: relative; }
.testimonial-card-name { color: var(--ec-dark); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.1rem; overflow-wrap: anywhere; word-break: break-word; }
.testimonial-card-role { color: var(--ec-muted); font-size: 0.75rem; margin-bottom: 0; overflow-wrap: anywhere; word-break: break-word; }
.testimonial-form-section { background: linear-gradient(180deg, var(--ec-ivory) 0%, #fff 100%); scroll-margin-top: 100px; }
.testimonial-form-title { color: var(--ec-dark); font-weight: 300; font-size: 1.8rem; text-align: center; margin-bottom: 0.5rem; }
.testimonial-form-sub { color: var(--ec-muted); font-weight: 300; text-align: center; font-size: 0.9rem; margin-bottom: 2.5rem; }
.testimonial-label { color: var(--ec-dark); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; display: block; }
.testimonial-input { border: 1px solid rgba(0,0,0,0.08); border-radius: 0.5rem; padding: 0.75rem 0.9rem; font-weight: 300; font-size: 0.9rem; transition: border-color 0.2s, box-shadow 0.2s; }
.testimonial-input:focus { border-color: var(--ec-gold); box-shadow: 0 0 0 3px rgba(134, 183, 195, 0.15); outline: none; }
.testimonial-textarea { resize: none; }
.char-counter { font-size: 0.72rem; color: var(--ec-muted); display: block; text-align: right; margin-top: 4px; }
.testimonial-submit { background: var(--ec-dark); border: none; color: #fff; padding: 0.9rem 2.8rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; cursor: pointer; border-radius: 999px; transition: background 0.2s; }
.testimonial-submit:hover { background: var(--sf-slate-dark); }
.calendar-modal-note { color: var(--day-modal-text-color, var(--ec-dark)); font-weight: 600; }
.calendar-modal-note-soft { font-weight: 500; }
.calendar-day-modal-free.is-list-note { padding: 0 0 1rem; text-align: center; }
.calendar-day-modal-free.is-list-note .calendar-modal-note { margin-bottom: 0.35rem; }
.calendar-day-modal-free.is-list-note p:last-child { margin-bottom: 0; }
.calendar-event-status-confirmed { color: #065f46; }
.calendar-event-status-tentative { color: #92400e; }
.public-status-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0 72px;
  background: #ffffff;
}
.public-status-page .sf-floating-balloons { z-index: 1; }
.public-status-inner { max-width: 720px; position: relative; z-index: 2; }
.public-status-tag {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--sf-mist);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.public-status-icon {
  display: flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(134, 183, 195, 0.45);
  border-radius: 50%;
  color: var(--sf-mist);
  background: rgba(255, 255, 255, 0.6);
  font-size: 1.55rem;
  line-height: 1;
  opacity: 0.9;
}
.public-status-title {
  margin-bottom: 1.25rem;
  color: var(--sf-slate-deep);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.public-status-message,
.public-status-help {
  margin: 0;
  color: #5d717b;
  font-weight: 300;
  overflow-wrap: break-word;
}
.public-status-message {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.05rem;
  line-height: 1.75;
}
.public-status-help {
  margin-top: 0.15rem;
  font-size: 1rem;
  line-height: 1.75;
}
.public-status-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 760px;
  margin: 2rem auto 1.5rem;
}
.public-status-action,
.public-status-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: 0.375rem;
  padding: 0.8rem 1.1rem;
  line-height: 1.25;
  text-decoration: none;
}
.public-status-action {
  min-width: 0;
  white-space: nowrap;
}
.public-status-action i,
.public-status-home i {
  flex: 0 0 auto;
  margin-right: 0.55rem;
}
.public-status-action span {
  min-width: 0;
  font-size: 0.86rem;
}
.public-status-home {
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--sf-slate);
  border-radius: 0;
  padding: 0.55rem 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.55rem;
}
.public-status-home i { margin-right: 0; color: var(--sf-mist); transition: transform 0.2s ease; }
.public-status-home:hover,
.public-status-home:focus {
  border-color: transparent;
  background: transparent;
  color: var(--sf-slate-dark);
  text-decoration: none;
}
.public-status-home:hover i,
.public-status-home:focus i {
  transform: translateX(-0.2rem);
}
.public-status-action:hover,
.public-status-home:hover { text-decoration: none; }
.module-disabled-phone { background: #ffffff; border: 1px solid var(--ec-burgundy); color: var(--ec-burgundy); }
.module-disabled-phone:hover { background: var(--ec-burgundy); border-color: var(--ec-burgundy); color: #ffffff; }
.module-disabled-email { background: rgba(134, 183, 195, 0.14); border: 1px solid var(--ec-gold); color: #2f4a55; }
.module-disabled-email:hover { background: var(--ec-gold); border-color: var(--ec-gold); color: #ffffff; }

@media (max-width: 899.98px) {
  .public-status-page { padding-top: 56px; }
  .public-status-inner { max-width: 720px; }
  .public-status-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-status-actions .public-status-action:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 20rem);
    justify-self: center;
  }
}

@media (max-width: 575.98px) {
  .public-status-page {
    padding-top: 44px;
    padding-bottom: 4.5rem;
  }
  .public-status-page .container { --bs-gutter-x: 2rem; }
  .public-status-icon { margin-bottom: 1.15rem; }
  .public-status-title { margin-bottom: 0.85rem; }
  .public-status-message,
  .public-status-help { font-size: 0.98rem; line-height: 1.65; }
  .public-status-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
    max-width: 22rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  .public-status-actions .public-status-action:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
  .public-status-action,
  .public-status-home {
    width: 100%;
    min-height: auto;
  }
  .public-status-home { max-width: 22rem; }
}


/* Extracted from templates/pages/contact.php block 1 */
.cf-hero {
    position: relative;
    background: var(--ec-dark);
    overflow: hidden;
  }
  .cf-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(134, 183, 195, 0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .cf-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--ec-gold), var(--ec-burgundy), var(--ec-gold-light));
  }
  .cf-wrapper {
    position: relative;
  }
  .cf-wrapper::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(134, 183, 195, 0.16);
    border-radius: 50%;
    top: -40px;
    right: -80px;
    pointer-events: none;
    z-index: 0;
  }
  .cf-form-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04), 0 10px 50px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
  }
  .cf-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ec-dark);
    margin-bottom: 0.4rem;
    display: block;
  }
  .cf-input {
    width: 100%;
    border: 1px solid rgba(134, 183, 195, 0.35);
    border-radius: 0.6rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--ec-dark);
    background: #fbfdfd;
    transition: all 0.25s;
    font-family: inherit;
  }
  .cf-input:focus {
    outline: none;
    border-color: var(--ec-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(134, 183, 195, 0.12);
  }
  .cf-input::placeholder {
    color: #8ba0a8;
  }
  select.cf-input {
    appearance: none;
  }
  textarea.cf-input {
    resize: none;
    min-height: 110px;
  }
  .cf-submit {
    background: var(--ec-burgundy);
    color: #fff;
    border: none;
    border-radius: 0.6rem;
    padding: 0.9rem 2.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
    width: 100%;
  }
  .cf-submit:hover {
    background: var(--ec-burgundy-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(64, 85, 101, 0.25);
  }
  .cf-info-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: clamp(2rem, 5vw, 2.5rem);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04), 0 10px 50px rgba(0,0,0,0.04);
    position: sticky;
    top: 2rem;
  }
  .cf-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(134, 183, 195, 0.22);
  }
  .cf-info-item:last-child {
    border-bottom: 0;
  }
  .cf-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: #f2f8fa;
    color: var(--ec-gold);
  }
  .cf-info-label {
    font-size: 0.64rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ec-dark);
    margin-bottom: 0.2rem;
  }
  .cf-info-value {
    font-size: 0.85rem;
    color: var(--ec-muted);
    line-height: 1.5;
  }
  .cf-info-value a {
    color: var(--ec-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .cf-info-value a:hover {
    color: var(--ec-burgundy);
  }
  .cf-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
  }
  .cf-decoration.blob {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(134, 183, 195, 0.12) 0%, transparent 70%);
    border-radius: 60% 40% 65% 35%;
    bottom: -60px;
    left: -100px;
  }

   .cf-map iframe {
     border-radius: 1.25rem;
     box-shadow: 0 2px 20px rgba(0,0,0,0.04), 0 10px 50px rgba(0,0,0,0.04);
   }

   @media (max-width: 991.98px) {
    .cf-info-card {
      position: static;
      margin-bottom: 2rem;
    }
    .cf-decoration.blob {
      display: none;
    }
  }


/* Extracted from templates/pages/gallery_item.php block 1 */
.gallery-detail-page { position:relative; isolation:isolate; overflow:hidden; min-height:100vh; background:linear-gradient(180deg, #f8fafb 0%, #edf2f7 32%, #fff 72%); }
.gallery-detail-page .sf-floating-balloons { z-index:1; }
.gi-container {
    position:relative;
    z-index:2;
    padding-top: 120px;
    padding-bottom: 5rem;
  }
  .gi-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ec-burgundy, #405565);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: transform 0.2s, color 0.2s;
  }
  .gi-back-link:hover {
    color: var(--ec-gold, #86b7c3);
    transform: translateX(-4px);
  }
  
  .gi-content-wrapper {
    display: flow-root;
  }
  .gi-carousel-container {
    float: left;
    width: 58%;
    margin-right: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Carousel Styling */
  .gi-carousel {
    position: relative;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: transparent;
    aspect-ratio: 4/3;
  }
  .gi-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
  }
  .gi-carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
  }
  .gi-carousel-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
  }
  
  .gi-carousel-item picture {
    display: block;
    width: 100%;
    height: 100%;
  }
  .gi-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    cursor: zoom-in;
  }
  .gi-carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    cursor: zoom-in;
  }
  
  /* Hover Zoom Button */
  .gi-carousel-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: all 0.25s ease;
    opacity: 0;
  }
  .gi-carousel:hover .gi-carousel-zoom {
    opacity: 1;
  }
  .gi-carousel-zoom:hover {
    background: #fff;
    color: var(--ec-burgundy, #405565);
    transform: scale(1.08);
  }
  
  /* Carousel Controls */
  .gi-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s, transform 0.25s, color 0.25s;
  }
  .gi-carousel-btn:hover {
    background: #fff;
    color: var(--ec-burgundy, #405565);
    transform: translateY(-50%) scale(1.05);
  }
  .gi-carousel-prev {
    left: 1.25rem;
  }
  .gi-carousel-next {
    right: 1.25rem;
  }
  
  /* Carousel Indicators */
  .gi-carousel-indicators {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
  }
  .gi-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
  }
  .gi-indicator-dot.active {
    width: 20px;
    border-radius: 4px;
    background: var(--ec-gold, #86b7c3);
  }
  
  /* Details Styling */
  .gi-details {
    padding: 0.5rem;
  }
   .gi-title {
     font-family: var(--ec-font-title);
    font-size: 2.2rem;
    color: var(--ec-burgundy, #405565);
    margin-bottom: 1rem;
    line-height: 1.2;
     font-weight: 500;
    overflow-wrap: break-word;
  }
  .gi-divider {
    display: block;
    overflow: hidden;
    width: 60px;
    height: 3px;
    background: var(--ec-gold, #86b7c3);
    margin-bottom: 1.5rem;
    border-radius: 1.5px;
  }
  .gi-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 2rem;
    white-space: pre-line;
    overflow-wrap: break-word;
  }
  
  /* Action Buttons */
  .gi-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .gi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.25s;
    text-align: center;
  }
  
  .gi-btn-primary {
    background: var(--ec-burgundy, #405565);
    color: #fff;
    box-shadow: 0 4px 15px rgba(64, 85, 101, 0.15);
  }
  .gi-btn-primary:hover {
    background: var(--ec-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 85, 101, 0.25);
  }
  
  .gi-btn-secondary {
    background: var(--ec-gold, #86b7c3);
    color: #fff;
    box-shadow: 0 4px 15px rgba(134, 183, 195, 0.18);
  }
  .gi-btn-secondary:hover {
    background: var(--ec-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(134, 183, 195, 0.28);
  }
  
  .gi-btn-outline {
    border: 2px solid var(--ec-burgundy, #405565);
    color: var(--ec-burgundy, #405565);
    background: transparent;
  }
  .gi-btn-outline:hover {
    background: var(--ec-burgundy, #405565);
    color: #fff;
    transform: translateY(-2px);
  }
  
  .gi-btn-link {
    color: var(--ec-burgundy, #405565);
    text-decoration: underline;
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
  }
  .gi-btn-link:hover {
    color: var(--ec-gold, #86b7c3);
  }

  /* Lightbox Overlay */
  .gi-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .gi-lightbox.active {
    display: flex;
    opacity: 1;
  }
  .gi-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .gi-lightbox-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  
  .gi-lightbox-media-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .gi-lightbox-media-wrapper img,
  .gi-lightbox-media-wrapper video {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: 94vw;
    max-height: 94vh;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
    object-fit: contain;
    background: transparent;
  }
  .gi-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 30;
    transition: all 0.25s ease;
    opacity: 0.85;
  }
  .gi-lightbox-close:hover {
    background: #fff;
    color: var(--ec-burgundy, #405565);
    transform: scale(1.08);
    opacity: 1;
  }
  .gi-lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 20;
    user-select: none;
  }
  .gi-lightbox-nav:hover {
    background: #fff;
    color: var(--ec-burgundy, #405565);
    transform: scale(1.08);
  }
  .gi-lightbox-prev {
    left: 20px;
  }
  .gi-lightbox-next {
    right: 20px;
  }

  @media (max-width: 991px) {
    .gi-carousel-container {
      float: none;
      width: 100%;
      margin-right: 0;
      margin-bottom: 2rem;
    }
    .gi-title {
      font-size: 1.8rem;
    }
    .gi-carousel-zoom {
      opacity: 1;
    }
  }

  @media (max-width: 768px) {
    .gi-lightbox-media-wrapper img,
    .gi-lightbox-media-wrapper video {
      max-width: 96vw;
      max-height: 82vh;
    }
    .gi-lightbox-nav {
      width: 44px;
      height: 44px;
      font-size: 1.2rem;
    }
    .gi-lightbox-prev { left: 10px; }
    .gi-lightbox-next { right: 10px; }
    .gi-lightbox-close {
      top: 1rem;
      right: 1rem;
      width: 38px;
      height: 38px;
      font-size: 1.1rem;
    }
  }
.sf-floating-balloons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.sf-floating-balloon {
    position: absolute;
    bottom: auto;
    display: block;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
    animation-name: sf-balloon-rise;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    transition: opacity 0.8s ease;
}

.sf-floating-balloon.is-visible {
    opacity: var(--sf-balloon-opacity, 0.20);
}

.sf-floating-balloon.is-fading {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.sf-floating-balloon-img {
    display: block;
    width: 100%;
    height: 100%;
    will-change: transform;
    animation: sf-balloon-sway var(--sf-sway-duration, 5.4s) ease-in-out infinite;
}

@keyframes sf-balloon-rise {
    0% { transform: translate3d(0, 112vh, 0); }
    100% { transform: translate3d(var(--sf-exit-drift, 32px), -132vh, 0); }
}

@keyframes sf-balloon-sway {
    0% { transform: translateX(0) rotate(0deg); }
    26% { transform: translateX(var(--sf-drift-a, 28px)) rotate(var(--sf-rotate-a, 3deg)); }
    52% { transform: translateX(var(--sf-drift-b, -10px)) rotate(var(--sf-rotate-b, -2deg)); }
    78% { transform: translateX(var(--sf-drift-c, 18px)) rotate(calc(var(--sf-rotate-a, 3deg) * 0.6)); }
    100% { transform: translateX(0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sf-floating-balloons {
        display: none;
    }
}
