/*
  File: /assets/css/style.css
  Purpose: Global UI styles for tihuta.ro
  Notes: Keep colors/themes consistent. Components live in /assets/css/components/
*/
:root{
  --bg:#070a15;--bg2:#0b1026;
  --text:#eaf0ff;--muted:#b9c4e6;
  --card:rgba(255,255,255,.05);
  --card2:rgba(255,255,255,.03);
  --line:rgba(255,255,255,.10);
  --brand:#7aa7ff;--accent:#7cf0c9;--warn:#ffcc66;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --r:18px;--r2:26px;--max:1220px;
  color-scheme:dark;
}
html[data-theme="day"]{
  --bg:#f7f9ff;--bg2:#eef3ff;
  --text:#101427;--muted:#4b567a;
  --card:rgba(16,20,39,.03);
  --card2:rgba(16,20,39,.02);
  --line:rgba(16,20,39,.12);
  --brand:#1e5cff;--accent:#008d6a;--warn:#ad6b00;
  --shadow:0 16px 40px rgba(18,30,62,.12);
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{height:100%}
html{background:linear-gradient(180deg,var(--bg),var(--bg2));}

/* --- Global background layers (DOM elements) --- */
.siteBgBase{
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:url("/img/bg/tihuta_ro_background.png") center/cover no-repeat fixed;
  filter:saturate(1.05) contrast(1.02);
}
.siteBgOverlay{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(1000px 700px at 25% -10%,rgba(122,167,255,.22),transparent 55%),
    radial-gradient(900px 700px at 90% 10%,rgba(124,240,201,.12),transparent 60%),
    linear-gradient(180deg,rgba(7,10,21,.72),rgba(7,10,21,.86)),
    url("/img/bg/tihuta_ro_background_watermark_tiled.png") 0 0/520px auto repeat;
  opacity:1;
}
html[data-theme="day"] .siteBgBase{opacity:.78; filter:saturate(1.25) contrast(1.18) brightness(.92);}
html[data-theme="day"] .siteBgOverlay{
  opacity:.55;
  background:
    radial-gradient(1000px 700px at 25% -10%,rgba(30,92,255,.08),transparent 58%),
    radial-gradient(900px 700px at 90% 10%,rgba(0,141,106,.06),transparent 62%),
    linear-gradient(180deg,rgba(247,249,255,.10),rgba(247,249,255,.28)),
    url("/img/bg/tihuta_ro_background_watermark_tiled.png") 0 0/520px auto repeat;
}


body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:transparent;
  color:var(--text);
  overflow-x:hidden;
  position:relative;
  /* Header is fixed; this padding is updated by /assets/js/core/header.js */
  padding-top: var(--header-h, 78px);
}
body::before{content:none;}

body::after{content:none;}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 40px));margin:0 auto}
.small{font-size:12px;color:var(--muted);line-height:1.6}

/* Fixed transparent header (applies to both <header> and .siteHeader blocks) */
header,
.siteHeader{
  position:fixed !important;
  top:0; left:0; right:0;
  z-index:9999;
  background:rgba(8,12,26,.62);
  border-bottom:1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
html[data-theme="day"] header,
html[data-theme="day"] .siteHeader{
  background:rgba(247,249,255,.74);
  border-bottom:1px solid rgba(16,20,39,.08);
}

.nav{
  height:74px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:240px}
.logo{
  width:40px;height:40px;border-radius:14px;
  background:rgba(255,255,255,.06);
  display:grid;place-items:center;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}
.logo img{width:100%;height:100%;object-fit:cover;display:block}

.brand strong{display:block;letter-spacing:.5px}
.brand span{display:block;font-size:12px;color:var(--muted)}
.links{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  justify-content:center;
}
.links a{
  font-size:13px;color:var(--muted);
  padding:10px 12px;border-radius:12px;border:1px solid transparent;
}
.links a:hover{color:var(--text);background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08)}
.links a[aria-current="page"]{color:var(--text);background:rgba(122,167,255,.12);border-color:rgba(122,167,255,.18)}

.actions{display:flex;align-items:center;gap:10px;min-width:240px;justify-content:flex-end}

