/* Public features — calendar, lightbox, filters, FAQ, trust, sticky CTA, map */

.hero[style*="--hero-image"] .hero-bg {
  background-image: linear-gradient(135deg, rgba(250, 247, 242, 0.88) 0%, rgba(250, 247, 242, 0.72) 45%, rgba(92, 107, 82, 0.25) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(196, 165, 116, 0.12) 100%);
  border-radius: 16px;
  margin: 2rem 0;
  font-size: 0.85rem;
  border: 1px solid rgba(196, 165, 116, 0.25);
  box-shadow: 0 8px 32px rgba(61, 58, 53, 0.05);
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  font-weight: 500;
}

.trust-bar span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-dark, #5c6b52);
  flex-shrink: 0;
}

.apt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  border: 1px solid rgba(196, 165, 116, 0.22);
}

.apt-filters select {
  flex: 1;
  min-width: 140px;
  min-height: 44px;
  padding: 0.55rem 2rem 0.55rem 1rem;
  border: 1px solid rgba(196, 165, 116, 0.35);
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c6b52' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  appearance: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--earth);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.apt-filters select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.25);
}

.availability-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
}

.availability-badge.available { background: #d4edda; color: #155724; }
.availability-badge.limited { background: #fff3cd; color: #856404; }
.availability-badge.full { background: #f8d7da; color: #721c24; }

.faq-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(196, 165, 116, 0.06) 100%);
}

.faq-section .section-header h2 {
  margin-bottom: 0.25rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.faq-list details {
  margin-bottom: 0.5rem;
  border: 1px solid rgba(196, 165, 116, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-list details[open] {
  box-shadow: 0 8px 28px rgba(61, 58, 53, 0.06);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0.85rem 1.1rem;
  list-style: none;
  gap: 0.75rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::before {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(196, 165, 116, 0.2);
  font-size: 1.1rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}

.faq-list details[open] summary::before {
  content: "−";
  background: var(--gold);
  color: #fff;
}

.faq-list details p {
  margin: 0;
  padding: 0 1.1rem 1rem 3.6rem;
  color: var(--earth);
  opacity: 0.88;
  line-height: 1.55;
  font-size: 0.95rem;
}

.newsletter-block {
  max-width: 520px;
  margin: 2rem auto 0;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(196, 165, 116, 0.25);
  box-shadow: 0 8px 32px rgba(61, 58, 53, 0.05);
}

.newsletter-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.apt-review-mini {
  font-size: 0.82rem;
  color: var(--sage-dark);
  margin: 0.25rem 0 0.5rem;
  font-weight: 500;
}

.contact-form select {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 2rem 0.65rem 0.85rem;
  border: 1px solid rgba(196, 165, 116, 0.35);
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c6b52' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  appearance: none;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-response-hint {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0.5rem 0 0;
}

.apartment-image {
  position: relative;
}

.availability-badge {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  backdrop-filter: blur(6px);
}

.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(250, 247, 242, 0.98);
  border-top: 1px solid rgba(196, 165, 116, 0.3);
  gap: 0.5rem;
}

.sticky-cta-mobile .btn { flex: 1; min-height: 44px; }
.sticky-cta-mobile .btn-sticky-secondary {
  background: transparent;
  color: var(--sage-dark, #5c6b52);
  border: 2px solid rgba(196, 165, 116, 0.5);
}
.sticky-cta-mobile .btn-sticky-secondary:hover {
  background: rgba(196, 165, 116, 0.12);
}
.contact-teaser .btn-outline {
  color: var(--sage-dark, #5c6b52);
  border-color: var(--gold, #c4a574);
}
.contact-teaser .btn-outline:hover {
  background: rgba(196, 165, 116, 0.15);
  color: var(--earth, #3d3a35);
}

@media (max-width: 768px) {
  .sticky-cta-mobile { display: flex; }
  body.has-sticky-cta { padding-bottom: 5rem; }
}

.tanger-map-section { margin: 2rem 0; }
.tanger-map { height: 320px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(196, 165, 116, 0.25); }

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 420px;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(196, 165, 116, 0.4);
}

/* Calendar */
.serenity-calendar { max-width: 320px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.cal-header button { min-width: 44px; min-height: 44px; border: none; background: transparent; font-size: 1.25rem; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day { min-height: 36px; border: none; border-radius: 6px; background: #fff; cursor: pointer; font-size: 0.85rem; }
.cal-day.cal-past, .cal-day.cal-busy { opacity: 0.35; cursor: not-allowed; }
.cal-day.cal-busy { background: #f8d7da; }
.cal-day.cal-selected { background: var(--gold, #c4a574); color: #fff; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-overlay img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* Apartment detail extras */
.guest-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.guest-info-item {
  padding: 0.75rem;
  background: rgba(196, 165, 116, 0.08);
  border-radius: 8px;
  font-size: 0.9rem;
}

.reserve-recap-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(196, 165, 116, 0.1);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.reserve-recap-card img { width: 100px; height: 75px; object-fit: cover; border-radius: 8px; }

.success-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.success-timeline .step {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(196, 165, 116, 0.12);
  font-size: 0.85rem;
}

.success-timeline .step.is-done { background: #d4edda; }

.share-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }

.similar-apartments { margin-top: 3rem; }
.similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }

.video-embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 1.5rem 0; border-radius: 12px; overflow: hidden; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.reserve-layout { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .reserve-layout { grid-template-columns: 1fr; } }
.reserve-calendar-wrap { margin: 1rem 0; }
.date-check-msg { font-size: 0.9rem; margin-top: 0.5rem; }
.date-check-msg.is-ok { color: #155724; }
.date-check-msg.is-error { color: #721c24; }
.promo-row { align-items: end; }
.promo-row .btn { margin-bottom: 0.25rem; }
.cgv-checkbox { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; font-size: 0.9rem; }
.deposit-hint { font-size: 0.9rem; color: var(--earth, #3d3a35); margin: 0.5rem 0; }
.contact-history { font-size: 0.95rem; opacity: 0.85; }

/* Contact page & teaser */
.contact-page-section { padding-top: 7rem; }
.contact-page-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  margin: 0.35rem 0 1rem;
}
.contact-form-card {
  background: var(--white, #fff);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(61, 58, 53, 0.08);
}
.contact-form-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}
.contact-alt-action {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(196, 165, 116, 0.1);
  border-radius: 12px;
}
.contact-alt-action p { margin: 0 0 0.75rem; font-size: 0.95rem; }
.contact-teaser {
  background: linear-gradient(135deg, rgba(196, 165, 116, 0.12), rgba(92, 107, 82, 0.08));
  text-align: center;
}
.contact-teaser-inner { max-width: 640px; margin: 0 auto; }
.contact-teaser-inner h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}
.contact-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.contact-result-section { padding-top: 7rem; }
.contact-result-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--white, #fff);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(61, 58, 53, 0.08);
}
.contact-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* Reserve page v2 */
.page-reserve .reserve-section {
  padding-top: 6.5rem;
  background: linear-gradient(180deg, var(--cream, #faf7f2) 0%, var(--sand, #f5f0e8) 100%);
}
.reserve-page-container { max-width: 1100px; }
.reserve-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.reserve-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.35rem 0 0.75rem;
}
.reserve-contact-hint {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.75rem;
}
.reserve-contact-hint a { color: var(--sage-dark, #5c6b52); font-weight: 500; }
.reserve-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.reserve-step {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(196, 165, 116, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.reserve-step.is-active {
  border-color: var(--gold, #c4a574);
  background: #fff;
  box-shadow: 0 4px 16px rgba(196, 165, 116, 0.2);
}
.reserve-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196, 165, 116, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}
.reserve-step.is-active .reserve-step-num {
  background: var(--gold, #c4a574);
  color: #fff;
}
.reserve-layout-v2 {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 960px) {
  .reserve-layout-v2 { grid-template-columns: 1fr; }
  .reserve-summary-panel { order: -1; }
}
.reserve-form-v2 {
  background: #fff;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(61, 58, 53, 0.08);
}
.reserve-panel-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}
.reserve-apt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.reserve-apt-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream, #faf7f2);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.reserve-apt-card:hover { transform: translateY(-2px); }
.reserve-apt-card.is-selected {
  border-color: var(--gold, #c4a574);
  box-shadow: 0 4px 16px rgba(196, 165, 116, 0.25);
}
.reserve-apt-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.reserve-apt-card-body {
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.reserve-apt-card-body strong { font-size: 0.9rem; line-height: 1.3; }
.reserve-apt-card-body small { color: #777; font-size: 0.78rem; }
.reserve-apt-card-body em { font-size: 0.82rem; color: var(--sage-dark, #5c6b52); font-style: normal; font-weight: 500; }
.reserve-dates-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 700px) {
  .reserve-dates-block { grid-template-columns: 1fr; }
}
.reserve-dates-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reserve-dates-fields label,
.reserve-form-v2 label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.reserve-form-v2 input,
.reserve-form-v2 select,
.reserve-form-v2 textarea {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(196, 165, 116, 0.4);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream, #faf7f2);
}
.reserve-field-label { font-size: 0.85rem; font-weight: 500; margin: 0 0 0.5rem; }
.reserve-panel-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.reserve-panel-nav .btn { flex: 1; min-width: 120px; }
.sr-only-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.reserve-summary-panel {
  position: sticky;
  top: 6rem;
  background: #fff;
  padding: 1.25rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(61, 58, 53, 0.08);
  border: 1px solid rgba(196, 165, 116, 0.2);
}
.reserve-summary-panel h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.reserve-summary-panel img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.reserve-summary-empty {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.5;
}
.recap-location { font-size: 0.88rem; color: #777; margin: 0.25rem 0; }
.recap-total { font-size: 1.15rem; font-weight: 600; color: var(--sage-dark, #5c6b52); margin: 0.5rem 0; }
.reserve-trust-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: #666;
}
.reserve-trust-list li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}
.reserve-trust-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold, #c4a574);
  font-weight: 600;
}
.reserve-confirm-box {
  background: var(--sand, #f5f0e8);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.reserve-confirm-dl { margin: 0; }
.reserve-confirm-dl dt { font-weight: 600; margin-top: 0.75rem; }
.reserve-confirm-dl dt:first-child { margin-top: 0; }
.reserve-confirm-dl dd { margin: 0.15rem 0 0; color: #666; font-size: 0.92rem; }
.reserve-confirm-dl .confirm-total {
  font-size: 1.2rem;
  color: var(--sage-dark, #5c6b52);
  margin-top: 1rem;
}
