/* ============================================================
   vilacasamea.ro — Temă teal / auriu
   ============================================================ */

:root {
    /* Paletă: Bleumarin & auriu (numele --teal-* păstrate, valori = bleumarin) */
    --teal-900: #14213a;   /* bleumarin foarte închis — footer, brand */
    --teal-700: #1c2b40;   /* bleumarin profund — hero, titluri */
    --teal-600: #27405f;   /* bleumarin mediu — butoane, linkuri */
    --teal-500: #3a5980;   /* bleumarin deschis — focus */
    --teal-100: #cdd8e6;   /* tentă deschisă */
    --teal-50:  #eef2f8;   /* fundal foarte deschis — cercuri iconițe, chips */

    --gold-600: #b8923f;
    --gold-500: #c9a24a;
    --gold-400: #d8b86a;
    --gold-100: #f3e9d4;

    --ink:      #1e2733;   /* titluri */
    --body:     #39414e;   /* text */
    --muted:    #717a87;
    --line:     #e6e3da;   /* linii (ton cald, fildeș) */
    --bg:       #ffffff;   /* carduri */
    --bg-soft:  #f6f3ec;   /* secțiuni — fildeș cald */
    --page:     #faf8f2;   /* fundal pagină — fildeș */

    --radius:   14px;
    --radius-sm: 9px;
    --shadow:   0 10px 30px rgba(20, 33, 58, .10);
    --shadow-sm: 0 4px 14px rgba(20, 33, 58, .08);
    --container: 1140px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--body);
    background: var(--page);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }
a { color: var(--teal-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-500); }
img { max-width: 100%; display: block; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Butoane ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--sans); font-weight: 600; font-size: .98rem; cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s, color .2s; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: #3a2e10; }
.btn-gold:hover { color: #3a2e10; filter: brightness(1.03); }
.btn-outline { background: transparent; color: var(--teal-700); border-color: var(--teal-600); }
.btn-outline:hover { background: var(--teal-600); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gold-100);
    box-shadow: 0 1px 0 rgba(184,146,63,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.brand { display: flex; flex-direction: row; align-items: center; gap: .7rem; }
.brand-emblem { display: flex; flex-shrink: 0; filter: drop-shadow(0 3px 8px rgba(20,33,58,.22)); transition: transform .3s ease; }
.brand:hover .brand-emblem { transform: rotate(-4deg) scale(1.04); }
.brand-has-logo .brand-emblem { filter: none; }
.brand-has-logo:hover .brand-emblem { transform: scale(1.03); }
.brand-logo-img {
    display: block; width: var(--brand-logo-width, 160px); height: var(--brand-logo-height, auto);
    max-width: min(var(--brand-logo-width, 160px), 42vw); max-height: 76px; object-fit: contain;
}
.brand-logo-only { gap: 0; }
.brand-default-logo .brand-emblem { width: 54px; height: 54px; align-items: center; justify-content: center; }
.brand-default-logo .brand-logo-img { width: 54px; height: 54px; max-width: 54px; max-height: 54px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--teal-900); letter-spacing: .015em; }
.brand-sub { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-600); margin-top: 3px; }

