:root {
  --navy: #102b47;
  --navy-deep: #0a2037;
  --cyan: #59c5df;
  --cyan-bright: #78d8eb;
  --cream: #f4f1eb;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #172333;
  --muted: #687482;
  --line: rgba(16, 43, 71, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 28px 80px rgba(10, 32, 55, 0.14);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--navy);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 99px;
  background: var(--cyan);
}
.eyebrow.is-light { color: rgba(255,255,255,.82); }
.display {
  margin: 0;
  color: var(--navy);
  font-size: clamp(45px, 6.8vw, 94px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
}
.display .accent { position: relative; color: var(--navy); white-space: nowrap; }
.display .accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6px;
  bottom: .04em;
  left: -2px;
  height: .18em;
  border-radius: 2px 12px 4px 7px;
  background: var(--cyan);
  transform: rotate(-1.5deg);
  opacity: .85;
}
.section-title {
  max-width: 800px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.04;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}
.btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--navy); box-shadow: 0 14px 30px rgba(16,43,71,.18); }
.btn-primary:hover { box-shadow: 0 18px 36px rgba(16,43,71,.26); }
.btn-cyan { color: var(--navy-deep); background: var(--cyan); }
.btn-outline { border-color: rgba(16,43,71,.2); color: var(--navy); background: rgba(255,255,255,.5); }
.arrow { font-size: 20px; line-height: 0; transition: transform .25s ease; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(16,43,71,.08);
  background: rgba(251,250,247,.88);
  backdrop-filter: blur(18px);
}
.topline { color: white; background: var(--navy); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.topline-inner { display: flex; min-height: 32px; align-items: center; justify-content: space-between; gap: 16px; }
.topline a { color: var(--cyan-bright); font-weight: 800; }
.nav { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 30px; }
.logo img { width: 220px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > a:not(.btn) { position: relative; color: var(--navy); font-size: 14px; font-weight: 700; }
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 900px;
  padding: 206px 0 90px;
  background: radial-gradient(circle at 8% 18%, rgba(89,197,223,.16), transparent 29%), linear-gradient(135deg, var(--paper) 0%, #f8f7f3 62%, #eaf4f5 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 205px;
  right: -160px;
  width: 520px;
  height: 90px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(2px);
  opacity: .22;
  transform: rotate(-22deg);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(48px, 7vw, 100px); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { max-width: 650px; margin-top: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px 30px; margin-top: 48px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; font-weight: 750; }
.trust-dot { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: var(--navy); background: rgba(89,197,223,.28); font-size: 13px; }
.hero-visual { position: relative; min-height: 600px; }
.hero-photo {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 0;
  width: 92%;
  height: 570px;
  border-radius: 180px 28px 28px 28px;
  object-fit: cover;
  object-position: 50% center;
  box-shadow: var(--shadow);
}
.hero-shape {
  position: absolute;
  top: 42px;
  right: -25px;
  width: 90%;
  height: 570px;
  border: 2px solid var(--cyan);
  border-radius: 180px 28px 28px 28px;
  transform: rotate(2.5deg);
}
.hero-badge {
  position: absolute;
  z-index: 4;
  right: -12px;
  bottom: 32px;
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  padding: 22px;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  box-shadow: 0 20px 50px rgba(10,32,55,.25);
  text-align: center;
}
.hero-badge strong { color: var(--cyan); font-size: 25px; letter-spacing: -.03em; }
.hero-badge span { display: block; margin-top: 5px; font-size: 11px; font-weight: 700; line-height: 1.45; text-transform: uppercase; letter-spacing: .11em; }
.paint-stroke { position: absolute; z-index: 3; top: 40px; left: -30px; width: 116px; height: 17px; border-radius: 2px 10px 4px 12px; background: var(--cyan); transform: rotate(-13deg); }

.marquee { border-block: 1px solid var(--line); background: white; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-item { display: flex; min-height: 72px; align-items: center; gap: 28px; padding-right: 38px; color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.marquee-item::after { content: "✦"; color: var(--cyan); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 130px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 58px; }
.section-head .lead { max-width: 480px; }
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 390px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(89,197,223,.65); box-shadow: var(--shadow); }
.service-no { color: var(--cyan); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin: 74px 0 15px; color: var(--navy); font-size: 29px; letter-spacing: -.035em; line-height: 1.1; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-card .text-link { position: absolute; right: 34px; bottom: 30px; left: 34px; display: flex; align-items: center; justify-content: space-between; color: var(--navy); font-size: 13px; font-weight: 800; }
.service-card.featured { border-color: var(--navy); color: white; background: linear-gradient(180deg, rgba(10,32,55,.04), rgba(10,32,55,.92)), url("assets/service-dekorativ.jpg") center/cover; }
.service-card.featured .service-no { color: var(--cyan-bright); }
.service-card.featured h3, .service-card.featured p, .service-card.featured .text-link { color: white; }

.projects { color: white; background: var(--navy-deep); }
.projects .section-title { color: white; }
.projects .lead { color: rgba(255,255,255,.66); }
.project-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 360px 360px; gap: 18px; }
.project-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #183b5c; }
.project-card:first-child { grid-row: 1 / 3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.25,1); }
.project-card:hover img { transform: scale(1.045); }
.project-overlay { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 80px 28px 26px; background: linear-gradient(transparent, rgba(6,23,39,.88)); }
.project-tag { margin: 0 0 8px; color: var(--cyan-bright); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.project-overlay h3 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.project-open { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: white; background: rgba(255,255,255,.1); font-size: 25px; cursor: pointer; backdrop-filter: blur(10px); }

.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.process-intro { position: sticky; top: 160px; }
.process-intro .lead { max-width: 460px; margin-top: 25px; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 68px 1fr; gap: 26px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.step-no { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--cyan); font-size: 13px; font-weight: 900; }
.step h3 { margin: 3px 0 10px; color: var(--navy); font-size: 23px; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--muted); line-height: 1.7; }

.eco-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: clamp(42px, 7vw, 84px); border-radius: var(--radius-xl); color: white; background: var(--navy); overflow: hidden; }
.eco-wrap::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 520px; height: 520px; border: 76px solid rgba(89,197,223,.14); border-radius: 50%; }
.eco-copy { position: relative; z-index: 2; }
.eco-copy .section-title { color: white; }
.eco-copy .lead { margin-top: 24px; color: rgba(255,255,255,.68); }
.eco-list { position: relative; z-index: 2; display: grid; gap: 14px; align-content: center; }
.eco-item { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.055); }
.eco-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--cyan); font-weight: 900; }
.eco-item strong { display: block; margin-bottom: 5px; font-size: 15px; }
.eco-item span { color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.55; }

