:root {
  --navy: #13294B;
  --navy-dark: #0D1E36;
  --ink: #1B2A41;
  --text: #4A5566;
  --muted: #6B7685;
  --line: #C9CFD8;
  --bg: #FFFFFF;
  --bg-soft: #F3F5F8;
  --panel: #E9EDF2;
  --max: 1200px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

main { flex: 1 0 auto; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid #E3E7EC; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--navy); }
.logo svg { height: 52px; width: auto; }
.nav { display: flex; gap: 44px; }
.nav a { position: relative; text-decoration: none; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); padding: 8px 0; }
.nav a[aria-current="page"] { font-weight: 700; color: var(--navy); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--navy); }
.nav a:hover { color: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; font: 600 0.875rem/1 var(--font); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-solid:hover { background: var(--navy-dark); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-line:hover { background: rgba(255,255,255,0.1); }
.hero .btn-solid { border-color: rgba(255,255,255,0.85); }

/* Home hero */
.hero { position: relative; background: var(--navy-dark); color: #fff; overflow: hidden; }
.hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; background: url(img/hero.jpg) center / cover no-repeat; }
.hero-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-dark) 0%, rgba(13,30,54,0.55) 30%, rgba(13,30,54,0) 60%); }
.hero .wrap { position: relative; padding-top: 104px; padding-bottom: 72px; }
.hero h1 { margin: 0; max-width: 640px; font-size: clamp(2rem, 1rem + 3.4vw, 3.75rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; color: #fff; }
.rule { display: block; width: 64px; height: 2px; background: #fff; margin: 32px 0; }
.hero p { margin: 0 0 36px; max-width: 500px; font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.25rem); line-height: 1.5; color: #E4E9F0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; }

/* Values band */
.values { background: var(--bg-soft); }
.values .wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 40px; padding-bottom: 40px; }
.value { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 4px 16px; }
.value + .value { border-left: 2px solid #9AA4B2; }
.value svg { width: 46px; height: 46px; color: var(--navy); }
.value span { font-size: 1.125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }

/* Page banner */
.banner { position: relative; background: var(--navy-dark); color: #fff; overflow: hidden; }
.banner-img { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; background-position: center; background-size: cover; }
.banner-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-dark) 0%, rgba(13,30,54,0.6) 35%, rgba(13,30,54,0.15) 100%); }
.banner .wrap { position: relative; display: flex; align-items: center; gap: 40px; min-height: 124px; padding-top: 28px; padding-bottom: 28px; }
.banner h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; color: #fff; white-space: nowrap; }
.banner .dash { flex: 0 0 72px; height: 2px; background: rgba(255,255,255,0.8); }
.banner p { margin: 0; max-width: 520px; font-size: 1.0625rem; line-height: 1.5; color: #E4E9F0; }
.banner-stack .wrap { flex-direction: column; align-items: flex-start; gap: 12px; min-height: 0; padding-top: 40px; padding-bottom: 32px; }
.banner-stack p { max-width: 620px; }

/* Service cards */
.services { padding: 32px 0 40px; }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 24px; }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card h3 { margin: 16px 0 8px; font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--navy); }
.card p { margin: 0; font-size: 0.875rem; line-height: 1.55; color: var(--text); }
.beyond { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 32px 36px; background: var(--panel); }
.beyond h2 { margin: 0; font-size: 1.625rem; font-weight: 600; line-height: 1.2; color: var(--navy); }
.beyond p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
.beyond .btn { align-self: flex-start; margin-top: 8px; }

