/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;600&family=Raleway:wght@400&display=swap');
*{
  box-sizing:border-box;
}

body{
  margin:0;
  padding-top:90px;
  font-family:'Poppins', sans-serif;
  font-size:clamp(14px, 1.1vw, 16px);
  overflow-x:hidden;}

.skip-link{
  position:absolute;
  left:-9999px;
  top:16px;
  z-index:10001;
  padding:12px 20px;
  background:#3f49ac;
  color:#fff;
  font-weight:600;
  text-decoration:none;
  border-radius:8px;
}

.skip-link:focus,
.skip-link:focus-visible{
  left:16px;
}

a:focus-visible,
button:focus-visible{
  outline:3px solid #fff;
  outline-offset:3px;
}

.hero-left .hero-cta:focus-visible{
  outline-color:#3f49ac;
}

.carousel-btn:focus-visible{
  outline-color:#ffdd3f;
}

/* HEADER */
header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 60px;
  background:#ff5c3c;
  color:white;
height:95px;
  position:fixed;
  top:0;
  left:0;
  width:100%;

  z-index:9999;
  box-shadow:0 2px 10px rgba(0,0,0,0.15);
   box-sizing:border-box;
}

.logo{
  height:100%;
  display:flex;
  align-items:center;
  text-decoration:none;
}

.logo img{
  height:90%;
  width:auto;
  display:block;
}

.logo img:hover{
  transform:scale(1.05);
}

.menu-toggle{
  display:none;
  width:40px;
  height:40px;
  border:none;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
  padding:8px;
}

.menu-toggle span{
  display:block;
  width:100%;
  height:3px;
  background:#ffdd3f;
  border-radius:2px;
}

.menu-toggle span + span{
  margin-top:6px;
}


/* MENU */

nav{
  display:flex;
  gap:50px;
}

nav a{
  text-decoration:none;

  font-size:clamp(13px, 1vw, 14px);
  font-weight:600;

  color:#fff;

  transition:0.3s;
}

nav a:hover{
  color:#ffdd3f;
}

nav a.active{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}

/* RIGHT SIDE */

.header-right{
  display:flex;
  align-items:center;
  gap:25px;
}

.phone,
.fb{
  text-decoration:none;

  font-size:clamp(13px, 1vw, 14px);
  font-weight:600;

  color:#fff;

  transition:0.3s;
}