.main-nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    position: relative; padding: .65rem 1rem; color: var(--ink);
    font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
    transition: color .28s ease;
}
/* linie aurie care apare lin din centru — fără să modifice înălțimea (zero salt) */
.main-nav a::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .4rem; height: 1.5px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
    transform: scaleX(0); transform-origin: center; transition: transform .32s ease;
}
.main-nav a:hover { color: var(--teal-700); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--teal-700); }
.main-nav a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: .8rem; }
.nav-cta .btn { letter-spacing: .06em; text-transform: uppercase; font-size: .76rem; padding: .7rem 1.3rem; }
.main-nav .nav-cta .btn-primary,
.main-nav .nav-cta .btn-primary:visited,
.main-nav .nav-cta .btn-primary:hover,
.main-nav .nav-cta .btn-primary:focus,
.main-nav .nav-cta .btn-primary:active { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate;
    padding: clamp(4rem, 12vw, 8rem) 0 clamp(5rem, 13vw, 9rem);
    background: linear-gradient(rgba(20,33,58,.62), rgba(20,33,58,.72)), var(--teal-700);
    background-size: cover; background-position: center;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: .4em; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 620px; margin: 0 auto 2rem; opacity: .97; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
.hero .eyebrow { color: var(--gold-400); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 600; margin-bottom: 1rem; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.hero-brand-mark { width: clamp(132px, 16vw, 220px); max-width: 54vw; height: auto; margin: 0 auto 1rem; filter: drop-shadow(0 8px 24px rgba(0,0,0,.32)); opacity: .96; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-slider { background: var(--teal-700); }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slides { z-index: 0; background: var(--teal-700); }
.hero-slide { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-shade {
    z-index: 1; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(20,33,58,.86) 0%, rgba(20,33,58,.68) 46%, rgba(20,33,58,.48) 100%),
        linear-gradient(180deg, rgba(20,33,58,.22) 0%, rgba(20,33,58,.78) 100%);
}
.hero-slider-controls {
    position: absolute; z-index: 3; left: 50%; bottom: clamp(3.8rem, 6vw, 5.2rem);
    transform: translateX(-50%); display: flex; align-items: center; justify-content: center;
    gap: .55rem; padding: .35rem .55rem; border-radius: 999px;
    background: rgba(20,33,58,.34); backdrop-filter: blur(8px);
}
.hero-slider-dot {
    width: 12px; height: 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.9);
    background: rgba(255,255,255,.42); cursor: pointer; padding: 0;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hero-slider-dot:hover, .hero-slider-dot:focus-visible, .hero-slider-dot.is-active {
    background: var(--gold-400); border-color: var(--gold-400); transform: scale(1.14);
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slider-dot { transition: none; }
}
@media (max-width: 520px) {
    .hero { padding: clamp(3.5rem, 15vw, 5rem) 0 clamp(5rem, 18vw, 6.5rem); }
    .hero-brand-mark { width: 142px; margin-bottom: .75rem; }
    .hero-slide { object-position: center center; }
    .hero-shade { background: linear-gradient(180deg, rgba(20,33,58,.86), rgba(20,33,58,.68) 48%, rgba(20,33,58,.86)); }
    .hero-slider-controls { bottom: 3.6rem; }
}
/* ---------- Search bar (disponibilitate) ---------- */
.search-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 1.25rem; max-width: 920px; margin: -3.5rem auto 0; position: relative; z-index: 5;
}
.search-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select {
    padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--sans); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal-500); }

/* ---------- Secțiuni ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head .eyebrow { color: var(--gold-600); letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; font-weight: 600; display: block; margin-bottom: .6rem; }

/* ---------- Grid camere ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; background: var(--teal-50); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); font-weight: 600; margin-bottom: .3rem; }
.card h3 { margin-bottom: .35rem; }
.card .price { font-family: var(--serif); font-size: 1.5rem; color: var(--teal-700); font-weight: 700; }
.card .price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight: 500; }
.card-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.chip { font-size: .78rem; background: var(--teal-50); color: var(--teal-700); padding: .25rem .6rem; border-radius: 999px; }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.feature { text-align: center; padding: 1.5rem; }
.feature .ico { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; font-size: 1.5rem; }

/* ---------- Galerie ---------- */
.gallery { columns: 3 240px; column-gap: 14px; }
.gallery img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 14px; cursor: zoom-in; transition: opacity .2s; }
.gallery img:hover { opacity: .9; }

/* ---------- Cameră single ---------- */
.room-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.room-hero img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; cursor: zoom-in; }
.room-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.room-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; margin-top: 2.5rem; }
.booking-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: 92px; }
.booking-box .price { font-family: var(--serif); font-size: 2rem; color: var(--teal-700); font-weight: 700; }

