/* =========================
   TapiClean — Cleaned CSS
   (duplicates removed + conflicts fixed)
   ========================= */

/* ---------- Variables ---------- */
:root{
  /* Brand blues */
  --blue-dark:  #0A2E5C;   /* TAPI */
  --blue-main:  #005FA3;   /* tranziție */
  --blue-light: #00AEEF;   /* clean / bule */

  --gradient-main: linear-gradient(
    90deg,
    var(--blue-dark) 0%,
    var(--blue-dark) 35%,
    var(--blue-main) 65%,
    var(--blue-light) 100%
  );

  /* UI */
  --text: #0b223a;
  --bg: #ffffff;
  --muted: rgba(10, 46, 92, 0.72);
  --border: rgba(10, 46, 92, 0.10);
  --soft: rgba(10, 46, 92, 0.03);
}

/* ---------- Base ---------- */
*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }

.container{
  max-width: 1240px;
  width: 94%;
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.center{ text-align:center; }
.mt-24{ margin-top:24px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--border);
  font-weight:600;
}

.btn-primary{
  background: var(--gradient-main);
  color:#fff;
  border:none;
}
.btn-primary:hover{ filter: brightness(1.05); }

.btn-ghost{ background:#fff; }

/* ---------- Header ---------- */
.site-header{ width:100%; padding:16px 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }

/* Layout: logo left, everything else right */
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}

.logo{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-right:auto; /* force left */
}

.header-right{
  display:flex;
  align-items:center;
  gap: 22px; /* IMPORTANT: keeps groups separated */
}

/* Navigation row */
.nav{
  display:flex;
  align-items:center;
  gap: 26px; /* IMPORTANT: spacing between links */
}

.nav a,
.nav .nav-dropdown-toggle{
  padding: 8px 2px;
  line-height: 1;
  white-space: nowrap;
}