/* Mobile navigation (hamburger) */
.navToggle{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--text);
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 10px;
  cursor:pointer;
}
.navToggle span{
  display:block;
  width:18px;height:2px;
  background:currentColor;
  border-radius:2px;
  opacity:.9;
}
html[data-theme="day"] .navToggle{
  border-color:rgba(16,20,39,.16);
  background:rgba(255,255,255,.55);
}

/* Desktop layout: links + actions sit inline */
.navPanel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex:1 1 auto;
}

/* Mobile layout */
@media (max-width: 980px){
  .brand{min-width:0}
  .nav{gap:10px}
  .links{flex-wrap:nowrap;justify-content:flex-start}
  .navToggle{display:inline-flex}
  /* off-canvas panel */
  .navPanel{
    position:fixed;
    top:var(--header-h, 74px);
    left:0; right:0;
    max-height:calc(100vh - var(--header-h, 74px));
    overflow:auto;
    padding:14px 14px 18px;
    background:rgba(8,12,26,.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom:1px solid rgba(255,255,255,.10);
    transform:translateY(-12px);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
    display:block;
  }
  html[data-theme="day"] .navPanel{
    background:rgba(247,249,255,.92);
    border-bottom:1px solid rgba(16,20,39,.10);
  }
  body.navOpen .navPanel{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }

  /* stack nav links */
  .navPanel .links{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:8px 0 12px;
  }
  .navPanel .links a{
    padding:12px 12px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.04);
  }
  html[data-theme="day"] .navPanel .links a{
    border-color:rgba(16,20,39,.12);
    background:rgba(255,255,255,.55);
  }
  .actions{
    min-width:0;
    justify-content:flex-start;
    flex-wrap:wrap;
    padding-top:8px;
    border-top:1px solid rgba(255,255,255,.08);
  }
  html[data-theme="day"] .actions{
    border-top-color:rgba(16,20,39,.10);
  }
  .actions .btnPrimary{width:100%;justify-content:center}
}

/* Ensure header content does not overflow on small screens */
@media (max-width: 520px){
  .brandText strong{font-size:13px}
  .brandSub{font-size:11px}
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:11px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);font-size:13px;cursor:pointer;
}
html[data-theme="day"] .btn{border-color:rgba(16,20,39,.12);background:rgba(16,20,39,.03)}
.btn:hover{transform:translateY(-1px)}
.btnPrimary{
  background:linear-gradient(135deg,rgba(122,167,255,.92),rgba(124,240,201,.78));
  border-color:rgba(255,255,255,.12);
  color:#081022;
}
.tag{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;color:var(--muted);
  padding:7px 10px;border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  white-space:nowrap;
}
.pills{display:flex;gap:8px;flex-wrap:wrap}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  border:1px solid var(--line);
  background:var(--card2);
  color:var(--muted);
  font-size:13px;
  cursor:pointer;
  user-select:none;
}
.pill[aria-pressed="true"]{color:var(--text);background:rgba(122,167,255,.12);border-color:rgba(122,167,255,.18)}
.searchRow{
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between;
}
.input{
  padding:12px 12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);font-size:13px;min-width: 260px;
}
html[data-theme="day"] .input{border-color:rgba(16,20,39,.12);background:rgba(16,20,39,.03)}
.input:focus{outline:none;box-shadow:0 0 0 3px rgba(122,167,255,.28)}

main{padding:30px 0 46px}
.hero{
  border-radius:var(--r2);
  overflow:hidden;border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:linear-gradient(135deg,rgba(122,167,255,.14),rgba(124,240,201,.08));
}
.heroGrid{display:grid;grid-template-columns:1.1fr .9fr}
.heroCopy{padding:32px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.kicker{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.kdot{width:8px;height:8px;border-radius:99px;background:rgba(124,240,201,.9);box-shadow:0 0 0 6px rgba(124,240,201,.12)}
h1{margin:0;font-size:clamp(28px,3.1vw,44px);letter-spacing:-.02em;line-height:1.05}
.sub{margin:0;color:var(--muted);font-size:15px;line-height:1.6;max-width:62ch}
.heroBtns{display:flex;gap:12px;flex-wrap:wrap}
.heroArt{min-height:320px;background-size:cover;background-position:center;position:relative}
.heroArt:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,.55))}
html[data-theme="day"] .heroArt:after{background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.62))}

