@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

/* ===========================================
   ALFA BETA INSTAL GAS - Tema light business
   Paletă: alb / gri-deschis (background)
           navy (text principal)
           albastru (accent apă/încredere)
           galben (CTA energie/gaz)
   =========================================== */

:root {
  --bg:           #ffffff;
  --bg-soft:      #f4f7fa;
  --bg-card:      #ffffff;
  --bg-section:   #eff3f8;
  --border:       #e1e8ee;
  --text:         #1a2b3c;
  --text-soft:    #4a5a6b;
  --text-mute:    #7a8a9b;
  --brand:        #0a6cb1;       /* albastru apă/încredere */
  --brand-dark:   #054d80;
  --brand-soft:   #e8f1f9;
  --accent:       #ffb000;       /* galben gaz (CTA) */
  --accent-dark:  #e09a00;
  --danger:       #c0392b;
  --success:      #1c8a4a;
  --shadow:       0 4px 16px rgba(20,40,60,0.08);
  --shadow-lg:    0 12px 32px rgba(20,40,60,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===========================================
   HEADER & HERO
   =========================================== */

.hero {
  position: relative;
  min-height: 88vh;
  text-align: center;
  overflow: hidden;
  background: #054d80;
}
.hero-background {
  background-image:
    linear-gradient(135deg, rgba(10,108,177,0.72) 0%, rgba(5,77,128,0.78) 100%),
    url('bloc.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .navbar { position: relative; }
.hero-content { z-index: 2 !important; }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  z-index: 10;
  position: relative;
}

/* Pe homepage: navbar transparent peste hero pentru a vedea poza de sus */
.hero .navbar {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: none;
  position: absolute;
  top: 0; left: 0; right: 0;
}
/* Doar link-urile DIRECT din meniul principal devin albe (peste poza hero).
   Sub-itemii din .dropdown își păstrează stilul propriu (text închis pe fundal alb). */
.hero .navbar .menu > li > a { color: #fff; }
.hero .navbar .menu > li > a:hover { color: var(--accent); }
.hero .navbar .menu > li.active > a { color: var(--accent); border-bottom-color: var(--accent); }

/* Forțăm dropdown-ul cu fundal alb solid și text închis, chiar și în context .hero */
.hero .navbar .dropdown {
  background: #fff;
}
.hero .navbar .dropdown li a {
  color: var(--text) !important;
}
.hero .navbar .dropdown li a:hover {
  color: var(--brand) !important;
  background: var(--brand-soft);
}

.logo-title { display: flex; align-items: center; gap: 1rem; }
.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

#menu-toggle { display: none; }
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
  z-index: 11;
}

.menu {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
  margin: 0;
  padding: 0;
}
.menu li a {
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s;
  padding: 0.4rem 0;
  display: inline-block;
}
.menu li a:hover { color: var(--brand); }
.menu li.active > a {
  color: var(--brand);
  border-bottom: 3px solid var(--accent);
}

.submenu { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  background: #fff;
  padding: 0.5rem 0;
  list-style: none;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  min-width: 320px;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.submenu:hover .dropdown { display: block; }
.dropdown li { padding: 0; border: none; }
.dropdown li a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--bg-soft);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--brand-soft); color: var(--brand); }
.dropdown li.active a { background: var(--brand-soft); color: var(--brand); font-weight: 700; }

.close-btn { display: none; }

/* Hero content */
.hero-content {
  z-index: 2;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 0 1rem;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 780px;
  margin: 0 auto 1rem;
  color: #f0f4f8;
  line-height: 1.55;
}
.hero-sub strong { color: var(--accent); }
.hero-claim {
  font-size: 1.3rem;
  color: var(--accent);
  margin: 1.5rem auto;
  font-weight: 700;
}

/* Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}
.hero-actions a {
  margin: 0;
}
.call-button {
  display: inline-block;
  background-color: var(--accent);
  color: #1a1a1a;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  margin: 0.4rem;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(255,176,0,0.35);
}
.call-button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,176,0,0.45);
}
.whatsapp-button {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  margin: 0.4rem;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.whatsapp-button:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}
.cta-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid #fff;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  margin: 0.4rem;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.cta-secondary:hover { background: #fff; color: var(--brand); }

/* ===========================================
   TRUST BAR
   =========================================== */
.trust-bar {
  background: var(--brand);
  color: #fff;
  padding: 1.5rem 1rem;
  box-shadow: inset 0 -4px 0 var(--accent);
}
.trust-bar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 1rem;
}
.trust-bar li { white-space: nowrap; }
.trust-bar li strong { color: var(--accent); font-size: 1.15rem; }

