:root {
  --dark: #002f2e;
  --dark-2: #003f3d;
  --teal: #00a9a5;
  --teal-light: #19c4bd;
  --red: #d51f26;
  --white: #ffffff;
  --muted: #b8d3d1;
  --black: #061515;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background: var(--dark);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 35, 34, .78);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    width: 120px;
    height: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-top {
    color: white;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
}

.logo-bottom {
    color: white;
    font-family: Georgia, serif;
    font-size: 30px;
    letter-spacing: 7px;
    margin-top: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding: 34px 0;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: .25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-phone {
  display: none;
  font-weight: 800;
  white-space: nowrap;
}

/* HERO */
.hero {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,45,43,.98) 0%, rgba(0,61,59,.92) 44%, rgba(0,50,49,.42) 70%, rgba(0,30,30,.2) 100%),
    linear-gradient(135deg, #006765, #002b2a);
}

.hero::before {
  content: "";
  position: absolute;
  right: -4%;
  top: 80px;
  width: 57%;
  height: 100%;
  background:
    linear-gradient(145deg, transparent 0 28%, rgba(255,255,255,.08) 28% 29%, transparent 29%),
    repeating-linear-gradient(155deg, rgba(255,255,255,.12) 0 2px, transparent 2px 22px);
  transform: skewX(-9deg);
  opacity: .55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 55%, rgba(0,190,183,.18), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--teal-light);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: .91;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -3px;
}

.hero h1 em {
  display: block;
  color: var(--teal-light);
  font-style: italic;
  margin-top: 10px;
}

.hero p {
  max-width: 520px;
  margin: 25px 0;
  font-size: 20px;
  color: #e1efee;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--red);
  border: 3px solid rgba(255,255,255,.9);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 8px 25px rgba(0,0,0,.22);
  transition: transform .2s ease, background .2s ease;
}

.call-btn:hover {
  transform: translateY(-3px);
  background: #ef2b32;
}

.phone-icon {
  font-size: 25px;
}

.hero-slash {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 43%;
  height: 38px;
  background: var(--white);
  clip-path: polygon(0 100%, 10% 0, 34% 0, 26% 100%);
}

/* SECTION TITLES */
.section {
  padding: 70px 0;
}

.section-title {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.section-title span,
.small-title {
  display: inline-block;
  color: var(--red);
  background: var(--white);
  border: 3px solid var(--red);
  border-radius: 999px;
  padding: 6px 45px 8px;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  box-shadow: 0 5px 0 rgba(0,0,0,.08);
}

/* OFFER */
.offer-section {
  background:
    linear-gradient(rgba(0,75,72,.96), rgba(0,50,49,.98));
}

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

.offer-card {
  min-height: 205px;
  padding: 28px 22px;
  text-align: center;
  border: 2px solid var(--teal);
  border-radius: 20px;
  background: rgba(0,30,29,.3);
  transition: transform .25s ease, background .25s ease;
}

.offer-card:hover {
  transform: translateY(-7px);
  background: rgba(0,164,159,.12);
}

.offer-icon {
  height: 68px;
  display: grid;
  place-items: center;
  font-size: 54px;
  color: var(--white);
  line-height: 1;
}

.offer-card h3 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.08;
  font-style: italic;
}

.offer-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* WHY */
.why-section {
  padding: 70px 0 80px;
  background: #004b49;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.benefit {
  text-align: center;
}

.benefit-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border: 3px solid var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
}

.benefit h3 {
  font-size: 17px;
  line-height: 1.2;
  font-style: italic;
}

.benefit p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

/* PROJECTS */
.projects-section {
  background: #003b39;
}

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

.project-card {
  overflow: hidden;
  border: 3px solid var(--teal-light);
  border-radius: 22px;
  background: #002725;
}

.project-image {
  height: 250px;
  position: relative;
  background:
    linear-gradient(145deg, rgba(0,175,169,.25), transparent 55%),
    repeating-linear-gradient(165deg, #273d3b 0 9px, #172c2b 9px 18px);
}

.project-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}

