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

:root {
  --ink: #1F2937;
  --ink-soft: #667085;
  --paper: #F7F9FC;
  --paper-alt: #EEF2F6;
  --line: #DDE3E8;

  --brand: #0B1F33;         /* albastru petrol - brand general, header/footer */
  --brand-dark: #071624;
  --brand-light: #E3E8EE;

  --solar: #F6C445;         /* galben solar - fotovoltaice */
  --solar-dark: #D9A82E;
  --solar-light: #FDF3DA;

  --construction: #E76F2E;  /* portocaliu - constructii */
  --construction-dark: #C2571E;
  --construction-light: #FBE4D8;
  --anthracite: #374151;    /* gri antracit - constructii, pereche cu portocaliu */

  --accent: #F6C445;        /* alias accent premium = galben solar */
  --accent-light: #FDF3DA;

  --surface: #FFFFFF;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 18px rgba(11, 31, 51, 0.09);
  --shadow-hover: 0 10px 28px rgba(11, 31, 51, 0.16);
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: var(--brand-dark); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand); }
h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
img { max-width: 100%; display: block; }

/* ---------- HEADER ---------- */
.site-header { background: var(--brand); position: sticky; top: 0; z-index: 20; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 24px; }
.logo { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem; color: #fff; }
.logo span { color: var(--solar); }
.main-nav { display: flex; gap: 22px; flex: 1; flex-wrap: wrap; }
.main-nav a { color: rgba(255,255,255,0.82); font-weight: 600; font-size: 0.95rem; position: relative; }
.main-nav a:hover { color: var(--solar); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,0.12); border-radius: 20px; padding: 3px; }
.lang-switch a { padding: 4px 10px; font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.75); border-radius: 16px; }
.lang-switch a.active { background: var(--solar); color: var(--brand); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 30px; font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); text-decoration: none; }
.btn-primary { background: var(--solar); color: var(--brand); }
.btn-primary:hover { background: var(--solar-dark); color: var(--brand); }
.btn-secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); box-shadow: none; }
.btn-secondary:hover { background: var(--brand-light); }
.btn-call { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.75); box-shadow: none; }
.btn-call:hover { background: rgba(255,255,255,0.12); }

main { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }

/* ---------- HERO ---------- */
.hero { text-align: center; padding: 70px 20px; }
.hero h1 { font-size: 2.3rem; max-width: 820px; margin: 0 auto 16px; }
.hero p { max-width: 680px; margin: 0 auto 26px; color: var(--ink-soft); font-size: 1.05rem; }

.hero-split {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  text-align: left; padding: 50px 20px; background: linear-gradient(135deg, var(--brand-light) 0%, var(--paper) 70%);
  border-radius: var(--radius); margin-bottom: 10px;
}
.hero-split::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,179,106,0.16), transparent 70%);
  top: -120px; right: -80px; pointer-events: none;
}
.hero-split::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,138,112,0.14), transparent 70%);
  bottom: -110px; left: -60px; pointer-events: none;
}
.hero-split h1, .hero-split p { margin-left: 0; max-width: none; }
.hero-split .hero-text, .hero-split .hero-image { position: relative; z-index: 1; }
.hero-split .hero-image {
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(10,42,68,0.16);
  background: #fff; aspect-ratio: 4/3;
}
.hero-split .hero-image img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.hero-compact { padding: 34px 24px; }

@media (max-width: 820px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-text { order: 2; }
  .hero-split .hero-image { order: 1; max-width: 320px; margin: 0 auto; }
}

/* ---------- ICONS ---------- */
.icon { width: 28px; height: 28px; color: var(--brand); }
.icon-construction { color: var(--anthracite); }
.icon-solar { color: var(--brand); }
.icon-lg { width: 44px; height: 44px; }
.icon-xl { width: 60px; height: 60px; }

