@import url("../fonts/fonts.css");

/* =========================================================================
   Casa Gore Costinești — foaie de stil principală
   Paleta este preluată din logo: soarele auriu, valurile bleu, bleumarinul.
   ========================================================================= */

:root {
  /* --- culori de brand --- */
  --navy-900: #002028;
  --navy-800: #003845;
  --navy-700: #0a4d5d;
  --navy-600: #16697e;

  /* --sea-500 apare ca pictogramă lângă text pe fundal deschis; închis
     suficient cât să treacă pragul de 3:1 pentru elemente negrafice */
  --sea-500: #23788e;
  --sea-400: #5dc2da;
  --sea-200: #b6e4ef;
  --sea-50: #eaf7fb;

  /* --sun-600 e singurul auriu folosit pentru TEXT pe fundal deschis, de aceea
     e mult mai închis decât auriul de brand: la #c8890c contrastul era 2,9:1,
     sub pragul WCAG AA de 4,5:1. Auriul luminos rămâne pe butoane, unde stă
     sub text bleumarin (10,8:1). */
  --sun-600: #8d6100;
  --sun-500: #e8a91d;
  --sun-400: #ffc600;
  --sun-300: #ffdb31;

  --sand-50: #fcfaf6;
  --sand-100: #f5efe4;
  --sand-200: #ebe2d3;

  --ink: #14222a;
  --ink-soft: #3d515b;
  --muted: #5a6b75;
  --line: #e3ddd2;

  /* --- tipografie --- */
  --font-display: "Jost", "Century Gothic", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.38vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.72vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.65rem + 2.6vw, 4rem);
  --step-5: clamp(2.9rem, 1.9rem + 4.6vw, 6.2rem);

  /* --- ritm & formă --- */
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --wrap: 1240px;
  --wrap-narrow: 820px;
  --section-y: clamp(4.5rem, 8vw, 8.5rem);

  --radius-s: 6px;
  --radius: 14px;
  --radius-l: 26px;

  --shadow-s: 0 2px 10px rgba(0, 40, 50, 0.06);
  --shadow: 0 12px 34px -14px rgba(0, 40, 50, 0.22);
  --shadow-l: 0 34px 70px -26px rgba(0, 40, 50, 0.34);

  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
  --header-h: 82px;
}

/* =========================================================================
   Reset
   ========================================================================= */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* Conturul de focus (navigare cu tastatura) trebuie sa fie vizibil pe AMBELE
   fundaluri: bleumarin inchis pe crem, auriu deschis pe sectiunile inchise. */
:focus-visible {
  outline: 3px solid var(--navy-800);
  outline-offset: 3px;
  border-radius: 3px;
}

.section--navy :focus-visible,
.header :focus-visible,
.footer :focus-visible,
.mobile-nav :focus-visible,
.lightbox :focus-visible,
.cta-band :focus-visible,
.page-hero :focus-visible,
.hero :focus-visible,
.action-bar :focus-visible,
.map__consent :focus-visible {
  outline-color: var(--sun-300);
}

::selection { background: var(--sun-300); color: var(--navy-900); }

/* =========================================================================
   Utilitare de bază
   ========================================================================= */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }

.section--sand { background: var(--sand-100); }

.section--navy {
  background: var(--navy-800);
  color: #fff;
}

.section--navy p { color: rgba(255, 255, 255, 0.78); }

/* Formularul stă pe un card ALB în interiorul unei secțiuni închise la culoare.
   Regula de mai sus (`.section--navy p`) are specificitate mai mare decât
   `.form-note` sau `.field__error`, așa că fără excepțiile de aici textul din
   formular ar fi alb pe alb — adică invizibil. */
.section--navy .booking__form p { color: var(--ink-soft); }
.section--navy .booking__form .form-note { color: var(--muted); }
.section--navy .booking__form .field__error { color: #b32d1c; }
.section--navy .booking__form .nights-hint { color: var(--sun-600); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-s);
  transition: top 0.2s;
}

.skip-link:focus { top: 12px; }

.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;
}

/* --- antet de secțiune --------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sun-600);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section--navy .eyebrow { color: var(--sun-400); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-head h2 { font-size: var(--step-3); }

.section-head p {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.6;
}

.section--navy .section-head p { color: rgba(255, 255, 255, 0.75); }

/* =========================================================================
   Butoane
   ========================================================================= */

