:root {
  --navy: #141c34;
  --navy-2: #1c2644;
  --paper: #f2f5f8;
  --white: #ffffff;
  --ink: #141c34;
  --muted: #55607a;
  --on-navy: #dfe3ee;
  --line: #d7dfe7;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 28, 52, 0.08);
  --wrap: 1120px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 165px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 10px 14px; z-index: 100; border-radius: 8px; }

/* Top bar and header */
.topbar { background: var(--paper); color: var(--navy); font-size: 14.5px; }
.topbar .wrap { display: flex; gap: 22px; justify-content: flex-end; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; }

.header { background: var(--white); color: var(--navy); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; }
.brand { display: inline-block; text-decoration: none; line-height: 1; }
.brand img { width: 140px; height: auto; }
.brand b { display: block; font-size: 23px; font-weight: 700; letter-spacing: 0.05em; color: var(--navy); }
.brand span { display: block; margin-top: 5px; font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }
.header .brand { padding-block: 8px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.menu-btn { display: none; background: none; border: 1px solid #b9bdc7; color: var(--navy); border-radius: 6px; padding: 9px 12px; font: inherit; font-size: 15px; }

/* Buttons and labels */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-radius: 6px; padding: 11px 15px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--paper); }
.btn-line { border-color: rgba(255,255,255,0.75); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.on-navy .label { color: var(--on-navy); }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: 0.01em; }

/* Home */
.home-hero { padding: clamp(34px, 5vw, 60px) 0; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 250px); align-items: center; gap: clamp(24px, 6vw, 80px); }
.home-hero h1 { max-width: 24ch; font-size: clamp(30px, 3.75vw, 44px); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; text-wrap: balance; }
.home-hero .lead { margin-top: 14px; max-width: 54ch; font-size: clamp(16px, 1.75vw, 18px); color: var(--muted); }
.service-actions { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; margin-top: 18px; }
.service-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.text-link { font-weight: 700; text-underline-offset: .25em; }
.text-link:hover, .trade-list a:hover, .contact-routes a:hover { color: var(--muted); }
.on-navy .text-link:hover { color: var(--on-navy); }
.home-coverage { padding: 3px 0 4px 28px; border-inline-start: 1px solid var(--line); }
.home-coverage h2 { font-size: 18px; line-height: 1.3; }
.home-coverage p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.home-services, .home-work { padding: clamp(30px, 4vw, 50px) 0; }
.home-services { background: var(--paper); }
.home-section-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 24px 60px; align-items: start; }
.home-services h2, .home-work h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.015em; }
.trade-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-top: 18px; }
.trade-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.trade-list svg { width: 24px; color: var(--navy-2); margin-top: 2px; }
.trade-list a { font-weight: 700; text-underline-offset: .2em; }
.trade-list p { margin-top: 2px; color: var(--muted); font-size: 16px; }
.home-work p { max-width: 62ch; color: var(--muted); }
.home-work p + p { margin-top: 12px; }

.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 60px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 78px); margin-top: 14px; }
.page-hero p { max-width: 680px; margin-top: 16px; color: var(--on-navy); font-size: 18.5px; }

/* Service pages */
.page-intro { padding: clamp(24px, 4vw, 42px) 0; background: var(--navy); color: var(--white); }
.page-intro h1 { max-width: 24ch; font-size: clamp(30px, 3.75vw, 44px); line-height: 1.14; letter-spacing: -0.025em; }
.page-intro p { max-width: 62ch; margin-top: 8px; color: var(--on-navy); }
.page-content, .trades-section { padding: clamp(18px, 3vw, 36px) 0 clamp(32px, 5vw, 56px); }
.page-content .block, .trades-section .block { padding: clamp(18px, 3vw, 30px); }
.two.trade-details { margin-top: 14px; gap: 12px 26px; }
.service-city-links { display: flex; flex-wrap: wrap; column-gap: 22px; margin-top: 8px; }
.service-city-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Sections */
section { padding: 76px 0; }
.sec-white { background: var(--white); }
.sec-navy { background: var(--navy); color: var(--white); }
.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 60px); margin-top: 12px; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.sec-navy .sec-head p { color: var(--on-navy); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.sec-white .card { border: 1px solid var(--line); box-shadow: none; }
.card-body { padding: 22px 24px 26px; flex: 1; }
.checks li { position: relative; padding: 5px 0 5px 28px; font-weight: 600; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px; border-left: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(-45deg); }

/* Cities */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 11px 24px; font-size: 18px; color: var(--white); text-decoration: none; }
a.pill:hover { border-color: var(--on-navy); color: var(--on-navy); }
.pills-light .pill { border-color: var(--navy); color: var(--navy); }
.pills-light a.pill:hover { background: var(--navy); color: var(--white); }