.project-2 {
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 45%),
    repeating-linear-gradient(155deg, #344a47 0 10px, #1d302f 10px 21px);
}

.project-3 {
  background:
    linear-gradient(155deg, rgba(0,174,168,.2), transparent 50%),
    repeating-linear-gradient(170deg, #435754 0 8px, #263b39 8px 17px);
}

.project-card figcaption {
  padding: 13px 18px 16px;
  font-weight: 800;
  text-align: center;
}

/* ABOUT + CONTACT */
.about-contact {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(0,178,171,.2), transparent 30%),
    #002d2c;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.small-title {
  padding: 8px 25px;
  font-size: 25px;
  margin-bottom: 25px;
}

.about-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.03;
  font-style: italic;
}

.about-copy h2 span {
  color: var(--teal-light);
}

.about-copy p {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
}

.outline-btn {
  display: inline-flex;
  margin-top: 25px;
  padding: 12px 25px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: var(--teal-light);
  font-weight: 800;
  transition: .2s;
}

.outline-btn:hover {
  background: var(--teal);
  color: var(--dark);
}

.contact-box {
  padding: 35px;
  border-left: 2px solid var(--teal);
  background: rgba(0,0,0,.13);
  border-radius: 0 20px 20px 0;
}

.contact-row {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 14px;
  font-size: 24px;
}

.contact-row span:last-child {
  display: flex;
  flex-direction: column;
}

.contact-row small {
  color: var(--teal-light);
  font-weight: 800;
  letter-spacing: 1px;
}

.contact-row strong {
  margin-top: 3px;
  font-size: 17px;
}

/* CTA */
.cta {
  padding: 55px 0;
  background: var(--red);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta span {
  font-weight: 800;
  letter-spacing: 1px;
}

.cta h2 {
  margin-top: 5px;
  font-size: clamp(25px, 4vw, 43px);
  line-height: 1;
  font-style: italic;
}

.cta .call-btn {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  box-shadow: none;
  white-space: nowrap;
}

/* FOOTER */
.footer {
  background: #001c1c;
}

.footer-top {
  min-height: 125px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #78918f;
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .offer-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 45px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 30px));
  }

  .site-header {
    position: relative;
  }

  .nav-wrap {
    min-height: 75px;
  }

  .main-nav {
    display: none;
  }

  .nav-phone {
    display: block;
    font-size: 14px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 32px;
  }

  .logo-text strong {
    font-size: 19px;
  }

  .logo-text small {
    font-size: 17px;
  }

  .hero {
    min-height: 570px;
  }

  .hero-content {
    padding-top: 55px;
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 72px);
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 17px;
  }

  .call-btn {
    width: 100%;
    font-size: 17px;
  }

  .section-title span {
    font-size: 27px;
    padding: 8px 28px;
  }

  .offer-grid,
  .projects-grid,
  .benefits,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 180px;
  }

  .benefits {
    gap: 38px;
  }

  .about-grid {
    gap: 45px;
  }

  .contact-box {
    padding: 25px 15px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    justify-content: center;
    padding: 35px 0;
  }

  .footer-links {
    justify-content: center;
  }
}

/* =========================================
   NOWY HERO - STYL DRUGIEGO PROJEKTU
   ========================================= */

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #003b39 0%,
            #004d4a 48%,
            #003a38 100%
        );
}

/* dekoracyjne linie po prawej stronie */
.hero::before {
    content: "";
    position: absolute;

    top: 0;
    right: -5%;

    width: 58%;
    height: 100%;

    background:
        repeating-linear-gradient(
            -25deg,
            transparent 0px,
            transparent 17px,
            rgba(35, 190, 184, 0.18) 18px,
            transparent 20px
        );

    transform: skewX(-8deg);

    opacity: 0.7;

    z-index: 1;
}


/* dodatkowa zielona poświata */
.hero::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 55%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(0, 60, 57, 0),
            rgba(0, 175, 168, 0.12)
        );

    z-index: 1;

    pointer-events: none;
}


