:root {
  --navy: #0b2a66;
  --navy-dark: #081f4d;
  --ink: #14213d;
  --muted: #55607a;
  --line: #e3e7ee;
  --off: #f6f7f9;
  --green: #1f9d55;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 40; padding: 12px 18px; background: var(--navy); color: #fff; border-radius: 4px; }
.skip:focus { top: 8px; }
body { font: 400 17px/1.55 var(--sans); color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.serif, h1 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.1; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 18px; height: 18px; }
:focus-visible { outline: 3px solid #5b8def; outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 28px; border: 1px solid transparent; border-radius: 4px; font-weight: 600; font-size: 17px; text-align: center; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--off); }
.btn-green { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; }
.mark { width: 80px; height: 46px; background: url(images/logo.jpg) -50px -46.7px / 180px auto no-repeat; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font: 500 19px var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.brand-tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 36px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.btn-call { min-height: 52px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 3px; margin: 5px auto; background: var(--ink); border-radius: 2px; }

/* hero */
.hero { position: relative; display: flex; align-items: center; min-height: 600px; background: #333; color: #fff; overflow: hidden; }
.hero img, .hero picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 38, .5); }
.hero-copy { position: relative; z-index: 1; padding-block: 72px; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: clamp(48px, 7vw, 76px); margin-bottom: 24px; }
.lead { max-width: 480px; font-size: 20px; margin-bottom: 36px; }

/* services */
.services { background: #fff; border-bottom: 1px solid var(--line); }
.service-list { display: grid; grid-template-columns: repeat(6, 1fr); padding-block: 36px; }
.service-list li { padding: 0 20px; text-align: center; border-left: 1px solid var(--line); }
.service-list li:first-child { border-left: 0; }
.sv { width: 48px; height: 48px; margin-bottom: 14px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-list h2 { font: 600 16px/1.3 var(--sans); color: var(--navy); margin-bottom: 8px; }
.service-list p { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* work */
.work { padding: 72px 0; background: var(--off); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.work h2, .about h2, .social h2 { font-size: clamp(32px, 4vw, 42px); }
.sub { color: var(--muted); margin-top: 6px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }

/* about */
.about { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.about p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 560px; }
.trust { display: grid; gap: 14px; }
.trust li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); font-weight: 600; color: var(--navy); }

/* social */
.social { padding: 48px 0; background: var(--off); border-block: 1px solid var(--line); }
.social-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.social p { color: var(--muted); margin-top: 8px; max-width: 420px; }
.social-btns { display: flex; gap: 16px; }
.soc { display: flex; align-items: center; gap: 16px; min-width: 250px; min-height: 76px; padding: 12px 24px; background: #fff; border: 1px solid var(--line); border-radius: 4px; line-height: 1.3; font-size: 15px; }
.soc:hover { border-color: var(--navy); }
.soc b { font-size: 17px; }
.soc-ic { width: 38px; height: 38px; color: #c13584; flex: none; }

/* survey */
.survey { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.survey img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.survey::after { content: ""; position: absolute; inset: 0; background: rgba(8, 31, 77, .9); }
.survey-copy { position: relative; z-index: 1; padding-block: 72px; }
.survey h2 { color: #fff; font-size: clamp(34px, 4.5vw, 48px); }
.survey-copy > p { max-width: 540px; margin: 16px 0 32px; font-size: 19px; }
.survey .small { font-size: 16px; margin: 28px 0 0; opacity: .85; }

/* footer */
.site-footer { background: #fff; padding: 40px 0 24px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.foot-grid p { margin-bottom: 6px; color: var(--muted); }
.foot-grid a:hover { color: var(--navy); text-decoration: underline; }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.sticky-bar { display: none; }

/* tablet */
@media (max-width: 1000px) {
  .service-list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .service-list li:nth-child(4) { border-left: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .social-grid { flex-direction: column; align-items: flex-start; }
}

/* mobile: single column, big targets, sticky contact bar */
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .bar { min-height: 68px; gap: 0; }
  .btn-call { display: none; }
  .menu-btn { display: block; }
  .mark { width: 64px; height: 37px; background-size: 144px auto; background-position: -40px -37.4px; }
  .brand-name { font-size: 16px; }
  .brand-tag { font-size: 11px; letter-spacing: .12em; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 18px 16px; border-top: 1px solid var(--line); }

  .hero { min-height: 0; }
  .hero-copy { padding-block: 56px 40px; }
  .hero h1 { font-size: 48px; }
  .lead { font-size: 18px; }
  .btns { flex-direction: column; gap: 12px; }
  .btn { width: 100%; min-height: 64px; font-size: 18px; }

  .service-list { grid-template-columns: repeat(3, 1fr); gap: 10px; padding-block: 20px; }
  .service-list li, .service-list li:nth-child(4) { padding: 16px 6px; border: 1px solid var(--line); background: var(--off); }
  .sv { width: 38px; height: 38px; margin-bottom: 8px; }
  .service-list h2 { font-size: 14px; margin: 0; }
  .service-list p { display: none; }

  .work, .about { padding: 48px 0; }
  .head { flex-direction: column; align-items: flex-start; }
  .gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .gallery li { flex: 0 0 82%; scroll-snap-align: start; }
  
  .social-btns { flex-direction: column; width: 100%; }
  .soc { min-height: 72px; }
  .survey-copy { padding-block: 56px; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }

  .sticky-bar { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 8px rgba(0,0,0,.08); }
  .sticky-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; font-size: 14px; font-weight: 600; color: var(--navy); }
  .sticky-bar .s-call { background: var(--navy); color: #fff; }
  .sticky-bar .s-msg { background: var(--green); color: #fff; }
}