.btn {
  --btn-bg: var(--sun-400);
  --btn-fg: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: 100px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              background-color 0.28s var(--ease), color 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(200, 137, 12, 0.75);
}

.btn:active { transform: translateY(0); }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.5);
  border-color: #fff;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border-color: var(--navy-800);
}

.btn--outline:hover {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  box-shadow: 0 14px 26px -14px rgba(0, 56, 69, 0.6);
}

.btn--block { width: 100%; }
.btn--lg { padding: 1.15rem 2.3rem; }

/* pe ecrane înguste lăsăm eticheta să se rupă pe două rânduri,
   altfel butoanele cu text lung ies din ecran */
@media (max-width: 620px) {
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

/* legătură cu săgeată */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy-700);
  text-decoration: none;
}

.arrow-link svg {
  width: 1.15em; height: 1.15em;
  transition: transform 0.3s var(--ease);
}

.arrow-link:hover svg { transform: translateX(5px); }
.arrow-link:hover { color: var(--sun-600); }

/* =========================================================================
   Antet / navigație
   ========================================================================= */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              height 0.4s var(--ease);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 32, 40, 0.55), transparent);
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.header.is-stuck {
  height: 68px;
  background: rgba(0, 43, 53, 0.92);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
}

.header.is-stuck::before { opacity: 0; }

/* pe paginile fără hero, antetul e opac din start */
.header--solid {
  background: rgba(0, 43, 53, 0.95);
  backdrop-filter: blur(14px);
}

.header--solid::before { opacity: 0; }

.header__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.brand { flex: none; margin-right: auto; }

.brand img {
  width: clamp(132px, 15vw, 178px);
  transition: width 0.4s var(--ease);
}

.header.is-stuck .brand img { width: clamp(120px, 13vw, 150px); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }

.nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding-block: 0.5rem;
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--sun-400);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--sun-400); }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone svg { width: 1.05em; height: 1.05em; color: var(--sun-400); }
.header__phone:hover { color: var(--sun-300); }

.header .btn { padding: 0.78rem 1.5rem; }

/* --- buton hamburger --- */
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex: none;
}

.burger span {
  display: block;
  position: relative;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background-color 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.25s var(--ease);
}

.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --- meniu mobil --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 6rem var(--gutter) 2rem;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  /* la fel ca la lightbox: `visibility` se schimbă instantaneu, ca legăturile
     din meniu să fie imediat accesibile de la tastatură */
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  overflow-y: auto;
}

.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  padding-block: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a[aria-current="page"] { color: var(--sun-400); }

.mobile-nav__foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.mobile-nav__foot .btn { flex: 1 1 200px; }

body.nav-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .header .btn--book { display: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* imaginea de fundal „respiră" lent (Ken Burns) până se încarcă videoul */
.hero__media img { animation: kenburns 26s ease-in-out infinite alternate; }

.hero__media video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero__media video.is-ready { opacity: 1; }

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.13) translate3d(-1.5%, -1%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0, 32, 40, 0.5) 0%, rgba(0, 32, 40, 0) 32%),
    linear-gradient(to top, rgba(0, 32, 40, 0.9) 0%, rgba(0, 32, 40, 0.32) 42%, rgba(0, 32, 40, 0) 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(3rem, 7vw, 5.5rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sun-300);
  margin-bottom: 1.4rem;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero h1 {
  font-size: var(--step-5);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.98;
  max-width: 15ch;
}

.hero h1 em {
  display: block;
  font-style: normal;
  font-weight: 500;
  color: var(--sun-400);
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: var(--step-1);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.6rem;
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta svg { width: 1.1em; height: 1.1em; color: var(--sea-400); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(2rem, 4vw, 2.8rem);
}

/* indicator de derulare */
.hero__scroll {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--sun-400), transparent);
  animation: scrollcue 2.2s var(--ease) infinite;
}

@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 860px) { .hero__scroll { display: none; } }

/* =========================================================================
   Bara de verificare disponibilitate
   ========================================================================= */

