/* ==========================================================================
   Casa Bita — stiluri site
   Structură: fonturi · variabile · bază · utilitare · header · hero ·
   secțiuni · camere · galerie · tarife · locație · întrebări · contact ·
   footer · lightbox · bara mobilă
   ========================================================================== */

/* ---------- Fonturi (găzduite local, fără cereri externe) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variabile ---------- */
:root {
  --bg: #f7f5f0;
  --bg-alt: #efece4;
  --surface: #ffffff;
  --ink: #1a1d1c;
  --ink-2: #3f4542;
  --muted: #646a66;
  --line: #e2ded4;
  --line-strong: #cfc9bc;

  --brand: #24423a;
  --brand-hover: #1b332d;
  --brand-soft: #e3ebe7;
  --accent: #a8823f;

  --dark: #16201d;
  --dark-2: #22302c;
  --on-dark: #eef0ec;
  --on-dark-muted: #a9b3ae;

  --danger: #a3312a;
  --success: #24683f;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(22, 32, 29, .06), 0 1px 1px rgba(22, 32, 29, .04);
  --shadow: 0 10px 30px -12px rgba(22, 32, 29, .18), 0 2px 6px rgba(22, 32, 29, .05);
  --shadow-lg: 0 30px 60px -20px rgba(22, 32, 29, .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
.hero-photo picture, .room-media picture, .gallery-item picture, .map-card picture { width: 100%; height: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Utilitare ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}

.h1, .h2, .h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--ink);
}
.h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; margin-bottom: 18px; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.15; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Butoane ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bg: var(--brand-hover); --btn-bd: var(--brand-hover); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); }

.btn--light { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--light:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); }

.btn--whatsapp { --btn-bg: #1f7a4d; --btn-bd: #1f7a4d; }
.btn--whatsapp:hover { --btn-bg: #18603c; --btn-bd: #18603c; }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow:hover { border-color: currentColor; gap: 12px; }
.link-arrow .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(22, 32, 29, .35); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1; letter-spacing: -.005em; }
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.main-nav li a:hover { color: var(--ink); background: rgba(36, 66, 58, .06); }
.main-nav li a[aria-current="true"] { color: var(--brand); background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.lang-switch a, .lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch [aria-current="page"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav li a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav li:last-child a { border-bottom: 0; }
  .main-nav .nav-cta { display: flex; margin-top: 16px; }
}
@media (min-width: 1024px) {
  .main-nav .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 72px); }

.hero-head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.hero-head .lead { margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: .9rem;
  color: var(--ink-2);
  text-decoration: none;
}
.rating-score {
  display: inline-grid;
  place-items: center;
  min-width: 44px; height: 36px;
  padding: 0 8px;
  border-radius: 8px 8px 8px 0;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.rating strong { color: var(--ink); font-weight: 600; }
.rating:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }

.hero-media { position: relative; }
.hero-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 2.2 / 1;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Bara de disponibilitate */
.availability {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr .8fr auto;
  gap: 12px;
  align-items: end;
  width: min(100% - 32px, 960px);
  margin: -56px auto 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.availability .btn { min-height: 52px; }
.availability-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--muted);
}
.availability-note .icon { width: 16px; height: 16px; }

