:root {
      --teal-dark:   #2d5c5a;
      --teal:        #3d7a77;
      --teal-mid:    #5a9e9b;
      --teal-light:  #8ec5c2;
      --teal-pale:   #c8dede;
      --teal-bg:     #eef5f5;
      --white:       #ffffff;
      --off-white:   #f5f7f7;
      --text:        #1a2e2d;
      --muted:       #6b8a89;
      --border:      #d0e0df;
      --accent:      #2d5c5a;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      background: var(--white);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 5vw;
      height: 68px;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: .5rem;
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 1.3rem;
      color: var(--teal-dark);
      letter-spacing: .5px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
    }

    .nav-links { display: flex; gap: 2.5rem; list-style: none; }

    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: .85rem;
      font-weight: 400;
      letter-spacing: .5px;
      transition: color .2s;
    }
    .nav-links a:hover { color: var(--teal-dark); }

    .nav-cta {
      padding: .6rem 1.5rem;
      background: var(--teal-dark);
      color: white !important;
      border-radius: 2px;
      font-weight: 500 !important;
      transition: background .2s !important;
    }
    .nav-cta:hover { background: var(--teal) !important; color: white !important; }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding-top: 68px;
      background: var(--off-white);
    }

    .hero-left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 6rem 4vw 6rem 8vw;
      position: relative;
    }

    .hero-eyebrow {
      font-size: .75rem;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--teal-mid);
      margin-bottom: 2rem;
      animation: fadeUp .6s ease both;
    }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      font-size: clamp(2.8rem, 5vw, 4.5rem);
      line-height: 1.1;
      color: var(--teal-dark);
      margin-bottom: 1.8rem;
      animation: fadeUp .6s .1s ease both;
    }

    .hero-title strong {
      font-weight: 500;
      display: block;
    }

    .hero-desc {
      font-size: 1rem;
      line-height: 1.85;
      color: var(--muted);
      max-width: 440px;
      margin-bottom: 2.5rem;
      animation: fadeUp .6s .2s ease both;
    }

    .hero-cta {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      animation: fadeUp .6s .3s ease both;
    }

    .btn {
      display: inline-block;
      padding: .85rem 2rem;
      font-family: 'DM Sans', sans-serif;
      font-weight: 500;
      font-size: .85rem;
      letter-spacing: 1px;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: all .25s;
    }

    .btn-primary {
      background: var(--teal-dark);
      color: white;
    }
    .btn-primary:hover { background: var(--teal); }

    .btn-outline {
      background: transparent;
      color: var(--teal-dark);
      border: 1px solid var(--teal-pale);
    }
    .btn-outline:hover { border-color: var(--teal-dark); }

    .hero-right {
      position: relative;
      overflow: hidden;
    }

    .hero-right img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, var(--off-white) 0%, transparent 25%);
    }

    /* wave divider */
    .wave {
      width: 100%;
      overflow: hidden;
      line-height: 0;
      margin-top: -2px;
    }
    .wave svg { display: block; width: 100%; }

    /* ── TAGLINE BAND ── */
    #tagline {
      background: var(--teal-dark);
      padding: 2.5rem 8vw;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .tagline-text {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.5rem, 3vw, 2.4rem);
      font-weight: 300;
      color: white;
      letter-spacing: .5px;
    }

    .tagline-sub {
      color: var(--teal-pale);
      font-size: .85rem;
      letter-spacing: 3px;
      text-transform: uppercase;
    }

    /* ── SECTION SHARED ── */
    section { padding: 7rem 8vw; }

    .section-label {
      font-size: .72rem;
      letter-spacing: 5px;
      text-transform: uppercase;
      color: var(--teal-mid);
      margin-bottom: 1rem;
    }

    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      font-size: clamp(2rem, 4vw, 3.4rem);
      color: var(--teal-dark);
      line-height: 1.15;
      margin-bottom: 1.2rem;
    }

    .section-sub {
      color: var(--muted);
      font-size: .95rem;
      line-height: 1.85;
      max-width: 560px;
    }

    /* ── DLACZEGO ── */
    #dlaczego { background: var(--off-white); }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-top: 3.5rem;
    }

    .why-card {
      background: white;
      border: 1px solid var(--border);
      padding: 2rem;
      position: relative;
      transition: box-shadow .25s, transform .25s;
    }

    .why-card:hover {
      box-shadow: 0 8px 32px rgba(45,92,90,.1);
      transform: translateY(-3px);
    }

    .why-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3.5rem;
      color: var(--teal-pale);
      line-height: 1;
      margin-bottom: .75rem;
    }

    .why-card h3 {
      font-size: .95rem;
      font-weight: 600;
      color: var(--teal-dark);
      margin-bottom: .6rem;
      letter-spacing: .3px;
    }

    .why-card p {
      color: var(--muted);
      font-size: .88rem;
      line-height: 1.75;
    }

    /* ── HISTORIA ── */
    #historia {
      background: white;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: center;
      padding: 7rem 8vw;
    }

    .historia-img {
      position: relative;
    }

    .historia-img img {
      width: 100%;
      height: 480px;
      object-fit: cover;
      display: block;
    }

    .historia-img::before {
      content: '';
      position: absolute;
      top: -1.5rem;
      right: -1.5rem;
      width: 120px;
      height: 120px;
      background: var(--teal-pale);
      z-index: -1;
    }

    /* ── BETON ── */
    #beton { background: var(--teal-dark); color: white; }

    #beton .section-label { color: var(--teal-light); }
    #beton .section-title { color: white; }
    #beton .section-sub { color: var(--teal-pale); }

    .beton-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      margin-top: 3.5rem;
    }

    .beton-item {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      padding-bottom: 2rem;
      border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .beton-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.5rem;
      color: var(--teal-light);
      line-height: 1;
      flex-shrink: 0;
      min-width: 40px;
    }

    .beton-item h3 {
      font-size: .95rem;
      font-weight: 600;
      margin-bottom: .5rem;
      color: white;
    }

    .beton-item p {
      font-size: .88rem;
      line-height: 1.75;
      color: var(--teal-pale);
    }

    /* ── MODUŁY ── */
    #moduly { background: var(--off-white); }

    .moduly-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 3.5rem;
    }

    .modul-card {
      background: white;
      border: 1px solid var(--border);
      overflow: hidden;
      transition: box-shadow .25s;
    }

    .modul-card:hover { box-shadow: 0 8px 32px rgba(45,92,90,.12); }

    .modul-card-top {
      background: var(--teal-bg);
      padding: 2.5rem 2rem;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
    }

    .modul-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      font-weight: 400;
      color: var(--teal-dark);
    }

    .modul-area {
      font-family: 'DM Sans', sans-serif;
      font-size: 2rem;
      font-weight: 300;
      color: var(--teal-mid);
      line-height: 1;
    }

    .modul-area small { font-size: .75rem; }

    .modul-card-body { padding: 1.5rem 2rem; }

    .modul-card-body p {
      color: var(--muted);
      font-size: .88rem;
      line-height: 1.75;
    }

    /* ── WYMIARY ── */
    #wymiary {
      background: white;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: center;
      padding: 7rem 8vw;
    }

    .wymiary-specs {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: 2rem;
    }

    .spec-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.5rem;
      background: var(--off-white);
      border-left: 3px solid var(--teal-mid);
    }

    .spec-label {
      color: var(--muted);
      font-size: .8rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      min-width: 90px;
    }

    .spec-value {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      color: var(--teal-dark);
    }

    .areas-list {
      margin-top: 2rem;
      display: flex;
      flex-direction: column;
      gap: .6rem;
    }

    .area-item {
      display: flex;
      align-items: center;
      gap: .8rem;
      font-size: .9rem;
      color: var(--muted);
    }

    .area-item::before {
      content: '→';
      color: var(--teal-mid);
      font-size: .8rem;
    }

    /* ── PROCES ── */
    #proces { background: var(--teal-dark); }

    #proces .section-label { color: var(--teal-light); }
    #proces .section-title { color: white; }

    .proces-steps {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 0;
      margin-top: 4rem;
      position: relative;
    }

    .proces-steps::before {
      content: '';
      position: absolute;
      top: 2rem;
      left: 2rem;
      right: 2rem;
      height: 1px;
      background: rgba(255,255,255,.2);
    }

    .step {
      padding: 0 1.2rem;
      position: relative;
      z-index: 1;
    }

    .step-dot {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      color: var(--teal-light);
      margin-bottom: 1.5rem;
    }

    .step h4 {
      font-size: .82rem;
      font-weight: 600;
      color: white;
      margin-bottom: .6rem;
      letter-spacing: .3px;
    }

    .step p {
      font-size: .78rem;
      color: var(--teal-pale);
      line-height: 1.65;
    }

    /* ── WYPOSAZENIE ── */
    #wyposazenie { background: var(--off-white); }

    .finish-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      margin-top: 3.5rem;
      border: 1px solid var(--border);
    }

    .finish-card {
      background: white;
      padding: 2rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      transition: background .2s;
    }

    .finish-card:hover { background: var(--teal-bg); }

    .finish-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--teal-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
    }

    .finish-card span {
      font-size: .9rem;
      color: var(--text);
      font-weight: 400;
    }

    /* ── KONTAKT ── */
    #kontakt {
      background: white;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      padding: 7rem 8vw;
      align-items: start;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

    .form-group { display: flex; flex-direction: column; gap: .4rem; }

    .form-group label {
      font-size: .72rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 500;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      background: var(--off-white);
      border: 1px solid var(--border);
      color: var(--text);
      padding: .85rem 1rem;
      font-family: 'DM Sans', sans-serif;
      font-size: .9rem;
      outline: none;
      resize: vertical;
      transition: border .2s;
      -webkit-appearance: none;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--teal-mid);
    }

    .contact-info { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }

    .contact-row {
      display: flex;
      gap: 1rem;
      align-items: center;
    }

    .contact-icon-box {
      width: 42px;
      height: 42px;
      background: var(--teal-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }

    .contact-row span {
      font-size: .92rem;
      color: var(--text);
    }

    /* ── FOOTER ── */
    footer {
      background: var(--teal-dark);
      padding: 2.5rem 8vw;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-logo {
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 1.1rem;
      color: white;
      letter-spacing: 1px;
    }

    .footer-copy {
      color: var(--teal-pale);
      font-size: .8rem;
    }

    .footer-links { display: flex; gap: 2rem; }
    .footer-links a {
      color: var(--teal-pale);
      text-decoration: none;
      font-size: .8rem;
      transition: color .2s;
    }
    .footer-links a:hover { color: white; }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── HAMBURGER BUTTON ── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      z-index: 200;
    }
    .nav-hamburger span {
      display: block;
      height: 2px;
      background: var(--teal-dark);
      border-radius: 2px;
      transition: all .3s;
      transform-origin: center;
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── MOBILE MENU OVERLAY ── */
    .mobile-menu {
      display: none;
      position: fixed;
      inset: 0;
      top: 68px;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(16px);
      z-index: 99;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      padding: 2rem;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      font-size: 1.5rem;
      font-family: 'Cormorant Garamond', serif;
      font-weight: 400;
      color: var(--teal-dark);
      text-decoration: none;
      letter-spacing: 1px;
      border-bottom: 1px solid var(--border);
      width: 100%;
      max-width: 300px;
      text-align: center;
      padding-bottom: 1.2rem;
      transition: color .2s;
    }
    .mobile-menu a:hover { color: var(--teal-mid); }
    .mobile-menu a.cta-mobile {
      background: var(--teal-dark);
      color: white;
      padding: 1rem 2rem;
      border: none;
      margin-top: .5rem;
    }

    /* ── TABLET (≤ 1024px) ── */
    @media (max-width: 1024px) {
      section { padding: 5rem 6vw; }

      #historia {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 5rem 6vw;
      }

      #wymiary {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 5rem 6vw;
      }

      #wymiary > div:first-child { padding: 5rem 3vw 5rem 6vw; }
      #wymiary > div:last-child { padding: 2rem; }

      #kontakt {
        gap: 3rem;
        padding: 5rem 6vw;
      }

      #kontakt > div:first-child { padding: 5rem 3vw 5rem 6vw; }
      #kontakt > div:last-child { padding: 5rem 6vw 5rem 3vw; }

      .proces-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
      .proces-steps::before { display: none; }

      .moduly-cards { grid-template-columns: 1fr 1fr; }
      .moduly-cards .modul-card:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
    }

    /* ── MOBILE (≤ 768px) ── */
    @media (max-width: 768px) {
      /* Nav */
      .nav-links { display: none; }
      .nav-hamburger { display: flex; }
      nav { padding: 0 5vw; }

      /* General sections */
      section { padding: 4rem 5vw; }

      /* Hero */
      #hero {
        grid-template-columns: 1fr;
        min-height: auto;
      }
      .hero-right {
        height: 260px;
        order: -1;
      }
      .hero-right::after {
        background: linear-gradient(to bottom, transparent 60%, var(--off-white) 100%);
      }
      .hero-left {
        padding: 2.5rem 5vw 4rem;
      }
      .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
      .hero-desc { max-width: 100%; }
      .hero-cta { flex-direction: column; }
      .btn { text-align: center; }

      /* Tagline */
      #tagline {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 5vw;
        gap: 1rem;
      }

      /* Historia */
      #historia {
        grid-template-columns: 1fr;
        padding: 4rem 5vw;
        gap: 0;
      }
      .historia-img { display: none; }

      /* Beton */
      .beton-grid { grid-template-columns: 1fr; gap: 0; }
      .beton-item { padding: 1.5rem 0; }

      /* Moduły */
      .moduly-cards { grid-template-columns: 1fr; }
      .moduly-cards .modul-card:last-child { grid-column: auto; max-width: 100%; }

      /* Wymiary */
      #wymiary {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
      }
      #wymiary > div:first-child { padding: 4rem 5vw; }
      #wymiary > div:last-child {
        padding: 2rem 5vw;
        height: 260px;
        justify-content: stretch;
      }
      #wymiary > div:last-child img { height: 100%; max-width: 100%; }

      /* Wyposażenie */
      .finish-grid { grid-template-columns: 1fr 1fr; }

      /* Proces */
      .proces-steps {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
      }
      .proces-steps::before { display: none; }

      /* Kontakt */
      #kontakt {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
      }
      #kontakt > div:first-child { padding: 4rem 5vw; }
      #kontakt > div:last-child { padding: 4rem 5vw; }
      .form-row { grid-template-columns: 1fr; }

      /* Footer */
      footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 2.5rem 5vw;
      }
      .footer-links { flex-wrap: wrap; gap: 1rem; }

      /* Section sub full width */
      .section-sub { max-width: 100%; }
    }

    /* ── SMALL MOBILE (≤ 420px) ── */
    @media (max-width: 420px) {
      .finish-grid { grid-template-columns: 1fr; }
      .proces-steps { grid-template-columns: 1fr; }
      .modul-card-top { flex-direction: column; align-items: flex-start; gap: .5rem; }
    }