:root {
  --ink: #0b1f3a;
  --ink-2: #14325c;
  --blue: #0b63ce;
  --blue-dark: #084c9e;
  --cyan: #1bb2e8;
  --sky: #eaf4ff;
  --text: #3b4a63;
  --muted: #6b7a90;
  --line: #e4eaf2;
  --soft: #f4f8fc;
  --whatsapp: #22b357;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .05), 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .22);
  --head: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.01em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section.soft { background: var(--soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }

.head { max-width: 640px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; }
.head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 12px; }
.head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head-row .head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11, 99, 206, .28); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--sky); box-shadow: none; }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: var(--sky); border-color: var(--sky); }
.btn.line-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn.line-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; box-shadow: none; }
.btn.whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); }
.btn.whatsapp:hover { background: #1c9a4a; border-color: #1c9a4a; box-shadow: 0 10px 22px rgba(34, 179, 87, .3); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-size: 15px; }
.link::after { content: "→"; transition: transform .15s; }
.link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #a9bdd6; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 40px; }
.topbar a { color: #dbe8f7; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .contacts { display: flex; gap: 22px; }
.topbar .contacts span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; color: var(--cyan); }

.lang { display: flex; gap: 2px; font-weight: 700; font-size: 12.5px; }
.lang span { padding: 2px 10px; border-radius: 999px; cursor: default; }
.lang span.on { background: rgba(255, 255, 255, .14); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; }
.navbar { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.logo img { height: 58px; width: auto; filter: brightness(1.06) contrast(1.12); mix-blend-mode: multiply; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 10px; padding: 10px 20px; color: #fff; }
.nav .btn::after { display: none; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; place-items: center; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1060px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin: 12px 0 0; justify-content: center; border-bottom: 0; }
}
@media (max-width: 720px) {
  .topbar .contacts span.hide-sm { display: none; }
}

/* ---------- Photo frames ---------- */
.ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, #d6e6f7, #b9d3ef); aspect-ratio: 4 / 3; }
.ph::before { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; font-size: 12.5px; font-weight: 600; color: rgba(11, 31, 58, .5); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #c9daee;
  background:
    radial-gradient(900px 500px at 85% 110%, rgba(27, 178, 232, .35), transparent 60%),
    linear-gradient(120deg, rgba(11, 31, 58, .97) 35%, rgba(12, 70, 140, .9)),
    url("water.svg") center / 700px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 120px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4rem); font-weight: 700; letter-spacing: -.025em; margin-bottom: 20px; }
.hero h1 span { color: var(--cyan); }
.hero .lead { font-size: 1.12rem; max-width: 530px; margin-bottom: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: 14.5px; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points span::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(27, 178, 232, .2); color: var(--cyan); font-size: 11px; font-weight: 800; }

.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 440px; }
.collage .ph { aspect-ratio: auto; box-shadow: var(--shadow-lg); border: 4px solid rgba(255, 255, 255, .08); }
.collage .ph:first-child { grid-row: span 2; }

