:root {
  --ink: #1b2730;
  --muted: #56636d;
  --brand: #1f3a4d;
  --brand-dark: #162b39;
  --accent: #b05a22;
  --accent-dark: #924818;
  --bg: #ffffff;
  --bg-alt: #f6f3ee;
  --line: #e4ded5;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(27, 39, 48, .06), 0 6px 20px rgba(27, 39, 48, .07);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.ico, .ico-lg, .svc-ico {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.ico { width: 1.15em; height: 1.15em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: .85em 1.5em; font-size: 1.05rem; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-brand { background: var(--brand); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); }
.brand-logo { height: 64px; width: auto; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.brand-name { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.brand-sub { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--accent); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: 56px 0 32px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .ico { color: var(--accent); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.hero-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(22, 43, 57, .82); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.services .card { padding: 24px 22px; }
.services p { color: var(--muted); font-size: .95rem; margin: 0; }
.svc-ico {
  width: 46px; height: 46px; padding: 10px; margin-bottom: 14px;
  color: var(--accent); background: #f8ece3; border-radius: 10px;
}

/* Our work */
.ba { margin: 0; }
.ba a { display: block; }
.ba img, .gallery img { border-radius: 10px; width: 100%; }
.ba figcaption, .gallery figcaption { font-size: .95rem; color: var(--muted); margin-top: 10px; }
.ba figcaption strong { color: var(--ink); }
.ba-wide { margin-bottom: 28px; }
.ba-pair { display: flex; gap: 24px; margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; }
.ba a, .gallery a { transition: opacity .15s; }
.ba a:hover, .gallery a:hover { opacity: .9; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why p { color: var(--muted); margin: 0; font-size: .97rem; }
.ico-lg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 10px; }

/* Area */
.area { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.area p { font-size: 1.08rem; }
.list-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 600; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.contact-form { padding: 32px; }
.contact-form > p { color: var(--muted); }
form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.req { color: var(--accent); }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: 11px 13px; border: 1px solid #cfc7bc; border-radius: 8px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 58, 77, .18); }
textarea { resize: vertical; }
form .btn { justify-self: start; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 600; color: var(--accent-dark); }
.form-status:empty, .botcheck { display: none; }
.thanks h3 { font-size: 1.35rem; }
.thanks p { color: var(--muted); margin: 0; }

.call-card {
  display: block; text-decoration: none; color: #fff; background: var(--brand);
  border-radius: var(--radius); padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow);
}
.call-card:hover { background: var(--brand-dark); }
.call-label { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 700; opacity: .8; }
.call-number { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.01em; margin: 4px 0; }
.call-hint { opacity: .85; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; align-items: center; gap: 12px; }
.info-list .ico { color: var(--accent); }
.info-list a { word-break: break-all; }

/* Footer */
.site-footer { background: var(--brand-dark); color: #d5dde3; padding: 48px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: .4em; }
.footer-brand { display: flex; align-items: flex-start; gap: 20px; }
.footer-logo { height: 104px; width: auto; flex: none; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; margin-top: 16px; font-size: .85rem; color: #9fb0bc; }

.mobile-bar { display: none; }

/* Tablet */
@media (max-width: 1000px) {
  .services, .why { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}

@media (max-width: 899px) {
  .hero { padding: 28px 0 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { order: -1; }
  .area, .contact { grid-template-columns: 1fr; gap: 28px; }
}

/* Phone */
@media (max-width: 760px) {
  .nav, .header-call { display: none; }
  .header-inner { min-height: 60px; }
  .brand-name { font-size: 1.35rem; }
  .brand-logo { height: 46px; }
  .footer-logo { height: 80px; }
  .section { padding: 52px 0; }
  .ba-pair { flex-direction: column; gap: 28px; }
  .ba-pair .ba { flex: none !important; }
  .gallery { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 8px; }
  body { padding-bottom: 76px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(27, 39, 48, .08);
  }
  .mobile-bar .btn { padding: .8em .3em; gap: .35em; font-size: .92rem; white-space: nowrap; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .services, .why { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .cta-row .btn { flex: 1 1 100%; }
  .call-number { font-size: 1.8rem; }
}