/* Plain content blocks */
.block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 32px; }
.block + .block { margin-top: 22px; }
.block h2, .block h3 { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.block p { color: var(--muted); }
.block p + p, .block p + ul, .block ul + p { margin-top: 12px; }
.block .checks li { font-weight: 500; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.two .block + .block { margin-top: 0; }
.link-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.link-list a:hover { color: var(--muted); }
.link-list a::after { content: " \2192"; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Forms */
.contact-page, .form-page { padding: clamp(38px, 6vw, 72px) 0; }
.contact-routes { margin-top: 26px; border-top: 1px solid var(--line); }
.contact-routes div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-routes a { font-weight: 700; text-underline-offset: .2em; }
.contact-routes p { color: var(--muted); font-size: 15px; }
.contact-page .wrap, .form-page .wrap { max-width: 710px; }
.form-intro { margin-bottom: 22px; }
.form-intro h1 { font-family: var(--body); font-size: clamp(30px, 3.75vw, 44px); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; text-transform: none; }
.form-intro p { margin-top: 12px; color: var(--muted); }
.form-intro .btn { margin-top: 16px; }
form.card-form { background: var(--paper); color: var(--ink); border-radius: 12px; padding: clamp(18px, 3vw, 30px); }
.card-form h2 { margin-bottom: 18px; font-size: 23px; line-height: 1.25; }
.field { min-width: 0; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.optional { color: var(--muted); font-size: 13px; font-weight: 400; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 9px 11px; border: 1px solid #b9bdc7; border-radius: 6px; background: var(--white); color: var(--ink); }
textarea { min-height: 106px; resize: vertical; }
:focus-visible { outline: 3px solid var(--muted); outline-offset: 3px; }
.on-navy :focus-visible { outline-color: var(--on-navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card-form .btn:disabled { background: #4b5872; cursor: wait; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.form-done:not(:empty) { border-radius: 6px; padding: 12px 14px; margin-top: 14px; font-size: 15px; font-weight: 600; }
.form-done[data-state="sent"] { color: #224a30; background: #e8f2e9; }
.form-done[data-state="error"] { color: #752a21; background: #faebe7; }

/* Footer */
.footer { background: var(--white); color: var(--ink); padding: 36px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 44px; }
.footer .brand img { width: 156px; }
.footer p { margin-top: 12px; color: var(--muted); }
.footer .label { display: block; margin-bottom: 14px; }
.footer address { font-style: normal; }
.footer address a { display: inline-block; margin-top: 10px; text-underline-offset: 5px; }
.footer .pill { border-color: var(--line); font-size: 16px; padding: 8px 18px; }
.footer-nav { margin-top: 30px; border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 14.5px; }
.footer-nav a { text-decoration: none; margin-right: 18px; }
.footer-nav a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .menu-btn { display: block; min-height: 44px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: 65dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  section { padding: 56px 0; }
  .topbar .wrap { justify-content: center; }
}
@media (max-width: 760px) {
  .topbar a { min-height: 44px; }
  html { scroll-padding-top: 140px; }
  .header .brand { padding-block: 4px; }
  .header .brand img { width: 112px; }
  .home-hero-grid, .home-section-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-coverage { padding: 15px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .topbar .mail-link { display: none; }
  .home-hero { padding: 26px 0 30px; }
  .contact-page { padding-top: 26px; }
  .page-intro .service-actions { column-gap: 16px; }
  .home-hero-grid { gap: 18px; }
  .home-coverage { padding-top: 12px; }
  .home-services { padding-top: 26px; }
  .trade-list { grid-template-columns: minmax(0, 1fr); }
  .trade-list li { position: relative; }
  .trade-list a::after { content: ""; position: absolute; inset: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer address { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (prefers-reduced-motion: no-preference) {
  @keyframes intro-in {
    from { opacity: .88; transform: translateY(5px); }
  }

  :is(.home-hero, .page-intro, .page-hero, .form-intro) h1,
  .home-hero .lead,
  :is(.page-intro, .page-hero) > .wrap > p,
  .form-intro > p {
    animation: intro-in 360ms cubic-bezier(.2, .7, .3, 1);
  }

  .btn { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
  .nav a { transition: color 160ms ease, border-bottom-color 160ms ease; }
  :where(.text-link, .trade-list a, .contact-routes a, .link-list a, .pill) {
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  @keyframes menu-in {
    from { opacity: .8; transform: translateY(-4px); }
  }

  .nav.open { animation: menu-in 180ms cubic-bezier(.2, .7, .3, 1); }
}
