:root {
  --ink: #103c46;
  --ink-2: #183238;
  --muted: #647176;
  --paper: #f7f8f6;
  --white: #fff;
  --line: #dfe5e3;
  --accent: #f5c800;
  --accent-2: #e47d22;
  --green: #19a65a;
  --shadow: 0 20px 55px rgba(10, 40, 47, .12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-2);
  background: var(--white);
  font: 16px/1.7 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section.soft { background: var(--paper); }
.section.dark { color: #fff; background: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: var(--ink); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { width: 30px; height: 4px; content: ""; border-radius: 99px; background: var(--accent); }
.dark .eyebrow { color: #fff; }
h1, h2, h3, h4 { margin: 0 0 18px; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.muted { color: var(--muted); }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border: 2px solid var(--accent); border-radius: 999px; background: var(--accent); color: #172e34;
  font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: #ffd928; border-color: #ffd928; }
.button.ghost { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.button.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.topbar { color: #e8efef; background: #0a3038; font-size: .86rem; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; gap: 20px; }
.topbar a:hover { color: var(--accent); }
.site-header {
  position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(16,60,70,.1); backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 214px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { position: relative; padding: 31px 0 28px; color: #345058; font-size: .91rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.nav a::after { position: absolute; left: 0; right: 100%; bottom: 21px; height: 3px; content: ""; background: var(--accent); transition: right .2s ease; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }

.hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--ink); }
.hero::before {
  position: absolute; inset: 0; content: "";
  background: linear-gradient(90deg, rgba(6,38,46,.96) 0%, rgba(6,38,46,.76) 48%, rgba(6,38,46,.18) 100%),
              url("../images/about1.webp") center/cover no-repeat;
}
.hero::after {
  position: absolute; width: 520px; height: 520px; right: -180px; bottom: -270px; content: "";
  border-radius: 50%; border: 90px solid rgba(245,200,0,.18);
}
.hero .container { position: relative; z-index: 1; padding-block: 90px; }
.hero-copy { max-width: 770px; }
.hero h1 { color: #fff; }
.hero .eyebrow, .page-hero .eyebrow { color: #fff; }
.hero .eyebrow::before, .page-hero .eyebrow::before { background: var(--accent); }
.hero .lead { max-width: 630px; color: #dce8e8; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin-top: 55px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-stat { padding: 24px 25px 0 0; }
.hero-stat strong { display: block; color: var(--accent); font-size: 1.35rem; }
.hero-stat span { color: #c9d8da; font-size: .88rem; }

.page-hero { padding: 95px 0 70px; color: #fff; background: linear-gradient(120deg, #092f38, #155866); }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(2.5rem, 6vw, 5rem); }
.breadcrumbs { margin-top: 16px; color: #c6d7d9; font-size: .9rem; }
.breadcrumbs a { color: var(--accent); }
.page-hero .page-intro { max-width: 760px; margin: 20px 0 0; color: #d9e6e7; font-size: 1.08rem; }
.page-hero .button-row { margin-top: 24px; }

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-frame img { width: 100%; min-height: 380px; object-fit: cover; }
.accent-card { padding: 28px; border-radius: var(--radius); color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.accent-card h1, .accent-card h2, .accent-card h3, .accent-card h4 { color: #fff; }
.accent-card p, .prose .accent-card p { color: #dce8e8; }
.accent-card strong { color: var(--accent); }
.feature-list { list-style: none; margin: 26px 0 0; padding: 0; }
.feature-list li { position: relative; margin: 12px 0; padding-left: 30px; }
.feature-list li::before { position: absolute; left: 0; top: .55em; width: 12px; height: 12px; content: ""; border-radius: 50%; background: var(--accent); }

.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 34px rgba(16,60,70,.07); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card-body { padding: 28px; }
.service-code { color: var(--accent-2); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { position: relative; min-height: 380px; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 25%, rgba(4,28,33,.92) 100%); }
.project-card:hover img { transform: scale(1.045); }
.project-card-content { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; }
.project-card h3 { color: #fff; }
.project-card p { margin: 0; color: #d2dfe0; font-size: .92rem; line-height: 1.5; }

.service-row { display: grid; grid-template-columns: 390px 1fr; gap: 46px; align-items: start; padding: 42px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border: 0; }
.service-row img { width: 100%; aspect-ratio: 2.7/1; object-fit: cover; border-radius: 16px; }
.service-row h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.prose { max-width: 900px; }
.prose p { color: #3f5055; text-align: left; }
.prose-wide { max-width: 100%; }

.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-top: 42px; }
.cert-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cert-card img { width: 100%; height: 520px; object-fit: contain; background: #f4f5f3; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a, .gallery button { display: block; padding: 0; border: 0; overflow: hidden; border-radius: 16px; background: #e8eceb; }
.gallery img { width: 100%; height: 310px; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img, .gallery button:hover img { transform: scale(1.03); }
.project-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; margin-bottom: 48px; }
.project-meta { padding: 28px; border-left: 5px solid var(--accent); background: var(--paper); }
.lightbox { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(2,17,20,.92); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: transparent; font-size: 1.5rem; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 54px; align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; margin-bottom: 5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-form { padding: 34px; border-radius: var(--radius); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid #ccd5d3; border-radius: 11px; color: var(--ink); background: #fff; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16,60,70,.1); }
.field textarea { min-height: 165px; resize: vertical; }
.form-note { margin: 18px 0; color: var(--muted); font-size: .85rem; }
.map-link { margin-top: 24px; }

.policy-frame { width: 100%; min-height: 980px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.policy-notice { margin-bottom: 24px; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--paper); }
.faq-list { max-width: 900px; margin-top: 38px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); font-weight: 800; cursor: pointer; }
.faq-list summary::after { content: "+"; color: var(--accent-2); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 0 22px; color: var(--muted); }

.cta { overflow: hidden; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 760px; margin: 0; }
.site-footer { color: #c9d8da; background: #071f25; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 60px; padding: 68px 0 44px; }
.footer-logo { width: 205px; margin-bottom: 22px; filter: brightness(0) invert(1); opacity: .9; }
.footer-title { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: var(--accent); }
.copyright { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.copyright .container { display: flex; justify-content: space-between; gap: 20px; }
.legal-links { display: flex; gap: 18px; }

.cookie-banner { position: fixed; z-index: 80; left: 20px; right: 20px; bottom: 20px; display: none; }
.cookie-banner.show { display: block; }
.cookie-inner { max-width: 940px; margin: auto; padding: 19px 22px; display: flex; align-items: center; gap: 22px; border-radius: 15px; color: #fff; background: #0a3038; box-shadow: var(--shadow); }
.cookie-inner p { flex: 1; margin: 0; font-size: .9rem; }
.cookie-inner a { color: var(--accent); text-decoration: underline; }
.cookie-inner button { flex: 0 0 auto; padding: 10px 18px; border: 0; border-radius: 999px; color: var(--ink); background: var(--accent); font-weight: 800; }

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { min-width: 92px; min-height: 46px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 999px; color: #fff; background: var(--ink); font-size: .88rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
  .mobile-menu[open] summary { background: #0a3038; }
  .mobile-menu-panel { position: absolute; z-index: 55; left: 0; right: 0; top: 100%; display: grid; padding: 14px max(20px, calc((100% - var(--max)) / 2)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 22px 45px rgba(10,40,47,.16); }
  .mobile-menu-panel a { min-height: 48px; display: flex; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 800; }
  .mobile-menu-panel a:last-child { border-bottom: 0; }
  .mobile-menu-panel a.active { color: var(--accent-2); }
  .grid-2, .contact-grid, .project-intro { grid-template-columns: 1fr; }
  .grid-3, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row img { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 64px 0; }
  .topbar .container { justify-content: center; }
  .topbar .topbar-note { display: none; }
  .brand img { width: 176px; }
  .nav-wrap { min-height: 76px; }
  .hero { min-height: 650px; }
  .hero::before { background: linear-gradient(90deg, rgba(6,38,46,.94), rgba(6,38,46,.72)), url("../images/about1.webp") 58% center/cover; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero-stat { padding-top: 13px; }
  .grid-3, .project-grid, .cert-grid, .gallery, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 340px; }
  .gallery img { height: 250px; }
  .contact-form { padding: 24px 18px; }
  .cta .container, .cookie-inner, .copyright .container { align-items: flex-start; flex-direction: column; }
  .footer-grid { gap: 38px; }
  .policy-frame { min-height: 1100px; }
}

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