.section{margin-top:22px}
.sectionHead{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;margin:18px 0 14px}
.sectionHead h2{margin:0;font-size:18px}
.sectionHead p{margin:0;color:var(--muted);font-size:13px;max-width:900px}

.partnerList{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
  max-width:none;
  margin:0;
}

/* Partner card as ONE ROW: info + photo strip + actions */
.partnerCard{
  /* Full-width cards (match the main content width) */
  width:100%;
  max-width:100%;
  margin:0;
  border-radius:var(--r);
  border:1px solid var(--line);
  background:var(--card);
  overflow:hidden;
}
.partnerRow{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  /* keep content on one row; on small screens allow horizontal scroll */
  flex-wrap:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.partnerRow::-webkit-scrollbar{height:8px}
.partnerRow::-webkit-scrollbar-thumb{background:rgba(255,255,255,.10);border-radius:999px}
html[data-theme="day"] .partnerRow::-webkit-scrollbar-thumb{background:rgba(16,20,39,.14)}
.partnerBrand{
  display:flex;align-items:center;gap:12px;
  min-width: 320px;
  flex: 0 0 auto;
}
.partnerLogo{
  width:54px;height:54px;border-radius:18px;
  background:linear-gradient(135deg,rgba(122,167,255,.95),rgba(124,240,201,.70));
  display:grid;place-items:center;
}
.partnerLogo svg{width:26px;height:26px}
.partnerTitle{min-width: 240px}
.partnerTitle strong{display:block;font-size:15px;letter-spacing:-.01em}
.partnerTitle span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.partnerMeta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}

/* photo strip stays on the same row; scrollable if needed */
.photoStrip{
  display:flex;gap:8px;align-items:center;
  flex: 0 0 auto;
  margin-left:auto;
}
.thumb{
  width:110px;height:70px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background-size:cover;background-position:center;
  flex: 0 0 auto;
}
html[data-theme="day"] .thumb{border-color:rgba(16,20,39,.12)}
.actionsStrip{
  display:flex;gap:8px;align-items:center;
  flex: 0 0 auto;
}
.iconBtn{
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  display:grid;place-items:center;
}
html[data-theme="day"] .iconBtn{border-color:rgba(16,20,39,.12);background:rgba(16,20,39,.03)}
.iconBtn svg{width:20px;height:20px}
.primaryLink{
  display:inline-flex;align-items:center;gap:10px;
  padding:11px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg,rgba(122,167,255,.88),rgba(124,240,201,.70));
  color:#081022;font-size:13px;white-space:nowrap;
}
.partnerCard:focus-within{box-shadow:var(--shadow), 0 0 0 3px rgba(122,167,255,.28)}

.gridCards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,340px));
  gap:14px;
  justify-content:center;
}
.tile{
  border-radius:var(--r);border:1px solid var(--line);
  background:var(--card);overflow:hidden;position:relative;min-height:170px;
}
.tileBg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.95}
.tileShade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,10,21,.08),rgba(7,10,21,.82))}
html[data-theme="day"] .tileShade{background:linear-gradient(180deg,rgba(247,249,255,.08),rgba(247,249,255,.88))}
.tileIn{position:relative;z-index:2;padding:16px;display:flex;flex-direction:column;gap:10px}
.tile h3{margin:0;font-size:15px}
.tile p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}

.formWrap{
  border-radius:var(--r2);border:1px solid var(--line);
  background:var(--card);box-shadow:var(--shadow);
  padding:16px;
}
.formGrid{
  display:flex;gap:12px;flex-wrap:wrap;
}
.formGrid .input{flex:1 1 240px;min-width:220px}
textarea.input{min-height:120px;resize:vertical}
.honeypot{display:none!important}

footer{
  margin-top:32px;
  padding:16px 0 22px;
  border-top:1px solid rgba(255,255,255,.08);
}
footer .container{width:min(1060px,calc(100% - 40px));}

