/* Highland View Holdings - shared styles
   Brand colors: swap --brand / --accent for the exact logo colors. */
:root {
  --brand: #0b4431;        /* forest green from logo */
  --brand-dark: #08311f;
  --brand-tint: #e9f0ec;
  --accent: #6f5137;       /* mountain brown from logo: buttons and links only */
  --accent-dark: #563e29;
  --ink: #1b1f1d;
  --muted: #5d6661;
  --line: #e7e5df;
  --gray: #f6f5f1;          /* soft warm gray, from the logo's cream */
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,24,20,.05), 0 4px 16px rgba(16,24,20,.06);
  --shadow-hover: 0 2px 4px rgba(16,24,20,.06), 0 10px 28px rgba(16,24,20,.10);
  --max: 1200px;
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section.gray { background: var(--gray); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.small { font-size: .9rem; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin-right: auto; }
.brand-name { white-space: nowrap; font-size: 1.02rem; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.brand-name small { display: block; font: inherit; color: inherit; letter-spacing: inherit; }
.brand img { height: 25px; width: auto; }
.nav { display: none; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { border-bottom-color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); color: var(--brand); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--brand-tint); color: var(--brand); }
.header-phone { display: none; font-weight: 600; color: var(--ink); text-decoration: none; font-size: .98rem; }
.btn.btn-header { display: none; }
/* Phone: sticky bottom bar with thumb-sized Call + Quote buttons */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 10px 16px 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(16,24,20,.06); }
.mobile-bar .btn { width: 100%; }
.btn.outline-brand { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn.outline-brand:hover { background: var(--brand-tint); color: var(--brand); }
body { padding-bottom: 76px; }
.site-footer .todo { color: var(--ink); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--white); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 16px; font-size: 1.05rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--brand); }
@media (min-width: 980px) {
  .btn.btn-header { display: inline-flex; padding: 11px 20px; font-size: .98rem; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .site-header { --header-h: 76px; }
  html { --header-h: 76px; }
}
@media (min-width: 1180px) {
  .nav { display: flex; gap: 28px; margin-right: 12px; }
  .nav a { white-space: nowrap; }
  .menu-toggle { display: none; }
  .mobile-menu, .mobile-menu.open { display: none; }
}
@media (min-width: 1300px) { .header-phone { display: inline; white-space: nowrap; margin-right: 8px; } }
@media (max-width: 400px) {
  .brand img { height: 18px; }
  .brand-name { font-size: .88rem; }
}
.btn { white-space: nowrap; }


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 24px; border-radius: var(--radius); background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; font-family: inherit; border: 2px solid var(--accent); cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn.btn-header { min-height: 44px; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--gray); border-color: var(--gray); color: var(--ink); }
.btn.outline { background: transparent; color: var(--ink); border-color: #cfd4d1; }
.btn.outline:hover { border-color: var(--ink); color: var(--ink); }
.btn.on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.on-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
.btn-row .btn { width: 100%; }
@media (min-width: 600px) { .btn-row { flex-direction: row; flex-wrap: wrap; } .btn-row .btn { width: auto; } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--brand-dark); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media .photo-placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(6,26,18,.58); }
.hero .wrap { position: relative; padding-top: 88px; padding-bottom: 88px; }
@media (min-width: 900px) { .hero .wrap { padding-top: 140px; padding-bottom: 140px; } }
.hero h1 { color: #fff; max-width: 15em; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 34em; margin-bottom: 28px; }

/* Trust bar */
.trust { border-bottom: 1px solid var(--line); background: var(--white); }
.trust ul { list-style: none; margin: 0; padding: 20px 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .trust ul { grid-template-columns: repeat(4, 1fr); padding: 26px 0; } }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .98rem; }
.trust li span { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); }
.trust svg { flex: none; color: var(--brand); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: inherit; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .more { color: var(--accent); font-weight: 600; font-size: .95rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }

/* Photos */
.photo-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .photo-grid.three { grid-template-columns: repeat(3, 1fr); } }
.photo-grid img, .photo-placeholder { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; background: #e9ecea; color: #7b847f; font-size: .9rem; font-weight: 500; }
.hero .photo-placeholder { background: #2c3d34; color: transparent; }
.photo-tag { position: absolute; right: 16px; bottom: 14px; z-index: 1; font-size: .75rem; color: rgba(255,255,255,.75); background: rgba(0,0,0,.35); padding: 4px 8px; border-radius: 6px; }

/* Split */
.split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps strong { display: block; margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Chips (towns) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; font-weight: 500; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; }
.cta-band .wrap { padding-top: 64px; padding-bottom: 64px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; padding-top: 80px; padding-bottom: 80px; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }

/* Forms */
.form-layout { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .form-layout { grid-template-columns: 1fr 1.5fr; gap: 56px; } }
form.contact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; border: 1px solid #d3d8d5; border-radius: 8px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(111,81,55,.25); border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
form.contact .btn { width: 100%; }
.hp { position: absolute; left: -9999px; }

/* Placeholders to fill in. Search the site for class="todo". */
.todo { background: #fff4b8; border-radius: 3px; padding: 0 3px; }

/* Footer */
.site-footer { background: #072a1d; color: #b9c3bd; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .5em; }
.site-footer .grid { gap: 32px; }
@media (min-width: 760px) { .site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8b9690; }

/* Page intro (inner pages) */
.page-intro { background: var(--gray); border-bottom: 1px solid var(--line); }
.page-intro .wrap { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .page-intro .wrap { padding-top: 80px; padding-bottom: 80px; } }
.page-intro h1 { max-width: 16em; }
.page-intro .btn-row { margin-top: 24px; }

/* Service blocks with before/after */
.service-block { display: grid; gap: 28px; grid-template-columns: 1fr; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 900px) { .service-block { grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; } }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
@media (min-width: 600px) { .check-list.two { grid-template-columns: 1fr 1fr; } }
.ba { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba figure { margin: 0; position: relative; }
.ba figcaption { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ba img, .ba .photo-placeholder { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius); }
.ba + .ba { margin-top: 12px; }

/* Owners */
.owner { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .owner { grid-template-columns: 160px 1fr; align-items: start; } }
.owner .photo-placeholder, .owner img { aspect-ratio: 1; width: 100%; max-width: 160px; border-radius: 50%; }
.owner .role { color: var(--brand); font-weight: 600; font-size: .95rem; margin-bottom: 8px; }

/* Contact aside */
.contact-aside h2 { margin-bottom: .4em; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; color: var(--brand); margin-top: 3px; }
.contact-list strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 600; font-size: 1.05rem; word-break: break-word; }

/* File upload */
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border: 1.5px dashed #c9cec9; border-radius: 8px; color: var(--brand); font-weight: 600; cursor: pointer; background: var(--gray); margin: 0; }
.file-drop:hover { border-color: var(--brand); }
.file-input:focus + .field-error, .file-input:focus-visible { outline: none; }
.field-error { color: #a12b1f; font-size: .9rem; margin: 6px 0 0; }
.form-note { text-align: center; margin: 0; }
button[disabled] { opacity: .7; cursor: wait; }

/* Explainer cards / FAQ / table */
.card h3 { margin-bottom: .6em; }
.card ul { padding-left: 1.1em; margin: 0; color: var(--muted); }
.card li + li { margin-top: 6px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin: 10px 0 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 520px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--gray); font-weight: 700; }
.compare td:first-child { font-weight: 600; }
.note { border-left: 3px solid var(--brand); background: var(--brand-tint); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .97rem; }
.narrow { max-width: 760px; }
@media (min-width: 900px) { .service-block.no-photos { grid-template-columns: 1fr; } }
.brand { min-height: 44px; }
.nav a { padding: 10px 2px; }