.availability {
  position: relative;
  z-index: 5;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.availability__card {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: end;
}

.field { display: grid; gap: 0.45rem; min-width: 0; }

.field > label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__control {
  position: relative;
  display: flex;
  align-items: center;
}

.field__control > svg {
  position: absolute;
  right: 0.9rem;
  width: 1.15rem; height: 1.15rem;
  color: var(--sun-600);
  pointer-events: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 2.6rem 0.85rem 0.95rem;
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.field textarea { padding-right: 0.95rem; resize: vertical; min-height: 130px; }

.field select { appearance: none; cursor: pointer; }

.field input:hover,
.field select:hover { border-color: var(--sea-400); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sun-500);
  box-shadow: 0 0 0 3px rgba(232, 169, 29, 0.18);
}

.field input::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }

.availability .btn { height: 3.1rem; }

@media (max-width: 900px) {
  .availability__card { grid-template-columns: 1fr 1fr; }
  .availability__card .btn { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .availability__card { grid-template-columns: 1fr; }
}

/* =========================================================================
   Banda de facilități pe scurt
   ========================================================================= */

.amenity-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-top: clamp(3rem, 6vw, 5rem);
  list-style: none;
  padding: 0;
}

.amenity-strip > li {
  background: var(--sand-50);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: clamp(1.5rem, 3vw, 2.3rem) 0.9rem;
  transition: background-color 0.3s;
}

.amenity-strip > li:hover { background: #fff; }

.amenity-strip svg {
  width: 30px; height: 30px;
  color: var(--sun-600);
  stroke-width: 1.4;
}

.amenity-strip strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.amenity-strip span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 900px) { .amenity-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .amenity-strip { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   Despre
   ========================================================================= */

.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about__media { position: relative; }

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
}

/* fotografie secundară suprapusă */
.about__media::after {
  content: "";
  position: absolute;
  inset: auto -18px -22px auto;
  width: 42%;
  aspect-ratio: 1;
  background: var(--sun-400);
  border-radius: var(--radius-l);
  z-index: -1;
}

.about__badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.4rem;
  display: grid;
  gap: 0.1rem;
  text-align: center;
}

.about__badge strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--navy-800);
  line-height: 1;
}

.about__badge span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__text h2 { font-size: var(--step-3); }

.about__text p {
  margin-top: 1.2rem;
  color: var(--ink-soft);
}

.about__text strong { color: var(--ink); font-weight: 600; }

.about__list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.about__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--ink-soft);
}

.about__list svg {
  flex: none;
  width: 1.2rem; height: 1.2rem;
  margin-top: 0.25rem;
  color: var(--sun-600);
}

.about .btn { margin-top: 2rem; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media::after { display: none; }
  .about__badge { left: auto; right: 14px; bottom: 14px; }
}

/* --- statistici --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.stats div { text-align: center; }

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 300;
  color: var(--navy-800);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }

/* =========================================================================
   Camere
   ========================================================================= */

.rooms {
  display: grid;
  /* min(330px, 100%) — pe ecrane sub 330px lățimea minimă a coloanei ar
     depăși ecranul și cardul ar ieși în afară */
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.room {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.room:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }

.room__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand-200);
}

.room__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.room:hover .room__media img { transform: scale(1.06); }

.room__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: rgba(0, 32, 40, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.room__tag svg { width: 0.95em; height: 0.95em; color: var(--sun-400); }

.room__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.4rem, 2.6vw, 2rem);
}

.room__body h3 { font-size: var(--step-2); }

.room__body > p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.room__specs {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.room__specs li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.room__specs svg {
  flex: none;
  width: 1.05rem; height: 1.05rem;
  color: var(--sea-500);
}

.room__foot {
  margin-top: auto;
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.room__price {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.room__price b {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--navy-800);
}

/* =========================================================================
   Facilități (grilă cu imagini)
   ========================================================================= */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.feature {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              transform 0.35s var(--ease);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 198, 0, 0.4);
  transform: translateY(-4px);
}

.feature svg {
  width: 32px; height: 32px;
  color: var(--sun-400);
  stroke-width: 1.4;
  margin-bottom: 0.4rem;
}

.feature h3 {
  font-size: var(--step-1);
  font-weight: 400;
  color: #fff;
}

.feature p { font-size: 0.92rem; line-height: 1.6; }

/* =========================================================================
   Galerie
   ========================================================================= */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.gallery-filters button {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}

.gallery-filters button:hover { border-color: var(--sun-500); color: var(--navy-800); }

.gallery-filters button[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 220px;
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
}

.grid-gallery--home { grid-auto-rows: 250px; }

.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-200);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease), filter 0.5s var(--ease);
}