/* dropdown toggle should look like link */
.nav-dropdown-toggle{
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.nav-toggle{ display:none; }

.mobile-nav{
  border-top:1px solid var(--border);
  padding:12px 0;
}
.mobile-nav a{ display:block; padding:10px 4%; }

/* Mobile dropdown (Servicii) */
.mobile-dropdown{ padding: 6px 4%; }
.mobile-dropdown summary{ cursor:pointer; font-weight: 800; color: var(--blue-dark); padding: 10px 0; }
.mobile-dropdown a{ padding: 8px 0; opacity: .92; }


/* ---------- Social icons (TopDog style) ---------- */
.nav-social{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-left: 6px; /* small buffer after menu */
}

.nav-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  padding:0;
  background:transparent;
  opacity:.85;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-social svg{
  width:18px;
  height:18px;
  fill: rgba(10,46,92,0.75);
  color: rgba(10,46,92,0.75);
  transition: color .2s ease, fill .2s ease;
}

.nav-social a:hover{ opacity:1; transform: translateY(-1px); }
.nav-social a:hover svg{ fill: rgba(10,46,92,1); color: rgba(10,46,92,1); }

/* ---------- Dropdown (Services) ---------- */
.has-dropdown{ position: relative; }

.dropdown{
  position:absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  padding: 10px;
  border-radius: 16px;

  background: rgba(10, 46, 92, 0.92);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 40px rgba(10,46,92,0.22);
  backdrop-filter: blur(10px);

  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.dropdown a{
  display:block;
  padding:12px;
  border-radius: 12px;
  color: rgba(255,255,255,0.95);
  font-weight:700;
}
.dropdown a:hover{ background: rgba(255,255,255,0.10); }

/* buffer so it doesn't close when moving mouse */
.has-dropdown::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:100%;
  height:14px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform: translateX(-50%) translateY(-2px);
}

/* ---------- Hero ---------- */
.hero{
  padding: 40px 0 70px;
  background:
    radial-gradient(circle at top right, rgba(0,179,255,0.08), transparent 60%);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch; /* match columns height */
}

.hero-left{
  display: flex;
  flex-direction: column;
  min-height: var(--hero-media-h);
}

.hero-content{
  height: 100%;
  display:flex;
  flex-direction: column;
}

.hero-media{ height:100%; }

.hero-media img{
  width:100%;
  height:100%;
  min-height: 580px;
  max-height: 600px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
  display: block;
}

/* Hero title */
.hero h1{
  font-size: 44px;
  line-height: 1.15;
  margin: 14px 0 18px;
  color: var(--blue-dark);
  letter-spacing: -0.3px;
}

.text-gradient{
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 120%;
}

/* Location badge (discreet + reversed-ish) */
.location-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;

  background: linear-gradient(180deg, #0A2E5C, #0077C8, #007ca9);
  color:#fff;
  font-size: 13px;
  font-weight: 500;

  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.location-icon{ font-size: 14px; line-height: 1; }

.lead{
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 18px;
}

/* Check list (no bullets) */
.trust-points{
  list-style: none;
  padding-left: 0;
  margin: 16px 0 0;
}

.trust-points li{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}

/* Trust bar 2 cols / 2 rows */
.hero-trust{
  margin-top: 18px;
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
}

.trust-item{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 14px;
  color: #0A2E5C;
  opacity: .9;
}

/* Buttons pushed to bottom (align with image bottom) */
.hero-cta{
  margin-top: auto;
  padding-top: 18px;
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sections / Cards (general) ---------- */
.section{ padding:54px 0; }
.section-muted{
  background: var(--soft);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.section-head{ margin-bottom:18px; }
.section-head h2{ margin:0 0 6px; font-size:30px; }
.section-head p{ margin:0; color:var(--muted); }

.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.card{
  padding:16px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}
.card h3{ margin:0 0 6px; }
.card p{ margin:0; color:var(--muted); }

.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.feature{
  padding:16px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.shot{
  margin:0;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.shot figcaption{
  padding:12px;
  color:var(--muted);
  font-size:14px;
}

.steps{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:10px;
}
.steps h3{ margin:0 0 6px; }
.steps p{ margin:0; color:var(--muted); }

.reviews{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.review{
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  background:#fff;
}
.review-text{ margin:0 0 10px; }
.review-meta{ margin:0; color:var(--muted); }

.faq details{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
  margin-bottom:10px;
}
.faq summary{ font-weight:700; cursor:pointer; }
.faq p{ margin:10px 0 0; color:var(--muted); }

/* ---------- CTA ---------- */
.cta{
  padding:44px 0;
  border-top:1px solid var(--border);
}
.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
}
.cta-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.site-footer{
  padding:34px 0;
  border-top:1px solid var(--border);
  background:#fff;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap:18px;
}

.site-footer h3{ margin:0 0 10px; }
.site-footer ul{ list-style:none; margin:0; padding:0; }
.site-footer li{ margin:8px 0; }

.footer-bottom{
  padding-top:14px;
  margin-top:14px;
  border-top:1px solid var(--border);
}

/* Footer social */
.footer-social{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:14px;
}
.footer-social a{
  display:inline-flex;
  width:22px;
  height:22px;
  opacity:.85;
  transition: opacity .2s ease, transform .2s ease;
}
.footer-social svg{
  width:22px;
  height:22px;
  fill: rgba(10,46,92,0.75);
  color: rgba(10,46,92,0.75);
}
.footer-social a:hover{ opacity:1; transform: translateY(-1px); }
.footer-social a:hover svg{ fill: rgba(10,46,92,1); color: rgba(10,46,92,1); }

/* ---------- Services page grid/cards ---------- */
.section-services{
  background:
    radial-gradient(circle at top left, rgba(0,174,239,0.10), transparent 55%),
    radial-gradient(circle at bottom right, rgba(10,46,92,0.08), transparent 55%);
  border-top: 1px solid rgba(10,46,92,0.06);
  border-bottom: 1px solid rgba(10,46,92,0.06);
}

.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top:18px;
}

.service-card{
  background:#fff;
  border-radius:16px;
  padding:28px 26px;
  border:2px solid rgba(10,46,92,0.08);
  box-shadow: 0 10px 50px rgba(10,46,92,0.08);
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(10,46,92,0.18);
  border-color: rgba(0,140,255,0.35);
}

.service-icon{
  width:42px; height:42px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,174,239,0.10);
  font-size:20px;
}

.service-card h3{
  margin:0;
  font-size:18px;
  color:#0A2E5C;
}

.service-card p{
  font-size:15px;
  line-height:1.55;
  color:#0b223a;
}

.service-link{
  display:inline-block;
  margin-top:5px;
  font-weight:600;
  color:#0A2E5C;
  transition: color .2s ease, transform .2s ease;
}

.service-card:hover .service-link{
  color:#00AEEF;
  transform: translateX(4px);
}

.service-card:focus-visible{
  outline: 3px solid #00AEEF;
  outline-offset: 4px;
}

/* ---------- Page hero (generic) ---------- */
.page-hero{
  padding: 46px 0 22px;
  background:#fff;
}

.page-hero h1{
  margin:14px 0 12px;
  font-size:40px;
  line-height:1.15;
  color:#0A2E5C;
}

.page-lead{
  margin:0;
  max-width:760px;
  color: var(--muted);
  font-size:18px;
  line-height:1.55;
}

.page-hero-actions{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* ---------- Service template ---------- */
.service-hero{ padding: 46px 0 28px; }

.service-hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:40px;
  align-items:start;
}

.service-hero-content h1{
  margin:14px 0 12px;
  font-size:40px;
  line-height:1.15;
  color:#0A2E5C;
}

.service-lead{
  margin:0 0 14px;
  max-width:560px;
  font-size:18px;
  color: var(--muted);
  line-height:1.55;
}

.service-highlights{
  list-style:none;
  padding-left:0;
  margin:12px 0 0;
}
.service-highlights li{
  display:flex;
  align-items:center;
  gap:10px;
  margin:8px 0;
}

.service-actions{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.service-hero-media img{
  border-radius:22px;
  border:1px solid var(--border);
  width:100%;
  display:block;
}

/* Bullets + Info */
.bullets-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
  margin-top:18px;
}
.bullet-card{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:14px 16px;
  color:#0A2E5C;
  opacity:.95;
}

.info-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.info-card{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px;
}
.info-card h3{
  margin:0 0 8px;
  color:#0A2E5C;
  font-size:16px;
}
.info-card p{
  margin:0;
  color: var(--muted);
  font-size:14px;
  line-height:1.55;
}

/* ---------- Pricing ---------- */
.pricing-addon-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
  margin-top:18px;
}

.pricing-addon-card{
  background:#fff;
  border:1px solid rgba(10,46,92,0.10);
  border-radius:18px;
  padding:20px;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
}

.pricing-addon-card.highlight{
  border-color: rgba(0,174,239,0.40);
  box-shadow: 0 16px 42px rgba(10,46,92,0.14);
}

.addon-badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  background: rgba(0,174,239,0.12);
  color:#0A2E5C;
  margin-bottom:10px;
}

.addon-price{
  font-size:18px;
  font-weight:800;
  color:#0A2E5C;
  margin:10px 0 12px;
}

.addon-list{
  list-style:none;
  padding-left:0;
  margin:0 0 16px;
}
.addon-list li{
  color: rgba(10,46,92,0.75);
  margin:8px 0;
  line-height:1.45;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  margin-top:18px;
}

.pricing-card{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border:1px solid rgba(10,46,92,0.10);
  border-radius:18px;
  padding:20px;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
  display:flex;
  flex-direction:column;
  gap:12px;
}

.pricing-card.highlight{
  border-color: rgba(0,174,239,0.40);
  box-shadow: 0 16px 42px rgba(10,46,92,0.14);
}

.pricing-top{
  display:flex;
  gap:12px;
  align-items:center;
}

.pricing-icon{
  width:46px; height:46px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #0A2E5C 0%, #00AEEF 100%);
  color:#fff;
  font-size:20px;
  box-shadow: 0 10px 20px rgba(0,174,239,0.18);
}

.pricing-card h3{
  margin:0;
  font-size:18px;
  color:#0A2E5C;
}

.pricing-price{
  padding:12px 14px;
  border-radius:14px;
  background: rgba(10,46,92,0.04);
  border: 1px solid rgba(10,46,92,0.06);
  color:#0A2E5C;
  font-weight:700;
}
.pricing-price span{ font-weight:600; opacity:.75; }

.pricing-list{
  list-style:none;
  padding-left:0;
  margin:0;
  color: rgba(10,46,92,0.76);
  line-height:1.55;
  font-size:14px;
}
.pricing-list li{ margin:6px 0; }

.pricing-examples{
  border-top:1px solid rgba(10,46,92,0.06);
  padding-top:10px;
  display:grid;
  gap:10px;
}

.example{
  background: rgba(0,174,239,0.06);
  border: 1px solid rgba(0,174,239,0.14);
  border-radius:14px;
  padding:10px 12px;
}

.example .label{
  font-size:12px;
  font-weight:800;
  color:#0A2E5C;
  opacity:.85;
  display:inline-block;
  margin-bottom:4px;
}

.example p{
  margin:0;
  color: rgba(10,46,92,0.80);
  font-size:13.5px;
  line-height:1.45;
}

.pricing-card .btn{ margin-top:auto; }

/* ---------- Contact ---------- */
.contact-quick{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}

.contact-card,
.contact-form-card{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border:1px solid rgba(10,46,92,0.10);
  border-radius:18px;
  padding:20px;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
}

.contact-card h2,
.contact-form-card h2{
  margin:0 0 10px;
  color:#0A2E5C;
}

.contact-list{
  list-style:none;
  padding-left:0;
  margin:14px 0 0;
  color: rgba(10,46,92,0.78);
  line-height:1.55;
}
.contact-list li{ margin:8px 0; }

.contact-mini{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}

.mini{
  border:1px solid rgba(10,46,92,0.08);
  border-radius:14px;
  background: rgba(10,46,92,0.03);
  padding:12px;
}

.mini-label{
  display:block;
  font-size:12px;
  font-weight:800;
  color: rgba(10,46,92,0.70);
  margin-bottom:6px;
}

.contact-cta-row{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.contact-form{
  margin-top:10px;
  display:grid;
  gap:12px;
}

.field label{
  display:block;
  font-weight:700;
  color:#0A2E5C;
  font-size:13px;
  margin-bottom:6px;
}

.field input,
.field select,
.field textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(10,46,92,0.12);
  padding:12px;
  font-size:14px;
  outline:none;
  background:#fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(0,174,239,0.60);
  box-shadow: 0 0 0 4px rgba(0,174,239,0.12);
}

.form-actions{
  margin-top:4px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.form-note{ margin:6px 0 0; font-size:13px; }

/* ---------- Galerie (before/after) ---------- */
.gallery-page-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:18px;
  margin-top:18px;
}

.ba-card{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border:1px solid rgba(10,46,92,0.10);
  border-radius:18px;
  padding:18px;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
}

.ba-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.ba-head h3{
  margin:0;
  color:#0A2E5C;
  font-size:18px;
}

.ba-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color: rgba(10,46,92,0.85);
  background: rgba(0,174,239,0.10);
  border:1px solid rgba(0,174,239,0.16);
}

.ba-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.ba-shot{
  margin:0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(10,46,92,0.08);
  background:#fff;
}

.ba-shot img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.ba-shot figcaption{
  padding:10px 12px;
  font-size:12px;
  font-weight:800;
  color: rgba(10,46,92,0.75);
  background: rgba(10,46,92,0.03);
  border-top:1px solid rgba(10,46,92,0.06);
}

.ba-note{
  margin:12px 0 0;
  color: rgba(10,46,92,0.72);
  font-size:14px;
  line-height:1.5;
}

/* ---------- About ---------- */
.about-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:18px;
  align-items:start;
}

