/* === RESET & BASE === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',Arial,Helvetica,sans-serif;font-size:17px;line-height:1.65;color:#333;background:#fff}
a{color:#2e7d32;text-decoration:none;transition:color .2s}
a:hover{color:#1b5e20}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}

/* === TYPOGRAPHY === */
h1,h2,h3,h4{font-weight:700;line-height:1.2;color:#1a1a1a}
h1{font-size:44px;margin-bottom:20px}
h2{font-size:34px;margin-bottom:18px}
h3{font-size:22px;margin-bottom:12px}
h4{font-size:18px;margin-bottom:10px}
p{margin-bottom:16px;color:#555}

/* === LAYOUT === */
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.row{display:flex;flex-wrap:wrap;gap:30px}
.col-2{flex:1 1 calc(50% - 15px)}
.col-3{flex:1 1 calc(33.333% - 20px)}
.col-4{flex:1 1 calc(25% - 23px)}
.text-center{text-align:center}

/* === TOP BAR === */
.top-bar{background:#1b5e20;border-bottom:1px solid #2e7d32;color:#c8e6c9;font-size:13px;padding:8px 0}
.top-bar .container{display:flex;justify-content:space-between;align-items:center}
.top-bar a{color:#fff;font-size:13px}

/* === HEADER === */
.header{background:#fff;padding:16px 0;position:sticky;top:0;z-index:100;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.header .container{display:flex;justify-content:space-between;align-items:center}
.logo img{height:40px;width:auto}
.nav-menu{display:flex;gap:28px;align-items:center}
.nav-menu a{color:#555;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:1px;transition:color .2s}
.nav-menu a:hover,.nav-menu a.active{color:#2e7d32}
.mobile-toggle{display:none;background:none;border:none;color:#333;font-size:28px;cursor:pointer}

/* === HERO === */
.hero{position:relative;min-height:560px;display:flex;align-items:center;background:#e8f5e9;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(232,245,233,.95) 0%,rgba(232,245,233,.6) 50%,rgba(232,245,233,.95) 100%)}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.25}
.hero .container{position:relative;z-index:2}
.hero-content{max-width:650px;padding:60px 0}
.hero-content h1{font-size:48px;line-height:1.1;color:#1a1a1a}
.hero-content h1 span{color:#2e7d32}
.hero-content p{font-size:19px;color:#555;margin-bottom:32px}
.hero-tag{display:inline-block;background:rgba(46,125,50,.1);border:1px solid rgba(46,125,50,.3);color:#2e7d32;font-size:13px;font-weight:600;padding:6px 16px;border-radius:20px;margin-bottom:20px;text-transform:uppercase;letter-spacing:1px}

/* === BUTTONS === */
.btn{display:inline-block;padding:14px 36px;border-radius:4px;font-size:15px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;cursor:pointer;transition:all .25s;border:none}
.btn-primary{background:#2e7d32;color:#fff}
.btn-primary:hover{background:#1b5e20;color:#fff}
.btn-outline{background:transparent;border:2px solid #2e7d32;color:#2e7d32}
.btn-outline:hover{background:#2e7d32;color:#fff}
.btn-white{background:#fff;color:#2e7d32}
.btn-white:hover{background:#f1f8e9}

/* === SECTION COMMON === */
.section{padding:80px 0}
.section-dark{background:#f5f5f5}
.section-alt{background:#fafafa}
.section-title{text-align:center;margin-bottom:50px}
.section-title p{max-width:600px;margin:10px auto 0;color:#777}

/* === PRODUCTS/PROJECTS GRID === */
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.project-card{background:#fff;border:1px solid #e0e0e0;border-radius:10px;overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s}
.project-card:hover{transform:translateY(-5px);border-color:#2e7d32;box-shadow:0 8px 24px rgba(46,125,50,.12)}
.project-card img{width:100%;height:200px;object-fit:cover}
.project-card-body{padding:22px}
.project-card-body h3{font-size:20px;margin-bottom:8px;color:#1a1a1a}
.project-card-body p{font-size:14px;color:#777;margin-bottom:14px}
.project-card .tag{display:inline-block;background:rgba(46,125,50,.1);color:#2e7d32;font-size:12px;padding:3px 10px;border-radius:12px;margin-right:6px}
.project-card .price{font-size:22px;font-weight:700;color:#2e7d32;margin-top:12px}
.project-card .price-old{font-size:15px;color:#999;text-decoration:line-through;margin-left:8px;font-weight:400}

/* === FEATURES === */
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.feature-card{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:30px 24px;text-align:center;transition:border-color .2s,box-shadow .2s}
.feature-card:hover{border-color:#2e7d32;box-shadow:0 4px 16px rgba(46,125,50,.1)}
.feature-icon{width:56px;height:56px;margin:0 auto 18px;background:rgba(46,125,50,.1);border-radius:12px;display:flex;align-items:center;justify-content:center}
.feature-icon svg{width:28px;height:28px;fill:#2e7d32}
.feature-card h4{color:#1a1a1a;margin-bottom:8px}
.feature-card p{font-size:14px;color:#777;margin:0}

/* === CLIENTS/PARTNERS === */
.clients-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:40px;opacity:.7}
.clients-row img{height:40px;filter:grayscale(1);transition:filter .2s}
.clients-row img:hover{filter:grayscale(0)}

/* === STATS === */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stat-item h2{font-size:48px;color:#2e7d32;margin-bottom:4px}
.stat-item p{font-size:14px;color:#777;text-transform:uppercase;letter-spacing:1px;margin:0}

/* === CONTACT / INFO === */
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.contact-card{background:#fff;border:1px solid #e0e0e0;border-radius:10px;padding:28px;transition:border-color .2s}
.contact-card:hover{border-color:#2e7d32}
.contact-card h4{color:#2e7d32;margin-bottom:10px}
.contact-card p{font-size:15px;margin-bottom:6px;color:#666}
.contact-card a{color:#2e7d32}

/* === CTA === */
.cta-section{padding:80px 0;text-align:center;background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 50%,#e8f5e9 100%);border-top:1px solid #c8e6c9;border-bottom:1px solid #c8e6c9}
.cta-section h2{color:#1a1a1a;margin-bottom:16px}
.cta-section p{color:#555;font-size:19px;max-width:600px;margin:0 auto 32px}

/* === FOOTER === */
.footer{background:#1b5e20;border-top:1px solid #2e7d32;color:#c8e6c9;padding:50px 0 20px}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-bottom:30px}
.footer h4{color:#fff;margin-bottom:16px;font-size:16px}
.footer p{color:#a5d6a7}
.footer a{color:#c8e6c9;transition:color .2s}
.footer a:hover{color:#fff}
.footer-links li{margin-bottom:8px}
.footer-bottom{border-top:1px solid #2e7d32;padding-top:20px;text-align:center;font-size:13px;color:#81c784}

/* === BREADCRUMB === */
.breadcrumb{padding:14px 0;font-size:14px;color:#999}
.breadcrumb a{color:#2e7d32}
.breadcrumb span{margin:0 8px;color:#ccc}

/* === PAGE CONTENT === */
.page-content{padding:50px 0 80px}
.page-content h1{margin-bottom:30px;color:#1a1a1a}
.page-content h2{font-size:26px;margin-top:30px;color:#1a1a1a}
.page-content p{color:#555}
.page-content ul{margin:16px 0 16px 20px}
.page-content ul li{padding:4px 0;list-style:disc;color:#555}

/* === PRODUCTS SECTION === */
.products-section{padding:50px 0 80px}
.product-badge{display:inline-block;background:rgba(46,125,50,.1);color:#2e7d32;font-size:12px;font-weight:600;padding:4px 12px;border-radius:12px;margin-bottom:10px}

/* === PRICE TABLE === */
.price-table{width:100%;border-collapse:collapse;margin-bottom:16px;font-size:14px}
.price-table th{background:#e8f5e9;color:#1a1a1a;padding:10px 14px;text-align:left;font-weight:600}
.price-table td{padding:10px 14px;border-bottom:1px solid #e0e0e0;color:#555}
.price-table .member-price{color:#2e7d32;font-weight:700}

/* === DELIVERY LIST === */
.delivery-list li{padding:8px 0;padding-left:28px;position:relative;color:#555}
.delivery-list li::before{content:'\2713';position:absolute;left:0;color:#2e7d32;font-weight:700}

/* === THANK YOU === */
.thankyou-section{padding:100px 0;text-align:center}
.thankyou-section .checkmark{width:80px;height:80px;background:#2e7d32;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px}
.thankyou-section .checkmark svg{width:40px;height:40px;fill:#fff}
.thankyou-section h1{color:#2e7d32}

/* === MODAL === */
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1000;align-items:center;justify-content:center}
.modal-overlay.active{display:flex}
.modal{background:#fff;border:1px solid #e0e0e0;border-radius:14px;padding:40px;max-width:480px;width:90%;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.15)}
.modal-close{position:absolute;top:12px;right:16px;background:none;border:none;font-size:28px;cursor:pointer;color:#999}
.modal-close:hover{color:#333}
.modal h3{color:#1a1a1a;margin-bottom:20px;text-align:center}
.form-group{margin-bottom:16px}
.form-group label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:#555}
.form-group input{width:100%;padding:12px 14px;border:1px solid #ddd;border-radius:8px;font-size:16px;font-family:inherit;background:#fff;color:#333;transition:border-color .2s}
.form-group input:focus{outline:none;border-color:#2e7d32}
.form-group input::placeholder{color:#aaa}
.form-submit{width:100%;padding:14px;background:#2e7d32;color:#fff;border:none;border-radius:8px;font-size:17px;font-weight:700;cursor:pointer;transition:background .2s}
.form-submit:hover{background:#1b5e20}
.form-note{text-align:center;font-size:13px;color:#999;margin-top:12px}

/* === MAD-GROUP STYLE SECTIONS === */

/* Case cards — image + text side by side (merchandising/brand promotion style) */
.case-section{padding:70px 0;background:#fff}
.case-section:nth-child(even){background:#f7f8fa}
.case-card{display:flex;align-items:center;gap:48px}
.case-reverse .case-card{flex-direction:row-reverse}
.case-image{flex:0 0 45%}
.case-image img{width:100%;height:auto}
.case-content{flex:1}
.case-tag{display:inline-block;background:#e8f5e9;color:#2e7d32;font-size:12px;font-weight:700;padding:4px 14px;border-radius:20px;margin-bottom:12px;text-transform:uppercase;letter-spacing:1px}
.case-content h2{margin-bottom:12px}
.case-content p{font-size:17px;color:#555;margin-bottom:16px}
.case-price{font-size:28px;font-weight:700;color:#2e7d32;margin-bottom:20px}
.case-price-old{font-size:16px;color:#aaa;text-decoration:line-through;margin-left:10px;font-weight:400}
.case-actions{display:flex;gap:12px;flex-wrap:wrap}

/* Services grid — 4 items with icons (UsługiMad style) */
.services-section{padding:70px 0;background:#f7f8fa}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.service-item{text-align:center;padding:28px 16px}
.service-icon{width:56px;height:56px;margin:0 auto 16px;background:#e8f5e9;border-radius:50%;display:flex;align-items:center;justify-content:center}
.service-icon svg{width:26px;height:26px;fill:#2e7d32}
.service-item h4{margin-bottom:6px}
.service-item p{font-size:14px;color:#777;margin:0}

/* Quote section — motivational text */
.quote-section{padding:60px 0;background:#e8f5e9;text-align:center}
.quote-section blockquote{max-width:700px;margin:0 auto 16px}
.quote-section blockquote p{font-size:22px;font-style:italic;color:#333;line-height:1.5;margin:0}
.quote-sub{font-size:16px;color:#2e7d32;font-weight:700;text-transform:uppercase;letter-spacing:1.5px}

/* Offices grid — multi-location */
.offices-section{padding:60px 0;background:#fff}
.offices-title{text-align:center;font-size:14px;letter-spacing:3px;text-transform:uppercase;color:#999;margin-bottom:32px}
.offices-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.office-card{text-align:center;padding:24px}
.office-card h4{color:#2e7d32;font-size:16px;margin-bottom:10px;letter-spacing:1px}
.office-card p{font-size:14px;color:#777;margin-bottom:4px;line-height:1.5}
.office-contact{color:#2e7d32;font-weight:600}

/* === RESPONSIVE === */
@media(max-width:1024px){
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .project-grid{grid-template-columns:repeat(2,1fr)}
  .stats-row{grid-template-columns:repeat(2,1fr)}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .offices-grid{grid-template-columns:repeat(2,1fr)}
  .case-card,.case-reverse .case-card{flex-direction:column}
}
@media(max-width:830px){
  .nav-menu{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid #e0e0e0;flex-direction:column;padding:20px;gap:16px}
  .nav-menu.open{display:flex}
  .mobile-toggle{display:block}
  .hero-content h1{font-size:32px}
  .footer-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .offices-grid{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr}
  .row{flex-direction:column}
  .col-2,.col-3,.col-4{flex:1 1 100%}
}
@media(max-width:480px){
  body{font-size:15px}
  h1{font-size:28px}
  h2{font-size:24px}
  .hero{min-height:400px}
  .section{padding:50px 0}
  .feature-grid,.project-grid{grid-template-columns:1fr}
  .stats-row{grid-template-columns:1fr}
}