.shot:hover img { transform: scale(1.07); }

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 32, 40, 0.5), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.shot:hover::after { opacity: 1; }

.shot__zoom {
  position: absolute;
  right: 0.9rem; bottom: 0.9rem;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-800);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 1;
}

.shot__zoom svg { width: 1.05rem; height: 1.05rem; }
.shot:hover .shot__zoom { opacity: 1; transform: none; }

.shot--tall { grid-row: span 2; }
.shot--wide { grid-column: span 2; }

.shot.is-hidden { display: none; }

@media (max-width: 760px) {
  .grid-gallery { grid-auto-rows: 165px; grid-template-columns: repeat(2, 1fr); }
  .shot--wide { grid-column: span 2; }
}

/* --- lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 24, 30, 0.96);
  opacity: 0;
  visibility: hidden;
  /* `visibility` NU se tranziționează intenționat: dacă ar face-o, elementul ar
     rămâne invizibil încă un cadru după deschidere, iar butonul de închidere nu
     ar putea primi focus. Estomparea rămâne pe `opacity`. */
  transition: opacity 0.35s var(--ease);
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure {
  margin: 0;
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-height: 100%;
}

.lightbox img {
  max-width: min(1400px, 92vw);
  max-height: 78vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  text-align: center;
  max-width: 60ch;
}

.lightbox__count {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--sun-400);
}

.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: background-color 0.25s, transform 0.25s;
}

.lightbox__btn:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__btn svg { width: 1.3rem; height: 1.3rem; }

.lightbox__btn--close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__btn--prev { left: clamp(0.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: clamp(0.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

.lightbox__btn--prev:hover { transform: translateY(-50%) scale(1.07); }
.lightbox__btn--next:hover { transform: translateY(-50%) scale(1.07); }

@media (max-width: 640px) {
  .lightbox__btn--prev { left: 0.6rem; }
  .lightbox__btn--next { right: 0.6rem; }
  .lightbox img { max-height: 66vh; }
}

/* =========================================================================
   Locație
   ========================================================================= */

.location {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.distances {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0;
}

.distances li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line);
}

.distances li > span { flex: 1 1 auto; min-width: 0; }

.distances li:first-child { border-top: 1px dashed var(--line); }

.distances span { display: inline-flex; align-items: center; gap: 0.7rem; }
.distances svg { width: 1.15rem; height: 1.15rem; color: var(--sea-500); flex: none; }

.distances b {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy-800);
  white-space: nowrap;
}

.map {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand-200);
}

.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* placeholder până acceptă utilizatorul harta (fără cookie-uri Google) */
.map__consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background:
    linear-gradient(rgba(0, 32, 40, 0.72), rgba(0, 32, 40, 0.72)),
    url("../img/casa-gore-costinesti-curte-drona-800.jpg") center/cover;
  color: #fff;
}

.map__consent p { max-width: 34ch; font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); }
.map__consent svg { width: 34px; height: 34px; color: var(--sun-400); }

@media (max-width: 880px) { .location { grid-template-columns: 1fr; } }

/* =========================================================================
   Formular de rezervare
   ========================================================================= */

.booking {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.booking__aside .eyebrow { color: var(--sun-400); }

.booking__steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.4rem;
}

.booking__steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.booking__steps li::before {
  content: counter(step);
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 198, 0, 0.5);
  color: var(--sun-400);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.booking__steps strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.08rem;
  color: #fff;
}

.booking__steps p { font-size: 0.92rem; margin-top: 0.2rem; }

.booking__direct {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 0.9rem;
}

.booking__direct a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.25s;
}

.booking__direct a:hover { color: var(--sun-400); }
.booking__direct svg { width: 1.25rem; height: 1.25rem; color: var(--sun-400); flex: none; }

.booking__form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 3.4vw, 2.8rem);
  box-shadow: var(--shadow-l);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-grid .field--full { grid-column: 1 / -1; }

@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field__error {
  font-size: 0.82rem;
  color: #c0392b;
  min-height: 1.1em;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c0392b;
  background: #fdf3f2;
}

.form-note {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}

.form-note a { color: var(--navy-700); }