html[data-theme="day"] footer{border-top:1px solid rgba(16,20,39,.08)}
.fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:14px}
.box{border:1px solid var(--line);background:var(--card);border-radius:var(--r);padding:12px}

.box h4{margin:0 0 8px;font-size:13px}
.box a{display:block;color:var(--muted);font-size:12.5px;padding:5px 8px;border-radius:12px}
.box a:hover{color:var(--text);background:rgba(255,255,255,.04)}
.legal{margin-top:10px;color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr}
  .heroArt{min-height:240px}
  .links{display:none}
  .actions{min-width:auto}
  .tile{grid-column:span 12}
  .fgrid{grid-template-columns:1fr}
  .partnerBrand{min-width: 280px}
  .thumb{width:100px}
}
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* --- Added in "Combo A+Graphics C" build: horizontal one-row strips --- */
.hscroll{
  display:flex;
  gap:14px;
  flex-wrap:nowrap;
  overflow-x:auto;
  padding-bottom:6px;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
}
.hscroll::-webkit-scrollbar{height:8px}
.hscroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}
html[data-theme="day"] .hscroll::-webkit-scrollbar-thumb{background:rgba(16,20,39,.18)}
.hscroll .tile{
  flex:0 0 auto;
  width:340px;
  min-height:180px;
  grid-column:auto;
  scroll-snap-align:start;
}
.hscroll .tile.wide{width:520px}
@media (max-width: 760px){
  .hscroll .tile{width:300px}
  .hscroll .tile.wide{width:420px}
}
@media (max-width: 420px){
  .hscroll .tile{width:270px}
  .hscroll .tile.wide{width:360px}
}
/* === Footer (siteFooter) === */

/* === Header tweaks (LacColibita-like) === */
.siteHeader .brand{ text-decoration:none; }
.siteHeader .brandText{ display:flex; flex-direction:column; line-height:1.1; }
.siteHeader .brandSub{ font-size:12px; color:var(--muted); margin-top:3px; }
.btnIcon{ padding:10px 12px; }
.moonDot{
  width:14px;height:14px;border-radius:99px;
  display:inline-block;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.0) 60%), rgba(122,167,255,.55);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset;
}

/* === Footer (siteFooter) === */
.siteFooter{
  margin-top:26px;
  padding:14px 0 12px;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(8,12,26,.55);
}
html[data-theme="day"] .siteFooter{
  background: rgba(247,249,255,.70);
  border-top:1px solid rgba(16,20,39,.08);
}
.siteFooter .container{width:min(1060px,calc(100% - 40px));}
.footGrid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:16px;
  align-items:start;
}
@media (max-width: 940px){
  .footGrid{ grid-template-columns: 1fr; }
}
.siteFooter h4{
  margin:0 0 8px;
  font-size:13px;
  letter-spacing:.6px;
  text-transform:none;
}
.siteFooter a{
  display:block;
  color: var(--muted);
  text-decoration:none;
  padding:5px 0;
}
.siteFooter a:hover{ color: var(--text); }
.siteFooter .small{
  margin:0 0 8px;
  color: var(--muted);
  font-size:12.5px;
  line-height:1.42;
}
.footBottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;
  color: var(--muted);
  font-size:13px;
}

/* === Page centering helpers === */
.centerStack{ text-align:center; }
.centerStack .sub{ margin-left:auto; margin-right:auto; max-width: 780px; }
.section{
  margin: 28px auto 0;
  max-width: var(--max);
}

.cardRow{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
@media (max-width: 900px){ .cardRow{ grid-template-columns:1fr; } }
.factCard{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,16,32,.40);
  border-radius:16px;
  padding:14px 16px;
  text-align:center;
}
html[data-theme="day"] .factCard{
  background: rgba(255,255,255,.70);
  border-color: rgba(16,20,39,.10);
}
.factCard .label{ color:var(--muted); font-size:12px; }
.factCard .value{ margin-top:4px; font-weight:700; }

/* === Generic card (used on Contact/Home sections) === */
.card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,16,32,.40);
  border-radius:18px;
  padding:18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
html[data-theme="day"] .card{
  background: rgba(255,255,255,.74);
  border-color: rgba(16,20,39,.10);
}


