/* HotelRevenue.ro — foaia de stil comuna a site-ului de prezentare.
   Limbajul vizual e al aplicatiei TargetRate: navy inchis, auriu = brand/"esti aici",
   cyan = actiune. Sectiunile lungi de text stau pe "paper" (neutru rece, biasat spre navy). */

:root {
  --bg: #0e1220;
  --surface: #151a2a;
  --card: #1a2033;
  --line: rgba(255, 255, 255, .08);
  --txt: #eef1f8;
  --dim: #9aa5bf;
  --gold: #d5a94f;
  --gold-soft: rgba(213, 169, 79, .14);
  --cyan: #4fd1e0;
  --cyan-ink: #06282e;
  --ok: #6fd287;
  --danger: #ff6f7d;
  --paper: #f2f4f9;
  --paper-card: #ffffff;
  --ink: #1a2233;
  --ink-dim: #56617a;
  --paper-line: rgba(26, 34, 51, .12);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --w-content: 1080px;
  --w-text: 70ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 400 17px/1.65 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; max-width: var(--w-text); }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }

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

.wrap { max-width: var(--w-content); margin: 0 auto; padding: 0 22px; }
/* paginile de text lung: coloana ingusta, CENTRATA in pagina */
.wrap.prose { max-width: 840px; }
.wrap.prose p, .wrap.prose ul { max-width: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 18, 32, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px;
  min-height: 64px;
}
.logo {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.15rem;
  color: var(--txt); text-decoration: none; white-space: nowrap;
}
.logo b { color: var(--gold); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  color: var(--dim); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 7px 11px; border-radius: var(--r-sm);
}
.nav a:hover { color: var(--txt); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .nav-cta {
  color: var(--cyan-ink); background: var(--cyan); font-weight: 650;
}
.nav .nav-cta:hover { color: var(--cyan-ink); background: #6adcea; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero .wrap { text-align: center; }
.hero h1 { margin-left: auto; margin-right: auto; }
.hero p.lead, .hero .fineprint { margin-left: auto; margin-right: auto; }
.hero .kicker {
  color: var(--gold); font-weight: 650; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px;
}
.hero p.lead { font-size: 1.15rem; color: var(--dim); max-width: 58ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 10px; justify-content: center; }
.btn {
  display: inline-block; border-radius: var(--r-md); padding: 13px 22px;
  font-weight: 650; font-size: 1rem; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--cyan); color: var(--cyan-ink); }
.btn-primary:hover { background: #6adcea; }
.btn-ghost { border-color: var(--line); color: var(--txt); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero .fineprint { color: var(--dim); font-size: .88rem; }

/* ---------- banda de calendar (semnatura) ---------- */
.calstrip {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
  margin: 42px 0 8px;
}
.calstrip .day {
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 0 1px rgba(255,255,255,.04);
  padding: 12px 10px 14px;
  display: flex; flex-direction: column; gap: 7px;
  font-variant-numeric: tabular-nums;
  animation: rise .5s ease both;
}
.calstrip .day:nth-child(2) { animation-delay: .06s; }
.calstrip .day:nth-child(3) { animation-delay: .12s; }
.calstrip .day:nth-child(4) { animation-delay: .18s; }
.calstrip .day:nth-child(5) { animation-delay: .24s; }
.calstrip .day:nth-child(6) { animation-delay: .3s; }
.calstrip .day:nth-child(7) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.calstrip .d-date { font-size: .78rem; color: var(--dim); display: flex; justify-content: space-between; }
.calstrip .today { box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 0 1px var(--gold); }
.calstrip .today .d-date b { color: var(--gold); }
.calstrip .d-occ { height: 3px; border-radius: 2px; background: rgba(255,255,255,.10); overflow: hidden; }
.calstrip .d-occ i { display: block; height: 100%; background: var(--dim); }
.calstrip .d-occ.hi i { background: #9b7be0; }
.calstrip .d-old { font-size: .8rem; color: var(--dim); text-decoration: line-through; }
.calstrip .d-new { font-size: 1.02rem; font-weight: 700; color: var(--cyan); }
.calstrip .d-new.flat { color: var(--txt); font-weight: 500; }
.calstrip-note { color: var(--dim); font-size: .85rem; margin-bottom: 0; }
@media (max-width: 720px) {
  .calstrip { grid-template-columns: repeat(4, 1fr); }
  .calstrip .day:nth-child(n+5) { display: none; }
}

/* ---------- sectiuni ---------- */
.section { padding: 64px 0; }
.section.on-paper { background: var(--paper); color: var(--ink); }
.section.on-paper h2, .section.on-paper h3 { color: var(--ink); }
.section.on-paper p { color: var(--ink); }
.section.on-paper .muted, .section.on-paper .card p.muted { color: var(--ink-dim); }
.section-head { max-width: 62ch; margin: 0 auto 34px; text-align: center; }
.section-head p { margin-left: auto; margin-right: auto; }
.section-head .muted { color: var(--dim); }
/* componentele isi pastreaza textul la stanga (lizibilitate) */
.card, .faq, .calstrip, .proof, .quote-card, .article-body, .tbl-wrap { text-align: left; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 650; color: var(--gold); margin-bottom: 10px;
}
.on-paper .eyebrow { color: #a97e22; }

/* proof bar */
.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 42px;
}
@media (max-width: 920px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .proof { grid-template-columns: 1fr; } }
.proof .p-item {
  background: var(--surface); border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.04);
  padding: 16px 18px;
}
.proof .p-num {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: 1.6rem; font-variant-numeric: tabular-nums;
}
.proof .p-item.accent .p-num { color: var(--gold); }
.proof .p-lbl { color: var(--dim); font-size: .88rem; }

/* grile de carduri — coloane explicite, ca 4 carduri sa nu se rupa 3+1 */
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  /* la 2 coloane, un ultim card orfan se intinde pe tot randul */
  .grid.cols-3 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .grid.cols-3 > .card:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 720px) { .grid.cols-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.04);
  padding: 22px 24px;
}
.card p { font-size: .95rem; color: var(--dim); margin-bottom: 0; }
.on-paper .card {
  background: var(--paper-card);
  box-shadow: 0 1px 3px rgba(20, 30, 60, .07), inset 0 0 0 1px var(--paper-line);
}
.on-paper .card p { color: var(--ink-dim); }
.card .glyph { font-size: 1.3rem; margin-bottom: 8px; }

/* cadre pentru capturi de ecran (tur vizual) */
.shot-frame {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background:
    linear-gradient(160deg, rgba(213,169,79,.06), rgba(79,209,224,.05)),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--dim); font-size: .85rem;
}
.shot-frame:empty::after { content: "captură de ecran în curând"; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.shot-frame.has-img { aspect-ratio: auto; overflow: hidden; }
.shot-frame.has-img img { width: 100%; height: auto; object-fit: contain; }
.shot-frame.portrait { display: flex; justify-content: center; padding: 14px 0; }
.shot-frame.portrait img { width: auto; max-height: 440px; border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,.35); }

