 :root {
  --navy: #063a70;
  --navy-deep: #05264a;
  --blue: #0870b8;
  --gold: #d5a32c;
  --gold-light: #f0ce70;
  --ink: #102f52;
  --muted: #526173;
  --line: rgba(213, 163, 44, .35);
  --paper: #fff;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #f3f6fa;
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 18px 70px rgba(5, 38, 74, .10);
  display: flex;
  flex-direction: column;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  flex: 1;
  min-height: 740px;
  overflow: hidden;
  isolation: isolate;
}
.visual-panel {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 47%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.55) 17%, rgba(255,255,255,0) 40%),
    linear-gradient(0deg, rgba(5,38,74,.10), rgba(5,38,74,0)),
    url("assets/modern-office.jpg") center center / cover no-repeat;
}
.content-panel {
  grid-column: 1;
  padding: clamp(30px, 4.2vw, 64px) clamp(28px, 5.5vw, 78px) 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 75%, rgba(255,255,255,.82) 100%);
}
.brand { width: 100%; margin-bottom: clamp(46px, 6.4vw, 92px); }
.brand-logo {
  display: block;
  width: min(100%, 490px);
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 26px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  line-height: 1.7;
  text-transform: uppercase;
}
.eyebrow-line { display: inline-block; width: 54px; height: 2px; flex: 0 0 auto; background: var(--gold); }
h1 {
  max-width: 690px;
  margin: 0 0 20px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 5.1vw, 76px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .99;
}
h1 span { display: block; color: #c48c1c; }
.lead {
  max-width: 560px;
  margin: 0;
  color: #566170;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.72;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 32px 0 28px;
}
.service {
  min-width: 0;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(11px, .92vw, 14px);
  line-height: 1.28;
}
.service + .service { border-left: 1px solid var(--line); }
.service-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fbf7ee;
  color: #bd8519;
}
.service-icon svg {
  width: 34px; height: 34px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.contact-card {
  width: 100%;
  max-width: 570px;
  min-height: 76px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(8,112,184,.04);
  border-radius: 15px;
  background: #eef5ff;
  color: var(--navy);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-card:hover, .contact-card:focus-visible {
  transform: translateY(-2px);
  background: #e6f0ff;
  box-shadow: 0 10px 24px rgba(6,58,112,.10);
}
.mail-icon {
  width: 52px; height: 52px; flex: 0 0 52px;
  display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, #d9ab39, #b87b0c);
  border-radius: 50%;
}
.mail-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.contact-copy { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; }
.contact-copy strong { font-size: clamp(13px, 1vw, 15px); overflow-wrap: anywhere; }
.contact-arrow { margin-left: auto; font-size: 22px; color: #bd8519; }
.footer {
  position: relative;
  z-index: 1;
  min-height: 112px;
  margin-top: -1px;
  padding: 34px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(20,93,151,.45), transparent 35%),
    linear-gradient(120deg, #05264a, #063a70 62%, #05264a);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .25em;
  line-height: 1.7;
  text-transform: uppercase;
}
.footer::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 0; right: 0;
  height: 28px;
  background: linear-gradient(90deg, #d5a32c, #f1d47d, #d5a32c);
  clip-path: polygon(0 0, 24% 100%, 50% 15%, 72% 0, 100% 100%, 100% 100%, 0 100%);
}
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background: repeating-radial-gradient(ellipse at 12% 120%, transparent 0 14px, #8ab5d9 15px 16px, transparent 17px 23px);
}
.footer > * { position: relative; z-index: 1; }
.footer i { display: block; width: 1px; height: 20px; background: var(--gold); }
.footer-rule { display: block; width: 56px; height: 1px; background: var(--gold); }

@media (min-width: 1441px) {
  .page-shell { min-height: 900px; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .visual-panel {
    z-index: -1;
    inset: auto 0 0 0;
    height: 300px;
    background:
      linear-gradient(180deg, #fff 0%, rgba(255,255,255,.55) 24%, rgba(255,255,255,0) 58%),
      url("assets/modern-office.jpg") center 55% / cover no-repeat;
  }
  .content-panel { padding: 32px clamp(24px, 6vw, 58px) 340px; background: linear-gradient(180deg, #fff 0%, #fff 73%, rgba(255,255,255,.82) 100%); }
  .brand { margin-bottom: 55px; }
  .brand-logo { max-height: 88px; }
  h1 { max-width: 650px; font-size: clamp(48px, 8vw, 72px); }
  .lead { max-width: 620px; }
  .services { max-width: 650px; }
  .contact-card { max-width: 620px; }
}
@media (max-width: 560px) {
  .content-panel { padding: 24px 21px 290px; }
  .brand { margin-bottom: 42px; }
  .brand-logo { width: 100%; max-height: 75px; }
  .eyebrow { gap: 11px; font-size: 10px; letter-spacing: .17em; margin-bottom: 20px; }
  .eyebrow-line { width: 30px; }
  h1 { font-size: clamp(42px, 12vw, 60px); line-height: 1.01; margin-bottom: 17px; }
  .lead { font-size: 15px; line-height: 1.65; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; margin: 27px 0 24px; }
  .service { font-size: 13px; min-height: 105px; }
  .service:nth-child(3) { border-left: 0; }
  .service-icon { width: 48px; height: 48px; }
  .service-icon svg { width: 30px; height: 30px; }
  .contact-card { padding: 12px; gap: 11px; min-height: 72px; }
  .mail-icon { width: 44px; height: 44px; flex-basis: 44px; }
  .contact-copy { font-size: 11px; }
  .contact-copy strong { font-size: 12px; }
  .contact-arrow { display: none; }
  .visual-panel { height: 260px; }
  .footer { gap: 10px 12px; min-height: 120px; padding: 30px 18px 24px; font-size: 8px; letter-spacing: .13em; }
  .footer-rule { width: 25px; }
  .footer i { height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
