/* topografromania.ro — design system
   Replicat după analiza intreabaunrestaurant.ro: navy + galben + verde + mov,
   spațiere generoasă, alternanță alb / gri-deschis între secțiuni. */

:root{
  --navy: #1B3A52;
  --navy-light: #2a394d;
  --yellow: #FFE600;
  --yellow-hover: #ccb800;
  --green: #3AA757;
  --green-hover: #2D8F47;
  --purple: #6B5CE7;
  --purple-hover: #5648c7;
  --bg: #ffffff;
  --bg-alt: #EEF2F7;
  --text: #1A1A2E;
  --text-muted: #4A4A6A;
  --border: #d8e2ec;
  --radius: 0;
  --container: 860px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor:pointer; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
/* container mai lat, doar pentru paginile de profil ale topografilor */
.container-wide{
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header ---------- */
.site-header{
  border-bottom: 0.5px solid #e0e0e0;
  position: sticky; top:0; background:#fff; z-index: 100;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
}
.logo{ display:flex; align-items:center; gap:8px; font-weight:500; font-size:14px; }
.logo-badge{
  width:28px; height:28px; border-radius:0; background:var(--yellow);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.9rem;
  color: var(--navy); flex-shrink:0;
}
.logo-img{ height:45px; width:auto; display:block; }
.footer-brand .logo-img{ height:49px; }
.header-nav{ display:flex; gap:10px; align-items:center; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding: 8px 16px; border-radius:0; font-weight:500; font-size:12px; line-height:1.2;
  border: none; cursor:pointer; transition: background .2s ease, color .2s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn-outline{ background:transparent; border:1.5px solid var(--text); color: var(--text); padding:9px 18px; font-size:13px; }
.btn-outline:hover{ background: rgba(26,26,46,0.06); color: var(--text); }
.btn-yellow{ background: var(--yellow); color:#1a1a1a; }
.btn-yellow:hover{ background: var(--yellow-hover); }
.btn-green{ background: var(--green); color:#fff; }
.btn-green:hover{ background: var(--green-hover); }
.btn-purple{ background: var(--purple); color:#fff; padding:8px 14px; }
.btn-purple:hover{ background: var(--purple-hover); }
.btn-block{ width:100%; }
.btn-sm{ padding:8px 14px; font-size:0.8rem; }
.btn[disabled]{ opacity:.55; cursor:default; }

/* ---------- Hero ---------- */
.hero{ padding: 64px 0 48px; text-align:center; }
.hero h1{
  font-size: 2.5rem; font-weight:800; margin: 0 0 14px; line-height:1.15; color: var(--navy);
}
.hero-lead{
  max-width:620px; margin:0 auto; color: var(--text-muted); font-size:1.05rem; line-height:1.5;
}
.hero-sub{ background: var(--bg-alt); padding: 40px 0; }
.hero-sub h2{
  font-size:1.5rem; font-weight:700; margin:0 0 16px; text-align:center;
}
.accent-underline{
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.hero-sub p{
  max-width: 720px; margin: 0 auto; text-align:center; color: var(--text-muted);
}

/* ---------- Stats bar ---------- */
.stats-bar{ background: var(--navy); color:#fff; padding: 36px 0; }
.stats-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align:center;
}
.stat-num{ font-size: 2.25rem; font-weight:800; color: var(--yellow); line-height:1; margin-bottom:6px; }
.stat-label{ font-size:0.95rem; color:#cfd6de; }

/* ---------- Map ---------- */
/* position+z-index creează un context de stivuire propriu, ca panourile/controalele
   interne ale Leaflet (z-index până la 1000) să nu mai "scape" peste header-ul sticky */
.map-section{ position: relative; z-index: 0; }
.map-2fingers-hint{
  display:none; background: var(--yellow); color:#1a1a1a; text-align:center;
  font-size:0.75rem; font-weight:600; padding:6px 12px;
}
#map{ width:100%; height: 420px; position: relative; z-index: 0; }
.map-hint{ background: var(--bg-alt); padding: 22px 0; }
.map-hint-grid{ display:flex; justify-content:center; }
.map-hint-grid .map-hint-item{ max-width:320px; }
.map-hint-item{
  display:flex; gap:7px; align-items:center; background:#fff; border:1px solid var(--border);
  border-radius:0; padding:7px 9px;
}
.map-hint-icon{
  width:30px; height:30px; border-radius:0; background: var(--bg-alt);
  display:flex; align-items:center; justify-content:center; color: var(--green); flex:none;
}
.hint-svg{ width:16px; height:16px; }

/* Controalele +/- de zoom — mai mari și mai clare, cu etichetă "Zoom" lângă ele */
.leaflet-control-zoom{
  border-radius:0 !important; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.18) !important;
  border:none !important;
}
.leaflet-control-zoom a{
  width:34px !important; height:34px !important; line-height:34px !important;
  font-size:20px !important; font-weight:700 !important; color: var(--navy) !important;
  background:#fff !important;
}
.leaflet-control-zoom a:hover{ background: var(--bg-alt) !important; }
.map-zoom-label{
  margin-top:6px; background: var(--navy); color:#fff; font-size:11px; font-weight:700;
  padding:3px 9px; border-radius:0; text-align:center; box-shadow:0 2px 6px rgba(0,0,0,0.18);
}

/* Popup pe hartă — galben, ca butonul Contact din header */
.map-popup-wrap .leaflet-popup-content-wrapper{ background:#fff; border-radius:0; box-shadow:0 6px 16px rgba(0,0,0,0.18); }
.map-popup-wrap .leaflet-popup-content{ margin:12px 14px; }
.map-popup-wrap .leaflet-popup-tip{ background:#fff; }
.map-popup-below .leaflet-popup-tip-container{ display:none; }
/* Leaflet lasă implicit 20px sub popup (pentru săgeată) — îl scoatem, ca offsetul din JS să mute
   popup-ul curat sub pin, nu doar să reducă golul de deasupra */
.map-popup-below.leaflet-popup{ margin-bottom:0 !important; }
.map-popup-wrap .leaflet-popup-close-button{ color:#1a1a1a !important; }
.map-popup-nume{ font-weight:700; font-size:14px; color:#1a1a1a; }
.map-popup-oras{ font-size:12px; color: var(--text-muted); margin:2px 0 9px; }
.map-popup-actions{ display:flex; gap:6px; flex-wrap:wrap; }
.map-popup-btn{ font-size:11px; font-weight:600; padding:5px 10px; border-radius:0; text-decoration:none; white-space:nowrap; }
.map-popup-btn-outline{ background:transparent; border:1.3px solid var(--yellow); color:#1a1a1a; }
.map-popup-btn-solid{ background: var(--yellow); color:#1a1a1a; border:1.3px solid var(--yellow); }
.map-hint strong{ display:block; font-size:0.64rem; margin-bottom:-4px; line-height:1; }
.map-hint span{ color: var(--text-muted); font-size:0.58rem; line-height:1; }

@media (max-width: 800px){
  .map-hint-grid{ grid-template-columns: 1fr; }
  .map-2fingers-hint{ display:block; }
}

/* ---------- Cum funcționează (template) ---------- */
.howto{ padding: 48px 0; }
.howto h3{ font-size:1.4rem; font-weight:700; margin-bottom:8px; }
.howto > .container > p{ color: var(--text-muted); max-width:700px; margin: 0 0 24px; }
.quote-box{
  border-left: 4px solid var(--yellow);
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--yellow);
  border-radius:0;
  padding: 22px 24px; max-width: 760px;
}
.quote-box p{ font-style: italic; margin: 0 0 16px; color: var(--text); }

/* ---------- Listă topografi ---------- */
.list-section{ padding: 32px 0; background: var(--bg); }
.list-head{
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  margin-bottom: 16px;
}
.list-head h2{ font-size:18px; font-weight:700; margin:0; }
.search-box{ position:relative; flex:1; max-width:280px; min-width:180px; }
.search-box input{
  width:100%; padding: 8px 10px 8px 30px; border-radius:0; border:0.5px solid #d0d0d0;
  font-size:13px; background: var(--bg-alt); outline:none;
}
.search-box svg{ position:absolute; left:10px; top:50%; transform:translateY(-50%); color:var(--text-muted); width:14px; height:14px; opacity:0.4; }
.list-count{ color: var(--text-muted); font-size:12px; margin: 0 0 10px; }

.card{
  background: var(--bg-alt); border-radius:0;
  padding: 12px 16px; margin-bottom: 20px;
}
.card.is-highlighted{ border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.card h3{ margin:0 0 4px; font-size:14px; font-weight:700; }
.card-title-link{ color: var(--text); }
.card-title-link:hover{ text-decoration: underline; }
.card-head{ display:flex; gap:14px; align-items:flex-start; margin-bottom:7px; }
.card-thumb-link{ display:block; flex:none; }
.card-thumb{ width:46px; height:46px; border-radius:0; object-fit:cover; flex:none; }
.card-thumb-fallback{
  display:flex; align-items:center; justify-content:center; background: var(--navy); color:#fff;
  font-weight:800; font-size:1rem;
}
.card .addr{ color: var(--text-muted); font-size:12px; margin: 2px 0 0; }
.badge-verificat{
  display:inline-flex; align-items:center; gap:4px; background:#e9f5ea; color:var(--green-hover);
  font-size:0.75rem; font-weight:700; padding:3px 8px; border-radius:0; margin-left:8px;
}
.icon-row{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.icon-badge{
  width:30px; height:30px; border-radius:0; border:0.5px solid #d0d0d0; background:#fff;
  display:flex; align-items:center; justify-content:center; color: var(--text); flex:none; cursor:pointer;
}
.icon-badge:hover{ background: var(--bg-alt); }
.icon-badge .chip-svg{ width:15px; height:15px; }
.contact-chip{
  display:inline-flex; align-items:center; gap:5px; padding:4px 9px; border-radius:0;
  border:1px solid var(--border); background:#fff; color: var(--text); font-size:0.78rem; font-weight:400;
}
.contact-chip:hover{ background: var(--bg-alt); }
.contact-chip .chip-icon{ font-size:1rem; line-height:1; display:inline-flex; }
.chip-svg{ width:13px; height:13px; fill: currentColor; display:block; }

.google-badge-row{ padding-top:9px; border-top:0.5px solid var(--border); }
.google-badge{
  display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:0;
  border:1px solid var(--border); background:#fff; font-size:0.78rem; color: var(--text-muted);
}
.google-badge:hover{ background: var(--bg-alt); }
.google-g{ width:14px; height:14px; flex:none; }
.google-badge svg.chip-svg{ width:14px; height:14px; flex:none; color:#1877F2; }
.google-badge-text{ display:flex; align-items:center; gap:5px; flex-wrap:wrap; }
.google-badge-text strong{ color: var(--text); }
.google-stars{ color:#FBBC05; letter-spacing:0px; font-size:0.85em; }
.google-count{ color: var(--text-muted); }
.google-cta{ color: var(--purple); font-weight:600; text-decoration:underline; }
.card-actions{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.card-actions .btn{ flex:1; min-width: 180px; }
.card-actions .btn-green{ padding-top:7px; padding-bottom:7px; }
.card-actions .btn-outline{ padding-top:8px; padding-bottom:8px; }
/* ---------- Blog ---------- */
.blog-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; margin-top:24px; }
.blog-card{
  display:block; background: var(--bg-alt); border:1px solid var(--border); border-radius:0;
  overflow:hidden; color: var(--text);
}
.blog-card:hover{ box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.blog-card-img{ width:100%; height:170px; object-fit:cover; display:block; background:#fff; }
.blog-card-img-fallback{ display:flex; align-items:center; justify-content:center; font-size:2rem; }
.blog-card-body{ padding:16px; }
.blog-card-date{ font-size:0.75rem; color: var(--text-muted); }
.blog-card h2{ font-size:1rem; margin:6px 0 8px; }
.blog-card p{ font-size:0.88rem; color: var(--text-muted); margin:0; line-height:1.5; }
.article-content p{ margin: 0 0 18px; line-height:1.7; color: var(--text); }
.article-content h2{ font-size:1.35rem; font-weight:700; margin: 36px 0 14px; color: var(--navy); }
.article-content h2:first-child{ margin-top:0; }
.article-content h3{ font-size:1.05rem; font-weight:700; margin: 22px 0 8px; color: var(--navy); }
.article-content ul{ margin:0 0 18px; padding-left:20px; }
.article-content li{ margin-bottom:8px; line-height:1.6; color: var(--text); }

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

.pagination{ display:flex; gap:8px; justify-content:center; margin: 28px 0 8px; flex-wrap:wrap; }
.pagination a, .pagination span{
  padding: 8px 14px; border-radius:0; border:1px solid var(--border); background:#fff; font-size:0.9rem;
}
.pagination .active{ background: var(--yellow); border-color: var(--yellow); font-weight:700; }
.pagination .disabled{ opacity:.5; pointer-events:none; }

.suggest-row{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin-top: 24px;
}
.suggest-row p{ margin:0; color: var(--text-muted); }

/* ---------- De ce (3 carduri) ---------- */
.why-section{ padding: 56px 0; text-align:center; }
.why-section h2{ font-size:1.5rem; font-weight:700; display:inline-block; margin-bottom:32px; position:relative; }
.squiggle{
  display:block; width:90px; height:3px; margin:8px auto 0;
  background: var(--green); border-radius:0;
}
.why-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; text-align:left; }
.why-card{
  background:#fff; border:1px solid var(--border); border-radius:0; padding:24px;
}
.why-card strong{ display:block; margin-bottom:8px; font-size:1.05rem; }
.why-quote{ max-width:640px; margin: 32px auto 0; font-style:italic; color: var(--text-muted); }

/* ---------- Bandă „De ce facem asta" ---------- */
.about-banner{ background: var(--navy); color:#fff; padding: 44px 0; text-align:center; }
.profile-cta-banner{ background:#e8ecfa; padding: 40px 0; }
.profile-cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.profile-cta-banner h3{ margin:0 0 6px; font-size:1.35rem; }
.profile-cta-banner p{ margin:0; color: var(--text-muted); }
.about-banner h2{ font-size:1.5rem; margin:0 0 20px; }
.about-section{ padding: 48px 0; }
.about-section h2{ font-size:1.4rem; font-weight:700; margin-bottom:16px; }
.about-section p{ color: var(--text-muted); margin: 0 0 16px; max-width: 760px; }

/* ---------- Newsletter footer ---------- */
.newsletter{ background: var(--navy); color:#fff; padding: 44px 0; }
.newsletter .container{
  display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; align-items:flex-start;
}
.newsletter h3{ font-size:1.3rem; margin:0 0 8px; }
.newsletter p{ color:#cfd6de; max-width:360px; margin:0; }
.newsletter form{ min-width:320px; flex:1; max-width: 480px; }
.newsletter .checkbox-row{ display:flex; align-items:center; gap:8px; margin-bottom:14px; font-size:0.85rem; color:#cfd6de; }
.newsletter .checkbox-row a{ color: var(--yellow); text-decoration: underline; }
.field-row{ display:flex; gap:10px; margin-bottom:10px; }
.field-row input{ flex:1; }
.newsletter input[type=text], .newsletter input[type=email]{
  width:100%; padding:11px 14px; border-radius:0; border:1px solid #3a4a5e;
  background: var(--navy-light); color:#fff; font-size:0.95rem;
}
.newsletter input::placeholder{ color:#9aa7b4; }
.subscribe-row{ display:flex; gap:10px; }
.subscribe-row input{ flex:1; }
.newsletter small{ display:block; margin-top:8px; color:#8b97a5; }

/* Footer principal — 4 coloane */
.site-footer-main{ background: var(--bg-alt); padding: 48px 0; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:32px; }
.footer-col h4{ font-size:0.95rem; margin:0 0 14px; }
.footer-col ul{ list-style:none; margin:0; padding:0; }
.footer-col li{ margin-bottom:9px; }
.footer-col a{ color: var(--text-muted); font-size:0.88rem; }
.footer-col a:hover{ color: var(--navy); text-decoration:underline; }
.footer-brand .logo{ margin-bottom:12px; }
.footer-brand p{ color: var(--text-muted); font-size:0.85rem; line-height:1.55; max-width:280px; margin:0; }

.site-footer-bottom{ background: var(--navy-light); color:#9aa7b4; padding:16px 0; font-size:0.8rem; }
.site-footer-bottom-inner{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.site-footer-bottom-inner a{ color:#cfd6de; }
.site-footer-bottom-inner a:hover{ color:#fff; }

/* Bară de cookie-uri, fixă jos, pe toate paginile */
.cookie-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:500;
  background: var(--navy); color:#cfd6de; padding:16px 0;
  box-shadow:0 -4px 16px rgba(0,0,0,0.2);
}
.cookie-bar-inner{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:nowrap;
  max-width:1600px; margin:0 auto; padding:0 24px;
}
.cookie-bar-inner p{ margin:0; font-size:0.85rem; line-height:1.5; flex:1; min-width:0; }
.cookie-bar-inner a{ color:#fff; text-decoration:underline; }
.cookie-bar-actions{ display:flex; gap:10px; flex:none; white-space:nowrap; }
.cookie-bar-actions .btn-outline{ border-color:#4a5f72; color:#fff; }
.cookie-bar-actions .btn-outline:hover{ background: var(--navy-light); }
@media (max-width:900px){
  .cookie-bar-inner{ flex-wrap:wrap; flex-direction:column; align-items:stretch; text-align:center; }
  .cookie-bar-actions{ justify-content:center; }
}

@media (max-width: 800px){
  .footer-grid{ grid-template-columns: repeat(2,1fr); }
  .site-footer-bottom-inner{ justify-content:center; text-align:center; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- Formulare (rezervare / mesaj / pagini simple) ---------- */
.page-section{ padding: 56px 0; }
.form-card{
  background:#fff; border:1px solid var(--border); border-radius:0;
  padding: 32px; max-width: 640px; margin: 0 auto;
}
.form-card h1{ font-size:1.6rem; margin: 0 0 6px; }
.form-card .sub{ color: var(--text-muted); margin: 0 0 24px; }
.form-group{ margin-bottom:16px; }
.form-group label{ display:block; font-weight:600; margin-bottom:6px; font-size:0.9rem; }
.form-group input, .form-group textarea, .form-group select{
  width:100%; padding: 11px 14px; border-radius:0; border:1px solid var(--border); font-size:0.95rem; font-family:inherit;
}
.form-group textarea{ min-height: 120px; resize:vertical; }
.form-note{ font-size:0.85rem; color: var(--text-muted); margin-top: 6px; }
.alert{ padding:14px 16px; border-radius:0; margin-bottom:20px; font-size:0.92rem; }
.alert-success{ background:#e9f5ea; color:#2f6b33; border:1px solid #bfe3c2; }
.alert-error{ background:#fdecec; color:#9c2b2b; border:1px solid #f3c2c2; }

/* ---------- Pagina de profil topograf (landing page, nu profil social) ---------- */
.profile-hero{ background:#fff; padding: 32px 0 44px; }
.breadcrumb-light{ color: var(--text-muted); }

.profile-cover{ width:100%; height:260px; overflow:hidden; background: var(--border); margin-bottom:28px; }
.profile-cover img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:640px){ .profile-cover{ height:160px; } }

/* rând de "brand": logo mic + nume + badge — ca antetul unui site, nu ca un avatar mare de profil */
.profile-brand-row{ display:flex; align-items:center; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
.profile-logo{
  width:34px; height:34px; object-fit:cover; flex:none; background:#fff; border:1px solid var(--border);
}
.profile-logo-fallback{
  display:flex; align-items:center; justify-content:center; background: var(--navy); color:#fff;
  font-size:0.9rem; font-weight:800;
}
.profile-brand-name{ font-size:0.85rem; font-weight:700; color: var(--text-muted); text-transform:uppercase; letter-spacing:0.03em; }

.profile-hero-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:40px; align-items:center; }
.profile-eyebrow{
  display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid var(--border);
  padding:5px 12px; font-size:0.78rem; font-weight:600; color: var(--green-hover); margin-bottom:14px;
}
.profile-eyebrow .hint-svg{ width:14px; height:14px; flex:none; }
.profile-hero h1{ margin:0 0 10px; font-size:2.1rem; font-weight:800; line-height:1.2; }
.profile-hero-desc{ margin:0 0 22px; color: var(--text-muted); font-size:1rem; max-width:520px; }
.profile-hero-actions{ margin-bottom:24px; }
.profile-hero-actions .btn{ flex:none; min-width:0; }
.profile-hero-phone{ margin:0 0 24px; font-size:0.85rem; color: var(--text-muted); }
.profile-hero-phone a{ color: var(--text); font-weight:600; text-decoration:underline; }
.profile-trust-row{ display:flex; margin-bottom:22px; }

.profile-trust-icons{ display:grid; grid-template-columns: repeat(3,1fr); gap:16px; max-width:460px; }
.profile-trust-icons .ti{ display:flex; gap:8px; align-items:flex-start; }
.profile-trust-icons .ti-icon{ color: var(--green); flex:none; margin-top:1px; }
.profile-trust-icons .ti strong{ display:block; font-size:0.78rem; }
.profile-trust-icons .ti span{ display:block; font-size:0.68rem; color: var(--text-muted); line-height:1.3; }

.profile-hero-media{ position:relative; }
.profile-hero-media img{ width:100%; height:340px; object-fit:cover; box-shadow:0 20px 50px rgba(20,30,60,0.14); }
.profile-hero-float-card{
  position:absolute; left:-20px; bottom:-20px; background:#fff; border:1px solid var(--border);
  padding:14px 18px; display:flex; gap:10px; align-items:center; box-shadow:0 8px 24px rgba(0,0,0,0.12); max-width:260px;
}
.profile-hero-float-card .ti-icon{ color: var(--green); flex:none; }
.profile-hero-float-card strong{ display:block; font-size:0.82rem; }
.profile-hero-float-card span{ display:block; font-size:0.72rem; color: var(--text-muted); }

.profile-nav{ background: var(--yellow); position:sticky; top:0; z-index:30; }
.profile-nav-inner{ display:flex; gap:20px; overflow-x:auto; padding-top:8px; padding-bottom:8px; }
.profile-nav-inner a{
  font-weight:600; font-size:0.8rem; color: var(--navy); white-space:nowrap;
  opacity:0.65; transition: opacity 0.15s ease;
}
.profile-nav-inner a:hover{ text-decoration:underline; }
.profile-nav-inner a.active{ opacity:1; text-decoration:underline; text-underline-offset:4px; }

/* Servicii — carduri cu iconițe, fundal comun cu bara de statistici de mai jos */
.profile-services-section{ background: var(--bg-alt); padding-bottom:40px; }
.services-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; margin-top:28px; }
.service-card{ background:#fff; border:1px solid var(--border); padding:20px; }
.service-card .si-icon{
  width:40px; height:40px; border-radius:9px; background: var(--bg-alt); color: var(--navy); display:flex;
  align-items:center; justify-content:center; margin-bottom:14px;
}
.service-card h3{ margin:0 0 6px; font-size:0.95rem; }
.service-card p{ margin:0 0 10px; font-size:0.82rem; color: var(--text-muted); line-height:1.4; }
.service-link{ font-size:0.82rem; font-weight:600; color: var(--purple); }
.service-link:hover{ text-decoration: underline; }

/* Statistici reale (nu inventate) */
.profile-stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; text-align:center; border-top:1px solid var(--border); padding-top:32px; }
.profile-stat .ps-icon{ display:block; margin:0 auto 8px; color: var(--navy); width:22px; height:22px; }
.profile-stat .ps-icon svg{ width:22px; height:22px; }
.profile-stat .ps-num{ font-size:1.5rem; font-weight:800; color: var(--navy); }
.profile-stat .ps-label{ font-size:0.75rem; color: var(--text-muted); }

/* Despre — imagine + text */
.about-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap:40px; align-items:center; }
.about-grid img{ width:100%; height:320px; object-fit:cover; }

/* Cum lucrăm — pași orizontali cu linie de legătură */
.stepper{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.step{ flex:1; text-align:center; position:relative; }
.step-num{
  display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px;
  background: var(--yellow); color:#1a1a1a; font-size:0.7rem; font-weight:800; margin-bottom:6px;
}
.step-num-lg{
  width:40px; height:40px; font-size:1.15rem; margin:0 auto 12px;
}
.step strong{ display:block; font-size:0.85rem; margin-bottom:4px; }
.step p{ margin:0; font-size:0.75rem; color: var(--text-muted); line-height:1.4; }
.step-connector{ flex:none; width:40px; height:1px; background: var(--border); margin-top:22px; border-top:1px dashed var(--border); }

/* Recenzii — rating agregat, real */
.recenzii-block{ text-align:center; }
.recenzii-block h2{ margin-bottom:12px; }
.recenzii-sub{ display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; color: var(--text-muted); font-size:0.95rem; }
.recenzii-sub strong{ color: var(--text); }
.recenzii-sub .rb-badge{
  background:#e9f5ea; color: var(--green-hover); padding:4px 10px; font-weight:700; font-size:0.8rem;
}
.recenzii-sub .rb-stars{ color:#FBBC05; font-size:1.1rem; letter-spacing:1px; }
.recenzii-sub .rb-fb-icon{ color:#1877F2; display:inline-flex; align-items:center; }
.recenzii-sub .rb-fb-icon svg{ width:18px; height:18px; }

/* Carduri cu recenzii individuale reale (introduse manual din admin), stil Google, cu 3 vizibile + slide */
/* Track-ul ocupă mereu lățimea completă, indiferent dacă apar săgețile — evită carduri
   mai înguste doar pentru că sunt >3 recenzii. Săgețile plutesc peste track, nu îl îngustează. */
.reviews-carousel{ position:relative; margin-top:32px; }
.reviews-track{
  display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  width:100%; padding:14px 18px 22px;
}
.reviews-track::-webkit-scrollbar{ display:none; }
.reviews-track{ scrollbar-width:none; }
.reviews-nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:36px; height:36px; border-radius:50%; border:1px solid var(--border); background:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer; color: var(--navy);
  box-shadow:0 2px 8px rgba(20,30,60,0.08);
}
.reviews-prev{ left:-18px; }
.reviews-next{ right:-18px; }
.reviews-nav:hover{ background: var(--bg-alt); }
.reviews-nav svg{ width:18px; height:18px; }
.review-card{
  background:#fff; border:1px solid var(--border); padding:18px; text-align:left;
  box-shadow:0 4px 16px rgba(20,30,60,0.06);
  flex:0 0 calc((100% - 32px) / 3); scroll-snap-align:start; min-width:220px;
}
.review-head{ display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; }
.review-avatar{
  width:38px; height:38px; border-radius:50%; flex:none; color:#fff; font-weight:700; font-size:1rem;
  display:flex; align-items:center; justify-content:center;
}
.review-head-text{ flex:1; min-width:0; }
.review-name-row{ display:flex; align-items:center; gap:6px; }
.review-name-row strong{ font-size:0.9rem; color: var(--navy); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.review-google{ flex:none; width:16px; height:16px; }
.review-source-facebook{ color:#1877F2; }
.review-source-facebook .chip-svg{ width:16px; height:16px; }
.review-google svg{ width:16px; height:16px; display:block; }
.review-time{ display:block; font-size:0.75rem; color: var(--text-muted); margin-top:1px; }
.review-rating-row{ display:flex; align-items:center; gap:6px; margin-bottom:10px; }
.review-rating-row .review-stars{ color:#FBBC05; font-size:0.9rem; letter-spacing:1px; }
.review-rating-row .review-verified{ color:#1a73e8; width:15px; height:15px; }
.review-rating-row .review-verified svg{ width:15px; height:15px; }
.review-text{
  margin:0; font-size:0.85rem; color: var(--text); line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
}
@media (max-width: 900px){
  .review-card{ flex-basis:88%; }
  .review-name-row strong{ white-space:normal; overflow:visible; text-overflow:clip; }
}

/* ============ Fidelitate cu mockup-ul, doar pe pagina de profil (topograf.php) ============ */
.topograf-page .btn{ border-radius:8px; }
.topograf-page .profile-eyebrow{ border-radius:999px; }
.topograf-page .badge-verificat{ border-radius:999px; }
.topograf-page .profile-logo{ border-radius:8px; }
.topograf-page .profile-hero-media img{ border-radius:16px; }
.topograf-page .profile-hero-float-card{
  border-radius:14px; left:auto; right:-18px; bottom:-18px; max-width:230px;
}
.topograf-page .profile-hero-float-card .ti-icon{
  width:32px; height:32px; border-radius:8px; background:#eef2ff; color:#4f46e5;
  display:flex; align-items:center; justify-content:center;
}
.topograf-page .service-card{ border-radius:14px; }
.topograf-page .service-card .si-icon{ background:#eef2ff; color:#4f46e5; border-radius:10px; }
.topograf-page .profile-stats-band{ background:#eef2fb; border-radius:18px; padding:32px 24px; margin-top:40px; }
.topograf-page .profile-stats-band .profile-stats-grid{
  display:flex; flex-wrap:wrap; justify-content:center; border-top:none; padding-top:0;
}
.topograf-page .profile-stats-band .profile-stat{
  background:#fff; border-radius:14px; padding:20px 32px; min-width:160px;
}
.topograf-page .why-text{ max-width:760px; }
.topograf-page .why-text p{ margin:0 0 14px; line-height:1.6; }
.topograf-page .why-text strong{ color: var(--navy); }
.topograf-page .about-grid img{ border-radius:16px; }
.topograf-page .step-num{ border-radius:999px; }
.topograf-page .faq-item{ border-radius:10px; }
.topograf-page .contact-chip{ border-radius:999px; }
.topograf-page .portfolio-card{ border-radius:14px; overflow:hidden; }
.topograf-page .price-table{ border-radius:14px; overflow:hidden; }
.topograf-page #profile-map{ border-radius:14px; }
.topograf-page .recenzii-block .rb-badge{ border-radius:999px; }
.topograf-page .review-card{ border-radius:14px; }
.topograf-page .form-card{ border-radius:14px; }
.topograf-page .profile-hero-address{ margin:0 0 24px; font-size:0.88rem; color: var(--text-muted); }
.topograf-page .profile-hero-address a{ color: var(--text); font-weight:600; text-decoration:underline; }

/* Butoane plutitoare de contact rapid (WhatsApp + telefon), configurabile per topograf din admin */
.profile-float-actions{
  position:fixed; right:24px; bottom:24px; z-index:200;
  display:flex; flex-direction:column; gap:12px;
}
.profile-float-btn{
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,0.22); transition:transform 0.15s ease;
}
.profile-float-btn:hover{ transform:scale(1.06); }
.profile-float-btn svg{ width:26px; height:26px; }
.profile-float-whatsapp{ background:#25D366; color:#fff; }
.profile-float-phone{ background: var(--yellow); color: var(--navy); }
@media (max-width:640px){
  .profile-float-actions{ right:16px; bottom:16px; gap:10px; }
  .profile-float-btn{ width:50px; height:50px; }
  .profile-float-btn svg{ width:22px; height:22px; }
}

@media (max-width: 900px){
  .profile-hero-grid{ grid-template-columns: 1fr; }
  .profile-hero-media{ order:-1; }
  .profile-trust-icons{ grid-template-columns: repeat(2,1fr); max-width:none; }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .about-grid{ grid-template-columns: 1fr; }
  .stepper{ flex-direction:column; align-items:stretch; }
  .step-connector{ display:none; }
}
@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr; }
  .profile-stats-grid{ grid-template-columns: repeat(2,1fr); gap:20px; }
}

.profile-section{ padding: 44px 0; }
.profile-section h2{ font-size:1.3rem; font-weight:700; margin: 0 0 18px; }
.profile-section p{ color: var(--text); max-width: 760px; }
.text-muted{ color: var(--text-muted); }

.check-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:12px 24px; max-width: 820px; }
.check-list li{ display:flex; gap:10px; align-items:flex-start; }
.check-list .check{ color: var(--green); font-weight:700; }

.portfolio-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.portfolio-card{ background:#fff; border:1px solid var(--border); border-radius:0; overflow:hidden; }
.portfolio-card img{ width:100%; height:160px; object-fit:cover; }
.portfolio-placeholder{
  width:100%; height:160px; background: var(--bg-alt); display:flex; align-items:center; justify-content:center; font-size:2.2rem;
}
.portfolio-body{ padding:14px 16px; }
.portfolio-body h3{ margin:0 0 6px; font-size:1rem; }
.portfolio-body p{ margin:0; font-size:0.88rem; color: var(--text-muted); }

.price-table{ background:#fff; border:1px solid var(--border); border-radius:0; max-width:640px; overflow:hidden; }
.price-row{ display:flex; justify-content:space-between; padding:14px 18px; border-bottom:1px solid var(--border); }
.price-row:last-child{ border-bottom:none; }
.price-name{ font-weight:600; }
.price-val{ color: var(--green-hover); font-weight:700; }

/* "Cum lucrăm" — pași numerotați */
.pasi-grid{ display:grid; grid-template-columns: repeat(5,1fr); gap:16px; }
.pas-card{ background:#fff; border:1px solid var(--border); padding:18px 16px; }
.pas-num{ display:block; font-size:1.5rem; font-weight:800; color: var(--yellow-hover); margin-bottom:8px; }
.pas-card strong{ display:block; margin-bottom:6px; font-size:0.95rem; }
.pas-card p{ margin:0; font-size:0.85rem; color: var(--text-muted); line-height:1.45; }

/* FAQ — accordion nativ (details/summary) */
.faq-list{ max-width:760px; }
.faq-item{ background:#fff; border:1px solid var(--border); padding:10px 14px; margin-bottom:8px; }
.faq-item summary{ font-weight:600; font-size:0.88rem; cursor:pointer; list-style:none; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::before{ content:'+ '; color: var(--green); font-weight:800; }
.faq-item[open] summary::before{ content:'– '; }
.faq-item p{ margin:8px 0 0; font-size:0.85rem; color: var(--text-muted); line-height:1.5; }

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

.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:32px; align-items:center; }
.contact-info p{ margin: 0 0 16px; line-height:1.5; }
#profile-map{ width:100%; height:280px; border-radius:0; overflow:hidden; position: relative; z-index: 0; }

@media (max-width: 900px){
  .portfolio-grid{ grid-template-columns: repeat(2,1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .check-list{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .portfolio-grid{ grid-template-columns: 1fr; }
  .profile-hero h1{ font-size:1.6rem; }
  .profile-nav{ top:0; }
}

/* ---------- Utilitare ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.section-alt{ background: var(--bg-alt); }
.breadcrumb{ color: var(--text-muted); font-size:0.85rem; margin-bottom:16px; }
.breadcrumb a{ color: var(--navy); text-decoration:underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .why-grid{ grid-template-columns: 1fr; }
  .newsletter .container{ flex-direction:column; }
}
@media (max-width: 640px){
  .hero h1{ font-size:1.8rem; }
  .hero-sub h2{ font-size:1.2rem; }
  .stats-grid{ grid-template-columns: repeat(3,1fr); gap:10px; }
  .stat-num{ font-size:1.5rem; }
  .stat-label{ font-size:0.75rem; }
  .site-header .container{ height:auto; padding-top:12px; padding-bottom:12px; flex-wrap:nowrap; gap:10px; }
  .logo-img{ height:37px; }
  .card-actions .btn{ min-width: 100%; }
  .list-head{ flex-direction:column; align-items:flex-start; }
  .search-box input{ min-width: 100%; }
  .field-row{ flex-direction:column; }
  .subscribe-row{ flex-direction:column; }
  #map{ height: 320px; }
}
