:root {
  --bg: #0a0d10;
  --bg-soft: #11161b;
  --text: #f5f5f5;
  --muted: #aab0b6;
  --light: #f2f3f4;
  --dark-text: #131619;
  --accent: #11f8c6e3;
  --line: rgba(255,255,255,.12);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section-pad { padding: 88px 0; }
.section-dark { background: var(--bg); color: var(--text); }
.section-light { background: var(--light); color: var(--dark-text); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(8,11,14,.86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; min-width: 135px; }
.logo-main { font-size: 27px; font-weight: 800; letter-spacing: -1px; }
.logo-main span { color: var(--accent); }
.logo small { margin-top: 5px; font-size: 7px; letter-spacing: 4px; color: #8e969d; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; }
.main-nav a { color: #d9dde0; }
.main-nav a:hover { color: var(--accent); }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 3px; border: 1px solid transparent; font-weight: 700; font-size: 14px; transition: .25s ease; }
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #111; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.hero {
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 74px;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(5,8,10,.97) 0%,
      rgba(5,8,10,.84) 38%,
      rgba(5,8,10,.30) 66%,
      rgba(5,8,10,.72) 100%
    ),
    url("/assets/images/background01.jpg") center / cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, transparent 0 28%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.45) 100%); }
.hero-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.hero-copy { max-width: 620px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: 6px; color: #d0d4d7; }
.eyebrow.dark { color: #7a8187; }
.hero h1 { margin: 0; font-size: clamp(56px, 7vw, 96px); line-height: .92; letter-spacing: -4px; }
.hero h1 span, .quote-section h2 span { color: var(--accent); }
.hero-lead { font-size: 27px; margin: 22px 0 10px; }
.hero-text { color: #d3d7da; max-width: 480px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-benefits { display: flex; gap: 34px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-benefits div { display: flex; align-items: center; gap: 12px; color: #d7dadd; font-size: 13px; }
.hero-benefits strong { color: var(--accent); font-size: 26px; }
.hero-side-labels { display: flex; flex-direction: column; gap: 14px; color: rgba(255,255,255,.55); letter-spacing: 3px; font-size: 12px; margin-right: 20px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2, .about-copy h2, .quote-section h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -2px; }
.text-link { color: #15191d; text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .8px; }
.text-link:hover { color: var(--accent); }

.cards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card { background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.06); overflow: hidden; transition: .25s ease; }
.service-card:hover { transform: translateY(-5px); }
.card-image { aspect-ratio: 1.35/1; background-position: center; background-size: cover; }

.img-cnc {
  background-image: url("../assets/images/of/maszyny.png");
}

.img-steel {
  background-image: url("../assets/images/of/konstrukcje.png");
}

.img-turning {
  background-image: url("../assets/images/of/obrobka.png");
}

.img-weld {
  background-image: url("../assets/images/of/serwis.png");
}

.img-laser {
  background-image: url("../assets/images/of/doradzwo.png");
}

.img-plasma {
  background-image: url("../assets/images/of/plasma.png");
}

.img-schody {
  background-image: url("../assets/images/of/schody.png");
}

.card-body { position: relative; padding: 20px; min-height: 145px; }
.card-body h3 { margin: 0 0 10px; font-size: 18px; }
.card-body p { margin: 0; color: #596067; line-height: 1.5; font-size: 14px; }
.card-body span { position: absolute; right: 18px; bottom: 16px; font-size: 22px; }

.about-section { background: linear-gradient(90deg,#0b0e11,#12171b); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1.35fr .55fr; gap: 46px; align-items: center; }

.about-image {
  min-height: 420px;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.28)
    ),
    url("../assets/images/firma/ofirmie.jpg") center / cover no-repeat;
}

.about-copy p:not(.eyebrow) { color: #c9ced2; line-height: 1.75; margin: 24px 0 30px; }
.stats { border-left: 1px solid var(--line); padding-left: 34px; display: grid; gap: 34px; }
.stats strong { display: block; color: var(--accent); font-size: 36px; }
.stats span { color: #d4d8db; font-size: 13px; }

.machine-list { border-top: 1px solid #cfd3d6; }
.machine-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid #cfd3d6; }
.machine-item > span { font-size: 14px; color: var(--accent); font-weight: 800; }
.machine-item h3 { margin: 0 0 7px; font-size: 24px; }
.machine-item p { margin: 0; color: #5b6268; }

.projects-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.project { aspect-ratio: 1.25/1; background-size: cover; background-position: center; filter: saturate(.25) contrast(1.05); transition: .25s ease; }
.project:hover { filter: saturate(.8); transform: scale(1.015); }
.p1 { background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=900&q=80'); }
.p2 { background-image: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=900&q=80'); }
.p3 { background-image: url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=900&q=80'); }
.p4 { background-image: url('https://images.unsplash.com/photo-1562259949-e8e7689d7828?auto=format&fit=crop&w=900&q=80'); }
.p5 { background-image: url('https://images.unsplash.com/photo-1581092334651-ddf26d9a09d0?auto=format&fit=crop&w=900&q=80'); }

.quote-section { padding: 72px 0; background: linear-gradient(90deg, rgba(7,10,12,.95), rgba(10,13,16,.82)), url('https://images.unsplash.com/photo-1581093458791-9d42e3c5f09b?auto=format&fit=crop&w=1800&q=80') center/cover; }
.quote-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; }
.quote-section p:not(.eyebrow) { color: #c8cdd1; line-height: 1.6; max-width: 660px; }
.quote-action { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact-mini { display: flex; gap: 24px; flex-wrap: wrap; color: #d7dbde; font-size: 14px; }

.footer { background: #0b0f12; padding: 58px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 40px; }
.footer h4 { margin: 0 0 16px; font-size: 14px; }
.footer a, .footer p { display: block; color: #aeb5ba; font-size: 13px; line-height: 1.7; margin: 0; }
.footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #777f86; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav { gap: 16px; font-size: 13px; }
  .header-cta { display: none; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1.2fr; }
  .stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 74px; left: 20px; right: 20px; padding: 18px; background: #0e1216; border: 1px solid rgba(255,255,255,.1); display: none; flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .hero { min-height: 700px; background-position: 62% center; }
  .hero-side-labels { display: none; }
  .hero h1 { font-size: clamp(52px, 14vw, 78px); }
  .hero-benefits { flex-direction: column; gap: 16px; }
  .section-pad { padding: 68px 0; }
  .cards-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .quote-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 320px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 760px; }
  .hero-lead { font-size: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cards-grid, .projects-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .machine-item { grid-template-columns: 50px 1fr; }
  .footer-bottom { flex-direction: column; }
}

.projects-grid {
  overflow: visible;
}

.project {
  transition: transform 0.3s ease;
  transform-origin: center;
  position: relative;
  z-index: 1;
}

.project:hover {
  transform: scale(1.5);
  z-index: 10;
}

.project {
  overflow: visible;
  position: relative;
  z-index: 1;
}

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

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;

  position: relative;
  z-index: 1;
}

.project:hover {
  z-index: 20;
}

.project:hover img {
  transform: scale(1.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.projects-grid {
  overflow: visible;
}

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

.project {
  width: 100%;
  height: 220px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

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

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.project:hover {
  z-index: 20;
}

.project:hover img {
  transform: scale(1.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.bg-industrial {
  background:
    linear-gradient(
      rgba(10, 13, 16, 0.65),
      rgba(10, 13, 16, 0.65)
    ),
    url("../assets/images/background02.jpg") center center / cover no-repeat !important;
}

#ofirmie {
  background-image:
    linear-gradient(
      rgba(10, 13, 16, 0.65),
      rgba(10, 13, 16, 0.65)
    ),
    url("/assets/images/background02.jpg") !important;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}


.social-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.social-links a:hover {
  color: #fff;
}

.quote-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.contact-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-mini a {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #fff;
  text-decoration: none;
  font-size: 17px;

  transition: 0.2s ease;
}

.contact-mini a:hover {
  color: var(--accent);
}

.contact-icon {
  color: var(--accent);
  width: 20px;
}



.company-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.company-links a {
  display: flex;
  flex-direction: column;
  gap: 4px;

  padding: 14px 16px;

  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);

  text-decoration: none;

  transition: 0.25s ease;
}

.company-links a span {
  color: #8d969d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.company-links a strong {
  color: #fff;
  font-size: 14px;
}

.company-links a:hover {
  border-color: var(--accent);
  background: rgba(255,102,0,.08);
  transform: translateY(-2px);
}

.company-links a:hover strong {
  color: var(--accent);
}

/* ========================================
   GALERIA REALIZACJI
======================================== */

.gallery-page {
  min-height: 100vh;
  background: #0b0e11;
  color: #fff;
  padding: 140px 0 100px;
}

.gallery-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(8, 11, 14, 0.95);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.gallery-nav {
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-logo {
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
}

.gallery-logo span {
  color: var(--accent);
}

.gallery-back {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition: .2s ease;
}

.gallery-back:hover {
  color: var(--accent);
}


/* nagłówek galerii */

.gallery-title {
  max-width: 750px;
  margin-bottom: 55px;
}

.gallery-title h1 {
  margin: 10px 0 20px;

  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -3px;
}

.gallery-title h1 span {
  color: var(--accent);
}

.gallery-title > p:last-child {
  color: #aeb5bb;
  font-size: 17px;
  line-height: 1.7;
  max-width: 650px;
}


/* zdjęcia */

.full-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  display: block;

  height: 280px;
  overflow: hidden;

  background: #111;

  transition: transform .3s ease;
  z-index: 1;
}

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

.gallery-item:hover {
  transform: scale(1.22);
  z-index: 20;
}

/* tablet */

@media (max-width: 900px) {

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

}


/* telefon */

@media (max-width: 600px) {

  .gallery-page {
    padding-top: 115px;
  }

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

  .gallery-item {
    height: 260px;
  }

  .gallery-title h1 {
    letter-spacing: -2px;
  }

  .gallery-back {
    font-size: 11px;
  }

}

/* ========================================
   STRONA KONTAKT
======================================== */

.contact-page {
  min-height: 100vh;
  background: #0b0e11;
  color: #fff;

  padding: 140px 0 100px;
}


/* GÓRNY PASEK */

.contact-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  z-index: 1000;

  background: rgba(8, 11, 14, 0.96);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.contact-nav {
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-logo {
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
}

.contact-logo span {
  color: var(--accent);
}

.contact-back {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition: .2s ease;
}

.contact-back:hover {
  color: var(--accent);
}


/* UKŁAD */

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;

  align-items: start;
}


/* LEWA STRONA */

.contact-info h1 {
  margin: 10px 0 25px;

  font-size: clamp(46px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -3px;
}

.contact-info h1 span {
  color: var(--accent);
}

.contact-intro {
  max-width: 560px;

  color: #aeb5bb;
  font-size: 17px;
  line-height: 1.7;

  margin-bottom: 45px;
}


/* DANE KONTAKTOWE */

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contact-details > div {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
}

.contact-label {
  display: block;

  margin-bottom: 9px;

  color: #7e8991;
  font-size: 11px;
  font-weight: 700;

  letter-spacing: 2px;
}

.contact-details a,
.contact-details p {
  display: block;

  margin: 0 0 6px;

  color: #fff;
  text-decoration: none;

  font-size: 16px;
  line-height: 1.6;
}

.contact-details a:hover {
  color: var(--accent);
}


/* FORMULARZ */

.contact-form-box {
  background: #11161a;

  border: 1px solid rgba(255,255,255,.08);

  padding: 42px;
}

.contact-form-box h2 {
  margin: 8px 0 30px;

  font-size: 34px;
}

.contact-form {
  display: flex;
  flex-direction: column;

  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.form-group label {
  color: #aeb5bb;

  font-size: 13px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 14px 15px;

  border: 1px solid rgba(255,255,255,.12);

  background: #0b0e11;
  color: #fff;

  font-family: inherit;
  font-size: 15px;

  outline: none;

  transition: .2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}


/* RESPONSYWNOŚĆ */

@media (max-width: 900px) {

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

}

@media (max-width: 600px) {

  .contact-page {
    padding-top: 115px;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-form-box {
    padding: 26px 20px;
  }

  .contact-info h1 {
    letter-spacing: -2px;
  }

}

.form-privacy {
  margin: 0;
  color: #7e8991;
  font-size: 11px;
  line-height: 1.6;
}

.form-privacy a {
  color: #aeb5bb;
  text-decoration: underline;
}

.form-privacy a:hover {
  color: var(--accent);
}

/* ========================================
   POLITYKA PRYWATNOŚCI
======================================== */

.privacy-page {
  min-height: 100vh;
  background: #0b0e11;
  color: #fff;
  padding: 140px 0 100px;
}

.privacy-container {
  max-width: 900px;
}

.privacy-container h1 {
  margin: 10px 0 25px;

  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -3px;
}

.privacy-container h1 span {
  color: var(--accent);
}

.privacy-intro {
  max-width: 760px;
  margin-bottom: 60px;

  color: #aeb5bb;
  font-size: 17px;
  line-height: 1.8;
}

.privacy-section {
  padding: 30px 0;

  border-top: 1px solid rgba(255,255,255,.1);
}

.privacy-section h2 {
  margin: 0 0 18px;

  color: #fff;
  font-size: 21px;
}

.privacy-section p,
.privacy-section li {
  color: #aeb5bb;

  font-size: 15px;
  line-height: 1.8;
}

.privacy-section ul {
  padding-left: 22px;
}

.privacy-section li {
  margin-bottom: 7px;
}

.privacy-section strong {
  color: #fff;
}

.privacy-section a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-section a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {

  .privacy-page {
    padding-top: 115px;
  }

  .privacy-container h1 {
    letter-spacing: -2px;
  }

}

/* FILTRY GALERII */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.filter-btn {
  padding: 12px 20px;
  background: #151a1e;
  color: #aeb5bb;
  border: 1px solid rgba(255,255,255,.12);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s ease;
}

.filter-btn:hover {
  color: #fff;
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Ukrywanie zdjęć */

.gallery-item.is-hidden {
  display: none;
}

@media (max-width: 600px) {
  .gallery-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 13px;
    font-size: 12px;
  }
}

/* ========================================
   POPRAWKI RESPONSYWNOŚCI 
======================================== */
html, body { width: 100%; max-width: 100%; }
.container { min-width: 0; }
.hero-copy, .section-heading > div, .about-copy, .quote-grid > div,
.service-card, .machine-item > div, .contact-info, .contact-form-box { min-width: 0; }
.projects-more { grid-column: 1 / -1; text-align: center; padding: 16px 0; }

@media (max-width: 820px) {
  .site-header .nav-wrap { position: relative; }
  .main-nav { left: 0; right: 0; max-height: calc(100dvh - 74px); overflow-y: auto; }
  .hero-content { width: min(calc(100% - 28px), var(--max)); }
  .hero-copy { width: 100%; max-width: 100%; }
  .hero h1 { font-size: clamp(28px, 7.7vw, 56px); line-height: 1.06; letter-spacing: -1.5px; overflow-wrap: anywhere; }
  .hero-lead { font-size: clamp(19px, 4.5vw, 24px); }
  .hero-text { max-width: 100%; }
  .hero-benefits { margin-top: 36px; }
  .section-heading h2, .about-copy h2, .quote-section h2 {
    font-size: clamp(28px, 7vw, 44px); letter-spacing: -1px; overflow-wrap: anywhere;
  }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .project { height: auto; aspect-ratio: 1.25 / 1; }
  .project:hover, .project:hover img { transform: none; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .hero { min-height: 0; padding-top: 120px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(27px, 7.4vw, 40px); letter-spacing: -1px; }
  .hero-actions .btn { width: 100%; text-align: center; white-space: normal; }
  .hero-benefits { gap: 15px; }
  .cards-grid, .projects-grid { grid-template-columns: minmax(0, 1fr); }
  .project { height: auto; aspect-ratio: 1.25 / 1; }
  .company-links { grid-template-columns: minmax(0, 1fr); }
  .contact-mini a { font-size: 15px; overflow-wrap: anywhere; }
  .gallery-title h1, .contact-info h1, .privacy-container h1 {
    font-size: clamp(30px, 8vw, 42px); letter-spacing: -1px; overflow-wrap: anywhere;
  }
}
