:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --accent: #111111;
  --accent-soft: #f3f3f3;
  --border: #e5e5e5;
  --radius: 10px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --section-gap: 72px;
  --section-gap-sm: 40px;
  --content-width: 720px;
  --content-padding: 0 20px;
}

html {
  scroll-padding-top: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2 {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

p {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

header.hero {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem 1.25rem;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.hero-content h1 {
  font-size: 1.4rem;
}

.subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  font-weight: 500;
  margin-top: 0.5rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-image img {
  border-radius: var(--radius);
  object-fit: cover;
}

/* Sections */

.section {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* Chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chips span {
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
}

/* Lists */

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.list.small li {
  font-size: 0.85rem;
}

/* Buttons */

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
}

.btn-secondary {
  background: var(--accent-soft);
  color: var(--fg);
}

.btn-outline {
  border-color: var(--border);
  color: var(--fg);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  opacity: 0.9;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary, .btn-secondary, .btn-outline {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-primary:active {
  transform: scale(0.98);
}

/* Actions row */

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

/* Reviews */

.quotes blockquote {
  margin: 0 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

/* Floating call button */

.floating-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Larger screens */

@media (min-width: 768px) {
  header.hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 10vw 1.5rem;
  }

  .hero-content {
    max-width: 50%;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-image {
    max-width: 40%;
  }

  .section {
    padding: 2rem 10vw;
  }
}

/* Booking Form Styling */
.booking-form {
  background: var(--accent-soft);
  padding: 1.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.form-group input, 
.form-group select {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: var(--font-main);
  font-size: 0.9rem;
}

.form-group select:focus-visible {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.form-group input:focus-visible {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.map-wrapper {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Adds depth */
  filter: grayscale(10%) contrast(90%); /* Optional: Matches a minimalist aesthetic */
}

.map-wrapper iframe {
  filter: sepia(10%); /* Subtle warmth to match interior photos */
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.guide-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-item li {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
  line-height: 1.4;
}

.guide-item strong {
  color: var(--fg);
}

/* Footer */
.footer {
  padding: 3rem 1.25rem;
  background: var(--accent-soft);
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Modal / Popup Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--bg);
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 500px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  color: inherit;
}

.close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.terms-body h4 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1rem;
}

/* FAQ Section */
#faq {
  /* max-width: 720px;
  margin: 60px auto; */
  padding: 0 20px;
}

#faq h2 {
  margin-bottom: 24px;
}

#faq details {
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
}

#faq details:first-of-type {
  border-top: 1px solid #e0e0e0;
}

#faq summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: #767676;
  transition: transform 0.2s ease;
}

#faq details[open] summary::after {
  content: "−";
}

#faq details p {
  margin-top: 10px;
  color: #555;
  line-height: 1.6;
}

/* .hero-reassurance {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #f0f0f0;
  letter-spacing: 0.02em;
  opacity: 0.9;
} */

/* Why Book Direct */
#why-direct {
  /* max-width: 720px;
  margin: 60px auto; */
  padding: 0 20px;
  text-align: center;
}

.why-subtitle {
  color: #666;
  margin-bottom: 28px;
  font-size: 1rem;
}

.compare-table {
  overflow-x: auto;
}

.compare-table table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th {
  padding: 14px 16px;
  background: #f5f5f5;
  font-weight: 600;
  font-size: 0.9rem;
}

.compare-table th span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: #767676;
  margin-top: 3px;
}

.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #eee;
  color: #444;
}

.compare-table tr td:first-child {
  font-weight: 600;
  text-align: left;
  color: #222;
}

/* Highlighted "Direct" column */
.highlight-col {
  background: #f0faf4;
  color: #1a7a3f;
  font-weight: 600;
}

.good {
  color: #1a7a3f;
}

.bad {
  color: #999;
}

/* Hover rows */
.compare-table tbody tr:hover td {
  background: #fafafa;
}

.why-direct-cta {
  margin-top: 24px;
}

.why-direct-cta .btn-primary {
  min-width: min(100%, 320px);
}

/* Trust Badges */
#trust-badges {
  max-width: 720px;
  margin: 40px auto;
  padding: 0 20px;
}

.badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}

.badge:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.badge-link {
  text-decoration: none;
}

.badge-link:hover {
  border-color: #cfe3d5;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.badge-link:focus-visible {
  outline: 2px solid #1a7a3f;
  outline-offset: 3px;
}

.badge-icon {
  font-size: 1.1rem;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}

.cookie-content {
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #ccc;
}

.cookie-content a {
  color: #7ecfa0;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookie-accept {
  background: #1a7a3f;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  cursor: pointer;
  font-weight: 600;
}