/* ===========================================
   MAIN SECTIONS
   =========================================== */
.info-section { padding: 4rem 1.5rem; background: var(--bg); }
.info-section section { margin: 0 auto 3rem; max-width: 1100px; }
.info-section h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
  text-align: center;
  line-height: 1.2;
}
.info-section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--brand-dark);
  text-align: center;
  position: relative;
}
.info-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.7rem auto 1.5rem;
  border-radius: 2px;
}
.info-section h3 { color: var(--brand); margin: 1.2rem 0 0.5rem; }
.info-section p {
  max-width: 800px;
  margin: 0.5rem auto;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1.05rem;
}
.info-section ul, .info-section ol {
  max-width: 800px;
  margin: 1rem auto;
  padding-left: 1.5rem;
  color: var(--text-soft);
  text-align: left;
}
.info-section li { margin: 0.4rem 0; }

.lead {
  font-size: 1.2rem;
  max-width: 850px;
  margin: 1rem auto 2.5rem;
  color: var(--text);
  line-height: 1.6;
  text-align: center;
}

/* ===========================================
   PROBLEM SECTION (risk list)
   =========================================== */
.problem-section {
  background: var(--bg-soft);
  padding: 3rem 2rem;
  border-radius: 12px;
  border-left: 6px solid var(--danger);
}
.risk-list {
  list-style: none !important;
  max-width: 720px !important;
  margin: 1.5rem auto !important;
  padding: 0 !important;
}
.risk-list li {
  margin: 0.7rem 0;
  padding: 0.8rem 1rem;
  background: #fff;
  border-left: 4px solid var(--danger);
  border-radius: 4px;
  color: var(--text);
  box-shadow: var(--shadow);
}
.emphasis {
  font-size: 1.15rem;
  color: var(--brand);
  font-weight: 600;
  text-align: center;
}

/* ===========================================
   SERVICES GRID
   =========================================== */
.services-grid { background: var(--bg-section); padding: 4rem 1.5rem !important; max-width: none !important; }
.services-grid .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem;
  text-align: left;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.service-card.highlight {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, #fff 0%, #fffaeb 100%);
}
.service-card h3 {
  color: var(--brand-dark);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.service-card p { color: var(--text-soft); margin: 0.6rem 0; line-height: 1.6; }
.service-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 !important;
}
.service-card ul li {
  padding: 0.4rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--bg-soft);
  font-size: 0.95rem;
}
.service-card ul li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  margin-right: 0.5rem;
}
.card-cta {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  margin-top: 1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.card-cta:hover { border-bottom-color: var(--brand); }

/* ===========================================
   WHY US
   =========================================== */
.why-us { background: var(--bg); padding: 4rem 1.5rem !important; max-width: none !important; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 2rem auto;
}
.why-item {
  background: var(--bg-card);
  padding: 1.2rem;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  color: var(--text);
  text-align: left;
  box-shadow: var(--shadow);
}

/* ===========================================
   MINI GALLERY
   =========================================== */
.mini-gallery { background: var(--bg-section); padding: 4rem 1.5rem !important; max-width: none !important; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
  max-width: 1200px;
  margin: 2rem auto;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}
.gallery-grid img:hover {
  border-color: var(--accent);
  transform: scale(1.03);
}

/* ===========================================
   STEPS / PROCESS
   =========================================== */
.process-section { background: var(--bg); }
.steps {
  list-style: none !important;
  counter-reset: step;
  max-width: 800px !important;
  margin: 2rem auto !important;
  padding: 0 !important;
}
.steps li {
  counter-increment: step;
  padding: 1.2rem 1.2rem 1.2rem 4.5rem;
  margin: 1rem 0;
  background: var(--bg-card);
  border-radius: 8px;
  position: relative;
  color: var(--text);
  box-shadow: var(--shadow);
  text-align: left;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand);
  color: #fff;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(10,108,177,0.3);
}

