/* American Cemetery Consultants */
:root {
  --navy: #111e48;
  --navy-2: #101d49;
  --ink: #1f3040;
  --text: #2a3c48;
  --muted: #4f525d;
  --green: #36bb67;
  --blue: #92b4c6;
  --sky: #8fc3e6;
  --light: #fcfcfc;
  --line: #e3e8ec;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", Helvetica, Arial, sans-serif;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--text);
  background: var(--blue);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 900px; }
.center { text-align: center; }
.strong { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .85rem 1.5rem;
  background: var(--green); color: #fff; border: 0; border-radius: 4px;
  font: 600 16px/1.25 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.btn-navy { background: var(--navy); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 22px; border-radius: 999px; text-decoration: none; font-size: 14px; transition: opacity .2s;
}
.pill svg { width: 16px; height: 16px; }
.pill:hover { opacity: .88; }
.pill-light { background: #fff; color: var(--navy); }
.pill-blue { background: #2f6fe4; color: #fff; }
.pill-lg { padding: 14px 28px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { width: 200px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a {
  display: block; padding: 10px 12px; color: #fff; text-decoration: none;
  font: italic 400 15px/1.2 var(--serif); border-radius: 4px; white-space: nowrap;
}
.site-nav a:hover, .site-nav .active > a { color: var(--blue); }
.site-nav .sub {
  position: absolute; left: 0; top: 100%; min-width: 190px; list-style: none; margin: 0; padding: 6px 0;
  background: #fff; border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.site-nav .sub a { color: var(--navy); }
.site-nav .sub a:hover { background: #f1f5f8; color: var(--navy); }
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.header-phone {
  color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.8); border-radius: 999px;
  padding: 8px 18px; font: italic 400 15px var(--serif); white-space: nowrap;
}
.header-phone:hover { background: #fff; color: var(--navy); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--navy);
    max-height: 0; overflow: hidden; transition: max-height .3s; margin: 0;
  }
  .site-nav.open { max-height: 80vh; overflow-y: auto; }
  .site-nav > ul { flex-direction: column; padding: 8px 20px 20px; gap: 0; }
  .site-nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 0 16px; }
  .site-nav .sub a { color: #fff; font-size: 15px; }
  .site-nav .sub a:hover { background: none; color: var(--blue); }
}

/* ---------- Bands ---------- */
.band { padding: 64px 0; }
.band-white { background: #fff; }
.band-light { background: var(--light); }
.sky { background: var(--sky) url('/uploads/2016/08/888349-sky-wallpaper.jpg') center top / cover no-repeat fixed; }
@media (hover: none) { .sky { background-attachment: scroll; } }
.page-title { text-align: center; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.2em; }
.page-title.sub { margin-top: 2.2em; margin-bottom: .4em; }
.page-title.light { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.small-title { font-size: 1.3rem; color: var(--navy-2); }
.panel { background: #fff; border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); box-shadow: 0 10px 30px rgba(17,30,72,.12); }
.prose { max-width: 820px; margin: 0 auto; }
.lead p, .lead dd { font-size: 18px; line-height: 1.6; color: var(--navy-2); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head h1, .section-head h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.section-head p { color: #161921; }
.intro { font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.45; font-weight: 600; max-width: 900px; margin: 0 auto 2.5rem; color: var(--ink); }

/* ---------- Home hero ---------- */
.hero-home {
  background-size: cover; background-position: center; position: relative;
  padding: clamp(80px, 14vw, 150px) 0; color: #fff;
}
.hero-home::before { content: ""; position: absolute; inset: 0; background: rgba(10,18,45,.45); }
.hero-home .container { position: relative; }
.hero-home h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
.hero-home p { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.hero-home .pill { margin-top: 24px; }

/* ---------- Project cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card-link {
  display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; color: inherit;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(17,30,72,.08); transition: transform .2s, box-shadow .2s;
}
.card-link:hover, .card-link:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(17,30,72,.16); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #e6edf1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-link:hover .card-img img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; flex: 1; }
.card-title { font: italic 400 1.12rem/1.3 var(--serif); color: var(--ink); }
.card-loc { font-size: 14px; color: var(--muted); }
.card-btn {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 10px 18px; border-radius: 4px; background: var(--green); color: #fff;
  font-weight: 600; font-size: 14px; line-height: 1; transition: background .2s, gap .2s;
}
.card-btn svg { width: 16px; height: 16px; }
.card-body .card-btn { margin-top: auto; }
.card-loc { margin-bottom: 16px; }
.card-link:hover .card-btn, .card-link:focus-visible .card-btn { background: #2ea55a; gap: 12px; }
.card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.filter-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid #cfd9e0; background: #fff; color: var(--navy); padding: 8px 16px; border-radius: 999px; font: 600 14px var(--sans); cursor: pointer; }
.chip.is-active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.search input { border: 1px solid #cfd9e0; border-radius: 999px; padding: 9px 16px; font: 14px var(--sans); min-width: 240px; }
.no-results { text-align: center; color: var(--muted); padding: 32px 0; }

/* ---------- About / financing ---------- */
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }
.about-gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 4px; }
.wide-img { margin: 0 auto 36px; border-radius: 4px; }
.terms { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0 0 1.5em; padding: 22px 26px; background: #f3f7fa; border-left: 4px solid var(--blue); }
.terms dt { font-weight: 700; color: var(--navy); font-size: 16px; }
.terms dd { margin: 0; font-size: 16px !important; }

/* ---------- Staff ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.staff-card { background: rgba(255,255,255,.95); padding: 22px 24px; border-radius: var(--radius); box-shadow: 0 6px 18px rgba(17,30,72,.12); font-size: 15px; }
.staff-card h2 { font: 700 16px var(--sans); color: var(--ink); margin: 0 0 2px; }
.staff-card .role { font-style: italic; margin-bottom: 8px; }
.staff-card p { margin: 0; }
.staff-card a { color: inherit; text-decoration: none; }
.staff-card a:hover { text-decoration: underline; }
.sales-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-top: 24px; }
.sales-card { background: #fff; padding: 20px; border-radius: var(--radius); text-align: center; box-shadow: 0 6px 18px rgba(17,30,72,.12); font-size: 14px; }
.sales-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; margin-bottom: 12px; }
.sales-card h3 { font: 700 15px var(--sans); margin: 0 0 2px; }
.sales-card p { margin: 0; }

/* ---------- Consumer sales ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { background: rgba(255,255,255,.95); padding: 26px; border-radius: var(--radius); box-shadow: 0 6px 18px rgba(17,30,72,.12); }
.feature h2 { font-size: 1.3rem; }
.feature p { font-size: 15px; margin: 0; }

/* ---------- Contact ---------- */
.contact-panel { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 5vw, 64px); }
.contact-list { list-style: none; padding: 0; margin: 1.5em 0 0; font-size: 19px; color: #555; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.contact-list svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.contact-list a { color: inherit; text-decoration: none; }
.map-wrap { position: relative; border: 6px solid #fff; border-radius: var(--radius); overflow: hidden; background: #fff; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-card { position: absolute; right: 16px; top: 16px; background: #fff; padding: 16px 20px; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.18); font-size: 14px; line-height: 1.6; }
@media (max-width: 820px) {
  .contact-panel { grid-template-columns: 1fr; }
  .map-card { position: static; box-shadow: none; }
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field-full { grid-column: 1 / -1; }
.contact-form .form-grid { grid-template-columns: 1fr 1fr; }
.contact-form .field:nth-child(3) { grid-column: 1 / -1; }
.inquiry-form label {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink);
}
.inquiry-form .req { color: var(--green); font-weight: 700; }
.inquiry-form .opt { margin-left: auto; font-size: 12px; font-weight: 400; color: #8a95a0; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #e1e7ec; border-radius: 8px; background: #f7f9fb;
  font: 16px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.inquiry-form textarea { resize: vertical; min-height: 120px; }
.inquiry-form ::placeholder { color: #a5afb8; }
.inquiry-form input:hover, .inquiry-form textarea:hover { border-color: #cdd7df; }
.inquiry-form input:focus, .inquiry-form textarea:focus {
  outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(17,30,72,.1);
}
.inquiry-form .invalid { border-color: #d0453a; background: #fff8f7; }
.inquiry-form .invalid:focus { box-shadow: 0 0 0 4px rgba(208,69,58,.12); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.btn-submit { min-height: 3.25rem; padding: 0 28px; gap: 10px; border-radius: 8px; font-size: 16px; }
.btn-submit .btn-arrow { width: 18px; height: 18px; transition: transform .2s; }
.btn-submit:hover .btn-arrow { transform: translateX(3px); }
.btn-submit[disabled] .btn-arrow { display: none; }
.form-fine { margin: 0; font-size: 13px; color: #7d8893; flex: 1 1 200px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 16px; border-radius: 8px; margin-top: 16px; font-size: 15px; }
.form-notice.ok { background: #e7f7ee; color: #1d6b3d; border: 1px solid #b8e5c9; }
.form-notice.err { background: #fdeceb; color: #9b2a1f; border: 1px solid #f3c2bd; }
.form-success { text-align: center; padding: 36px 12px; }
.form-success svg { width: 64px; height: 64px; color: var(--green); margin: 0 auto 16px; }
.form-success h3 { font-size: 1.8rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); margin: 0; }
.inquiry-form.is-sent .form-grid, .inquiry-form.is-sent .form-actions, .inquiry-form.is-sent .form-notice { display: none; }
@media (max-width: 640px) {
  .form-grid, .contact-form .form-grid { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; }
}

/* ---------- Project page ---------- */
.acc-hero { background: var(--sky) url('/uploads/2016/08/888349-sky-wallpaper.jpg') center / cover no-repeat; padding: 32px 0 40px; }
.hero-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: #161921; margin-bottom: 20px; }
.hero-frame { border: 5px solid #fff; background: #fff; line-height: 0; }
.hero-frame img { width: 100%; max-height: 520px; object-fit: cover; }
.callbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; }
.callbar p { margin: 0; color: var(--muted); }
.callbar strong { font-size: 18px; }
.callbar strong a { color: inherit; text-decoration: none; }
.callbar-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.media { padding: 32px 0 48px; }
.media h2 { font-size: 1.85rem; color: #161921; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: #eef2f5; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery a:hover img { transform: scale(1.05); opacity: .9; }
.acc-form { background: var(--blue); padding: 64px 0; }
.kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.form-shell {
  display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; max-width: 1080px; margin: 0 auto;
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(17,30,72,.22);
}
.form-aside {
  background: linear-gradient(160deg, #18275e 0%, var(--navy) 100%); color: #d8e0ee;
  padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column;
}
.form-aside h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.form-aside p { font-size: 15px; line-height: 1.6; }
.form-aside strong { color: #fff; }
.aside-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 14px; }
.aside-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.aside-list svg { width: 18px; height: 18px; flex: none; color: var(--green); }
.aside-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.aside-list a:hover { border-color: #fff; }
.aside-note { margin: auto 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px !important; color: #aeb9cf; }
.form-card { padding: clamp(28px, 4vw, 48px); }
.contact-form .form-card { padding: 0; }
@media (max-width: 860px) { .form-shell { grid-template-columns: 1fr; } }
.info { padding: 56px 0 72px; }
.info-inner { max-width: 1080px; }
.info-title { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 6px; }
.info-loc { font-weight: 700; font-size: 1.05em; margin-bottom: 32px; }
.info-grid { columns: 2; column-gap: 64px; }
.info-section { break-inside: avoid; margin-bottom: 32px; }
.info-section h3 { font-size: 1.7rem; margin-bottom: 10px; }
.info-section p { font-size: 15.5px; line-height: 1.65; margin: 0; }

@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) {
  .band { padding: 44px 0; }
  .callbar { flex-direction: column; align-items: stretch; text-align: center; }
  .callbar-actions { justify-content: center; }
  .callbar-actions .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .form-card { padding: 28px 18px 18px; }
  .info-grid { columns: 1; }
  .info-section h3 { font-size: 1.45rem; }
  .about-gallery { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; gap: 2px; }
  .terms dd { margin-bottom: 10px; }
  .search input { min-width: 0; width: 100%; }
  .search { flex: 1 1 100%; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,12,28,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox figcaption { color: #dfe6ea; font-size: 14px; margin-top: 10px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; line-height: 1; cursor: pointer; padding: 12px 18px; opacity: .85; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; font-size: 40px !important; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: #1b2350; color: #c9d0e4; font-size: 14px; text-align: center; }
.footer-inner { padding: 48px 20px 36px; }
.footer-logo { margin: 0 auto 16px; width: 120px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0; }
.footer-btns .pill-light { color: var(--navy); }
.footer-btns .pill-blue { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.footer-nav a { padding: 0 10px; border-left: 1px solid rgba(255,255,255,.3); }
.footer-nav a:first-child { border-left: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; }