/* ===============================
   PARTENERI – LISTA DINAMICA
   (cards: card--partner, gridCards--center)
   =============================== */
.hero--simple{min-height:55vh;display:flex;align-items:center;text-align:center}
.heroCenter{max-width:820px;margin:0 auto}
.heroTitle{font-size:48px;margin:0 0 16px}
.heroLead{font-size:18px;opacity:.85;margin:0 0 32px}
.heroActions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.sectionHead--center{text-align:center;max-width:720px;margin:0 auto 48px}

.gridCards--center{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}

.card--partner{position:relative;background:rgba(15,25,40,.75);border-radius:18px;padding:22px;display:flex;flex-direction:column;transition:transform .25s ease, box-shadow .25s ease;border:1px solid rgba(255,255,255,.10)}
html[data-theme="day"] .card--partner{background:rgba(255,255,255,.72);border-color:rgba(16,20,39,.10)}
.card--partner:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(0,0,0,.35)}
.cardLink{position:absolute;inset:0;z-index:1}

.cardTop{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.partnerLogo img{width:64px;height:64px;object-fit:contain}
.logoFallback{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#3ccf91,#39a0ff);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#08131f}

.partnerMeta .badge{display:inline-block;background:rgba(255,255,255,.08);padding:6px 12px;border-radius:999px;font-size:12px;margin-bottom:6px}
html[data-theme="day"] .partnerMeta .badge{background:rgba(16,20,39,.06)}

.cardTitle{font-size:20px;margin:8px 0 10px}
.cardText{font-size:14px;opacity:.85;line-height:1.6;margin:0}

.cardBottom{margin-top:auto;display:flex;flex-direction:column;gap:14px}
.miniContacts{display:flex;gap:8px;flex-wrap:wrap}
.miniPill{font-size:12px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08)}
html[data-theme="day"] .miniPill{background:rgba(16,20,39,.06)}

.callout--center{margin-top:80px;text-align:center}
.calloutInner{background:rgba(10,20,35,.75);border-radius:22px;padding:40px 30px;max-width:720px;margin:0 auto;border:1px solid rgba(255,255,255,.10)}
html[data-theme="day"] .calloutInner{background:rgba(255,255,255,.75);border-color:rgba(16,20,39,.10)}

/* ===============================
   PARTENERI â LISTA DINAMICA
   =============================== */
.hero--simple{min-height:55vh;display:flex;align-items:center;text-align:center}
.heroCenter{max-width:820px;margin:0 auto}
.heroTitle{font-size:48px;margin:0 0 16px}
.heroLead{font-size:18px;opacity:.85;margin:0 0 32px}
.heroActions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.sectionHead--center{text-align:center;max-width:720px;margin:0 auto 48px}

.card--partner{position:relative;background:rgba(15,25,40,.75);border-radius:18px;padding:22px;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}
.card--partner:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(0,0,0,.35)}
.cardLink{position:absolute;inset:0;z-index:1}