#cookie-decline {
  background: transparent;
  color: #ccc;
  border: 1.5px solid #777;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  cursor: pointer;
}

#cookie-accept:hover { background: #155f32; }
#cookie-accept:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#cookie-decline:hover { color: #fff; border-color: #aaa; }
#cookie-decline:focus-visible { outline: 2px solid #ccc; outline-offset: 2px; }

@media (max-width: 480px) {
  #cookie-banner {
    padding: 14px 16px;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}

.gdpr-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #666;
  margin-top: 12px;
  cursor: pointer;
}

.gdpr-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.gdpr-check a {
  color: #1a7a3f;
}

/* Photo Slider */
.slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
  aspect-ratio: 4 / 3;
  cursor: grab;
}

.slider-wrap:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slider-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

/* Prev / Next buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-btn:disabled { opacity: 0.3; cursor: default; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.slider-dots .dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Counter */
.slider-counter {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 10;
}

/* Neighborhood Section */
.response-time {
  font-size: 0.82rem;
  color: #767676;
  margin-top: 8px;
  text-align: center;
}

/* Validare câmpuri */
.field-wrap {
  position: relative;
  margin-bottom: 16px;
}

.field-wrap input,
.field-wrap select {
  width: 100%;
  padding-right: 36px; /* spațiu pentru icon */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-wrap input.valid,
.field-wrap select.valid {
  border-color: #1a7a3f;
  box-shadow: 0 0 0 3px rgba(26,122,63,0.1);
}

.field-wrap input.invalid,
.field-wrap select.invalid {
  border-color: #d0342c;
  box-shadow: 0 0 0 3px rgba(208,52,44,0.1);
}

.field-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.field-wrap input.valid ~ .field-icon::after,
.field-wrap select.valid ~ .field-icon::after   { content: "✔"; color: #1a7a3f; opacity: 1; }
.field-wrap input.invalid ~ .field-icon::after,
.field-wrap select.invalid ~ .field-icon::after { content: "✖"; color: #d0342c; opacity: 1; }

.field-error {
  font-size: 0.75rem;
  color: #d0342c;
  margin-top: 4px;
  min-height: 16px;
  display: block;
}

/* About the Host */
#host {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 20px;
}

.host-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: #fafafa;
  border: 1px solid #efefef;
  border-radius: 16px;
  padding: 28px;
}

.host-avatar {
  flex-shrink: 0;
}

.host-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.host-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin: 0 0 2px;
}

.host-name {
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: #111;
}

.host-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.host-badges span {
  font-size: 0.78rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 4px 10px;
  border-radius: 999px;
  color: #444;
}

.host-bio {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0 0 16px;
}

.host-contact a {
  display: inline-block;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.host-contact a:hover {
  background: #1ebe5d;
}

/* Mobile */
@media (max-width: 520px) {
  .host-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .host-badges {
    justify-content: center;
  }
}

/* Sticky Header */
#sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transform: translateY(-100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#sticky-header.visible {
  transform: translateY(0);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.sticky-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.sticky-logo {
  font-weight: 700;
  font-size: 0.92rem;
  color: #111;
  white-space: nowrap;
  flex-shrink: 0;
}

.sticky-nav {
  display: flex;
  gap: 20px;
  flex: 1;
}

.sticky-nav a {
  font-size: 0.82rem;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
  border-radius: 999px;
  padding: 6px 10px;
}

.sticky-nav a:hover { color: #111; }
.sticky-nav a.active {
  color: #111;
  background: rgba(26,122,63,0.12);
}
.sticky-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.sticky-cta {
  flex-shrink: 0;
  background: #1a7a3f;
  color: #fff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.sticky-cta:hover { background: #155f32; }
.sticky-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Ascunde nav pe mobil, păstrează doar butonul */
@media (max-width: 560px) {
  .sticky-nav { display: none; }
  .sticky-logo { flex: 1; }
}


/* Neighborhood Section */
#neighborhood {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 20px;
}

.neighborhood-intro {
  color: #555;
  margin-bottom: 36px;
  font-size: 1rem;
  line-height: 1.6;
}

.neighborhood-group {
  margin-bottom: 36px;
}

.neighborhood-group h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-icon {
  font-size: 1.2rem;
}

/* Cards grid */
.neighborhood-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.nb-card {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.nb-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-color: #d0e8d8;
}

.nb-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.nb-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a1a1a;
}

.nb-rating {
  font-size: 0.75rem;
  color: #767676;
  white-space: nowrap;
  flex-shrink: 0;
}

.nb-card p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.nb-distance {
  font-size: 0.75rem;
  color: #1a7a3f;
  font-weight: 600;
  margin-top: 4px;
}

/* Spacing uniform pentru toate secțiunile */
#quick-facts,
#photos,
#amenities,
#neighborhood,
#location,
#reviews,
#why-direct,
#faq,
#trust-badges,
#book,
#contact {
  max-width: var(--content-width);
  margin: var(--section-gap) auto;
  padding: var(--content-padding);
}

