body.home h1 {
  font-size: 28px !important;
  line-height: 1.3;
  font-weight: 600;
  color: #2d4739;
}

body.home h2 {
  font-size: 22px !important;
  line-height: 1.4;
  font-weight: 500;
  color: #444;
}

/* Portfolio Licheni Gallery Styles */
.project-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 1em !important;
    margin: 1.5em 0 !important;
}
.project-gallery a {
    display: block !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}
.project-gallery img {
    width: 100% !important;
    height: 250px !important;
    max-height: 250px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}
.project-gallery img:hover {
    transform: scale(1.05) !important;
}

/* Blog - uniformizare inaltime imagini intro */
.blog .items-row .item img,
.blog .items-row p img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
}

/* ===== Green Walls — Cerere Oferta Form Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

.gw-wrap{max-width:680px;margin:2rem auto;background:#fff;border-radius:16px;padding:2.5rem 2.5rem 2rem;border:.5px solid #e0ddd6;font-family:'DM Sans',sans-serif;color:#1a1a1a}
.gw-header{display:flex;align-items:flex-end;gap:1rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:.5px solid #e0ddd6}
.gw-logo-leaf{width:44px;height:44px;flex-shrink:0}
.gw-header-text h1{font-family:'Trebuchet MS',sans-serif!important;font-size:22px!important;font-weight:700!important;margin:0 0 3px!important;color:#1a1a1a!important;line-height:1.2!important}
.gw-header-text p{font-size:13px!important;color:#888!important;font-weight:300!important;margin:0!important}
.gw-progress{display:flex;gap:4px;margin-bottom:1.75rem}
.gw-prog-step{flex:1;height:3px;border-radius:2px;background:#1D9E75}
.gw-section{margin-bottom:1.75rem}
.gw-section-label{font-size:11px!important;font-weight:500!important;letter-spacing:.08em;text-transform:uppercase;color:#888!important;margin-bottom:.75rem!important;display:block}
.gw-divider{height:.5px;background:#e0ddd6;margin:1.75rem 0;border:none}
.gw-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gw-surface-grid{display:grid;grid-template-columns:1fr 1fr 90px;gap:12px;align-items:end}
.gw-tipo-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gw-extras-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gw-pills-row{display:flex;gap:8px;flex-wrap:wrap}
.gw-field{display:flex;flex-direction:column;gap:5px}
.gw-field label{font-size:13px!important;color:#666!important;font-weight:400!important;margin:0!important}
.gw-field input,.gw-field select,.gw-field textarea{font-family:'DM Sans',sans-serif!important;font-size:14px!important;padding:9px 12px!important;border:.5px solid #ccc!important;border-radius:8px!important;background:#fff!important;color:#1a1a1a!important;outline:none!important;width:100%!important;box-sizing:border-box!important}
.gw-field input:focus,.gw-field select:focus,.gw-field textarea:focus{border-color:#1D9E75!important;box-shadow:0 0 0 3px rgba(29,158,117,.12)!important}
.gw-field textarea{resize:vertical;min-height:90px;line-height:1.5}
.gw-sqm-display{display:flex;flex-direction:column;gap:5px}
.gw-sqm-display label{font-size:13px!important;color:#666!important;margin:0!important}
.gw-sqm-box{padding:9px 12px;border:.5px solid #e0ddd6;border-radius:8px;background:#f7f6f2}
.gw-sqm-val{font-size:18px;font-weight:500;color:#0F6E56;line-height:1}
.gw-sqm-unit{font-size:12px;color:#888;font-weight:300;margin-left:3px}
.gw-tipo-card{border:.5px solid #e0ddd6!important;border-radius:12px;padding:14px 14px 12px;cursor:pointer;position:relative;background:#fff!important;display:flex!important;flex-direction:column;gap:6px;margin:0!important}
.gw-tipo-card:hover{border-color:#aaa!important;background:#fafaf8!important}
.gw-tipo-card.selected{border-color:#1D9E75!important;background:#E1F5EE!important}
.gw-tipo-check{position:absolute;top:10px;right:10px;width:16px;height:16px;border:.5px solid #ccc;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}
.gw-tipo-card.selected .gw-tipo-check{background:#1D9E75;border-color:#1D9E75}
.gw-tipo-card.selected .gw-tipo-check::after{content:'';display:block;width:7px;height:4px;border-left:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:translateY(-1px) rotate(-45deg)}
.gw-tipo-icon{font-size:22px;line-height:1}
.gw-tipo-name{font-size:14px!important;font-weight:500!important;color:#1a1a1a!important;line-height:1.2!important;margin:0!important}
.gw-tipo-desc{font-size:12px!important;color:#666!important;font-weight:300!important;line-height:1.4!important;margin:0!important}
.gw-tipo-badge{display:inline-block;font-size:10px;font-weight:500;padding:2px 8px;border-radius:20px;background:#9FE1CB;color:#085041;width:fit-content}
.gw-tipo-full{grid-column:span 2}
.gw-extra-item{display:flex!important;align-items:flex-start;gap:9px;padding:10px 12px!important;border:.5px solid #e0ddd6!important;border-radius:8px;cursor:pointer;background:#fff!important;user-select:none;margin:0!important}
.gw-extra-item:hover{background:#fafaf8!important;border-color:#ccc!important}
.gw-extra-item.checked{border-color:#1D9E75!important;background:#E1F5EE!important}
.gw-extra-cb{width:15px;height:15px;min-width:15px;border:.5px solid #ccc;border-radius:3px;margin-top:1px;background:#fff;display:flex;align-items:center;justify-content:center}
.gw-extra-item.checked .gw-extra-cb{background:#1D9E75;border-color:#1D9E75}
.gw-extra-item.checked .gw-extra-cb::after{content:'';display:block;width:7px;height:4px;border-left:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:translateY(-1px) rotate(-45deg)}
.gw-extra-text{font-size:13px!important;color:#1a1a1a!important;line-height:1.35!important}
.gw-extra-sub{font-size:11px!important;color:#888!important;font-weight:300!important;display:block;margin-top:1px}
.gw-pill{border:.5px solid #ccc!important;border-radius:20px!important;padding:6px 15px!important;font-size:13px!important;cursor:pointer;background:#fff!important;color:#1a1a1a!important;font-family:'DM Sans',sans-serif!important;display:inline-block}
.gw-pill:hover{background:#f0f0ec!important;border-color:#aaa!important}
.gw-pill.selected{background:#085041!important;border-color:#085041!important;color:#9FE1CB!important}
.gw-submit{width:100%;padding:13px;background:#085041!important;color:#9FE1CB!important;border:none!important;border-radius:8px;font-family:'DM Sans',sans-serif!important;font-size:15px!important;font-weight:500!important;cursor:pointer;letter-spacing:.01em;margin-top:.5rem;display:block}
.gw-submit:hover{background:#0F6E56!important}
.gw-submit:disabled{opacity:.6;cursor:not-allowed}
.gw-note{font-size:12px!important;color:#aaa!important;text-align:center;margin-top:12px!important;font-weight:300!important;line-height:1.5!important}
.gw-success{display:none;text-align:center;padding:3rem 1rem}
.gw-success-icon{width:60px;height:60px;border-radius:50%;background:#E1F5EE;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem}
.gw-success h2{font-family:'Trebuchet MS',sans-serif!important;font-size:22px!important;font-weight:700!important;color:#1a2e1c!important;margin:0 0 10px!important}
.gw-success p{font-size:14px!important;color:#666!important;line-height:1.6!important}
.gw-error-msg{background:#fff0f0;border:.5px solid #f5c6c6;border-radius:8px;padding:10px 14px;font-size:13px;color:#c0392b;margin-top:10px;display:none}
@media(max-width:520px){.gw-wrap{padding:1.5rem 1.25rem;margin:1rem}.gw-grid-2,.gw-tipo-grid,.gw-extras-grid{grid-template-columns:1fr}.gw-surface-grid{grid-template-columns:1fr 1fr}.gw-tipo-full{grid-column:span 1}}
.gw-foto-label{display:flex!important;align-items:center;gap:12px;padding:14px 16px!important;border:1.5px dashed #b9d3c7;border-radius:10px;cursor:pointer;background:#f9fdf9;transition:border-color .2s,background .2s;position:relative}
.gw-foto-label:hover{border-color:#1D9E75;background:#f0faf5}
.gw-foto-label:focus-within{border-color:#1D9E75;box-shadow:0 0 0 3px rgba(29,158,117,.12)}
.gw-foto-label::after{content:'Alege fișierul';margin-left:auto;flex-shrink:0;padding:7px 14px;border:.5px solid #1D9E75;border-radius:20px;background:#fff;color:#085041;font-size:13px;font-weight:500;white-space:nowrap}
.gw-foto-icon{display:none}
.gw-foto-text{font-size:13px;color:#555;line-height:1.4}
.gw-field input.gw-foto-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden;clip:rect(0 0 0 0);opacity:0}
.gw-foto-name{margin-top:8px;font-size:13px;font-weight:500;padding:6px 10px;background:#eaf7f1;border-radius:6px;color:#1D9E75}
.gw-success-icon{font-size:0}
.gw-success-icon::after{content:'';display:block;width:20px;height:10px;border-left:3px solid #1D9E75;border-bottom:3px solid #1D9E75;transform:translateY(-3px) rotate(-45deg)}
.gw-submit.gw-loading{opacity:.75;cursor:not-allowed;background:#888!important}
@media(max-width:520px){.gw-foto-label{flex-wrap:wrap}.gw-foto-label::after{margin-left:0}}

.gw-contact-social{text-align:center;margin:2em 0 2.5em}
.gw-contact-social__intro{margin:0 0 .9em!important;color:#555}
.gw-contact-social__links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.gw-contact-social__links a{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border:2px solid #6b8e23;border-radius:30px;color:#2d5f2e!important;font-weight:600;text-decoration:none!important;transition:background-color .15s,color .15s}
.gw-contact-social__links a:hover{background:#6b8e23;color:#fff!important}
.gw-contact-social__links svg{width:18px;height:18px;flex-shrink:0}

/* Card layouts written with inline styles inside articles have no mobile breakpoint */
@media (max-width:767px){
  .com-content-article__body [style*="grid-template-columns"]:not([style*="minmax"]),
  .custom [style*="grid-template-columns"]:not([style*="minmax"]){grid-template-columns:minmax(0,1fr)!important}
  .com-content-article__body [style*="grid-template-columns"][style*="repeat(4"],
  .custom [style*="grid-template-columns"][style*="repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}

  .com-content-article__body table:not(:has(tr + tr)),
  .com-content-article__body table:not(:has(tr + tr)) > tbody,
  .com-content-article__body table:not(:has(tr + tr)) tr{display:block;width:100%!important}
  .com-content-article__body table:not(:has(tr + tr)) td{display:block;width:auto!important;margin:0 0 12px}
  .com-content-article__body table:not(:has(tr + tr)) tr:has(> td:nth-child(4)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .com-content-article__body table:not(:has(tr + tr)) tr:has(> td:nth-child(4)) > td{margin:0}

  .com-content-article__body table:has(tr + tr){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}


/* Fix bara verde ::before pe h2 din formularul Cerere Oferta */
.gw-wrap h2::before,
.gw-header h2::before {
  display:none!important;
  content:none!important;
  width:0!important;
}
.gw-wrap h2,
.gw-header h2 {
  padding-left:0!important;
  margin-left:0!important;
  border-left:none!important;
}