/* capcană anti-spam — invizibilă pentru oameni */
.hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-s);
  font-size: 0.94rem;
  display: none;
}

.form-status.is-visible { display: block; }
.form-status--ok { background: #e8f6ee; color: #1c6b41; border: 1px solid #b7e2c8; }
.form-status--err { background: #fdf3f2; color: #9d2c1e; border: 1px solid #f2c8c2; }

.nights-hint {
  font-size: 0.84rem;
  color: var(--sun-600);
  font-weight: 500;
  min-height: 1.2em;
}

@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

/* --- ecran de confirmare --- */
.booking__done {
  display: none;
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.booking__done.is-visible { display: block; }
.booking__form.is-sent .booking__fields { display: none; }

.booking__done svg {
  width: 62px; height: 62px;
  color: #2e9e63;
  margin-inline: auto;
  margin-bottom: 1.2rem;
}

.booking__done h3 { font-size: var(--step-2); }
.booking__done p { margin-top: 0.8rem; color: var(--ink-soft); }

/* =========================================================================
   Întrebări frecvente
   ========================================================================= */

.faq { display: grid; gap: 0.8rem; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq details[open] { border-color: var(--sun-500); box-shadow: var(--shadow-s); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1.1rem, 2.4vw, 1.7rem);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--navy-800);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--sun-600);
  border-bottom: 1.5px solid var(--sun-600);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.35s var(--ease);
}

.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

.faq summary:hover { color: var(--sun-600); }

.faq__body {
  padding: 0 clamp(1.1rem, 2.4vw, 1.7rem) 1.4rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.faq__body p + p { margin-top: 0.8rem; }

/* =========================================================================
   Îndemn final (CTA)
   ========================================================================= */

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--navy-900);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.cta-band .wrap { position: relative; z-index: 1; }

.cta-band h2 {
  font-size: var(--step-4);
  font-weight: 300;
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band h2 em { font-style: normal; color: var(--sun-400); }

.cta-band p {
  margin: 1.2rem auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--step-1);
  font-weight: 300;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* =========================================================================
   Subsol
   ========================================================================= */

.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: 0.95rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer img.footer__logo { width: 186px; margin-bottom: 1.3rem; }

.footer h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun-400);
  margin-bottom: 1.2rem;
}

.footer ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }

.footer a { text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: var(--sun-400); }

.footer__contact li { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer__contact svg { width: 1.1rem; height: 1.1rem; color: var(--sea-400); flex: none; margin-top: 0.22rem; }

.socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }

.socials a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: all 0.3s var(--ease);
}

.socials a:hover {
  background: var(--sun-400);
  border-color: var(--sun-400);
  color: var(--navy-900);
  transform: translateY(-3px);
}

.socials svg { width: 1.15rem; height: 1.15rem; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* --- credit autor -------------------------------------------------------- */

.footer__credit {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: 1.1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__credit a { color: rgba(255, 255, 255, 0.62); font-weight: 500; }
.footer__credit a:hover { color: var(--sun-400); }

.footer__heart {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.15em;
  margin-inline: 0.15em;
  fill: var(--sun-400);
}

.footer__credit:has(a:hover) .footer__heart { animation: batai-inima 0.9s ease-in-out infinite; }

@keyframes batai-inima {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.22); }
  60%      { transform: scale(1.04); }
}

@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* =========================================================================
   Bară de acțiuni pe mobil
   ========================================================================= */

.action-bar {
  position: fixed;
  z-index: 90;
  inset: auto 0 0 0;
  display: none;
  background: rgba(0, 32, 40, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem max(0.6rem, env(safe-area-inset-left))
           calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}

.action-bar a {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0.3rem;
  border-radius: var(--radius-s);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-bar a svg { width: 1.25rem; height: 1.25rem; }
.action-bar a.is-primary { background: var(--sun-400); color: var(--navy-900); }

@media (max-width: 1080px) {
  .action-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* =========================================================================
   Pagini interioare
   ========================================================================= */

.page-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(300px, 46vh, 460px);
  padding-top: var(--header-h);
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
}

.page-hero__bg { position: absolute; inset: 0; z-index: 0; }

.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-hero .wrap { position: relative; z-index: 1; padding-block: 2.5rem; }
.page-hero h1 { font-size: var(--step-4); font-weight: 300; }

.page-hero p {
  margin-top: 1rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--step-1);
  font-weight: 300;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1.1rem;
  list-style: none;
  padding: 0;
}

.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--sun-400); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.55rem; opacity: 0.5; }