.about-card{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border:1px solid rgba(10,46,92,0.10);
  border-radius:18px;
  padding:20px;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
}

.about-card h2{ margin:0 0 10px; color:#0A2E5C; }

.about-highlights{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.about-pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  color: rgba(10,46,92,0.85);
  background: rgba(0,174,239,0.10);
  border:1px solid rgba(0,174,239,0.16);
}

.about-photo{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(10,46,92,0.10);
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
  background:#fff;
}

.about-photo img{
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:cover;
}

.about-area{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:18px;
}

.area-card{
  background:#fff;
  border:1px solid rgba(10,46,92,0.10);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
}

.area-card h3{
  margin:0 0 6px;
  color:#0A2E5C;
  font-size:16px;
}

/* ---------- Blog ---------- */
.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  margin-top:18px;
}

.blog-card{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border:1px solid rgba(10,46,92,0.10);
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
}

.blog-card-link{ display:block; color:inherit; }

.blog-thumb img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.blog-body{ padding:16px; }

.blog-meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.blog-pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color: rgba(10,46,92,0.85);
  background: rgba(0,174,239,0.10);
  border:1px solid rgba(0,174,239,0.16);
}

.blog-date{
  color: rgba(10,46,92,0.60);
  font-weight:700;
  font-size:12px;
}