/* ---------- Rezultate disponibilitate ---------- */
.result-row { display: flex; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; }
.result-row .thumb { width: 240px; flex-shrink: 0; aspect-ratio: 4/3; object-fit: cover; }
.result-row .info { padding: 1.2rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.result-row .price-col { padding: 1.2rem 1.4rem; text-align: right; display: flex; flex-direction: column; justify-content: center; min-width: 200px; border-left: 1px dashed var(--line); }
.rate-breakdown { margin-top: .8rem; font-size: .9rem; }
.rate-breakdown > strong { color: var(--ink); }
.nightly-rates, .booking-nightly-rates, .booking-mini-list { list-style: none; margin: .45rem 0 0; padding: 0; display: grid; gap: .28rem; }
.nightly-rates li, .booking-nightly-rates li, .booking-mini-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .35rem .5rem; border-radius: 8px; background: var(--teal-50); }
.nightly-rates strong, .booking-nightly-rates strong, .booking-mini-list strong { color: var(--teal-700); white-space: nowrap; }
.booking-summary { margin-bottom: 1rem; }
.booking-room-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.booking-total { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem .8rem; align-items: baseline; margin: .8rem 0 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.booking-total span { color: var(--muted); }
.booking-total strong { color: var(--teal-700); text-align: right; }

/* ---------- Forme / input ---------- */
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, select, textarea { font-family: var(--sans); }
.input, textarea.input, select.input {
    width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-size: 1rem; color: var(--ink); background: #fff;
}
.input:focus { outline: none; border-color: var(--teal-500); }
label.lbl { font-weight: 600; font-size: .9rem; color: var(--ink); display: block; margin-bottom: .35rem; }
.hint { font-size: .85rem; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Alerte ---------- */
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: .95rem; }
.alert-success { background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100); }
.alert-error { background: #fdecec; color: #a5302a; border: 1px solid #f6cfcf; }
.alert-info { background: var(--gold-100); color: #7a5d1d; border: 1px solid #ecdcb4; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Acreditări / certificate ---------- */
.acreditari-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem; }
.acreditare { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem;
    padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s, box-shadow .25s; }
.acreditare:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acreditare img { height: 150px; width: auto; max-width: 100%; object-fit: contain; }
.acreditare-pdf { height: 150px; display: grid; place-items: center; font-size: 3rem; }
.acreditare-cap { display: flex; flex-direction: column; gap: .15rem; font-size: .85rem; }
.acreditare-cap strong { color: var(--ink); }
.acreditare-cap .muted { font-size: .78rem; }

/* ---------- Pagini legale ---------- */
.legal-page { max-width: 820px; }
.legal-content h2 { font-size: 1.35rem; margin-top: 2rem; color: var(--teal-700); }
.legal-content p, .legal-content li { color: var(--body); }
.legal-content ul { padding-left: 1.2rem; }
.legal-content li { margin-bottom: .4rem; }
.legal-content a { color: var(--teal-600); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #cdd8e6; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1.1fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 20px 2.5rem; align-items: start; }
.footer-col img { width: 92px; height: 92px; }
.footer-brand-col .footer-brand-logo { display: block; width: min(176px, 78%); max-width: 100%; height: auto; margin-bottom: 1rem; object-fit: contain; }
.site-footer h3 { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { color: #cdd8e6; }
.footer-list a:hover { color: var(--gold-400); }
.site-footer .muted { color: #8fa3bf; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .85rem; color: #8fa3bf; }

/* ---------- ANPC / SAL bar ---------- */
.footer-anpc { border-top: 1px solid rgba(255,255,255,.1); }
.footer-anpc .container { padding: 1rem 20px; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; font-size: .85rem; }
.footer-anpc a { color: #cdd8e6; text-decoration: underline; }
.footer-anpc a:hover { color: var(--gold-400); }

/* ---------- Cookie banner (GDPR) — card plutitor jos ---------- */
.cookie-banner {
    position: fixed; z-index: 95;
    left: 50%; transform: translateX(-50%);
    bottom: 1rem; width: min(940px, calc(100% - 2rem));
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 18px 50px rgba(20,33,58,.28);
    padding: 1.1rem 1.4rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: space-between;
}
.cookie-text { flex: 1 1 420px; }
.cookie-text strong { color: var(--ink); }
.cookie-text p { margin: .25rem 0 0; font-size: .9rem; color: var(--muted); }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-settings {
    margin: 1rem 0 0; padding: 1rem 0 0;
    border-top: 1px solid var(--line); display: grid; gap: .7rem;
}
.cookie-settings[hidden] { display: none; }
.cookie-cat { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--body); }
.cookie-cat input { margin-top: .25rem; }
.cookie-cat span strong { color: var(--ink); }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    display: inline-flex; align-items: center; gap: .5rem;
    height: 56px; padding: 0 1.2rem 0 .95rem; border: 0; cursor: pointer;
    border-radius: 999px; background: #25d366; color: #fff;
    font-family: var(--sans); font-weight: 600; font-size: .95rem;
    box-shadow: 0 8px 24px rgba(37,211,102,.45);
    transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.55); }
.wa-float svg { flex-shrink: 0; }
.wa-float-label { white-space: nowrap; }
@media (max-width: 520px) {
    .wa-float-label { display: none; }
    .wa-float { padding: 0; width: 56px; justify-content: center; }
}

/* lista camere (selecție multiplă) în modalul de rezervare rapidă */
.wa-rooms { display: grid; gap: .6rem; }
.wa-room { display: flex; align-items: center; gap: .75rem; cursor: pointer;
    border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; transition: border-color .2s, background .2s; }
.wa-room:hover { border-color: var(--teal-500); background: var(--teal-50); }
.wa-room input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--teal-600); flex-shrink: 0; }
.wa-room:has(input:checked) { border-color: var(--teal-600); background: var(--teal-50); }
.wa-room.is-disabled { cursor: not-allowed; opacity: .78; }
.wa-room-main { flex: 1; min-width: 0; }
.wa-room-price { font-weight: 700; color: var(--teal-700); white-space: nowrap; }
.wa-summary { list-style: none; margin: .3rem 0 .6rem; padding: 0; }
.wa-summary li { padding: .35rem .6rem; background: var(--teal-50); border-radius: 8px; margin-bottom: .35rem; font-size: .92rem; }
.wa-pick-summary { font-size: .88rem; color: var(--muted); min-height: 1.2em; margin-top: .6rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,33,58,.55); }
.modal-box { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem; max-width: 680px; width: 100%; box-shadow: var(--shadow); max-height: 90vh; overflow: auto; }
.modal-close { position: absolute; top: .8rem; right: 1rem; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* ---------- Image lightbox ---------- */
.has-image-lightbox { overflow: hidden; }
.image-lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.image-lightbox[hidden] { display: none; }
.image-lightbox-backdrop { position: absolute; inset: 0; background: rgba(8,15,28,.86); backdrop-filter: blur(5px); }
.image-lightbox-dialog { position: relative; z-index: 1; width: min(1160px, 100%); display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; gap: .8rem; align-items: center; }
.image-lightbox-figure { margin: 0; min-width: 0; }
.image-lightbox-img { width: 100%; max-height: min(82vh, 820px); object-fit: contain; border-radius: 8px; background: #07111f; box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.image-lightbox-caption { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; min-height: 1.4rem; margin-top: .75rem; color: #f5f8fb; font-size: .95rem; text-align: center; }
.image-lightbox-caption small { color: #cdd8e6; font-size: .9rem; }
.image-lightbox-close, .image-lightbox-nav { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; backdrop-filter: blur(8px); transition: background .18s ease, transform .18s ease; }
.image-lightbox-close:hover, .image-lightbox-nav:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-1px); }
.image-lightbox-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 999px; font-size: 2rem; line-height: 1; }
.image-lightbox-nav { width: 54px; height: 58px; border-radius: 999px; font-size: 2.2rem; line-height: 1; }
.image-lightbox-nav[hidden] { display: none; }
.is-lightbox-ready:focus-visible { outline: 3px solid rgba(216,184,106,.8); outline-offset: 4px; }
@media (max-width: 640px) {
    .image-lightbox { padding: .75rem; }
    .image-lightbox-dialog { grid-template-columns: 1fr; }
    .image-lightbox-img { max-height: 78vh; }
    .image-lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 44px; height: 52px; font-size: 2rem; }
    .image-lightbox-nav:hover { transform: translateY(-50%); }
    .image-lightbox-prev { left: .75rem; }
    .image-lightbox-next { right: .75rem; }
}
/* ---------- Utilitare ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.badge-green { background: var(--teal-50); color: var(--teal-700); }
.badge-gold { background: var(--gold-100); color: #7a5d1d; }
.price-big { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--teal-700); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
    .brand-default-logo .brand-emblem, .brand-default-logo .brand-logo-img { width: 46px; height: 46px; max-width: 46px; max-height: 46px; }
    .nav-toggle { display: flex; }
    .main-nav { position: fixed; inset: 74px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-150%); transition: transform .3s; box-shadow: var(--shadow); }
    .main-nav.open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: 1rem; gap: .25rem; }
    .main-nav a { padding: .8rem 1rem; }
    .nav-cta { margin: .5rem 0 0; }
    .nav-cta .btn { width: 100%; }
    .search-form { grid-template-columns: 1fr 1fr; }
    .room-layout { grid-template-columns: 1fr; }
    .room-hero { grid-template-columns: 1fr; }
    .booking-box { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .result-row { flex-direction: column; }
    .result-row .thumb { width: 100%; }
    .result-row .price-col { border-left: 0; border-top: 1px dashed var(--line); text-align: left; }
    .wa-room { align-items: flex-start; }
    .wa-room-price { white-space: normal; text-align: right; }
}
@media (max-width: 520px) {
    .search-form { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .gallery { columns: 2 140px; }
}

/* ---------- Finisaje conformitate / accesibilitate ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(216,184,106,.7);
    outline-offset: 3px;
}
.footer-brand-col .footer-text-link { display: inline-block; margin-top: .55rem; color: var(--gold-400); font-weight: 600; }
.footer-address { display: grid; gap: .45rem; font-style: normal; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-bottom a { color: var(--gold-400); }
.footer-anpc-inner { padding: 1rem 20px; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; font-size: .9rem; }
.footer-anpc h4 { margin-bottom: .25rem; }
.footer-anpc p { margin-bottom: 0; }
.footer-anpc-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.footer-anpc-links > a:not(.anpc-logo-badge) { color: #cdd8e6; text-decoration: underline; }
.anpc-logo-badge { display: inline-flex; align-items: center; padding: 0; background: transparent; border-radius: 4px; text-decoration: none; transition: transform .15s ease; }
.anpc-logo-badge:hover { transform: translateY(-1px); }
.anpc-logo-badge img { display: block; width: 180px; max-width: min(180px, 72vw); height: auto; object-fit: contain; border-radius: 4px; }
.contact-list { font-size: 1.05rem; }
.contact-list li { margin-bottom: .7rem; }
.contact-map { display: grid; place-items: center; background: #eef2f8; }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-consent-box { width: 100%; min-height: 320px; display: grid; place-items: center; align-content: center; gap: .75rem; padding: 1.5rem; text-align: center; }
.map-consent-box p { max-width: 420px; margin: 0; color: var(--muted); }
.legal-page { overflow-wrap: anywhere; }
.legal-content { font-size: 1rem; }
.legal-content ol { padding-left: 1.25rem; }
.legal-content table { max-width: 100%; overflow-x: auto; display: block; }
.cookie-banner { max-height: min(86vh, 620px); overflow: auto; }
.cookie-actions .btn { white-space: nowrap; }
.cookie-cat { cursor: pointer; }
.cookie-cat input { min-width: 18px; min-height: 18px; accent-color: var(--teal-600); }
@media (max-width: 880px) {
    .footer-grid { gap: 1.6rem; padding-top: 2.6rem; }
    .footer-anpc-inner { align-items: flex-start; }
}
@media (max-width: 640px) {
    .cookie-banner { width: calc(100% - 1rem); bottom: .5rem; padding: .9rem; border-radius: 12px; }
    .cookie-inner { align-items: stretch; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1 1 100%; }
    .footer-bottom-inner { align-items: flex-start; }
    .anpc-logo-badge img { width: auto; max-width: 150px; }
    .modal-box { padding: 1.5rem 1rem; }
    .booking-total { grid-template-columns: 1fr; }
    .booking-total strong { text-align: left; }
    .nightly-rates li, .booking-nightly-rates li, .booking-mini-list li, .booking-room-line { align-items: flex-start; flex-direction: column; gap: .15rem; }
}
/* ---------- Contact page ---------- */
.contact-page { padding-top: clamp(3rem, 8vw, 5.5rem); }
.contact-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.contact-copy h1 { margin: .35rem 0 .45em; color: var(--ink); }
.contact-lead { max-width: 680px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--body); line-height: 1.75; }
.contact-highlight-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.contact-highlight { display: inline-flex; align-items: center; min-height: 36px; padding: .45rem .75rem; border: 1px solid var(--gold-100); border-radius: 999px; background: #fff; color: var(--teal-700); font-size: .84rem; font-weight: 700; }
.contact-visual { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--teal-700); box-shadow: 0 20px 60px rgba(20,33,58,.16); }
.contact-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-visual figcaption { padding: .7rem .9rem; color: #dce8f3; font-size: .85rem; background: var(--teal-900); }
.contact-panel-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr); gap: 1.4rem; align-items: stretch; }
.contact-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(1.25rem, 3vw, 1.8rem); }
.contact-panel h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-bottom: .45rem; color: var(--ink); }
.contact-info-panel { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-list { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .85rem; }
.contact-list li { display: grid; gap: .18rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-label { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-value, .contact-list .contact-link { color: var(--ink); font-size: clamp(1.02rem, 1.4vw, 1.16rem); font-weight: 700; overflow-wrap: anywhere; }
.contact-list .contact-link:hover { color: var(--teal-600); text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }
.contact-location-panel { display: grid; gap: 1rem; }
.contact-location-copy p { color: var(--body); margin-bottom: 0; line-height: 1.7; }
.contact-map { display: grid; place-items: center; min-height: 390px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #eef6f8, #fff8e8); }
.contact-map iframe { width: 100%; height: 100%; min-height: 390px; border: 0; }
.map-consent-box { width: 100%; min-height: 390px; display: grid; place-items: center; align-content: center; gap: .75rem; padding: 1.5rem; text-align: center; }
.map-consent-box strong { color: var(--ink); font-size: 1.12rem; }
.map-consent-box p { max-width: 460px; margin: 0; color: var(--body); }
@media (max-width: 880px) {
    .contact-hero-layout, .contact-panel-grid { grid-template-columns: 1fr; }
    .contact-panel-grid { gap: 1rem; }
}
@media (max-width: 520px) {
    .contact-page { padding-top: 2.4rem; }
    .contact-visual img { aspect-ratio: 1.18 / 1; }
    .contact-actions .btn { width: 100%; }
    .contact-map, .contact-map iframe, .map-consent-box { min-height: 330px; }
}
/* ---------- 404 page ---------- */
.not-found-page { min-height: 62vh; display: grid; align-items: center; }
.not-found-inner { max-width: 760px; text-align: center; }
.not-found-code { display: block; font-family: var(--serif); font-size: clamp(5rem, 16vw, 10rem); line-height: .85; color: rgba(28,43,64,.12); font-weight: 700; margin-bottom: .2rem; }
.not-found-page h1 { color: var(--ink); margin: .35rem auto .5em; max-width: 720px; }
.not-found-page .muted { max-width: 620px; margin-left: auto; margin-right: auto; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.8rem; }
.not-found-help { margin-top: 1.5rem; color: var(--muted); }
.not-found-help a { color: var(--teal-600); text-decoration: underline; font-weight: 700; }
@media (max-width: 520px) {
    .not-found-actions .btn { width: 100%; }
}