:root {
  --ink: #071a2a;
  --ink-2: #0d2a40;
  --steel: #476172;
  --mist: #dce5ea;
  --paper: #f5f3ed;
  --white: #ffffff;
  --accent: #ee9b22;
  --accent-dark: #c97306;
  --line: rgba(7, 26, 42, 0.14);
  --shadow: 0 24px 70px rgba(4, 20, 32, 0.14);
  --radius: 22px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
section { scroll-margin-top: 94px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 132px) 0; }
.section--compact { padding: clamp(56px, 7vw, 92px) 0; }
.section--white { background: var(--white); }
.section--ink { color: var(--white); background: var(--ink); }
.section--mist { background: #e8edef; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; content: ""; background: var(--accent); }
.section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #ffc76f; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.75rem, 6.2vw, 5.9rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.25rem, 4.3vw, 4.15rem); }
h3 { font-size: clamp(1.24rem, 2vw, 1.65rem); }
.lead { color: var(--steel); font-size: clamp(1.06rem, 1.8vw, 1.28rem); line-height: 1.72; }
.section--ink .lead { color: #b8c7d0; }
.measure { max-width: 720px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 440px); gap: 50px; align-items: end; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { margin-bottom: 0; }

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--ink); background: var(--accent); }
.btn--primary:hover { background: #ffb33d; }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.48); background: rgba(7,26,42,0.18); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.09); }
.btn--dark { color: var(--white); background: var(--ink); }
.btn--dark:hover { background: var(--ink-2); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-dark); font-weight: 800; }
.text-link:hover { gap: 14px; }