/* zawartość hero */
.hero-content {
    position: relative;

    z-index: 5;

    width: min(1400px, 100%);

    margin: 0 auto;

    padding:
        110px
        35px
        70px;

    display: grid;

    grid-template-columns:
        48%
        52%;

    align-items: center;
}


/* LEWA STRONA */
.hero-copy {
    position: relative;

    z-index: 10;

    max-width: 720px;

    padding-left: 15px;
}


/* mały napis */
.eyebrow {
    display: block;

    margin-bottom: 22px;

    color: #18c4bd;

    font-size: 19px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* GŁÓWNY NAPIS */
.hero h1 {
    margin: 0;

    font-size:
        clamp(55px, 6vw, 100px);

    line-height: 0.88;

    font-weight: 900;

    font-style: italic;

    letter-spacing: -4px;

    text-transform: uppercase;
}


/* turkusowa druga część */
.hero h1 em {
    display: block;

    margin-top: 10px;

    color: #18c4bd;

    font-style: italic;
}


/* opis */
.hero p {
    max-width: 590px;

    margin:
        30px
        0
        28px;

    font-size: 20px;

    line-height: 1.5;

    color: #e7f4f3;
}


/* PRZYCISK */
.call-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 62px;

    padding:
        0
        32px;

    border-radius: 50px;

    background: #dc2028;

    border:
        3px solid
        white;

    color: white;

    font-size: 21px;

    font-weight: 900;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.25);

    transition:
        .25s ease;
}

.call-btn:hover {
    transform: translateY(-3px);

    background: #ef2930;
}


/* =========================================
   ZDJĘCIE PO PRAWEJ
   ========================================= */

.hero-image {
    position: relative;

    z-index: 4;

    width: 115%;

    height: 525px;

    margin-left: -5%;

    overflow: hidden;

    /*
       Ukośny lewy bok,
       tak jak na drugim projekcie
    */
    clip-path: polygon(
        16% 0%,
        100% 0%,
        100% 100%,
        0% 100%
    );

    box-shadow:
        -20px 0 50px
        rgba(0,0,0,.25);
}


.hero-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    /*
       możesz zmieniać:
       center
       center top
       60% center
    */
    object-position: center;

    transform: scale(1.04);

    transition:
        transform .6s ease;
}


.hero-image:hover img {
    transform: scale(1.08);
}


/* delikatne przyciemnienie zdjęcia */
.hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,55,52,.25),
            transparent 25%,
            transparent 80%,
            rgba(0,30,30,.12)
        );

    pointer-events: none;
}


/* =========================================
   BIAŁE UKOŚNE PASKI
   ========================================= */

.hero-slash {
    position: absolute;

    left: 0;

    bottom: 0;

    width: 250px;

    height: 55px;

    background: white;

    clip-path: polygon(
        0 100%,
        25% 0,
        58% 0,
        37% 100%
    );

    z-index: 10;
}


/* drugi pasek */
.hero-slash::after {
    content: "";

    position: absolute;

    left: 95px;

    top: 0;

    width: 75px;

    height: 55px;

    background: #061515;

    clip-path: polygon(
        25% 0,
        100% 0,
        75% 100%,
        0 100%
    );
}


/* =========================================
   TELEFON / MOBILE
   ========================================= */

@media (max-width: 900px) {

    .hero {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;

        padding:
            90px
            25px
            50px;
    }

    .hero-copy {
        padding-left: 0;

        margin-bottom: 40px;
    }

    .hero-image {
        width: 100%;

        height: 400px;

        margin-left: 0;

        clip-path: polygon(
            8% 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }

    .hero h1 {
        font-size:
            clamp(48px, 11vw, 75px);
    }
}


/* mały telefon */
@media (max-width: 600px) {

    .hero-content {
        padding-top: 55px;
    }

    .eyebrow {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-image {
        height: 330px;
    }

    .call-btn {
        width: 100%;

        font-size: 17px;
    }
}