:root {
  --navy: #142a43;
  --steel: #557da8;
  --white: #fff;
  --ice: #f1f5f9;
  --line: #d7e1ec;
  --muted: #455a70;
  color: var(--navy);
  background: var(--white);
  font: 100%/1.55 "Segoe UI", system-ui, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 3.5rem)); margin-inline: auto; }
.skip { position: absolute; top: -10rem; left: 1rem; background: white; padding: .65rem 1rem; z-index: 2; }
.skip:focus { top: 1rem; }
.header { border-bottom: 1px solid var(--line); }
.topbar { min-height: 5.15rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.top-actions { display: flex; gap: .55rem; }
.logo { height: auto; }
nav { display: flex; align-items: center; gap: clamp(.85rem, 2.6vw, 2.2rem); }
nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a:hover, address a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .67rem 1.18rem; border: 1px solid var(--navy); border-radius: .36rem; background: var(--navy); color: white; font-weight: 650; font-size: .95rem; text-decoration: none; text-align: center; }
.button:hover { background: #254669; border-color: #254669; }
.button.secondary { background: transparent; color: var(--navy); border-color: var(--line); }
.button.secondary:hover { background: var(--ice); border-color: var(--steel); }
.hero { border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 5.5vw, 5rem); padding-block: clamp(3.6rem, 7.4vw, 6.2rem); }
.motto { margin: 0 0 1.2rem; font-size: .875rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1 { font-size: clamp(3.55rem, 7.3vw, 6.7rem); margin-bottom: 1.25rem; letter-spacing: -.078em; font-weight: 750; }
h1 em { color: var(--steel); font-style: normal; }
.intro { font-size: clamp(1.06rem, 1.6vw, 1.23rem); color: var(--muted); max-width: 33rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero-art { aspect-ratio: 1.18; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; background: var(--navy); border-radius: .55rem; }
.hero-art img { width: 48%; height: auto; position: relative; }
.frame { position: absolute; border: 1px solid #486688; border-radius: 50%; aspect-ratio: 1; }
.frame-outer { width: 81%; }
.frame-inner { width: 64%; }
.hero-art::before, .hero-art::after { position: absolute; content: ""; background: #486688; z-index: -1; }
.hero-art::before { width: 100%; height: 1px; }
.hero-art::after { height: 100%; width: 1px; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head p, .about-copy p { color: var(--muted); margin-bottom: 0; }
h2 { font-size: clamp(2.25rem, 4.6vw, 3.95rem); letter-spacing: -.062em; margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; align-items: start; }
.service { border: 1px solid var(--line); border-radius: .55rem; padding: 1.4rem; min-width: 0; }
.service-icon { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .32rem; background: var(--ice); color: var(--navy); font-size: 1.35rem; margin-bottom: 1.05rem; }
.service h3, .steps h3 { font-size: 1.23rem; margin-bottom: .55rem; letter-spacing: -.02em; }
.service p, .steps p { color: var(--muted); margin-bottom: .8rem; }
details { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .65rem; font-size: .95rem; }
summary { font-weight: 650; padding-block: .22rem; }
details ul { padding-inline-start: 1.25rem; color: var(--muted); margin-bottom: .15rem; }
details li + li { margin-top: .35rem; }
.method { background: var(--ice); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; counter-reset: steps; }
.steps li { border-top: 1px solid var(--steel); padding-top: .9rem; counter-increment: steps; }
.steps li::before { content: counter(steps, decimal-leading-zero); display: block; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9rem; font-weight: 700; margin-bottom: .85rem; }
.about { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.75fr); align-items: center; gap: 2rem clamp(2.5rem, 6vw, 6.5rem); }
.about-portrait { width: 100%; max-width: 24rem; height: auto; border: 1px solid var(--line); border-radius: .55rem; }
.about-role { margin: .75rem 0 0; font-weight: 650; }
.about-copy .about-role + p { margin-top: 1.35rem; }
.about-copy p + p { margin-top: .85rem; }
.about-link { margin-top: 1.35rem; }
.contact { background: var(--navy); color: white; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(1.5rem, 7vw, 5rem); align-items: start; }
.contact-copy h2 { margin-bottom: 1.1rem; }
.contact-copy p { color: #e0e8f1; }
address { display: grid; gap: .35rem; font-style: normal; justify-items: start; margin-top: 1.5rem; }
address a { overflow-wrap: anywhere; text-underline-offset: .2em; }
form { display: grid; gap: .85rem; border-radius: .55rem; background: white; color: var(--navy); padding: clamp(1rem, 4vw, 1.8rem); }
form label { display: block; font-size: .95rem; font-weight: 650; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
input, textarea { display: block; width: 100%; margin-top: .3rem; padding: .58rem .65rem; border: 1px solid #8d9eb1; border-radius: .3rem; color: var(--navy); background: white; }
textarea { resize: vertical; }
.optional, .privacy { font-weight: 400; color: var(--muted); }
.privacy, #form-status { margin: 0; font-size: .9rem; }
form button { justify-self: start; }
#form-status[data-error="true"] { color: #9b2424; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5.2rem; }
footer small { color: var(--muted); }
.client-page { min-height: 100svh; display: flex; flex-direction: column; background: var(--ice); }
.client-page .header { background: var(--white); }
.client-main { flex: 1; display: grid; place-items: center; padding-block: 2.5rem; }
.client-card { width: min(100%, 34rem); padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid var(--line); border-radius: .55rem; background: var(--white); }
.client-card img { margin-bottom: 1.25rem; }
.client-card h1 { font-size: clamp(2.5rem, 6vw, 3.6rem); letter-spacing: -.06em; margin-bottom: .85rem; }
.client-login { border: 0; margin: 1.3rem 0 0; min-width: 0; padding: 0; display: grid; gap: .85rem; }
.client-login label { font-size: .95rem; font-weight: 650; }
.client-login input:disabled { background: var(--ice); border-color: var(--line); opacity: 1; }
.client-login .button:disabled { background: var(--ice); border-color: var(--line); color: var(--muted); cursor: default; }
.client-card .actions { align-items: center; margin-top: 1.25rem; }
.client-back { padding: .6rem .25rem; text-underline-offset: .22em; font-size: .95rem; }
@media (max-width: 780px) {
  .wrap { width: calc(100% - 2.5rem); }
  .topbar { flex-wrap: wrap; gap: .7rem; padding-block: .8rem; }
  nav { order: 1; width: 100%; flex-wrap: wrap; gap: .2rem 1rem; padding-top: .55rem; border-top: 1px solid var(--line); }
  .hero-layout, .section-head, .about, .contact-layout { grid-template-columns: 1fr; }
  .about-portrait { max-width: 18rem; }
  .hero-art { aspect-ratio: 1.65; }
  .hero-art img { width: 40%; max-width: 15rem; }
  .frame-outer { width: 58%; }
  .frame-inner { width: 46%; }
  .service-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 530px) {
  .wrap { width: calc(100% - 2rem); }
  .topbar .logo { width: 136px; }
  nav { justify-content: space-between; gap: .2rem .45rem; }
  nav a { font-size: .875rem; padding-block: .27rem; }
  .top-actions { order: 2; width: 100%; }
  .top-actions .button { flex: 1; min-height: 2.5rem; padding: .4rem .7rem; font-size: .875rem; }
  h1 { font-size: clamp(3.15rem, 13vw, 4.2rem); }
  .hero-layout { padding-block: 3rem 2.1rem; }
  .service-grid, .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