.topbar { color: #d8e3e9; background: #05141f; font-size: 0.79rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar__message { margin: 0; letter-spacing: 0.04em; }
.topbar__links { display: flex; gap: 24px; }
.topbar__links a:hover { color: var(--white); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(7, 26, 42, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
}
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 188px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 29px; }
.nav__links > a:not(.btn) { position: relative; padding: 31px 0 27px; color: #d5e0e6; font-size: 0.86rem; font-weight: 700; }
.nav__links > a:not(.btn)::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; content: ""; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.nav__links > a:hover, .nav__links > a[aria-current="page"] { color: var(--white); }
.nav__links > a:hover::after, .nav__links > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 19px; height: 2px; content: ""; background: var(--white); transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle span { margin: 4px auto; }
.nav-open .menu-toggle span { opacity: 0; }
.nav-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: min(830px, calc(100svh - 120px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #071a2a url("img/safety.webp") center / cover no-repeat;
}
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,17,28,0.94) 0%, rgba(4,17,28,0.77) 46%, rgba(4,17,28,0.16) 78%); }
.hero::after { position: absolute; inset: auto 0 0; height: 180px; content: ""; background: linear-gradient(transparent, rgba(4,17,28,0.34)); }
.hero__content { position: relative; z-index: 1; max-width: 830px; padding: 106px 0 116px; }
.hero h1 { max-width: 820px; margin-bottom: 27px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__copy { max-width: 660px; margin-bottom: 36px; color: #d3dfe5; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stamp { position: absolute; right: 4vw; bottom: 50px; z-index: 2; width: 145px; height: 145px; display: grid; place-items: center; padding: 26px; border: 1px solid rgba(255,255,255,0.36); border-radius: 50%; color: #f7fafb; background: rgba(7,26,42,0.36); font-size: 0.71rem; font-weight: 800; letter-spacing: 0.12em; line-height: 1.35; text-align: center; text-transform: uppercase; backdrop-filter: blur(7px); }

.proofbar { color: var(--white); background: var(--ink-2); }
.proofbar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof { min-height: 112px; display: flex; align-items: center; gap: 17px; padding: 24px 32px; border-right: 1px solid rgba(255,255,255,0.12); }
.proof:first-child { padding-left: 0; }
.proof:last-child { border-right: 0; }
.proof__mark { color: var(--accent); font-size: 1.36rem; font-weight: 900; }
.proof strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.proof small { display: block; margin-top: 3px; color: #afc1cc; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr); gap: clamp(50px, 8vw, 108px); align-items: center; }
.intro-grid__visual { position: relative; min-height: 590px; }
.intro-grid__visual img { width: 86%; height: 540px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-grid__note { position: absolute; right: 0; bottom: 0; width: min(315px, 75%); padding: 28px; color: var(--white); background: var(--ink); border-radius: 18px; box-shadow: var(--shadow); }
.intro-grid__note strong { display: block; margin-bottom: 9px; color: var(--accent); font-size: 2.25rem; line-height: 1; }
.checklist { display: grid; gap: 14px; margin: 29px 0 34px; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 31px; }
.checklist li::before { position: absolute; top: 0.12em; left: 0; color: var(--accent-dark); content: "✓"; font-weight: 900; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 275px; display: flex; flex-direction: column; padding: 31px; overflow: hidden; border: 1px solid rgba(255,255,255,0.13); border-radius: var(--radius); background: rgba(255,255,255,0.045); transition: transform 200ms ease, border-color 200ms ease, background 200ms ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(238,155,34,0.62); background: rgba(255,255,255,0.075); }
.service-card__no { margin-bottom: 54px; color: var(--accent); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.14em; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { margin-bottom: 22px; color: #afc1cc; font-size: 0.94rem; }
.service-card a { margin-top: auto; align-self: flex-start; color: var(--white); font-weight: 800; }

.feature-split { display: grid; grid-template-columns: 1.06fr 0.94fr; min-height: 690px; }
.feature-split__image { min-height: 570px; background: #244055 url("img/drainage.webp") center / cover no-repeat; }
.feature-split__content { display: flex; align-items: center; padding: clamp(55px, 8vw, 116px); color: var(--white); background: var(--ink-2); }
.feature-split__content-inner { max-width: 550px; }
.feature-split__content .lead { color: #b8c7d0; }
.feature-split__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.feature-split__item { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.feature-split__item strong { display: block; color: var(--accent); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.feature-split__item span { display: block; margin-top: 7px; font-weight: 700; line-height: 1.35; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.project-card { position: relative; grid-column: span 4; min-height: 430px; overflow: hidden; border-radius: var(--radius); color: var(--white); background: var(--ink); box-shadow: 0 18px 55px rgba(7,26,42,0.12); }
.project-card--wide { grid-column: span 8; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.045); }
.project-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 36%, rgba(3,14,23,0.92) 100%); }
.project-card__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 31px; }
.project-card__tag { color: #ffc76f; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.project-card h3 { max-width: 590px; margin: 9px 0 0; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; }
.step { position: relative; padding: 32px 30px 16px; border-left: 1px solid rgba(255,255,255,0.18); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 49px; color: var(--accent); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; }
.step p { margin-bottom: 0; color: #afc1cc; font-size: 0.92rem; }

.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 44px; }
.logo-box { min-height: 124px; display: grid; place-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.logo-box img { max-width: 130px; max-height: 66px; object-fit: contain; filter: grayscale(1); opacity: 0.74; transition: filter 180ms ease, opacity 180ms ease; }
.logo-box:hover img { filter: none; opacity: 1; }

.cta { position: relative; overflow: hidden; color: var(--white); background: var(--accent-dark); }
.cta::before { position: absolute; inset: 0; content: ""; opacity: 0.13; background-image: linear-gradient(120deg, transparent 0 62%, #fff 62% 62.4%, transparent 62.4% 100%); }
.cta__inner { position: relative; min-height: 350px; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.cta h2 { max-width: 820px; margin-bottom: 0; }
.cta .btn--dark { min-width: 210px; }

.page-hero { position: relative; min-height: 480px; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--ink) var(--hero-image) center / cover no-repeat; }
.page-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,17,28,0.94), rgba(4,17,28,0.49)); }
.page-hero__content { position: relative; z-index: 1; max-width: 900px; padding: 108px 0 82px; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(3rem, 6vw, 5.7rem); }
.page-hero p { max-width: 690px; margin-bottom: 0; color: #d5e0e6; font-size: 1.18rem; }
.breadcrumbs { margin-bottom: 22px; color: #ffc76f; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.breadcrumbs a { color: var(--white); }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-card { display: grid; grid-template-columns: 86px 1fr; gap: 22px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.detail-card__no { width: 62px; height: 62px; display: grid; place-items: center; color: var(--white); background: var(--ink); border-radius: 50%; font-size: 0.78rem; font-weight: 900; }
.detail-card h3 { margin-bottom: 12px; }
.detail-card p { margin-bottom: 17px; color: var(--steel); }

.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value-card { min-height: 260px; padding: 32px; border-top: 3px solid var(--accent); background: rgba(255,255,255,0.055); }
.value-card h3 { margin: 50px 0 14px; }
.value-card p { color: #b8c7d0; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mission-card { padding: clamp(32px, 5vw, 58px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.mission-card--dark { color: var(--white); background: var(--ink-2); }
.mission-card p { margin-bottom: 0; color: var(--steel); }
.mission-card--dark p { color: #b8c7d0; }

.training-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.training-card { overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 55px rgba(7,26,42,0.1); }
.training-card img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.training-card__body { padding: 29px; }
.training-card__state { display: inline-block; margin-bottom: 18px; color: var(--accent-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.training-card p { color: var(--steel); }

.contact-grid { display: grid; grid-template-columns: minmax(0,0.8fr) minmax(430px,1.2fr); gap: clamp(44px, 8vw, 100px); }
.contact-list { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 19px 0; border-top: 1px solid var(--line); }
.contact-list span { display: block; color: var(--steel); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-list a, .contact-list address { display: block; margin-top: 5px; font-style: normal; font-weight: 700; }
.contact-form { padding: clamp(30px, 5vw, 54px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #c9d4da; border-radius: 11px; color: var(--ink); background: #fbfcfc; outline: none; }
.field input, .field select { min-height: 52px; padding: 0 15px; }
.field textarea { min-height: 145px; padding: 14px 15px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(238,155,34,0.18); }
.form-note { margin: 16px 0 0; color: var(--steel); font-size: 0.84rem; }

.site-footer { color: #d4e0e6; background: #04111b; }
.footer-main { display: grid; grid-template-columns: 1.4fr 0.75fr 0.9fr 1fr; gap: 50px; padding: 75px 0 58px; }
.footer-brand img { width: 185px; margin-bottom: 25px; }
.footer-brand p { max-width: 320px; color: #9db0bc; }
.footer-title { margin-bottom: 23px; color: var(--white); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #aebfc9; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 12px; font-style: normal; }
.footer-contact a, .footer-contact span { color: #aebfc9; }
.footer-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #8299a6; font-size: 0.82rem; }
.footer-bottom p { margin: 0; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: #1fae5d; box-shadow: 0 12px 30px rgba(0,0,0,0.24); font-weight: 900; transition: transform 180ms ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }

.reveal { transform: translateY(0); transition: transform 650ms cubic-bezier(.2,.7,.2,1); }
.reveal-enabled .reveal { transform: translateY(18px); }
.reveal-enabled .reveal.is-visible { transform: translateY(0); }

@media (max-width: 980px) {
  .topbar__message { display: none; }
  .topbar__inner { justify-content: center; }
  .nav__links { position: fixed; top: 120px; right: 16px; left: 16px; display: none; align-items: stretch; padding: 22px; border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; background: rgba(4,17,27,0.99); box-shadow: var(--shadow); }
  .nav-open .nav__links { display: grid; }
  .nav__links > a:not(.btn) { padding: 12px 5px; }
  .nav__links > a:not(.btn)::after { display: none; }
  .menu-toggle { display: grid; }
  .hero { min-height: 730px; }
  .hero__stamp { display: none; }
  .proofbar__grid { grid-template-columns: 1fr; }
  .proof { min-height: 86px; padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .proof:last-child { border-bottom: 0; }
  .section-heading, .intro-grid, .feature-split, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .feature-split__image { min-height: 530px; }
  .project-card, .project-card--wide { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3,1fr); }
  .training-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --wrap: min(100% - 28px, 1180px); --radius: 17px; }
  .topbar__links { width: 100%; justify-content: space-between; gap: 10px; }
  .topbar__links a:first-child { display: none; }
  .nav { min-height: 72px; }
  .brand img { width: 162px; }
  .nav__links { top: 104px; }
  .hero { min-height: 690px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(4,17,28,0.95), rgba(4,17,28,0.68)); }
  .hero__content { padding: 86px 0 92px; }
  .hero__actions { display: grid; }
  .btn { width: 100%; }
  .section { padding: 74px 0; }
  .section-heading { gap: 15px; margin-bottom: 38px; }
  .intro-grid { gap: 40px; }
  .intro-grid__visual { min-height: 470px; }
  .intro-grid__visual img { width: 100%; height: 420px; }
  .intro-grid__note { right: 12px; width: calc(100% - 24px); }
  .service-grid, .detail-grid, .value-grid, .mission-grid, .training-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 248px; }
  .feature-split { min-height: auto; }
  .feature-split__image { min-height: 390px; }
  .feature-split__content { padding: 64px 24px; }
  .feature-split__list { grid-template-columns: 1fr; }
  .project-card, .project-card--wide { grid-column: 1 / -1; min-height: 390px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-left: 20px; }
  .step::before { margin-bottom: 24px; }
  .logo-grid { grid-template-columns: repeat(2,1fr); }
  .cta__inner { min-height: 420px; grid-template-columns: 1fr; gap: 30px; align-content: center; }
  .page-hero { min-height: 430px; }
  .page-hero__content { padding: 78px 0 62px; }
  .detail-card { grid-template-columns: 1fr; }
  .contact-grid { gap: 40px; }
  .field--full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 37px; padding: 60px 0 45px; }
  .footer-bottom { padding: 20px 0; flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

:focus-visible { outline: 3px solid #ffc15b; outline-offset: 4px; }