/* ===========================================
   COVERAGE / ZONE
   =========================================== */
.coverage {
  background: var(--brand);
  color: #fff;
  padding: 3rem 2rem !important;
  border-radius: 0;
  text-align: center;
  max-width: none !important;
}
.coverage h2 { color: #fff !important; }
.coverage h2::after { background: var(--accent); }
.coverage p { color: rgba(255,255,255,0.92); }
.coverage strong { color: var(--accent); }

/* ===========================================
   FAQ
   =========================================== */
.faq-section { max-width: 820px !important; margin: 3rem auto !important; }
.faq-section details {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin: 0.7rem 0;
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.faq-section details[open] { box-shadow: var(--shadow-lg); }
.faq-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 1.05rem;
}
.faq-section details p {
  margin-top: 0.8rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ===========================================
   FINAL CTA
   =========================================== */
.final-cta {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 3rem 2rem !important;
  margin: 4rem auto !important;
  max-width: 1000px !important;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.final-cta h2 { color: #fff !important; }
.final-cta h2::after { background: var(--accent); }
.final-cta p { color: rgba(255,255,255,0.92); }

/* ===========================================
   BREADCRUMB
   =========================================== */
.breadcrumb {
  background: var(--bg-soft);
  padding: 0.8rem 1.5rem;
  color: var(--text-mute);
  font-size: 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--brand); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text); }

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
  background: #0d1b2a;
  color: #cbd5e0;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 0;
  border-top: 4px solid var(--accent);
  text-align: center;
}
.site-footer p { margin: 0.3rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  text-align: left;
}
.footer-grid > div p:first-child { color: var(--accent); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.footer-grid a { color: #a8c5e0; text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.copyright {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1f2d3d;
  color: #7a8a9b;
  font-size: 0.9rem;
}

/* ===========================================
   ASOCIATII - benefits, form
   =========================================== */
.benefits-grid { background: var(--bg-section); padding: 3rem 1.5rem !important; max-width: none !important; border-radius: 0; }
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 2rem auto;
}
.benefit {
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 6px;
  text-align: left;
  color: var(--text);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--success);
}

.form-section { background: var(--bg-soft); padding: 3rem 1.5rem !important; max-width: none !important; border-radius: 0; }
.ab-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.ab-form label {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  font-weight: 600;
}
.ab-form input,
.ab-form select,
.ab-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1rem;
  margin-top: 0.3rem;
  font-family: inherit;
}
.ab-form input:focus,
.ab-form select:focus,
.ab-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,108,177,0.12);
}

/* ===========================================
   BIG STATS (despre)
   =========================================== */
.big-stats {
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 !important;
  margin: 2.5rem auto !important;
}
.big-stats li {
  background: var(--bg-card);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  border-top: 4px solid var(--accent);
  min-width: 180px;
  text-align: center;
  color: var(--text-soft);
  box-shadow: var(--shadow);
}
.big-stats li strong {
  display: block;
  font-size: 2.2rem;
  color: var(--brand-dark);
  margin-bottom: 0.3rem;
  font-weight: 800;
}

/* ===========================================
   DOMINO SECTION
   =========================================== */