/* Primul și ultimul bloc au spațiu mai mic față de header/footer */
#quick-facts  { margin-top: var(--section-gap-sm); }
#contact      { margin-bottom: var(--section-gap-sm); }

/* Separator vizual opțional între secțiuni */
#quick-facts,
#amenities,
#location,
#reviews,
#faq,
#contact {
  border-top: 1px solid #f0f0f0;
  padding-top: var(--section-gap);
}
/* Sticky Mobile Bar */
.sticky-bar {
  display: none; /* ascuns pe desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 12px 20px;
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}

.sticky-price {
  font-size: 0.95rem;
  color: #222;
}

.sticky-price strong {
  font-size: 1.1rem;
  color: #1a1a1a;
}

.sticky-rating {
  font-size: 0.75rem;
  color: #767676;
  display: block;
  margin-top: 1px;
}

.sticky-btn {
  background: #1a7a3f;
  color: #fff;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.sticky-btn:hover { background: #155f32; }
.sticky-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Apare doar pe mobile */
@media (max-width: 768px) {
  .sticky-bar {
    display: flex;
  }

  /* Hide floating call button — sticky bar already serves as CTA on mobile */
  .floating-call {
    display: none;
  }

  /* Spațiu extra la baza paginii ca bara să nu acopere conținut */
  body {
    padding-bottom: 72px;
  }
}
/* Apartment Layout */
#layout {
  max-width: var(--content-width);
  margin: var(--section-gap) auto;
  padding: var(--content-padding);
  border-top: 1px solid #f0f0f0;
  padding-top: var(--section-gap);
}

.layout-intro {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.layout-card {
  background: #fafafa;
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.layout-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  border-color: #d0e8d8;
}

.layout-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
}

.layout-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.layout-card p {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

/* Slide with caption */
.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 28px 16px 12px;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-img-wrap img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
}

.lb-caption {
  color: #ccc;
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10001;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lb-close:hover { opacity: 1; }
.lb-close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }

.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-btn:hover { background: rgba(255,255,255,0.3); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.form-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.form-trust span {
  font-size: 0.78rem;
  color: #555;
  background: #f5f5f5;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.cancellation-summary {
  font-size: 0.82rem;
  color: #666;
  background: #f9f9f9;
  border-left: 3px solid #1a7a3f;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0 20px;
  line-height: 1.5;
}
.instant-note {
  font-size: 0.85rem;
  color: #1a7a3f;
  background: #f0faf4;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 12px;
  line-height: 1.5;
}

@media (max-width: 768px) {

  /* Tap targets mărite — minim 48px (standard Google) */
  .slider-btn,
  .sticky-btn,
  .lb-btn,
  button,
  a {
    min-height: 48px;
    min-width: 48px;
  }

  /* Formular single-column */
  #book input,
  #book select,
  #book button {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;   /* previne zoom automat pe iOS */
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
  }

  /* Spațiu extra la baza paginii pentru sticky bar */
  body {
    padding-bottom: 72px;
  }
}

/* Hero */
#hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
  max-height: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Background photo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark gradient overlay so text is always readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.52) 60%,
    rgba(0,0,0,0.72) 100%
  );
}

/* Content sits above overlay */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

.hero-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.hero-featured-review {
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(17,17,17,0.28);
  color: rgba(255,255,255,0.96);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.hero-cta {
  display: inline-block;
  background: #1a7a3f;
  color: #fff;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.hero-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 999px; }
.hero-cta:hover {
  background: #155f32;
  transform: translateY(-1px);
}

.hero-reassurance {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  #hero {
    height: 85vh;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }

  .hero-featured-review {
    font-size: 0.88rem;
    padding: 10px 14px;
  }
}

/* Transport public */
.transport {
  margin-top: 40px;
}

.transport h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.transport-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fafafa;
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.transport-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  border-color: #d0e8d8;
}

.transport-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.transport-card strong {
  font-size: 0.9rem;
  color: #1a1a1a;
  display: block;
  margin-bottom: 4px;
}

.transport-card p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Privacy page */

.privacy-content {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px;
  line-height: 1.7;
}

.privacy-back {
  margin-top: 40px;
}