/* Câmpuri formular (folosite și la contact) */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-2);
}
.field .req { color: var(--danger); }
.field .opt { font-weight: 400; color: var(--muted); letter-spacing: 0; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(36, 66, 58, .15);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646a66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.input[type="date"] { min-width: 0; }
.input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.textarea { min-height: 120px; resize: vertical; }
.field-error { font-size: .82rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }

/* Fapte esențiale sub hero */
.facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.35;
}
.fact + .fact { border-left: 1px solid var(--line); }
.fact .icon { width: 22px; height: 22px; color: var(--brand); }
.fact strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Secțiuni ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h2 { margin-bottom: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-head--split > div { max-width: 640px; }

/* Despre */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about-text p + p { margin-top: 16px; }
.about-text p { color: var(--ink-2); }
.about-sign {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-sign dl { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; }
.about-sign dt { font-size: .78rem; color: var(--muted); }
.about-sign dd { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1.1; }
.about-sign div { display: flex; flex-direction: column-reverse; }

.amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}
.amenity {
  display: flex;
  gap: 14px;
  padding: 22px 20px;
  background: var(--surface);
}
.amenity-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.amenity-icon .icon { width: 22px; height: 22px; }
.amenity h3 { font-size: .98rem; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.amenity p { font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* ---------- Camere ---------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.room {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.room:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.room-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-alt);
}
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.room:hover .room-media img { transform: scale(1.03); }
.room-media .zoom {
  position: absolute;
  right: 12px; bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 32, 29, .72);
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
}
.room-media .zoom .icon { width: 14px; height: 14px; }
.room-tag {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
}
.room-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.room-body .h3 { margin-bottom: 8px; }
.room-desc { font-size: .93rem; color: var(--muted); margin-bottom: 18px; }
.room-specs { display: grid; gap: 10px; margin-bottom: 22px; padding: 0; list-style: none; }
.room-specs li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.room-specs .icon { width: 18px; height: 18px; color: var(--brand); }
.room-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price { line-height: 1.2; }
.price small { display: block; font-size: .78rem; color: var(--muted); }
.price strong { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 400; }
.price span { font-size: .85rem; color: var(--muted); }
.room-actions { display: grid; gap: 8px; width: 100%; }
.room-actions .btn { width: 100%; }

.rooms-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 28px;
  font-size: .9rem;
  color: var(--muted);
}
.rooms-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 17vw, 230px);
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg-alt);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 16px 14px;
  background: linear-gradient(to top, rgba(22, 32, 29, .7), transparent);
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
}
/* g-wide = poză lată (2 coloane), g-tall = poză înaltă (2 rânduri); restul ocupă o celulă */
.gallery-item.g-wide { grid-column: span 2; }
.gallery-item.g-tall { grid-row: span 2; }

/* ---------- Tarife ---------- */
.rates-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.rates-table { width: 100%; font-size: .95rem; }
.rates-table caption { text-align: left; padding: 20px 24px 0; font-weight: 600; }
.rates-table th, .rates-table td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rates-table thead th { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rates-table tbody tr:last-child th, .rates-table tbody tr:last-child td { border-bottom: 0; }
.rates-table tbody th { font-weight: 600; }
.rates-table .row-meta { display: none; }
.rates-table .num { text-align: right; white-space: nowrap; }
.rates-table .num strong { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 400; }
.rates-foot {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--ink-2);
}
.rates-foot .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }

.book-card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r);
  background: var(--dark);
  color: var(--on-dark);
}
.book-card .h3 { color: #fff; margin-bottom: 10px; }
.book-card p { color: var(--on-dark-muted); font-size: .95rem; margin-bottom: 24px; }
.book-card .btn { width: 100%; }
.book-card .btn + .btn { margin-top: 10px; }
.book-card .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .25); }
.book-card .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .06); --btn-bd: #fff; }

.rules { margin-top: clamp(40px, 6vw, 72px); }
.rules .h3 { margin-bottom: 20px; }
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin: 0;
}
.rule {
  position: relative;
  padding: 18px 18px 18px 52px;
  background: var(--surface);
}
.rule .icon { position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; color: var(--brand); }
.rule dt { font-size: .78rem; color: var(--muted); }
.rule dd { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.35; }