.domino-section {
  background: linear-gradient(135deg, #0a1829 0%, #0d2240 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  border-radius: 16px;
  max-width: none !important;
  margin: 0 !important;
}
.domino-section h2 {
  color: #fff !important;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.domino-section h2::after { background: #ffb000 !important; }
.domino-intro {
  color: #c8d8e8;
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.6;
}
.domino-intro strong { color: #ffb000; }

.domino-chain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 580px;
  margin: 0 auto 3rem;
}
.domino-tile {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 2rem 2.2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  align-items: center;
  position: relative;
  transition: background 0.2s;
}
.domino-tile:hover { background: rgba(255,255,255,0.11); }
.domino-tile--danger {
  background: rgba(192,0,0,0.15);
  border-color: rgba(255,60,60,0.3);
}
.domino-tile .d-num {
  grid-row: 1 / 3;
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(255,176,0,0.6);
  text-align: center;
}
.domino-tile .d-icon {
  grid-row: 1 / 3;
  font-size: 1.6rem;
  text-align: center;
}
.domino-tile strong {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}
.domino-tile .d-sub {
  font-size: 0.85rem;
  color: #8ab0d0;
  margin-top: 0.15rem;
  display: block;
}
.domino-arrow-v {
  color: #ffb000;
  font-size: 1.4rem;
  margin: 0.25rem 0;
  opacity: 0.7;
}

.pvi-box {
  display: flex;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  align-items: stretch;
}
.pvi-col {
  flex: 1;
  border-radius: 12px;
  padding: 1.5rem;
}
.pvi-bad {
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(231,76,60,0.3);
}
.pvi-bad h3 { color: #e74c3c; font-size: 1.05rem; margin-bottom: 1rem; }
.pvi-good {
  background: rgba(39,174,96,0.12);
  border: 1px solid rgba(46,204,113,0.3);
}
.pvi-good h3 { color: #2ecc71; font-size: 1.05rem; margin-bottom: 1rem; }
.pvi-col ul { list-style: none; padding: 0; margin: 0; }
.pvi-col li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.95rem;
  color: #c8d8e8;
}
.pvi-col li:last-child { border: none; }
.pvi-col li strong { color: #fff; }
.pvi-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffb000;
  padding: 0 0.5rem;
  min-width: 40px;
}
.domino-verdict {
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
.domino-verdict strong { color: #ffb000; }

@media (max-width: 768px) {
  .pvi-box { flex-direction: column; }
  .pvi-vs { display: none; }
  .domino-chain { max-width: 100%; }
  .domino-section h2 { font-size: 1.5rem; }
}

/* ===========================================
   GALLERY (page) - filters + grid
   =========================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem auto 1rem;
}
.filter {
  background: var(--bg-card);
  color: var(--text);
  border: 2px solid var(--border);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.gallery-grid-large {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto;
}
.gallery-grid-large figure {
  margin: 0;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gallery-grid-large figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-grid-large figure::after {
  content: '⤢';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.gallery-grid-large figure:hover::after { opacity: 1; }
.gallery-grid-large figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gallery-grid-large figcaption {
  padding: 0.6rem 0.8rem;
  color: var(--text);
  font-size: 0.85rem;
  text-align: left;
}
.gallery-grid-large figcaption strong { color: var(--brand-dark); }

/* Lightbox galerie */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  display: block;
}
.gallery-lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s, background 0.2s;
  padding: 0.2rem 0.7rem;
  border-radius: 6px;
  z-index: 1;
}
.gallery-lightbox-close:hover { opacity: 1; background: rgba(255,255,255,0.22); }
.gallery-lightbox-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.55);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  max-width: 80vw;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-lightbox-swipe-hint {
  position: absolute;
  bottom: 3.8rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  display: none;
}
@media (pointer: coarse) {
  .gallery-lightbox-swipe-hint { display: block; }
}

/* Grafic domino (index - secțiunea domino) */
.domino-visual {
  max-width: 680px;
  margin: 2.5rem auto 2rem;
}
.domino-visual svg { width: 100%; height: auto; display: block; }
.domino-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #d64545;
}

/* Foto inline în paginile de servicii (ex. gaze.html) */
.info-section .inline-photo {
  margin: 1.5rem auto;
  width: 260px;
  cursor: pointer;
  position: relative;
}
.info-section .inline-photo::after {
  content: '⤢';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.info-section .inline-photo:hover::after { opacity: 1; }
.info-section .inline-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}
.info-section .inline-photo figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-soft);
}

