
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* =========================================
   1. VARIABLES & GLOBAL STYLES
   ========================================= */

:root{
  --navy:#061d34;
  --yellow:#ffcc20;
  --ink:#0a2541;
  --muted:#596b7d;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth;scroll-padding-top:82px}
body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:white}
a{text-decoration:none;color:inherit}
button{font:inherit;cursor:pointer}

.container{width:min(100% - 76px,1170px);margin:auto}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;background:white;padding:12px;z-index:99}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */

.site-header{position:sticky;top:0;background:#fff;z-index:30;box-shadow:0 2px 13px #00142613}
.header-inner{height:83px;display:flex;align-items:center;justify-content:space-between;gap:25px}

.brand{width:245px;flex-shrink:0}
.brand img{width:100%;height:64px;object-fit:contain;object-position:left}

.nav{display:flex;gap:30px;align-items:center;font-size:14px;font-weight:600}
.nav a{padding:10px 0;position:relative}
.nav a:hover,.nav a.active{color:#111}
.nav a.active:after,.nav a:hover:after{content:'';position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--yellow);border-radius:5px}

.top-phone{white-space:nowrap}
.top-phone svg{height:20px;width:20px;fill:currentColor}

.menu-toggle{display:none}

/* =========================================
   3. BUTTONS
   ========================================= */

.button{display:inline-flex;gap:11px;align-items:center;justify-content:center;padding:14px 22px;border-radius:12px;font-size:14px;font-weight:800;transition:transform .2s,filter .2s}
.button:hover{transform:translateY(-2px);filter:brightness(1.04)}
.button-yellow{background:var(--yellow);color:#080e15}
.button-outline{color:white;border:1px solid #e9f0f8;background:#071c2c45}

/* =========================================
   4. HERO SECTION
   ========================================= */

.hero{background:var(--navy);color:white}
.hero-layout{min-height:435px;display:grid;grid-template-columns:52% 48%}
.hero-copy{padding:44px 0 40px;position:relative;z-index:2}

.hero h1{font-size:clamp(32px,3.9vw,52px);line-height:1.13;letter-spacing:-1.7px;margin:0 0 18px;font-weight:800}
.hero h1 em{font-style:normal;color:var(--yellow)}
.hero p{font-size:19px;line-height:1.5;color:#f0f4fa;margin:0}

.highlights{display:flex;gap:17px;flex-wrap:wrap;margin:27px 0 25px;font-size:12px;font-weight:800}
.highlights span{display:flex;align-items:center;gap:7px}
.highlights b{display:grid;place-items:center;background:var(--yellow);color:#061d34;border-radius:50%;width:24px;height:24px;font-size:15px}

.cta-row{display:flex;flex-wrap:wrap;gap:13px}
.cta-row .button{min-height:54px}
.cta-row .button span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.3}

.hero-image{min-height:435px;margin-right:calc((min(100vw,1246px) - 100vw)/2);background:linear-gradient(90deg,var(--navy) 0%,#061d3400 22%),url('assets/hero-boiler.webp') center/cover no-repeat}

/* =========================================
   5. GENERAL SECTIONS
   ========================================= */

.section{padding:27px 0 31px}

.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}
.section-heading h2,.benefits h2,.contact h2{font-size:clamp(25px,2.8vw,32px);font-weight:800;letter-spacing:-.7px;line-height:1.2;margin:0}
.section-heading h2:after,.benefits h2:after,.contact h2:after{content:'';display:block;width:44px;height:4px;background:var(--yellow);border-radius:4px;margin-top:8px}
.section-heading p{font-size:13px;color:var(--muted);margin:0}

/* =========================================
   6. SERVICES
   ========================================= */

.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

.service-card{min-height:193px;position:relative;overflow:hidden;border-radius:9px;background:#eaf1f7;isolation:isolate}
.service-card:before{content:'';position:absolute;inset:0;background:var(--service-image) 83% center/auto 100% no-repeat;z-index:-2}
.service-card:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#edf3f9 0%,#edf3f9 37%,#edf3f9e6 49%,#edf3f900 87%);z-index:-1}

.service-content{padding:17px 15px 15px 20px;max-width:67%}
/*.service-icon{width:51px;height:51px;display:grid;place-items:center;background:var(--yellow);border-radius:50%;font-size:27px;color:#001e35;font-weight:800}*/
.service-icon{width:60px;height:60px;display:grid;place-items:center;background:var(--yellow);border-radius:50%;color:var(--navy)}
.service-icon i{font-size:27px;line-height:1}

.service-card h3{font-size:21px;margin:13px 0 7px}
.service-card p{font-size:12px;line-height:1.55;margin:0}

.round-arrow{position:absolute;right:13px;bottom:13px;background:white;color:var(--ink);border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:23px;box-shadow:0 2px 10px #0002}

/* =========================================
   7. BENEFITS - DLACZEGO WARTO
   ========================================= */

.benefits{background:#eef4fa;padding:25px 0 30px}

.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px}
.benefit{display:flex;align-items:center;gap:12px}
/*.benefit-icon{width:64px;height:64px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:white;color:#f9bc00;font-size:35px;font-weight:500}*/
.benefit-icon{width:64px;height:64px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:white;color:#f9bc00}
.benefit-icon i{font-size:29px;line-height:1}

.benefit h3{font-size:14px;margin:0 0 5px}
.benefit p{font-size:12px;line-height:1.5;color:#52667a;margin:0}

/* =========================================
   8. GALLERY
   ========================================= */

.gallery-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.gallery-item{padding:0;border:0;border-radius:7px;overflow:hidden;background:#eaf0f5;aspect-ratio:1/1.06}
.gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.gallery-item:hover img{transform:scale(1.06)}
.gallery-note{color:#6a7886;font-size:11px;margin:10px 0 0}

/* =========================================
   9. CONTACT SECTION
   ========================================= */

.contact{color:white;background:linear-gradient(90deg,#051e36 0%,#051e36f5 34%,#051e3655 65%,#051e3600 100%),url('assets/dom.webp') center right/cover no-repeat}
.contact-layout{min-height:230px;display:flex;align-items:center}
.contact-copy{padding:26px 0 25px}

.contact h2{font-size:29px}
.contact p{font-size:16px;line-height:1.5}
.contact .location{font-size:12px;color:#dbe6f1;margin-bottom:0}

/* =========================================
   10. FOOTER
   ========================================= */

.footer{background:#061d34;color:white}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:83px}

.footer-brand{width:190px;border-radius:6px;padding:4px 8px}
.footer-brand img{width:100%;display:block}

.footer nav{display:flex;gap:22px;font-size:12px}
.footer small{font-size:11px;color:#c2cfdd}

/* =========================================
   11. IMAGE LIGHTBOX
   ========================================= */

dialog{border:0;border-radius:12px;padding:12px;max-width:min(90vw,900px);background:#fff}
dialog::backdrop{background:#00101ce8}
dialog img{max-width:100%;max-height:80vh;display:block}

.lightbox-close{position:absolute;right:17px;top:17px;background:white;border:0;border-radius:50%;font-size:26px;width:40px;height:40px}

/* =========================================
   12. TABLET - MAX 1000PX
   ========================================= */

@media(max-width:1000px){

  .container{width:min(100% - 42px,1170px)}
  .brand{width:205px}
  .nav{gap:16px}
  .top-phone{font-size:12px;padding:12px}

  .hero-layout{grid-template-columns:54% 46%}
  .hero h1{font-size:39px}

  .service-grid{gap:9px}
  .service-content{max-width:77%}

  .benefit-grid{gap:12px}
  .benefit-icon{width:49px;height:49px;font-size:27px}

}

/* =========================================
   13. MOBILE - MAX 750PX
   ========================================= */

@media(max-width:750px){

  /* Header */

  .header-inner{height:70px}
  .brand{width:195px}
  .top-phone{margin-left:auto}

  /* Mobile menu */

  .menu-toggle{display:flex;width:42px;height:42px;flex-direction:column;justify-content:center;gap:5px;background:none;border:0;order:3}
  .menu-toggle span{height:2px;width:24px;background:var(--ink)}

  .nav{display:none;position:absolute;top:70px;left:0;right:0;background:white;box-shadow:0 12px 20px #0002;padding:15px 24px;flex-direction:column;align-items:flex-start}
  .nav.open{display:flex}

  /* Hero - boiler image behind text */

  .hero-layout{position:relative;display:block;min-height:0;isolation:isolate;overflow:hidden}
  .hero-image{position:absolute;inset:0;z-index:-2;min-height:0;margin:0;background:url('assets/hero-boiler.webp') 62% center/cover no-repeat}
  .hero-layout::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,29,52,.97) 0%,rgba(6,29,52,.91) 45%,rgba(6,29,52,.70) 100%);pointer-events:none}
  .hero-copy{position:relative;z-index:1;padding:35px 0 40px}

  /* Services */

  .service-grid{grid-template-columns:1fr}
  .service-card{min-height:195px}
  .service-content{max-width:58%}

  /* Benefits */

  .benefit-grid{grid-template-columns:repeat(2,1fr)}

  /* Gallery */

  .gallery-grid{grid-template-columns:repeat(3,1fr)}

  /* Contact */

  .contact{background-position:65% center}

  /* Footer */

  .footer-inner{flex-wrap:wrap;padding:15px 0}

}

/* =========================================
   14. SMALL MOBILE - MAX 480PX
   ========================================= */

@media(max-width:480px){

  /* General */

  .container{width:calc(100% - 32px)}

  /* Header */

  .brand{width:160px}
  .top-phone{display:none}

  /* Hero */

  .hero h1{font-size:clamp(29px,7.5vw,35px);line-height:1.14;letter-spacing:-.8px}
  .hero p{font-size:16px}
  .hero-image{background-position:60% center}
  .hero-layout::before{background:linear-gradient(90deg,rgba(6,29,52,.96),rgba(6,29,52,.80))}
  .hero-copy{padding:30px 0 35px}

  .highlights{gap:10px;margin:22px 0}
  .cta-row .button{width:100%}

  /* Sections */

  .section-heading{align-items:flex-start;flex-direction:column;gap:7px}

  /* Benefits */

  .benefit-grid{grid-template-columns:1fr 1fr;gap:18px 9px}
  .benefit{align-items:flex-start;flex-direction:column;gap:5px}

  /* Gallery */

  .gallery-grid{grid-template-columns:repeat(2,1fr)}

  /* Contact */

  .contact{background-image:linear-gradient(90deg,#061d34ed,#061d34a8),url('assets/dom.webp')}
  .contact h2{font-size:26px}

  /* Footer */

  .footer nav{flex-wrap:wrap;gap:12px}

}

/* =========================================
   15. ACCESSIBILITY
   ========================================= */

@media(prefers-reduced-motion:reduce){

  html{scroll-behavior:auto}
  *{transition:none!important}

}

/* =========================================
   ABOUT COMPANY
   ========================================= */

.about{background:#f7f9fc;padding:35px 0 40px}
.about-layout{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:45px}
.about-content p{font-size:15px;line-height:1.8;color:#42566a;margin:0 0 15px}
.about-content p:last-child{margin-bottom:0}
.about-partner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:white;padding:30px 25px;border:1px solid #e5ebf1;border-radius:14px;box-shadow:0 6px 24px #061d340a}
.about-partner img{display:block;width:100%;max-width:320px;height:auto;object-fit:contain}
.about-partner span{font-size:12px;font-weight:700;color:#596b7d;text-align:center}

/* MOBILE */

@media(max-width:750px){
  .about-layout{grid-template-columns:1fr;gap:25px}
  .about-partner{padding:25px 20px}
  .about-partner img{max-width:270px}
}

@media(max-width:480px){
  .about{padding:28px 0 32px}
  .about-content p{font-size:14px;line-height:1.7}
  .about-partner img{max-width:240px}
}