/* preturi (hibrid) */
.price-card { display: flex; flex-direction: column; gap: 10px; }
.price-card .ph {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.price-card .tag {
  font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.tag.gold { background: var(--gold-soft); color: var(--gold); }
.on-paper .tag.gold { background: rgba(169, 126, 34, .12); color: #8a6512; }
.price-card .big {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.7rem;
}
.price-card ul { margin: 0; padding-left: 20px; font-size: .95rem; }
.price-card li { margin: 5px 0; }
.on-paper .price-card li { color: var(--ink-dim); }
.price-card .fit { font-size: .88rem; border-top: 1px solid var(--paper-line); padding-top: 12px; margin-top: 6px; }

/* testimoniale */
.quote-card blockquote { margin: 0 0 12px; font-style: italic; font-size: 1.02rem; }
.quote-card figcaption { font-size: .88rem; color: var(--dim); }
.on-paper .quote-card figcaption { color: var(--ink-dim); }
.quote-card figcaption b { color: inherit; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--paper-line); padding: 4px 0;
}
.faq summary {
  cursor: pointer; font-weight: 650; padding: 12px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #a97e22; font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 14px; }
.faq-dark details { border-bottom-color: var(--line); }
.faq-dark summary::after { color: var(--gold); }
.faq-dark details p { color: var(--dim); }

/* CTA final */
.cta-final { text-align: center; padding: 80px 0; }
.cta-final h2 { margin-bottom: .3em; }
.cta-final p { margin: 0 auto 1.4em; }
.cta-final .cta-row { justify-content: center; }

/* blog */
.post-card { text-decoration: none; color: inherit; display: block; }
.post-card:hover { box-shadow: 0 2px 10px rgba(20,30,60,.12), inset 0 0 0 1px rgba(169,126,34,.4); }
.post-card h3 { color: var(--ink); }
.article-body h2 { margin-top: 38px; }
.article-body ul { margin: 0 0 1em; }
.article-body li { margin: 8px 0; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px; color: var(--dim); font-size: .88rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
.site-footer a { color: var(--dim); }
.site-footer a:hover { color: var(--txt); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer .anpc-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .anpc-badges img { border-radius: 4px; background: #fff; padding: 2px; }
.logo img { display: block; height: 42px !important; width: auto; }
.site-footer > .wrap > div > img { height: 26px; width: auto; }

@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { margin-left: 0; }
  .hero { padding-top: 48px; }
  .section { padding: 48px 0; }
}