/* ===========================================
   BLOG
   =========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
}
.blog-card {
  background: var(--bg-card);
  padding: 1.8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: left;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}
.blog-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card h2 {
  font-size: 1.25rem !important;
  margin-bottom: 0.8rem !important;
  color: var(--brand-dark) !important;
  text-align: left !important;
}
.blog-card h2::after { display: none; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: var(--brand); }
.blog-card .meta { font-size: 0.85rem; color: var(--text-mute); margin: 0.8rem 0; }
.blog-card p { color: var(--text-soft); }

.blog-article { max-width: 820px; margin: 0 auto; text-align: left; }
.blog-article h1 { text-align: left; }
.blog-article h1::after { margin-left: 0; }
.blog-article h2 { text-align: left; color: var(--brand-dark); margin-top: 2.5rem; }
.blog-article h2::after { margin-left: 0; }
.blog-article p, .blog-article li { color: var(--text-soft); line-height: 1.75; }
.blog-article ul, .blog-article ol { padding-left: 1.5rem; margin: 1rem 0; }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-card);
  color: var(--text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.comparison-table th {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.comparison-table tr:hover td { background: var(--bg-soft); }

/* ===========================================
   PP BENEFITS (lista material PPR)
   =========================================== */
.pp-benefits {
  background: var(--bg-soft);
  padding: 2.5rem 2rem;
  border-radius: 10px;
  margin: 2rem auto;
}
.pp-benefits h2 { color: var(--brand-dark); }
.pp-benefits h3 { color: var(--brand); margin-top: 1.2rem; }
.pp-benefits ul {
  list-style: disc;
  padding-left: 2rem;
  margin: 0.5rem auto 1rem !important;
  max-width: 800px !important;
}

.highlight-box {
  background: linear-gradient(135deg, #fffaeb 0%, #fef3c7 100%);
  border: 2px solid var(--accent);
  padding: 2rem;
  margin: 2.5rem auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.highlight-box h2 { color: var(--brand-dark); }
.highlight-box p { color: var(--text); }

/* Autorizații ANRE (gaze.html) */
.anre-section { max-width: 900px; margin: 2.5rem auto; }
.anre-section h2 { color: var(--brand-dark); }
.anre-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 560px) {
  .anre-grid { grid-template-columns: 1fr; }
  gap: 1rem;
}
.anre-grid li { display: contents; }
.anre-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.anre-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 40, 80, 0.12);
}
.anre-view {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
}

/* Lightbox autorizații */
.aviz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 20, 35, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.aviz-lightbox[hidden] { display: none; }
.aviz-lightbox img {
  max-width: min(94vw, 760px);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}
.aviz-close {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.anre-type {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--brand-dark);
}
.anre-nr { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.anre-desc { font-size: 0.85rem; color: var(--text-soft); }
.anre-note { font-size: 0.8rem; color: var(--text-mute); }

/* ===========================================
   CONTACT PAGE
   =========================================== */
.contact-header {
  background: #fff;
  padding: 0;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.contact-content {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg);
  color: var(--text);
  font-size: 1.05rem;
}
.contact-content h1 { color: var(--brand-dark); margin-bottom: 1rem; }

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin: 1rem auto;
  max-width: 560px;
  border: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  text-align: left;
}
.contact-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: none;
}
.contact-text { font-size: 1.05rem; line-height: 1.5; color: var(--text); }
.contact-text a { color: var(--brand); text-decoration: none; font-weight: 600; }
.contact-text a:hover { text-decoration: underline; }
.contact-text small { color: var(--text-mute); font-size: 0.85rem; }

.contact-format {
  background: var(--bg-section);
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
}
.contact-format h2 { color: var(--brand-dark); }
.map-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  padding: 0 1.5rem 3rem;
}
.map-container h2 { color: var(--brand-dark); margin-bottom: 1rem; }
.open-maps-button {
  margin-top: 1rem;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.open-maps-button:hover { background: var(--accent-dark); }

/* ===========================================
   SERVICE IMG (utilizat în pagini servicii)
   =========================================== */
.service-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 1.5rem auto;
  display: block;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ===========================================
   HONEYPOT – câmp ascuns anti-spam (păcălește boții care completează toate input-urile)
   =========================================== */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ===========================================
   BACK TO TOP – buton flotant
   =========================================== */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(10,108,177,0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10,108,177,0.45);
}
.back-to-top::before { content: "↑"; line-height: 1; }
@media (max-width: 768px) {
  .back-to-top { right: 1rem; bottom: 1rem; width: 46px; height: 46px; font-size: 1.3rem; }
}