.blog-body h3{
  margin:0 0 10px;
  color:#0A2E5C;
  font-size:18px;
  line-height:1.25;
}

.blog-body p{
  margin:0 0 12px;
  color: rgba(10,46,92,0.72);
  line-height:1.55;
  font-size:14px;
}

.blog-readmore{
  display:inline-flex;
  font-weight:800;
  color: rgba(10,46,92,0.90);
}

.blog-card:hover{
  border-color: rgba(0,174,239,0.35);
  box-shadow: 0 16px 42px rgba(10,46,92,0.14);
}
.blog-card:hover .blog-readmore{ color:#00AEEF; }

/* ---------- Article ---------- */
.article-hero{ padding: 54px 0 22px; }

.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color: rgba(10,46,92,0.65);
  font-weight:700;
  font-size:13px;
  margin-bottom:14px;
}

.breadcrumbs a{ color: rgba(10,46,92,0.85); }
.breadcrumbs a:hover{ text-decoration: underline; }

.article-meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.article-hero h1{
  margin:0 0 10px;
  color:#0A2E5C;
  font-size:40px;
  line-height:1.15;
  letter-spacing:-0.3px;
}

.article-lead{
  margin:0;
  max-width:820px;
  color: rgba(10,46,92,0.72);
  font-size:18px;
  line-height:1.6;
}

