:root {
  --cobalt: #1F4E9C;
  --navy: #0B2545;
  --sky: #8DB3E2;
  --white: #FFFFFF;
  --cream: #FAF7F0;
  --ink: #0B2545;
  --muted: #3E5272;
  --line: #D9E3F1;
  --radius: 10px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Fallback tile pattern (plain shapes). The ChatGPT tile image layers on top once it exists. */
  --tile-fallback:
    radial-gradient(circle, var(--cobalt) 0 3px, transparent 3.5px) 14px 14px / 28px 28px,
    conic-gradient(from 45deg, var(--sky) 0 25%, var(--white) 0 50%, var(--sky) 0 75%, var(--white) 0) 0 0 / 28px 28px,
    var(--white);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--cobalt); }
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 78%;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.25rem, 7.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--white); padding: 10px 14px; border-radius: 6px;
}
.skip:focus { top: 8px; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--display); font-stretch: 90%; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #E8F0FB; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt:hover { background: #183F80; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 240, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-logo { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display); font-weight: 800; font-stretch: 112%;
  font-size: 1.45rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt);
}
.brand-sub {
  font-family: var(--display); font-weight: 600; font-stretch: 85%;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px;
}
/* With the real logo the image carries the name; keep the text for screen readers only. */
.brand.has-logo .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.header-nav { display: none; gap: 22px; }
.header-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.header-nav a:hover { color: var(--cobalt); text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  min-height: 40px; padding: 0 12px; border-radius: 999px;
  border: 2px solid var(--cobalt); background: transparent; color: var(--cobalt);
  font: 700 .9rem var(--body); cursor: pointer;
}
.lang-toggle:hover { background: var(--cobalt); color: var(--white); }
.hide-sm { display: none; }
.header-call { display: none; }

@media (min-width: 560px) { .header-call { display: inline-flex; } }
@media (min-width: 960px) {
  .header-nav { display: flex; }
  .hide-sm { display: inline; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(141, 179, 226, .22), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: 44px 0 52px;
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow {
  font-family: var(--display); font-stretch: 90%; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .85rem;
  color: var(--sky); margin-bottom: 14px;
}
.hero h1 { color: var(--white); max-width: 20ch; }
.hero-grid:has(.hero-photo:not([hidden])) h1 { max-width: 15ch; }
.lead { font-size: 1.15rem; color: #D6E2F2; max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.hero-ctas .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero-ctas .btn { flex: 0 0 auto; } }
.hero-alt { color: #C9D7EA; font-size: .98rem; }
.hero-alt a { color: var(--white); font-weight: 700; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badges li {
  border: 1px solid rgba(141, 179, 226, .55); color: var(--white);
  padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 84px; }
  .hero-grid:has(.hero-photo:not([hidden])) { grid-template-columns: 1.05fr .95fr; }
}

/* Tile band */
.tile-band {
  height: 28px;
  background: url("assets/images/tile-pattern.png") 0 0 / 28px 28px, var(--tile-fallback);
  border-top: 3px solid var(--cobalt);
  border-bottom: 3px solid var(--cobalt);
}

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--white); border-block: 1px solid var(--line); }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

.service-grid { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 20px 22px;
  overflow: hidden;
}
/* A small blue tile corner on each card */
.service::before {
  content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px;
  background:
    radial-gradient(circle, var(--white) 0 4px, transparent 4.5px) center / 100% 100% no-repeat,
    conic-gradient(from 45deg, var(--cobalt) 0 25%, var(--sky) 0 50%, var(--cobalt) 0 75%, var(--sky) 0);
  border-bottom-left-radius: 8px;
}
.service h3 { padding-right: 36px; }
.service p { color: var(--muted); margin: 0; }

.area-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .area-grid { grid-template-columns: 1.2fr 1fr; } }
.area-list { display: grid; gap: 10px; }
.area-list li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-stretch: 88%; font-weight: 700; font-size: 1.2rem; color: var(--navy);
  padding: 14px 18px; background: var(--cream); border-radius: var(--radius);
  border-left: 6px solid var(--cobalt);
}

.why-grid { display: grid; gap: 26px 32px; margin-top: 30px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid li { border-top: 3px solid var(--sky); padding-top: 16px; }
.why-grid p { color: var(--muted); margin: 0; }

/* Estimate */
.estimate { background: var(--cobalt); color: var(--white); }
.estimate .tile-band { border-top: 0; }
.estimate-inner { padding-top: 56px; padding-bottom: 60px; text-align: center; }
.estimate h2 { color: var(--white); }
.estimate .section-lead { color: #E1EAF7; margin-inline: auto; }
.phone-cards { display: grid; gap: 14px; margin: 28px auto 18px; max-width: 760px; }
@media (min-width: 640px) { .phone-cards { grid-template-columns: 1fr 1fr; } }
.phone-card {
  background: var(--navy); border-radius: var(--radius); padding: 22px 18px;
  border: 1px solid rgba(141, 179, 226, .35);
}
.phone-number {
  display: block; color: var(--white); text-decoration: none;
  font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 2rem; margin-bottom: 14px;
}
.phone-actions { display: flex; gap: 10px; justify-content: center; }
.phone-actions .btn { flex: 1; max-width: 160px; }
.estimate-note { color: var(--sky); font-weight: 700; margin: 0; }

/* Facebook */
.fb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.fb-row .section-lead { margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D7EA; padding: 44px 0 110px; font-size: .97rem; }
.site-footer p { margin: 0 0 .4em; }
.site-footer a { color: var(--white); }
.footer-name { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: 1.25rem; color: var(--white); }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr; } }
.footer-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(141, 179, 226, .25); font-size: .88rem; }

/* Sticky call/text bar on phones */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy); border-top: 3px solid var(--cobalt);
}
.mobile-bar .btn-white { border-color: var(--white); }
@media (min-width: 720px) {
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 44px; }
}