/* ---------- Locație ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.address-block {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 8px 0 24px;
}
.distances { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.distances li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.distances span:first-child { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); }
.distances .icon { width: 20px; height: 20px; color: var(--brand); }
.distances strong { font-weight: 600; white-space: nowrap; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.map-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background:
    linear-gradient(rgba(36, 66, 58, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(36, 66, 58, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--brand-soft);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-attrib { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.map-attrib a { color: inherit; }
.map-card .map-label {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: .92rem;
}
.map-card .map-label strong { display: block; }
.map-card .map-label > span { color: var(--muted); }
.map-card .map-label strong { color: var(--ink); }
.map-card .map-label .icon { width: 18px; height: 18px; color: var(--brand); }
.map-card:hover .map-label { box-shadow: var(--shadow-lg); }

/* ---------- Întrebări frecvente ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 4px 24px; color: var(--ink-2); max-width: 70ch; }
.faq .answer a { color: var(--brand); font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-list li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list a, .contact-list .contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  text-decoration: none;
  color: var(--on-dark);
}
.contact-list .c-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--dark-2);
  color: #cfe0d8;
}
.contact-list .c-icon .icon { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .78rem; color: var(--on-dark-muted); }
.contact-list strong { font-weight: 500; font-size: 1.02rem; word-break: break-word; }
.contact-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.section--dark .h2 { color: #fff; }
.section--dark .eyebrow { color: #cfe0d8; }
.section--dark .lead { color: var(--on-dark-muted); }

.form-card {
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form-card .h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .93rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.form-privacy {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  font-size: .82rem;
  color: var(--muted);
}
.form-privacy .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--brand); }

.form-status {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--r);
  border: 1px solid #b9d6c4;
  background: #eef6f1;
  font-size: .93rem;
}
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: #e4b8b4; background: #fbefee; color: var(--danger); }
.form-status strong { display: block; margin-bottom: 4px; }
.form-status p { color: var(--ink-2); }
.form-status .status-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1715;
  color: var(--on-dark-muted);
  padding-block: 56px 32px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name small { color: var(--on-dark-muted); }
.site-footer h2 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: .82rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 14, 13, .94);
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 14, 13, .94); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top, .lb-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 28px);
}
.lb-counter { font-size: .88rem; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.lb-caption { font-size: .95rem; text-align: center; flex: 1; }
.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 clamp(8px, 7vw, 96px);
  touch-action: pan-y;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100dvh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-btn {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transition: background-color .2s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 24px); }
.lb-next { right: clamp(8px, 2vw, 24px); }
.lightbox :focus-visible { outline-color: #fff; }

/* ---------- Bara de acțiuni pe mobil ---------- */
.mobile-bar { display: none; }

/* ---------- Pagina 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .h1 { margin-bottom: 16px; }
.notfound p { margin-bottom: 28px; }
.notfound .hero-actions { justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(4) { border-left: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .hero-head, .about-grid, .rates-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .availability { grid-template-columns: 1fr 1fr; width: 100%; margin-top: 16px; box-shadow: var(--shadow); }
  .availability .btn { grid-column: 1 / -1; }
  .availability .field:nth-child(3) { grid-column: 1 / -1; }
  .hero-photo { aspect-ratio: 16 / 9; }
}

@media (max-width: 719px) {
  :root { --header-h: 64px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .brand-name { font-size: 1.4rem; }
  .brand img { width: 30px; height: 30px; }
  .lang-switch a, .lang-switch span { min-width: 32px; height: 28px; }

  .hero { padding-top: 24px; }
  .hero-actions .btn, .map-actions .btn { flex: 1 1 100%; }
  .rating { margin-top: 20px; font-size: .86rem; line-height: 1.4; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: var(--r); }
  .availability { grid-template-columns: 1fr 1fr; padding: 14px; gap: 10px; }

  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 16px 12px; }
  .fact + .fact { border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact:last-child { grid-column: 1 / -1; border-left: 0; }

  .amenities { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .about-sign dl { gap: 8px 24px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }

  .rates-table th, .rates-table td { padding: 14px 16px; }
  .rates-table .col-beds, .rates-table .col-cap { display: none; }
  .rates-table .row-meta { display: block; margin-top: 2px; font-size: .82rem; font-weight: 400; color: var(--muted); }
  .rates-foot { padding: 14px 16px; }
  .rules-grid { grid-template-columns: 1fr 1fr; }
  .rule { padding: 14px 12px 14px 40px; }
  .rule .icon { left: 12px; top: 16px; width: 18px; height: 18px; }
  .rule dd { font-size: .88rem; }

  .form-grid, .form-actions { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; background: rgba(10, 14, 13, .55); }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 245, 240, .96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 48px; padding: 10px 8px; font-size: .9rem; }
}

@media (max-width: 380px) {
  .availability { grid-template-columns: 1fr; }
  .availability .field:nth-child(3) { grid-column: auto; }
}

@media print {
  .site-header, .mobile-bar, .availability, .lightbox, .form-card { display: none !important; }
  body { padding: 0; background: #fff; }
}