.article-grid{
  display:grid;
  grid-template-columns: 1fr 0.38fr;
  gap:18px;
  align-items:start;
}

.article-card{
  background:#fff;
  border:1px solid rgba(10,46,92,0.10);
  border-radius:18px;
  padding:20px;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
}

.article-card h2{
  margin:0 0 10px;
  color:#0A2E5C;
  font-size:20px;
}

.article-card h3{
  margin:0 0 8px;
  color:#0A2E5C;
  font-size:16px;
}

.article-list{
  margin:10px 0 0;
  padding-left:18px;
  color: rgba(10,46,92,0.78);
  line-height:1.6;
}

.article-table{
  margin-top:12px;
  border:1px solid rgba(10,46,92,0.10);
  border-radius:16px;
  overflow:hidden;
}

.article-table .row{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  background:#fff;
}

.article-table .row + .row{
  border-top:1px solid rgba(10,46,92,0.08);
}

.article-table .cell{
  padding:12px 14px;
  color: rgba(10,46,92,0.78);
  line-height:1.5;
}
.article-table .strong{ font-weight:800; color: rgba(10,46,92,0.92); }

.article-cards{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}

.article-mini{
  border:1px solid rgba(10,46,92,0.08);
  border-radius:16px;
  background: rgba(10,46,92,0.03);
  padding:14px;
}