.cardTop{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.partnerLogo img{width:64px;height:64px;object-fit:contain}
.logoFallback{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#3ccf91,#39a0ff);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#08131f}
.partnerMeta .badge{display:inline-block;background:rgba(255,255,255,.08);padding:6px 12px;border-radius:999px;font-size:12px;margin-bottom:6px}
.muted{font-size:13px;opacity:.75}

.cardTitle{font-size:20px;margin:8px 0 10px}
.cardText{font-size:14px;opacity:.85;line-height:1.6;margin:0}

.cardBottom{margin-top:auto;display:flex;flex-direction:column;gap:14px}
.miniContacts{display:flex;gap:8px;flex-wrap:wrap}
.miniPill{font-size:12px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08)}

.callout--center{margin-top:80px;text-align:center}
.calloutInner{background:rgba(10,20,35,.75);border-radius:22px;padding:40px 30px;max-width:720px;margin:0 auto}

/* --- Nav icon link (Search) --- */
.navIconLink{display:inline-flex;align-items:center;justify-content:center;gap:0}
.navIcon{width:18px;height:18px;opacity:.9}
.links a.navIconLink{padding:10px 12px}
.srOnly{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* === Global background image + watermark (tihuta) === */
body{ position:relative; }
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:url('/img/bg/tihuta_ro_background.png') center/cover no-repeat fixed;
  opacity:.28;
  filter:saturate(1.05) contrast(1.02);
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:url('/img/bg/tihuta_ro_background_watermark_tiled.png') center/800px repeat;
  opacity:.06;
}
html[data-theme="day"] .siteBgBase{opacity:.55; filter:saturate(1.1) contrast(1.05);}

html[data-theme="day"] body::after{opacity:.05;}

/* === Nav: search icon-only === */
.links a.navSearch{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;}
.links a.navSearch img{opacity:.92;}

/* ===============================
   Caută (Search) – filters & empty state
   =============================== */
.pills{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.pill.isActive{
  color: var(--text);
  border-color: rgba(100,200,255,.55);
  background: rgba(40,120,255,.18);
}
.emptyState{
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--r);
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(10,20,35,.55);
  text-align: center;
}


/* Partner inquiry form enhancements (ready-to-publish) */
.contactForm .grid2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 720px){
  .contactForm .grid2{ grid-template-columns: 1fr; }
}
.notice{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.22);
  padding:12px 14px;
  border-radius:14px;
  margin: 10px 0 16px 0;
}
.notice.ok{ border-color: rgba(80,200,120,.45); }
.notice.err{ border-color: rgba(240,80,80,.55); }



/* =========================================================
   Partner cards — PRO (desktop + mobile)
   Applies to list pages: Cazare / Restaurante / Afaceri locale / Parteneri
   ========================================================= */

.partnerListPro{ display:flex; flex-direction:column; gap:14px; }

.partnerCardPro{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,16,30,.42);
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.partnerCardPro::before{
  content:"";
  position:absolute; left:0; top:0; bottom:0; width:6px;
  background: linear-gradient(180deg, rgba(120,180,255,.95), rgba(80,220,180,.75));
  opacity:.9;
}
.partnerCardPro .partnerRow{ padding:14px 14px 14px 18px; gap:14px; }

.partnerCardPro .titleRow{
  display:flex; align-items:flex-start; gap:12px;
}
.partnerCardPro .catGlyph{
  width:44px; height:44px; border-radius:14px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  position:relative;
  flex:0 0 auto;
}
.partnerCardPro[data-cat="cazare"] .catGlyph{ background-image:url("/img/icons/bed.svg"); background-repeat:no-repeat; background-position:center; background-size:22px 22px; }
.partnerCardPro[data-cat="restaurante"] .catGlyph{ background-image:url("/img/icons/food.svg"); background-repeat:no-repeat; background-position:center; background-size:22px 22px; }
.partnerCardPro[data-cat="afaceri-locale"] .catGlyph{ background-image:url("/img/icons/handshake.svg"); background-repeat:no-repeat; background-position:center; background-size:22px 22px; }
.partnerCardPro[data-cat="parteneri"] .catGlyph{ background-image:url("/img/icons/handshake.svg"); background-repeat:no-repeat; background-position:center; background-size:22px 22px; }

.partnerCardPro .tText strong{ font-size:18px; letter-spacing:.2px; }
.partnerCardPro .tText .muted{ display:block; margin-top:2px; opacity:.78; }

.partnerCardPro .metaRight{
  margin-left:auto;
  display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:flex-end;
}
.ratingPill, .badgePill, .metaPill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  font-weight:600;
  font-size:13px;
  white-space:nowrap;
}
.ratingPill img, .metaPill img{ width:14px; height:14px; opacity:.95; }
.badgePill{
  background: rgba(255,255,255,.10);
}

.tagsPro{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.tagPro{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.tagPro .tagIco{ width:16px; height:16px; opacity:.95; }
.tagPro .tagTxt{ font-size:13px; font-weight:600; opacity:.92; }

.partnerActionsPro{
  display:flex; align-items:center; gap:10px;
  margin-top:12px;
}
.partnerActionsPro .quickBtn{
  width:38px; height:38px;
  border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
}
.partnerActionsPro .quickBtn img{ width:18px; height:18px; opacity:.92; }
.partnerActionsPro .btnDetails{ padding:10px 14px; border-radius:12px; }

.photoStripPro{ display:flex; gap:10px; justify-content:flex-end; }
.photoStripPro .ph{
  width:140px; height:84px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background-size:cover;
  background-position:center;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  position:relative;
  overflow:hidden;
}
.photoStripPro .ph::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.38));
}