/* Stats bar overlapping the hero */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.stat { padding: 26px 28px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .ic { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.stat .ic svg { width: 24px; height: 24px; }
.stat strong { display: block; font-family: var(--head); font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.stat span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

/* Service cards with photo */
.service { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.service .ph { border-radius: 0; aspect-ratio: 16 / 11; }
.service .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service .num { font-family: var(--head); font-weight: 700; color: var(--blue); font-size: 14px; margin-bottom: 6px; }
.service p { font-size: 15px; flex: 1; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service:hover .ph img { transform: scale(1.06); }

/* Product cards */
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.product .pic {
  height: 150px;
  margin: -6px -4px 20px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--sky), #d9ebfb);
  display: grid;
  place-items: center;
  color: var(--blue);
  overflow: hidden;
}
.product .pic svg { width: 72px; height: 72px; stroke-width: 1.3; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; }
.product h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.product p { font-size: 14.5px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.product .tag { position: absolute; top: 14px; right: 14px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--blue); box-shadow: 0 2px 6px rgba(11, 31, 58, .08); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery .ph { aspect-ratio: auto; border-radius: 14px; }
.gallery .ph.big { grid-column: span 2; grid-row: span 2; }
.gallery .ph.wide { grid-column: span 2; }
.gallery .ph:hover img { transform: scale(1.06); }

/* Process A–G */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: p; }
.process li { counter-increment: p; position: relative; text-align: center; padding-top: 66px; font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 16px; }
.process li::before {
  content: counter(p, upper-alpha);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  font-size: 18px; font-weight: 700; z-index: 1;
}
.process li::after { content: ""; position: absolute; top: 25px; left: 50%; width: calc(100% + 10px); border-top: 2px dashed #b8cfee; }
.process li:last-child::after { display: none; }
.process li:last-child::before { background: var(--blue); color: #fff; }

/* Numbered step cards */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--blue); opacity: .35; margin-bottom: 6px; }
.steps h4 { font-size: 1.08rem; font-weight: 600; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 16px; }
.split .ph { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }

.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 11px; font-weight: 800; display: grid; place-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--sky); color: var(--ink); padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }

.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--sky); color: var(--blue); }
.badge.green { background: #e3f8ec; color: #158a43; }

/* CTA */
.cta {
  border-radius: 24px;
  padding: 52px 56px;
  color: #c9daee;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(27, 178, 232, .35), transparent 60%),
    linear-gradient(120deg, var(--ink), #0d4a94);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 6px; }
.cta p { margin: 0; }

/* ---------- Inner page banner ---------- */
.banner {
  color: #c9daee;
  background:
    radial-gradient(700px 300px at 90% 120%, rgba(27, 178, 232, .35), transparent 60%),
    linear-gradient(120deg, rgba(11, 31, 58, .97) 40%, rgba(12, 70, 140, .9)),
    url("water.svg") center / 700px;
  padding: 64px 0 68px;
}
.banner h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 700; margin-bottom: 10px; }
.banner p { max-width: 620px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: 14px; margin-bottom: 14px; color: #7f9cc0; }
.crumbs a { color: #c9daee; text-decoration: none; }
.crumbs a:hover { color: #fff; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.subnav a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.subnav a:hover { border-color: var(--blue); color: var(--blue); }
.block + .block { margin-top: 96px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.form-card > p { color: var(--muted); }
.form { display: grid; gap: 16px; margin-top: 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #d6e0ec; border-radius: 12px;
  background: var(--soft); color: var(--text); width: 100%;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 99, 206, .12); background: #fff; }
.form input[type="file"] { border-style: dashed; padding: 10px; }
.form .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form .actions { justify-content: flex-end; }

.info { background: var(--ink); color: #c9daee; border-radius: 22px; padding: 32px; position: sticky; top: 110px; }
.info h3 { color: #fff; font-size: 1.3rem; font-weight: 600; margin-bottom: 20px; }
.info ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.info li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.info .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--cyan); display: grid; place-items: center; }
.info .ic svg { width: 20px; height: 20px; }
.info small { display: block; color: #7f9cc0; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.info a { color: #fff; text-decoration: none; }
.info a:hover { text-decoration: underline; }
.info .btn { width: 100%; justify-content: center; }

.map { width: 100%; height: 420px; border: 0; border-radius: 22px; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94a9c4; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding: 64px 20px 44px; }
.footer-grid h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: #94a9c4; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-logo { display: inline-block; background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { height: 46px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px; text-align: center; font-size: 14px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(34, 179, 87, .45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .split, .form-layout { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; padding-bottom: 100px; gap: 40px; }
  .collage { height: 340px; }
  .split.flip > :first-child { order: 0; }
  .split { gap: 32px; }
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { text-align: left; padding: 12px 0 12px 68px; min-height: 66px; display: flex; align-items: center; }
  .process li::before { left: 0; top: 8px; transform: none; }
  .process li::after { left: 24px; top: 58px; width: 0; height: calc(100% - 50px); border-top: 0; border-left: 2px dashed #b8cfee; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info { position: static; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .logo img { height: 46px; }
  .navbar .wrap { height: 68px; }
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
  .grid.c4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid.c4 .product { padding: 16px 14px; }
  .grid.c4 .product .pic { height: 100px; margin: -2px 0 14px; }
  .grid.c4 .product .pic svg { width: 48px; height: 48px; }
  .grid.c4 .product h3 { font-size: 1rem; }
  .grid.c4 .product p { display: none; }
  .grid.c4 .product .tag { display: none; }
  .collage { height: 280px; gap: 10px; }
  .stat { padding: 18px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .gallery { grid-auto-rows: 120px; gap: 8px; }
  .cta { padding: 36px 26px; }
  .form-card { padding: 24px 20px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Illustrated frame for services without a photo yet (an img dropped in covers it) */
.ph.art { background: linear-gradient(150deg, #eaf4ff, #cfe5fa); }
.ph.art::before { content: none; }
.ph.art .art-ic { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); }
.ph.art .art-ic svg { width: 84px; height: 84px; stroke-width: 1.2; }