.article-callout{
  margin-top:16px;
  border-radius:18px;
  padding:16px;
  border:1px solid rgba(0,174,239,0.25);
  background: rgba(0,174,239,0.08);
}

.callout-actions{
  margin-top:12px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.article-side .side-card{
  background:#fff;
  border:1px solid rgba(10,46,92,0.10);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 10px 26px rgba(10,46,92,0.08);
  margin-bottom:12px;
}

.side-links{
  margin:10px 0 0;
  padding-left:18px;
  color: rgba(10,46,92,0.78);
  line-height:1.6;
}

.side-links a{ color: rgba(10,46,92,0.90); }
.side-links a:hover{ text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .pricing-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-page-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
  .article-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 920px){
  .hero-grid{ grid-template-columns:1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .features{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr; }
  .reviews{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }

  .contact-grid{ grid-template-columns: 1fr; }
  .contact-mini{ grid-template-columns: 1fr; }

  .about-grid{ grid-template-columns: 1fr; }
  .about-photo img{ max-height: 320px; }
  .about-area{ grid-template-columns: 1fr; }

  .service-hero-grid{ grid-template-columns: 1fr; }
  .bullets-grid{ grid-template-columns: 1fr; }
  .info-grid{ grid-template-columns: 1fr; }

  .pricing-addon-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .hero{
    padding: 60px 0 70px;
  }

  .hero h1{
    font-size: 34px;
  }

  .hero-cta{
    margin-top: 24px;
  }

  .hero-media img{
  width:100%;
  height:100%;
  min-height: 580px;
  max-height: 600px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
}

  .hero-trust{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-hero h1{ font-size: 32px; }
  .page-lead{ font-size: 16px; }
}

@media (max-width: 640px){
  .nav{ display:none; }

  .nav-toggle{
    display:inline-block;
    padding:10px 12px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
  }

  .footer-grid{ grid-template-columns:1fr; }
  .cards{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }

  .article-hero h1{ font-size: 30px; }
  .article-cards{ grid-template-columns: 1fr; }
}

.chev{ font-size: 12px; opacity: .8; }

.hero-media--video video{
  width:100%;
  height:100%;
  min-height:580px;
  max-height:600px;
  object-fit:cover;
  border-radius:22px;
  border:1px solid var(--border);
  display:block;
}

/* ANPC / ODR - aliniere la stânga coloanei "Legal", doar imaginea */
.anpc-banners{
  display: flex;
  flex-direction: column;
  gap: 10px;              /* distanță mică */
  align-items: flex-start; /* IMPORTANT: aliniere stânga */
  margin-top: 12px;
}

.anpc-banners a{
  display: inline-block;
  padding: 0;             /* fără padding */
  margin: 0;
  background: transparent; /* fără fundal */
  border: 0;
  box-shadow: none;
  border-radius: 0;
  line-height: 0;         /* elimină spații ciudate sub imagine */
}

.anpc-banners img{
  display: block;
  width: 200px;           /* ajustează 280-360 după cum vrei */
  max-width: 100%;
  height: auto;
}

/* Mobile: să nu iasă în afara ecranului */
@media (max-width: 520px){
  .anpc-banners img{
    width: 100%;
  }
}

/* ================================
   Cookie Consent (TapiClean)
================================ */
.cc-banner{
  position: fixed;
  left: 1;
  right: 0;
  bottom: 18px;
  z-index: 9999;
  padding: 0 14px;
}

.cc-card{
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(10, 46, 92, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cc-left{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.cc-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--soft);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.cc-text{
  min-width: 0;
}
.cc-title{
  margin: 0;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.cc-desc{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.cc-desc a{
  color: var(--blue-main);
  text-decoration: none;
  font-weight: 700;
}
.cc-desc a:hover{ text-decoration: underline; }

.cc-actions{
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.cc-btn{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.cc-btn:hover{ filter: brightness(0.98); }

.cc-btn-primary{
  background: var(--gradient-main);
  color: #fff;
  border: 0;
}
.cc-btn-primary:hover{ filter: brightness(1.05); }

.cc-btn-ghost{
  background: #fff;
}

.cc-btn-link{
  background: transparent;
  border: 0;
  color: var(--blue-main);
  font-weight: 800;
  cursor: pointer;
  padding: 8px 10px;
}
.cc-btn-link:hover{ text-decoration: underline; }

/* Modal */
.cc-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.cc-modal.is-open{ display: block; }

.cc-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 40, 0.55);
}

.cc-dialog{
  position: relative;
  max-width: 560px;
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(10, 46, 92, 0.22);
  padding: 18px;
}

.cc-dialog h3{
  margin: 0 0 6px;
  font-size: 20px;
}
.cc-dialog p{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.cc-row{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.cc-row:first-of-type{ border-top: 0; }

.cc-row strong{ display:block; }
.cc-row small{ color: var(--muted); display:block; margin-top: 4px; }

.cc-switch{
  position: relative;
  width: 46px;
  height: 28px;
  flex: 0 0 auto;
}
.cc-switch input{ display:none; }

.cc-slider{
  position: absolute;
  inset: 0;
  background: rgba(10, 46, 92, 0.14);
  border-radius: 999px;
  transition: .18s;
}
.cc-slider::after{
  content:"";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: .18s;
}
.cc-switch input:checked + .cc-slider{
  background: var(--blue-main);
}
.cc-switch input:checked + .cc-slider::after{
  transform: translateX(18px);
}

.cc-modal-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* Responsive */
@media (max-width: 820px){
  .cc-card{
    flex-direction: column;
    align-items: stretch;
  }
  .cc-actions{
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .cc-dialog{
    margin: 8vh 14px 0;
  }
}

@media (max-width: 920px){
  .nav, .nav-social{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* Mobile header: ascunde meniul desktop, arată burger */
.nav-toggle { display: none; }

@media (max-width: 980px){
  .site-header .nav,
  .site-header .nav-social{
    display: none !important;
  }

  .site-header .nav-toggle{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    font-size: 22px;
    line-height: 1;
  }
}

/* Spacing pentru articole blog */
.article-card h2{
  margin-bottom: 12px;
}

.article-card h2 + p,
.article-card h2 + ul,
.article-card h2 + ol,
.article-card h2 + div,
.article-card h2 + .article-callout,
.article-card h2 + .article-cards {
  margin-top: 10px; /* aer după H2 */
}

.article-card h2:not(:first-of-type){
  margin-top: 28px; /* aer înainte de H2 */
}


/*Formular de conatct*/
.contact-form { display: grid; gap: 16px; }

.form-group { display: grid; gap: 8px; }

.form-group label {
  font-weight: 700;
  color: #0b1d3a;
  font-size: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: #0b1d3a;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-form textarea { resize: vertical; min-height: 160px; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #0a2e5c;
  box-shadow: 0 0 0 4px rgba(10,46,92,.12);
}

/* Select - să arate clean */
.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #0b1d3a 50%),
    linear-gradient(135deg, #0b1d3a 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 48px;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 520px) {
  .form-actions { grid-template-columns: 1fr; }
}

.form-hint {
  margin-top: 8px;
  font-size: 14px;
  color: #0b1d3a;
  opacity: .8;
}

/* Centrează textul în butonul Sună */
.btn.btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