@media (max-width: 900px){
  .partnerCardPro .partnerRow{ flex-direction:column; }
  .partnerCardPro .metaRight{ margin-left:0; justify-content:flex-start; }
  .photoStripPro{ justify-content:flex-start; overflow-x:auto; padding-bottom:4px; }
  .photoStripPro .ph{ width:180px; height:108px; }
}

/* =========================================================
   Partner detail — PRO
   ========================================================= */

.detailHero{ padding-top:10px; }
.detailHeroGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  align-items:start;

  justify-items: center;
}

/* Detail page layout: stack hero content then photos (touch-friendly) */
.detailHeroLeft{ width:100%; max-width:1100px; text-align:center; }
.detailHeroRight{ width:100%; max-width:1100px; }
.detailHero .detailMetaRow{ justify-content:center; flex-wrap:wrap; }
.detailHero .miniBadgesHero{ justify-content:center; }
.detailHero .detailDesc{ margin-left:auto; margin-right:auto; }
.detailHero .galleryGrid{ width:100%; }

.detailKicker{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight:700;
  font-size:12px;
  letter-spacing:.7px;
  text-transform:uppercase;
  opacity:.92;
}
.detailTitle{ margin-top:10px; font-size:34px; letter-spacing:.2px; }
.detailSub{ margin-top:6px; opacity:.82; }

.detailMetaRow{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.detailDesc{ margin-top:14px; max-width: 68ch; opacity:.92; line-height:1.55; }

  justify-content:center;
.detailActions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.detailActions .btn img{ width:16px; height:16px; margin-right:8px; opacity:.95; }

.detailHighlights{ margin-top:18px; }
.detailHighlights ul{ margin:10px 0 0 18px; }
.detailHighlights li{ margin:6px 0; opacity:.92; }

.galleryGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.gItem{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background-size:cover;
  background-position:center;
  min-height:140px;
  box-shadow: 0 18px 42px rgba(0,0,0,.32);
  overflow:hidden;
  position:relative;
}
.gItem::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.38));
}

.noteSmall{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  font-size:13px;
  opacity:.9;
}

.amenGrid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:10px;
}
.amenItem{
  display:flex; align-items:center; gap:10px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.amenItem img{ width:22px; height:22px; opacity:.95; }
.amenItem span{ font-weight:700; font-size:13px; opacity:.92; }

.hoursGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  max-width:520px;
}
.hoursRow{
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.hoursRow .day{ font-weight:800; opacity:.95; }
.hoursRow .time{ opacity:.85; font-weight:700; }

.mapFrame iframe{ width:100%; height:420px; border:0; border-radius:18px; }
.mapPlaceholder{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}

@media (max-width: 900px){
  .detailHeroGrid{ grid-template-columns: 1fr; }
  .detailTitle{ font-size:28px; }
  .galleryGrid{ grid-template-columns: 1fr 1fr; }
  .amenGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mapFrame iframe{ height:340px; }
}


/* === PRO badges + stars + pinned amenities === */
.ratingPillStars{display:inline-flex;align-items:center;gap:8px}
.stars{position:relative;display:inline-block;font-size:14px;line-height:1;letter-spacing:1px}
.starsBase{opacity:.25}
.starsFill{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap}
.starsNum{font-weight:700;opacity:.95}

.miniBadges{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.miniBadgesHero{margin-top:12px}
.miniBadge{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);font-size:12px;line-height:1;white-space:nowrap}
.miniBadge img{width:14px;height:14px;opacity:.95}
.miniBadge span{opacity:.95}
.miniBadge.bOpen{border-color:rgba(114,255,196,.40);background:rgba(114,255,196,.10)}
.miniBadge.bTop{border-color:rgba(255,214,102,.40);background:rgba(255,214,102,.10)}
.miniBadge.bOfficial{border-color:rgba(120,190,255,.40);background:rgba(120,190,255,.10)}
.miniBadge.bRec{border-color:rgba(255,214,102,.30);background:rgba(255,214,102,.08)}
.miniBadge.bVer{border-color:rgba(160,255,220,.30);background:rgba(160,255,220,.08)}

.amenItem.amenPinned{border-color:rgba(255,214,102,.35);background:rgba(255,214,102,.08)}
.amenItem.amenPinned span{font-weight:700}

@media (max-width: 840px){
  .miniBadges{gap:6px}
  .miniBadge{padding:6px 9px}
  .stars{font-size:13px}
}




/* Google Map embed (detail pages) */
.mapFrame{border-radius:18px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.18)}
.mapFrame .gmap{width:100%; height:360px; border:0; display:block}
@media (max-width: 820px){
  .mapFrame .gmap{height:320px}
}