/* --- fișă detaliată de cameră --- */
.room-detail {
  display: grid;
  /* minmax(0, …) în loc de 1fr: altfel dimensiunea minimă automată a
     elementelor de grilă nu le lasă să se îngusteze sub conținut și
     imaginile ies din ecran pe telefoanele mici */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.room-detail > * { min-width: 0; }

.room-detail + .room-detail { margin-top: clamp(4rem, 8vw, 7rem); }
.room-detail--flip .room-detail__media { order: 2; }

.room-detail__media {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.8rem;
  aspect-ratio: 4 / 3.1;
  min-width: 0;
}

.room-detail__media .shot { min-width: 0; }
.room-detail__media .shot:first-child { grid-row: span 2; }

.room-detail h2 { font-size: var(--step-3); }
.room-detail__lead { margin-top: 1.1rem; color: var(--ink-soft); font-size: var(--step-1); font-weight: 300; }
.room-detail p { color: var(--ink-soft); }
.room-detail p + p { margin-top: 0.9rem; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.8rem;
  font-size: 0.94rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
}

.spec-table th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  width: 42%;
}

.spec-table td { color: var(--ink); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
  list-style: none;
  padding: 0;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  background: var(--sea-50);
  border: 1px solid var(--sea-200);
  border-radius: 100px;
  font-size: 0.84rem;
  color: var(--navy-700);
}

.chips svg { width: 0.95rem; height: 0.95rem; color: var(--sea-500); }

@media (max-width: 900px) {
  .room-detail { grid-template-columns: minmax(0, 1fr); }
  .room-detail--flip .room-detail__media { order: 0; }
}

/* pe telefon: o fotografie mare sus și două mai mici dedesubt */
@media (max-width: 620px) {
  .room-detail__media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.6fr 1fr;
    aspect-ratio: 4 / 3.6;
  }
  .room-detail__media .shot:first-child { grid-row: auto; grid-column: span 2; }
}

/* --- articol / ghid --- */
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.8rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; font-weight: 500; }
.prose p { margin-top: 1rem; color: var(--ink-soft); }
.prose ul, .prose ol { margin-top: 1rem; padding-left: 1.3rem; color: var(--ink-soft); }
.prose li + li { margin-top: 0.5rem; }
.prose img { border-radius: var(--radius); margin-top: 2rem; }
.prose figure { margin: 2.4rem 0 0; }
.prose figcaption { margin-top: 0.7rem; font-size: 0.86rem; color: var(--muted); text-align: center; }
.prose a { color: var(--navy-700); }
.prose strong { color: var(--ink); }

.callout {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  background: var(--sea-50);
  border-left: 3px solid var(--sea-400);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout p { margin-top: 0; color: var(--navy-700); }

/* =========================================================================
   Pagina 404
   ========================================================================= */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem var(--gutter) 4rem;
  background: var(--navy-900);
  color: #fff;
}

.notfound h1 { font-size: var(--step-5); font-weight: 300; color: var(--sun-400); }
.notfound p { margin: 1rem auto 2rem; max-width: 48ch; color: rgba(255, 255, 255, 0.75); }

/* =========================================================================
   Ornament: valuri (ecou al logo-ului)
   ========================================================================= */

.wave-divider {
  display: block;
  width: 100%;
  height: clamp(38px, 5vw, 70px);
  color: var(--sand-100);
}

.wave-divider--sand { color: var(--sand-100); }
.wave-divider--navy { color: var(--navy-800); }
.wave-divider--white { color: var(--sand-50); }
.wave-divider--dark { color: var(--navy-900); }

/* =========================================================================
   Animații la derulare
   ========================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal-group.is-in > * { opacity: 1; transform: none; }
.reveal-group.is-in > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-group.is-in > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-group.is-in > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-group.is-in > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-group.is-in > *:nth-child(5) { transition-delay: 0.34s; }
.reveal-group.is-in > *:nth-child(6) { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

/* =========================================================================
   Tipărire
   ========================================================================= */

@media print {
  .header, .mobile-nav, .action-bar, .hero__scroll, .lightbox,
  .cta-band, .availability { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .section { padding-block: 1.5rem; }
}