/* Specialty cards */
.specialty { padding: 32px 0 48px; }
.sp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.sp-card { display: flex; flex-direction: column; }
.sp-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.sp-card h3 { margin: 20px 0 0; font-size: 1.5rem; font-weight: 600; line-height: 1.25; color: var(--navy); }
.sp-card h3::after { content: ""; display: block; width: 28px; height: 2px; background: #9AA4B2; margin: 14px 0 16px; }
.sp-card p { margin: 0 0 16px; font-size: 1rem; line-height: 1.5; color: var(--text); }
.sp-card ul { margin: 0 0 28px; padding-left: 20px; font-size: 1rem; line-height: 1.75; color: var(--ink); }
.sp-card .btn { align-self: flex-start; margin-top: auto; }

/* Contact */
.contact { padding: 32px 0 48px; }
.contact .wrap { display: grid; grid-template-columns: 420px 1fr; gap: 48px; }
.contact-info { padding-right: 40px; border-right: 1px solid var(--line); }
.info-row { display: flex; align-items: center; gap: 28px; margin-bottom: 30px; font-size: 1.25rem; color: var(--ink); }
.info-row svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--navy); }
.info-row a { text-decoration: none; }
.info-row a:hover { text-decoration: underline; }
.info-name strong { display: block; font-size: 1.375rem; font-weight: 600; color: var(--navy); }
.info-name small { display: block; font-size: 1rem; color: var(--muted); }
.area { display: flex; gap: 22px; margin-top: 36px; padding: 32px 26px; background: var(--panel); }
.area svg { flex: 0 0 32px; width: 32px; height: 40px; color: var(--navy); }
.area strong { display: block; margin-bottom: 10px; font-size: 1.375rem; font-weight: 600; color: var(--navy); }
.area p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--text); }
.form h2 { margin: 0 0 16px; font-size: 1.625rem; font-weight: 600; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; color: var(--ink); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field textarea { width: 100%; min-height: 40px; padding: 8px 10px; font: 1rem var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 2px; }
.field textarea { min-height: 64px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.form .btn { margin-top: 20px; min-width: 240px; }
.form-note { margin: 12px 0 0; font-size: 0.875rem; color: var(--muted); }
.form .btn:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin: 14px 0 0; font-size: 0.9375rem; }
.form-status:empty { display: none; }
.form-status.is-busy { color: var(--muted); }
.form-status.is-ok { padding: 12px 14px; color: #1E5631; background: #E6F2EA; border-left: 3px solid #2E7D46; }
.form-status.is-err { padding: 12px 14px; color: #8A1C1C; background: #FBEAEA; border-left: 3px solid #B42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid #DCE1E7; }
.site-footer .wrap { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.site-footer .logo svg { height: 38px; }
.foot-line { flex: 1 1 auto; height: 1px; background: #9AA4B2; }
.home .foot-line { flex: 1 1 auto; }
.foot-values { display: flex; align-items: center; gap: 20px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.foot-values i { width: 1.5px; height: 20px; background: var(--ink); }
.foot-url { margin-left: auto; font-size: 1rem; text-decoration: none; color: var(--ink); }
.foot-line + .foot-values { margin-left: 32px; }
.site-footer .wrap > .foot-line:first-of-type { max-width: 260px; }
.home .site-footer .wrap > .foot-line:first-of-type { max-width: none; }

/* Responsive */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .beyond { grid-column: span 3; }
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
  .contact .wrap { grid-template-columns: 1fr; }
  .contact-info { padding-right: 0; border-right: 0; }
}
@media (max-width: 1000px) {
  .site-header .wrap { min-height: 80px; }
  .logo svg { height: 44px; }
  .nav { gap: 28px; }
  .hero-img { width: 100%; opacity: 0.3; }
  .hero-img::before { display: none; }
  .hero .wrap { padding-top: 72px; padding-bottom: 60px; }
  .rule { margin: 24px 0; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { flex-wrap: wrap; gap: 4px 24px; min-height: 0; padding-top: 12px; padding-bottom: 10px; }
  .logo svg { height: 36px; }
  .nav { gap: 4px 18px; flex-wrap: wrap; }
  .nav a { font-size: 0.75rem; letter-spacing: 0.03em; padding: 6px 0; }
  .nav a[aria-current="page"]::after { bottom: 0; height: 2px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 44px; }
  .hero p { margin-bottom: 28px; }
  .hero-actions { gap: 12px; }
  .btn { min-height: 44px; padding: 0 22px; font-size: 0.8125rem; }
  .values .wrap { padding-top: 28px; padding-bottom: 28px; }
  .value span { font-size: 0.875rem; letter-spacing: 0.1em; }
  .value svg { width: 36px; height: 36px; }
  .banner .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .banner .dash { flex-basis: auto; width: 56px; }
  .banner-img { width: 100%; opacity: 0.4; }
  .banner h1 { white-space: normal; }
  .svc-grid, .sp-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .beyond { grid-column: 1 / -1; padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .info-row { font-size: 1.0625rem; gap: 18px; }
  .site-footer .wrap { flex-wrap: wrap; gap: 12px 20px; padding-top: 16px; padding-bottom: 16px; }
  .foot-line { display: none; }
  .foot-values { margin-left: 0 !important; gap: 12px; font-size: 0.75rem; }
  .foot-url { margin-left: 0; }
}
@media (max-width: 480px) {
  .values .wrap { grid-template-columns: 1fr; gap: 20px; }
  .value + .value { border-left: 0; border-top: 2px solid #9AA4B2; padding-top: 20px; }
  .svc-grid, .sp-grid { grid-template-columns: 1fr; }
}
