/* AMS client site template. The brand colour #0b6bcb is swapped per client at build time. */
:root {
  --brand: #0b6bcb; --ink: #0f1f33; --text: #33475b; --muted: #5b6b7f; --line: #e3e8ef; --soft: #f5f8fc; --bg: #fff;
  --radius: 16px; --shadow: 0 1px 2px rgba(15, 31, 51, .06), 0 8px 24px rgba(15, 31, 51, .08);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; margin-top: 8px; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.ribbon { margin: 0; padding: 8px 16px; text-align: center; background: #fef3c7; color: #78350f; font-weight: 700; font-size: .9rem; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a[aria-current="page"] { color: var(--brand); }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 14px; font: 700 .95rem var(--font); color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.brand, .nav a.btn.brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(15, 31, 51, .18); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.big { padding: 16px 28px; font-size: 1.08rem; }
.btn.small { padding: 10px 16px; font-size: .95rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.row.center { justify-content: center; }

section { padding: 64px 0; }
section.soft { background: var(--soft); }
section.top { padding: 44px 0 64px; }
.hero { padding: 72px 0 60px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.hero h1 { max-width: 18ch; }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: 1.18rem; max-width: 60ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 6px 0 0; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .92rem; font-weight: 600; color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 22px; }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: var(--text); transition: transform .2s ease, border-color .2s ease; }
.card.link:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--brand); }
.card p { margin-bottom: 10px; }
.more { font-weight: 700; color: var(--brand); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.towns { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .93rem; color: var(--ink); }
.towns.big li { font-size: 1rem; padding: 9px 16px; }
.plain { list-style: none; padding: 0; margin: 0 0 18px; }
.plain li { margin-bottom: 6px; }
.gap { margin-top: 22px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

.crumbs { border-bottom: 1px solid var(--line); background: var(--soft); font-size: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; }

.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq details p { margin: 10px 0 0; }

.cta { background: var(--ink); color: #c9d6e6; text-align: center; }
.cta h2 { color: #fff; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.site-footer { padding: 30px 0 96px; border-top: 1px solid var(--line); font-size: .93rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.callbar { display: none; }

@media (max-width: 780px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav a.btn { margin-top: 8px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  section { padding: 48px 0; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; }
  .callbar a { flex: 1; text-align: center; padding: 13px; border-radius: 999px; font-weight: 800; background: var(--brand); color: #fff; }
  .callbar a + a { background: #fff; color: var(--ink); border: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card { transition: none; } }

.addr { font-weight: 700; color: var(--ink); font-size: 1.08rem; }

/* Photos and video */
img { max-width: 100%; height: auto; display: block; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero.has-photo .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 60px rgba(15, 31, 51, .2); }
.card.has-img { padding: 0; overflow: hidden; }
.card.has-img .card-body { padding: 20px 22px 22px; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.card.link:hover .card-img { transform: scale(1.04); }
.wide-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 8px 0 26px; box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 22px 0 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .62) 100%); }
.video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); margin-top: 10px; }
.fine { color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .hero.has-photo .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .card-img, .gallery img { transition: none; } }