/* FIX Perioada (fx_dates) – nu depăși chenarul formularului */
.fxForm .fxGrid { 
  overflow: visible; 
}

/* Când fx-form.js transformă "dates" în 2 inputuri, le punem în grid corect */
.fxForm .fxField[data-type="dates"],
.fxForm .fxField.fxDates,
.fxForm .fxDates,
.fxForm .fxDatesWrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
  width: 100%;
  max-width: 100%;
}

/* Inputurile să nu depășească */
.fxForm .fxField[data-type="dates"] input,
.fxForm .fxField.fxDates input,
.fxForm .fxDates input,
.fxForm .fxDatesWrap input {
  width: 100%;
  min-width: 0;
}

/* Mobile: 1 coloană */
@media (max-width: 920px){
  .fxForm .fxField[data-type="dates"],
  .fxForm .fxField.fxDates,
  .fxForm .fxDates,
  .fxForm .fxDatesWrap {
    grid-template-columns: 1fr;
  }
}



/* dacă cardul glass are overflow hidden și taie date picker-ul */
.fxForm, .fxForm .formCard, .fxForm .glassCard, .fxForm .card {
  overflow: visible !important;
}























/* =========================================================
   FIX Cazare: Perioada (fx_dates) -> Sosire/Plecare (fxRange*)
   Scriptul fx-form.js generează: .fxRangeWrap .fxRange .fxMini
   ========================================================= */

.fxForm .fxField { min-width: 0; } /* important în grid */

.fxForm .fxRangeWrap{
  width: 100%;
  max-width: 100%;
}

.fxForm .fxRange{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.fxForm .fxMini{
  min-width: 0;
}

.fxForm .fxRange input[type="date"]{
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Mobile: Sosire/Plecare una sub alta */
@media (max-width: 920px){
  .fxForm .fxRange{
    grid-template-columns: 1fr;
  }
}

/* Dacă un părinte taie (clip) pickerul sau conținutul */
.fxFormWrap, .fxFormWrap *{
  overflow: visible;
}


/* --- Social media docking on partner cards (bottom-right) --- */
.partnerCardPro{ position:relative; }
.partnerCardPro .cardSocialDock{
  position:absolute;
  right:18px;
  bottom:14px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  z-index:3;
}
.partnerCardPro .cardSocialDock .socIco{
  height:36px;
  padding:0 12px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:rgba(10,15,25,.35);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.partnerCardPro .cardSocialDock .socIco img{
  width:18px;
  height:18px;
  display:block;
  opacity:.95;
}

.partnerCardPro .cardSocialDock .socTxt{
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  opacity:.90;
}

/* --- Social card on details page --- */
.detailSocialCard{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  background:rgba(10,15,25,.22);
  border:1px solid rgba(255,255,255,.10);
}
.detailSocialCard h2{
  margin:0 0 10px 0;
  font-size:16px;
  letter-spacing:.2px;
}
.detailSocialBtns{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}
.detailSocialBtns .btn img{
  width:18px;
  height:18px;
  margin-right:8px;
}
@media (max-width: 720px){
  .partnerCardPro .cardSocialDock{ right:12px; bottom:12px; }
  .partnerCardPro .cardSocialDock .socIco{ height:34px; padding:0 10px; border-radius:12px; }
}