/* WhatsApp sticky FAB (bonus business) */
.wa-fab {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37,211,102,0.4);
  z-index: 100;
  font-size: 1.6rem;
  transition: transform 0.3s;
}
.wa-fab:hover { transform: scale(1.08); }
#cookie-banner.cookie-visible ~ .wa-fab {
  display: none;
}
@media (max-width: 768px) {
  .wa-fab { left: 1rem; bottom: 1rem; width: 50px; height: 50px; }
}

/* ===========================================
   MOBILE
   =========================================== */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem 0.8rem 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .logo { width: 56px; height: 56px; }
  /* Hamburger fixat în dreapta sus (era afișat ca bloc separat sub logo) */
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0.7rem;
    right: 0.8rem;
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 1.5rem;
    color: var(--brand-dark);
    z-index: 20;
  }
  /* Pe homepage hamburgerul e mai vizibil peste poză */
  .hero ~ * .hamburger,
  body:has(.hero) .hamburger {
    background: rgba(255,255,255,0.9);
    color: var(--brand-dark);
  }

  /* Pe homepage: navbarul rămâne ABSOLUT și TRANSPARENT peste poză — poza pleacă de sus */
  /* (default-ul desktop deja face asta cu .hero .navbar; nu mai suprascriem nimic pe mobil) */

  /* Linkurile din meniul mobil: text închis pe overlay-ul alb (peste regula white desktop) */
  .menu-overlay .menu li a {
    color: var(--text) !important;
    font-size: 1.25rem !important;
    border-bottom: none !important;
  }
  .menu-overlay .menu li.active > a {
    color: var(--brand) !important;
    border-bottom: 3px solid var(--accent) !important;
  }
  /* Pe mobil submeniul „Servicii" trebuie să fie mereu vizibil în overlay
     (touch screens nu au hover) — altfel nu poți accesa paginile servicii */
  .menu-overlay .menu li.submenu .dropdown,
  .menu li.submenu .dropdown {
    display: block !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: auto !important;
    padding: 0.5rem 0 !important;
    list-style: none;
  }
  .menu li.submenu .dropdown li { border: none; padding: 0; }
  .menu li.submenu .dropdown li a {
    display: block;
    padding: 0.4rem 0 !important;
    background: transparent !important;
  }
  /* Indentăm vizual subitemii ca să fie clar că aparțin de Servicii */
  .menu-overlay .menu > li.submenu > a::after {
    content: " ↓";
    color: var(--text-mute);
    font-size: 0.85em;
  }
  .menu-overlay .menu li.submenu .dropdown li a {
    font-size: 1rem !important;
    color: var(--text-soft) !important;
  }
  /* MENU OVERLAY MOBIL — fullscreen white, z-index foarte mare.
     !important pentru a învinge orice altă regulă din cascade. */
  .menu-overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 5rem 1rem 2rem !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  #menu-toggle:checked ~ header .menu-overlay { display: flex !important; }
  .menu { flex-direction: column; gap: 1.5rem; text-align: center; }
  .close-btn {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    z-index: 11;
  }
  #menu-toggle:checked ~ header .menu-overlay .close-btn { display: block; }
  .dropdown { position: static; transform: none; box-shadow: none; min-width: auto; }

  .hero-content h1 { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
  .hero-claim { font-size: 1.1rem; }
  .hero-actions {
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-actions a {
    width: 100%;
    text-align: center;
  }
  .trust-bar ul { gap: 1.2rem; font-size: 0.9rem; }
  .footer-grid { text-align: center; gap: 1.5rem; }
  .big-stats li { min-width: 140px; padding: 1rem; }
  .big-stats li strong { font-size: 1.6rem; }
  .info-section h1 { font-size: 1.8rem; }
  .info-section h2 { font-size: 1.5rem; }
  .info-section { padding: 3rem 1rem; }
  .services-grid, .why-us, .mini-gallery, .coverage, .benefits-grid, .form-section { padding: 3rem 1rem !important; }
  .gallery-grid-large { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .gallery-grid-large { grid-template-columns: repeat(3, 1fr); }
}