/* ---------- PILLAR CARDS (homepage) ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 46px 0; }
.pillar-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pillar-card-icon {
  width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-light), #d3dce6);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.pillar-card-icon.theme-constructii { background: linear-gradient(135deg, var(--construction-light), #f7d3bd); }
.pillar-card-icon.theme-fotovoltaice { background: linear-gradient(135deg, var(--solar-light), #fbe7ae); }
.pillar-card-icon .icon-lg { color: var(--brand-dark); }
.pillar-card-icon.theme-constructii .icon-lg { color: var(--construction-dark); }
.pillar-card-icon.theme-fotovoltaice .icon-lg { color: var(--brand); }
.pillar-card-photo { margin: -28px -28px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/10; }
.pillar-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillar-card h2 { font-size: 1.3rem; margin: 0 0 10px; }
.pillar-card h2 a { color: var(--ink); }
.pillar-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- SUBCATEGORY CARDS (pillar page) ---------- */
.subcategorii-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 30px 0; }
.subcat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: block; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.subcat-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-hover); text-decoration: none; }
.subcat-card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-light), #d3dce6);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.subcat-card-icon .icon { color: var(--brand); width: 26px; height: 26px; }
.subcat-card-icon.theme-constructii { background: linear-gradient(135deg, var(--construction-light), #f7d3bd); }
.subcat-card-icon.theme-constructii .icon { color: var(--anthracite); }
.subcat-card-icon.theme-fotovoltaice { background: linear-gradient(135deg, var(--solar-light), #fbe7ae); }
.subcat-card-icon.theme-fotovoltaice .icon { color: var(--brand); }
.subcat-card h2 { font-size: 1.08rem; margin: 0 0 8px; }
.subcat-card p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ---------- SUBCATEGORY / JUDET HERO BANNER ---------- */
.subcat-hero {
  display: flex; gap: 22px; align-items: flex-start; background: var(--paper-alt);
  border-radius: var(--radius); padding: 28px; margin-bottom: 24px;
}
.subcat-hero-icon {
  flex: none; width: 84px; height: 84px; border-radius: 20px; background: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.subcat-hero-icon.theme-constructii .icon { color: var(--anthracite); }
.subcat-hero-icon.theme-fotovoltaice .icon { color: var(--brand); }
@media (max-width: 560px) { .subcat-hero { flex-direction: column; } }

/* ---------- JUDETE / ORASE GRID ---------- */
.judete-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 16px 0; }
.judete-grid a {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px; text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.judete-grid a:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }

/* ---------- CTA BLOCK ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 36px; border-radius: var(--radius); text-align: center; margin: 34px 0;
}
.cta-block h2 { color: #fff; margin-top: 0; }
.cta-block .btn { margin: 6px; }

/* ---------- GALLERY ---------- */
.galerie-proiecte { margin: 30px 0; }
.galerie-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.galerie-grid img { border-radius: var(--radius-sm); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.galerie-item { margin: 0; }
.galerie-item figcaption { margin-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); text-align: center; }

/* ---------- MISC ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin: 16px 0; }
.orase-list { columns: 3; list-style: none; padding: 0; }
.orase-list li { padding: 5px 0; }
.orase-list li::before { content: "📍 "; opacity: 0.6; }
.bloc-solar {
  background: var(--accent-light); border-left: 4px solid var(--accent); padding: 14px 18px;
  border-radius: var(--radius-sm); font-size: 0.95rem;
}

.contact-form { display: grid; gap: 14px; max-width: 480px; }
.contact-form label { display: grid; gap: 5px; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.consent-check { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 0.85rem; }
.consent-check input { width: auto; margin-top: 3px; }

.site-footer { background: var(--brand); color: rgba(255,255,255,0.85); margin-top: 50px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.footer-col h4 { font-size: 0.95rem; margin: 0 0 10px; color: var(--solar); }
.footer-col p, .footer-col a { color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: var(--solar); }
.footer-bottom { text-align: center; padding: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.6); border-top: 1px solid rgba(255,255,255,0.15); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--solar); }

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; gap: 14px; }
  .orase-list { columns: 2; }
}

/* ---------- GDPR COOKIE BANNER ---------- */
.gdpr-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(10,42,68,0.14);
  padding: 16px 20px;
}
.gdpr-inner {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.gdpr-inner p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); max-width: 640px; }
.gdpr-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-gdpr-reject { background: var(--paper-alt); color: var(--ink-soft); box-shadow: none; }
.btn-gdpr-reject:hover { background: var(--line); }
@media (max-width: 640px) { .gdpr-inner { flex-direction: column; align-items: stretch; text-align: center; } }

/* =====================================================================
   REDESIGN "GERMANCONSTRUCT STYLE" — hero foto full-bleed, statistici,
   carduri foto elegante, sectiuni de proces si "de ce noi"
   ===================================================================== */

.accent { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600; color: var(--accent); }

/* ---------- FULL-BLEED HERO ---------- */
.hero-fullbleed {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background-size: cover; background-position: center; border-radius: var(--radius);
  overflow: hidden; margin-bottom: 0; color: #fff; isolation: isolate;
}
.hero-fullbleed::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10,30,48,0.86) 0%, rgba(10,30,48,0.55) 45%, rgba(10,30,48,0.25) 100%);
  z-index: 0;
}
.hero-fullbleed-content { position: relative; z-index: 1; padding: 60px 48px; max-width: 640px; }
.hero-fullbleed .eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700;
  color: var(--accent); margin-bottom: 14px; display: block;
}
.hero-fullbleed h1 { color: #fff; font-size: 2.6rem; margin: 0 0 18px; line-height: 1.15; }
.hero-fullbleed p { color: rgba(255,255,255,0.88); font-size: 1.08rem; max-width: 560px; margin: 0 0 28px; }
.hero-fullbleed .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-compact-bleed { min-height: 340px; }
.hero-compact-bleed .hero-fullbleed-content { padding: 44px 40px; }
.hero-compact-bleed h1 { font-size: 2rem; }

@media (max-width: 720px) {
  .hero-fullbleed { min-height: 440px; }
  .hero-fullbleed-content { padding: 40px 24px; }
  .hero-fullbleed h1 { font-size: 1.9rem; }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border-radius: var(--radius); overflow: hidden; margin: -1px 0 46px;
  box-shadow: var(--shadow);
}
.stats-bar .stat { background: #fff; padding: 26px 18px; text-align: center; }
.stats-bar .stat-num { display: block; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--brand-dark); }
.stats-bar .stat-label { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 720px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ---------- SECTION HEADER (eyebrow + title pattern) ---------- */
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 700; color: var(--accent); }
.section-head h2 { font-size: 1.9rem; margin: 8px 0 12px; }
.section-head p { color: var(--ink-soft); }

/* ---------- SERVICES PHOTO GRID (pillar cards, photo-forward) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin: 0 0 60px; }
.service-photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow); display: block; isolation: isolate;
}
.service-photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-photo-card:hover img { transform: scale(1.06); }
.service-photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,30,48,0.92) 0%, rgba(10,30,48,0.35) 55%, rgba(10,30,48,0.05) 100%);
}
.service-photo-card .service-photo-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 24px; color: #fff;
}
.service-photo-card .service-photo-body h3 { color: #fff; font-size: 1.3rem; margin: 0 0 8px; }
.service-photo-card .service-photo-body p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0 0 12px; }
.service-photo-card .service-photo-link { color: #fff; font-weight: 700; font-size: 0.88rem; }
.service-photo-card .service-photo-link:hover { color: var(--accent); }

/* ---------- WHY US (split section) ---------- */
.why-us { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; margin: 60px 0; }
.why-us-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); aspect-ratio: 4/3; }
.why-us-image img { width: 100%; height: 100%; object-fit: cover; }
.why-us-features { display: grid; gap: 20px; }
.why-us-feature { display: flex; gap: 14px; align-items: flex-start; }
.why-us-feature .icon { flex: none; width: 24px; height: 24px; color: var(--brand); margin-top: 3px; }
.why-us-feature h4 { margin: 0 0 4px; font-size: 1.02rem; }
.why-us-feature p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 820px) { .why-us { grid-template-columns: 1fr; } .why-us-image { order: -1; } }

/* ---------- PROCESS STEPS ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 0 60px; position: relative; }
.process-step { text-align: center; padding: 0 10px; }
.process-step .step-num {
  width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 1.1rem; margin: 0 auto 14px; box-shadow: var(--shadow);
}
.process-step h4 { margin: 0 0 6px; font-size: 1rem; }
.process-step p { margin: 0; font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 820px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }

/* ---------- PORTFOLIO / GALLERY CARDS (recent projects) ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 0 0 60px; }
.portfolio-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.portfolio-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.portfolio-card figcaption { padding: 16px 18px; font-weight: 600; font-size: 0.92rem; color: var(--ink); }

/* ---------- JUDETE PILLS (coverage section) ---------- */
.judete-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.judete-pills a {
  background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.judete-pills a:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }

.section-block { margin: 60px 0; }