.phone{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.phone svg{
  width:16px;
  height:16px;
  fill:currentColor;
}

.fb{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#1877f2;
  border-radius:50%;
  color:#fff;
}

.fb svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

.phone:hover,
.fb:hover{
  color:white;
}

.fb:hover{
  background:#0f63d2;
  transform:translateY(-1px);
}
/* HERO */

.hero{
  display:flex;
  width:100%;
  height:789px;
  max-height:100vh;
}

/* LEFT */

.hero-left{
  flex: 0 0 33.333%;
  background:#3f49ac;

  display:flex;
  flex-direction:column;
  justify-content:center;

  padding:80px;
}

/* RIGHT */
.hero-right{
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hero-right img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* TITLE */

.hero-left h1{
  margin:0;

  color:#ffdd3f;

  font-size:clamp(34px, 5.2vw, 65px);
  line-height:1.1;

  font-family:'Poppins', sans-serif;
  font-weight:200; /* extra light */
}

/* BAW SIĘ */

.hero-left h1 span{
  display:block;

  font-weight:600; /* semibold */
}

/* PARAGRAPH */

.hero-left p{
  margin-top:30px;

  color:#ffdd3f;

  font-size:clamp(14px, 1.35vw, 17px);
  line-height:1.7;

  font-family:'Raleway', sans-serif;

  max-width:450px;
}

/* BUTTON */

.hero-left button,
.hero-left .hero-cta{
  margin-top:40px;

  width:fit-content;

  padding:16px 34px;

  border:none;

  background:#ffdd3f;

  color:#3f49ac;

  font-size:clamp(13px, 1vw, 14px);
  font-weight:600;

  font-family:'Poppins', sans-serif;

  cursor:pointer;
  text-decoration:none;

  transition:0.3s;
}

.hero-left button:hover,
.hero-left .hero-cta:hover{
  transform:translateY(-3px);
  opacity:0.9;
}

/* ABOUT */
.about {
  text-align:center;
  padding:80px;
  background:#eee;
}

/* FEATURE */
.feature{
  display:flex;
  width:100%;
  height:480px;
  background:#ffdfcb;
}

.feature-img{
  width:50%;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  overflow:hidden;
}
.feature-img img{
  width:70%;
  height:70%;
  object-fit:contain;
}
.feature-text{
  width:50%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px 56px;
}

.feature-text h2{
  margin:0;

  font-size:clamp(24px, 2.4vw, 34px);
  font-family:'Poppins', sans-serif;
  font-weight:600;

  color:#3f49ac;
}

.feature-text p{
  margin-top:20px;

  font-size:clamp(14px, 1.15vw, 15px);
  font-family:'Raleway', sans-serif;

  color:#3f49ac;
  line-height:1.5;
  max-width:450px;
}

/* TESTIMONIALS */
.testimonials {
  text-align:center;
  padding:80px;
}

.grid {
  display:flex;
  justify-content:space-around;
  margin-top:40px;
}

/* GALLERY */
.gallery{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:20px;
}

.box{
  aspect-ratio:1 / 1;
  width:100%;
  display:block;
}
.box.text{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.box.img{
  overflow:hidden;
  padding:0;
}

.box.img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.t1{
  background:#3f49ac;
  color:#ffdd3f;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:clamp(24px, 3.2vw, 50px);
  font-family:'Poppins', sans-serif;
  font-weight:600;
}
.t2{
  background:#ff6640;
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:clamp(24px, 3.2vw, 50px);
  font-family:'Poppins', sans-serif;
  font-weight:600;

  text-align:center;
  padding:10px;
}

.t3{
  background:#ffdfcb;
  color:#3f49ac;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:clamp(24px, 3.2vw, 50px);
  font-family:'Poppins', sans-serif;
  font-weight:600;
}


/* FOOTER */
.footer{
  padding:10px 16px;
  background:#8f2916;
  color:#fff;
  text-align:center;
}
.footer p{
  margin:0;
  font-family:'Poppins', sans-serif;
  font-size:14px;
  font-weight:600;
  color:#fff;
}
/* MOBILE */
@media(max-width:768px){
  body{
    padding-top:130px;
  }

  header{
    height:auto;
    min-height:130px;
    padding:10px 16px 12px;
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-areas:
      "logo toggle"
      "right right";
    gap:8px 10px;
    align-items:center;
  }

  .logo{
    grid-area:logo;
  }

  .logo img{
    height:72px;
  }

  .menu-toggle{
    grid-area:toggle;
    display:block;
  }

  nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    gap:0;
    background:#ff5c3c;
    padding:6px 0;
    box-shadow:0 8px 14px rgba(0,0,0,0.18);
  }

  header.menu-open nav{
    display:flex;
  }

  nav a{
    display:block;
    width:100%;
    text-align:center;
    padding:10px 16px;
  }

  .header-right{
    grid-area:right;
    width:100%;
    justify-content:space-between;
    gap:12px;
    flex-wrap:nowrap;
  }

  .phone{
    order:2;
    font-size:16px;
    color:#fff;
  }

  .fb{
    order:1;
  }

  .hero {
    flex-direction:column;
    height:auto;
    max-height:none;
  }

  .hero-left{
    flex:unset;
    width:100%;
    padding:36px 20px;
    align-items:center;
    text-align:center;
  }

  .hero-right{
    width:100%;
    height:46vh;
    min-height:280px;
  }

  .hero-left h1{
    font-size:44px;
  }

  .hero-left p{
    font-size:15px;
    line-height:1.5;
    margin-top:20px;
  }

  .hero-left button{
    margin-top:24px;
    padding:14px 24px;
  }

  .feature {
    flex-direction:column;
    height:auto;
    min-height:0;
  }

  .feature-img,
  .feature-text{
    width:100%;
  }

  .feature-img{
    justify-content:center;
    padding:20px;
  }

  .feature-img img{
    width:70%;
    height:auto;
    max-height:240px;
  }

  .feature-text{
    padding:18px 20px 30px;
  }

  .feature-text h2{
    font-size:28px;
  }

  .feature-text p{
    max-width:none;
    font-size:14px;
  }

  .gallery {
    grid-template-columns:1fr 1fr;
    gap:12px;
    padding:0 12px 12px;
  }

  .t1,
  .t2,
  .t3{
    font-size:28px;
  }

  .footer{
    padding:8px 12px;
  }

  .footer p{
    font-size:13px;
  }
}

@media (max-width:480px){
  body{
    padding-top:124px;
  }

  .logo img{
    height:64px;
  }

  .phone{
    gap:6px;
    font-size:15px;
    color:#fff;
  }

  .hero-left h1{
    font-size:36px;
  }

  .gallery{
    grid-template-columns:1fr;
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
  }
}