.about { padding-top: 50px; }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: center; }
.about-visual { position: relative; min-height: 640px; }
.about-photo { position: absolute; top: 0; right: 0; width: 90%; height: 570px; border-radius: 28px 160px 28px 28px; object-fit: cover; object-position: center; box-shadow: var(--shadow); }
.about-note { position: absolute; z-index: 2; bottom: 15px; left: 0; max-width: 330px; padding: 26px; border-radius: 20px; color: white; background: var(--navy); box-shadow: 0 18px 40px rgba(10,32,55,.22); }
.about-note p { margin: 0; font-size: 18px; line-height: 1.5; }
.about-note strong { display: block; margin-top: 18px; color: var(--cyan); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.about-copy .lead { margin-top: 24px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.value { padding: 20px 14px; border-radius: 15px; color: var(--navy); background: var(--cream); text-align: center; }
.value strong { display: block; font-size: 15px; }
.value span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.about-copy .btn { margin-top: 34px; }

.contact { padding-top: 80px; }
.contact-wrap { display: grid; grid-template-columns: .88fr 1.12fr; border-radius: var(--radius-xl); background: white; box-shadow: var(--shadow); overflow: hidden; }
.contact-info { padding: clamp(42px, 6vw, 72px); color: white; background: var(--navy-deep); }
.contact-info .section-title { color: white; }
.contact-info .lead { margin-top: 22px; color: rgba(255,255,255,.66); }
.contact-lines { display: grid; gap: 18px; margin-top: 44px; }
.contact-line { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; }
.contact-line .icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: var(--cyan); }
.contact-line small { display: block; margin-bottom: 3px; color: rgba(255,255,255,.48); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-line a, .contact-line address { color: white; font-size: 14px; font-style: normal; line-height: 1.5; }
.contact-form { padding: clamp(42px, 6vw, 72px); background: var(--white); }
.contact-form h3 { margin: 0 0 8px; color: var(--navy); font-size: 28px; letter-spacing: -.035em; }
.contact-form > p { margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: 12px; font-weight: 800; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; outline: none; color: var(--ink); background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.field input { height: 54px; padding: 0 16px; }
.field textarea { min-height: 130px; padding: 15px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(89,197,223,.15); }
.contact-form .btn { margin-top: 20px; }
.form-note { display: none; margin-top: 14px; padding: 12px 15px; border-radius: 12px; color: var(--navy); background: rgba(89,197,223,.17); font-size: 12px; line-height: 1.5; }
.form-note.is-visible { display: block; }

.site-footer { margin-top: 110px; padding: 70px 0 25px; color: white; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 70px; align-items: start; }
.footer-logo { width: 255px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 420px; margin: 25px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.7; }
.footer-col h3 { margin: 0 0 18px; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: 10px 0; color: rgba(255,255,255,.74); font-size: 14px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: 11px; }

dialog { width: min(940px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 22px; background: var(--navy-deep); box-shadow: 0 32px 100px rgba(0,0,0,.35); overflow: hidden; }
dialog::backdrop { background: rgba(7,20,34,.82); backdrop-filter: blur(8px); }
dialog img { width: 100%; max-height: 78vh; object-fit: contain; background: #eef1ef; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; color: white; background: rgba(10,32,55,.82); font-size: 24px; cursor: pointer; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .nav-links { gap: 20px; }
  .nav-links .btn { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .hero-visual { min-height: 530px; }
  .hero-photo, .hero-shape { height: 500px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .about-grid { gap: 55px; }
  .eco-wrap { gap: 40px; }
}

@media (max-width: 820px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .topline-inner span:last-child { display: none; }
  .nav { min-height: 74px; }
  .logo img { width: 185px; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; z-index: 99; top: 106px; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 34px 24px; background: var(--paper); transform: translateX(100%); transition: transform .32s ease; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links > a:not(.btn) { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 21px; }
  .nav-links .btn { display: inline-flex; margin-top: 28px; }
  .hero { padding-top: 160px; }
  .hero-grid, .process-grid, .eco-wrap, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-visual { min-height: 560px; margin-top: 10px; }
  .hero-photo { width: 94%; height: 520px; }
  .hero-shape { width: 91%; height: 520px; }
  .section { padding: 90px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 42px; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 520px 300px; }
  .project-card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .process-intro { position: static; }
  .eco-wrap { padding: 48px 30px; }
  .about { padding-top: 0; }
  .about-visual { order: 2; }
  .contact-info, .contact-form { padding: 48px 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .topline-inner { min-height: 29px; justify-content: center; }
  .topline-inner > span { display: none; }
  .nav-links { top: 103px; }
  .display { font-size: clamp(43px, 13vw, 62px); }
  .hero { padding: 148px 0 62px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-visual { min-height: 450px; }
  .hero-photo { width: 95%; height: 420px; border-radius: 105px 20px 20px 20px; }
  .hero-shape { width: 92%; height: 420px; border-radius: 105px 20px 20px 20px; }
  .hero-badge { right: 0; bottom: -4px; width: 136px; height: 136px; }
  .hero-badge strong { font-size: 20px; }
  .hero-badge span { font-size: 9px; }
  .section { padding: 76px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; }
  .project-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .project-card, .project-card:first-child { height: 390px; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-no { width: 42px; height: 42px; }
  .values { grid-template-columns: 1fr; }
  .about-visual { min-height: 510px; }
  .about-photo { width: 94%; height: 460px; border-radius: 22px 100px 22px 22px; }
  .about-note { max-width: 280px; padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .contact-info, .contact-form { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .marquee-item { min-height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
