/* Weight Wise palette, applied 60-30-10:
   ~60% neutral surfaces, ~30% teal (primary), ~10% brown accent */
:root {
  --primary: #83CFCA;
  --primary-hover: #6EC3BD;
  --primary-ink: #14948B;      /* teal dark enough for lines and small text */
  --primary-soft: #EAF6F5;
  --primary-mid: #C4E8E5;
  --primary-deep: #0F6F68;    /* white text passes AA on this */
  --accent: #684F40;
  --accent-dark: #3A2C24;
  --ink: #2A2A2A;
  --muted: #5F5F5F;
  --line: #E4E1DD;
  --paper: #F7FAFA;
  --white: #FFFFFF;
  --radius: 10px;
  --max: 1160px;
  --display: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;  /* headings: same family as the original site */
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
h4 { font-family: var(--sans); }
p { margin: 0 0 1em; }
sup { font-size: .5em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 1000; background: var(--white); padding: 8px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1 mark { white-space: nowrap; }
mark { background: linear-gradient(transparent 60%, var(--primary-mid) 60%); color: inherit; padding: 0 2px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary-deep); color: #E3F4F2; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--primary); }
.topbar .phones { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.logo img { width: 165px; }
.nav { display: flex; align-items: center; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav li { position: relative; }
.nav a, .nav .dd-toggle {
  display: flex; align-items: center; gap: 5px; padding: 10px 11px; font-size: .92rem; font-weight: 600;
  color: var(--ink); text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.nav > ul > li > a, .nav > ul > li > .dd-toggle { border-bottom: 2px solid transparent; }
.nav a:hover, .nav .dd-toggle:hover { color: var(--accent); }
.nav .active > a, .nav .active > .dd-toggle { border-bottom-color: var(--primary); }
.caret { width: 10px; height: 10px; transition: transform .2s; }
.dropdown {
  list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .06); opacity: 0; visibility: hidden; transition: .15s;
}
.dropdown a { font-weight: 500; padding: 9px 16px; }
.dropdown a:hover { background: var(--primary-soft); }
.dropdown .sub { font-size: .78rem; color: var(--muted); font-weight: 400; margin-left: auto; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px;
  border-radius: var(--radius); font-weight: 700; font-size: .96rem; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s; cursor: pointer; font-family: inherit;
}
.btn-primary, .btn-teal { background: var(--primary); color: var(--accent-dark); }
.btn-primary:hover, .btn-teal:hover { background: var(--primary-hover); color: var(--accent-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--accent-dark); }
.btn-white:hover { background: var(--paper); color: var(--accent-dark); }
.nav .btn { margin-left: 12px; padding: 11px 18px; background: var(--primary); color: var(--accent-dark); border-radius: var(--radius); }
.nav .btn:hover { background: var(--primary-hover); color: var(--accent-dark); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--primary); color: var(--ink); padding-bottom: 1px; }
.text-link:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { background: var(--primary-soft); padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero .lead { font-size: 1.15rem; color: #444; max-width: 580px; margin-bottom: 30px; }
.hero h1 { max-width: 14ch; }
.hero-sm h1 { max-width: none; }
.hero-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--primary); padding: 30px; border-radius: var(--radius); box-shadow: 14px 14px 0 var(--primary-mid); }
.hero-card h3 { margin-bottom: 2px; font-size: 1.05rem; font-family: var(--sans); font-weight: 700; color: var(--muted); }
.price-tag { font-family: var(--display); font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; margin: 6px 0 4px; }
.price-tag small { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--muted); }
.hero-card ul { margin: 18px 0 22px; }
.hero-card .btn { width: 100%; }
.fine { font-size: .84rem; color: var(--muted); }
.hero-photo { max-width: 340px; margin-left: auto; border: 1px solid var(--line); padding: 10px; background: var(--white); border-radius: var(--radius); box-shadow: 14px 14px 0 var(--primary-mid); }
.hero-photo img { border-radius: 4px; }
.hero-sm { padding: 56px 0 60px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.stars { color: #D99A2B; letter-spacing: 1px; }

/* Hero chart */
.chart-box { background: var(--white); border: 1px solid var(--line); padding: 26px 26px 18px; position: relative; border-radius: var(--radius); box-shadow: 14px 14px 0 var(--primary-mid); }
.chart-box h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin: 0 0 2px; color: var(--ink); }
.chart-box .sub { font-size: .84rem; color: var(--muted); margin: 0 0 14px; }
.chart-stat { display: flex; gap: 28px; margin-bottom: 8px; }
.chart-stat div { font-size: .8rem; color: var(--muted); }
.chart-stat strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.chart-stat .down { color: var(--accent); }
.chart { width: 100%; height: auto; display: block; overflow: visible; touch-action: none; }
.chart text { font-family: var(--sans); font-size: 11px; fill: var(--muted); }
.chart .grid { stroke: #EEEBE7; stroke-width: 1; }
.chart .line { fill: none; stroke: var(--primary-ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--primary); opacity: .22; }
.chart .dot { fill: var(--primary-ink); stroke: var(--white); stroke-width: 2; }
.chart .dot-now { fill: var(--accent); stroke: var(--white); stroke-width: 2; }
.chart .lbl { font-size: 12px; font-weight: 700; fill: var(--ink); }
.chart .xhair { stroke: #BDB7B1; stroke-width: 1; stroke-dasharray: 3 3; visibility: hidden; }
.chart .hover-dot { fill: var(--white); stroke: var(--primary-ink); stroke-width: 2.5; visibility: hidden; }
.chart-tip {
  position: absolute; pointer-events: none; background: var(--ink); color: var(--white); font-size: .8rem;
  padding: 6px 10px; border-radius: 4px; white-space: nowrap; transform: translate(-50%, -130%); opacity: 0; transition: opacity .1s;
}
.chart-tip strong { font-weight: 700; }
.chart-note { font-size: .76rem; color: var(--muted); margin: 10px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }

/* ---------- Facts strip ---------- */
.facts { border-bottom: 1px solid var(--line); border-top: 3px solid var(--primary); background: var(--white); }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 24px 22px; border-left: 1px solid var(--line); font-size: .9rem; color: var(--muted); line-height: 1.4; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--ink); font-weight: 700; margin-bottom: 2px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.bg-off { background: var(--paper); }
.bg-teal { background: var(--primary-soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { text-align: left; margin-left: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.split-head h2 { margin: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Cards: flat, divider-based rather than floating boxes */
.card { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; background: transparent; }
.grid-3 > .card { padding: 28px; border-right: 1px solid var(--line); }
.grid-3 > .card:nth-child(3n) { border-right: 0; }
.grid-3 > .card:nth-child(3n+1) { padding-left: 0; }
.grid-2 > .card, .grid-4 > .card { border: 1px solid var(--line); border-top: 4px solid var(--primary); padding: 26px; background: var(--white); border-radius: var(--radius); }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--accent); font-size: .92rem; }
.card .tag { font-size: .85rem; font-weight: 700; color: var(--primary-deep); margin-bottom: 6px; }
a.card { text-decoration: none; color: inherit; transition: background .15s; }
a.card:hover h3 { color: var(--primary-deep); }
.grid-3 > a.card:hover { background: var(--paper); }
a.card:hover .more { text-decoration: underline; }
.icon-circle { display: none; }

/* Service menu (price-list style) */
.menu { border-top: 3px solid var(--primary); }
.menu-row {
  display: grid; grid-template-columns: 1.1fr 2fr 140px 24px; gap: 28px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.menu-row h3 { margin: 0; font-size: 1.4rem; }
.menu-row p { margin: 0; color: var(--muted); font-size: .97rem; }
.menu-row .price { justify-self: end; font-weight: 700; color: var(--accent-dark); white-space: nowrap; font-size: .9rem; background: var(--primary-soft); padding: 4px 12px; border-radius: 999px; }
.menu-row .price.call { color: var(--muted); font-weight: 600; background: transparent; }
.menu-row .arrow { color: var(--primary-ink); font-weight: 700; transition: transform .15s; }
.menu-row { transition: background .15s, padding .15s; }
.menu-row:hover { background: var(--paper); }
.menu-row:hover h3 { color: var(--primary-deep); }
.menu-row:hover .arrow { transform: translateX(4px); }

.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.check li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--primary-ink); border-bottom: 2.5px solid var(--primary-ink); transform: rotate(-45deg);
}
.x-list li::before { border: 0; width: 12px; height: 2.5px; top: .75em; background: var(--accent); transform: none; }

/* Steps: numbered timeline, no boxes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; border-top: 2px solid var(--primary-mid); padding-top: 28px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--display); font-size: 2.2rem; color: var(--primary-ink); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Panels */
.panel { background: var(--white); border: 1px solid var(--line); padding: 32px; border-radius: var(--radius); }
.panel.teal { background: var(--primary-soft); border-color: transparent; border-left: 5px solid var(--primary); }
.panel.teal h3 { color: var(--ink); }
.note {
  background: var(--paper); border-left: 4px solid var(--accent); padding: 18px 22px;
  font-size: .92rem; color: #4F4440; margin: 24px 0;
}

/* Pricing */
.grid-3.prices { border-top: 0; gap: 20px; }
.price-card { border: 1px solid var(--line) !important; padding: 30px !important; position: relative; background: var(--white); border-radius: var(--radius); }
.price-card.featured { border: 2px solid var(--primary) !important; box-shadow: 12px 12px 0 var(--primary-soft); }
.price-card .badge { position: absolute; top: -12px; left: 28px; background: var(--accent); color: var(--white); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; }
.price-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--muted); margin: 0; }
.price-card ul { margin: 18px 0 24px; }
.price-card .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .95rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--primary-soft); color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--primary); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; }
.faq details[open] summary::after { background: var(--primary); color: var(--accent-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 20px; color: #4A4A4A; }
.faq-group { margin-bottom: 48px; }

/* CTA band */
.cta-band { background: var(--primary); padding: 64px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--accent-dark); margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--accent-dark); max-width: 600px; }
.cta-band .btn-teal { background: var(--accent-dark); color: var(--white); }
.cta-band .btn-teal:hover { background: #000; color: var(--white); }

/* Locations */
.loc-card h3 { display: flex; align-items: center; gap: 10px; }
.loc-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .93rem; margin: 14px 0 20px; }
.loc-card dt { font-weight: 600; }
.loc-card dd { margin: 0; color: var(--muted); }
.map { border: 0; width: 100%; height: 240px; margin-top: 18px; }
.state-pill { display: inline-block; background: var(--primary-mid); color: var(--accent-dark); font-family: var(--sans); font-weight: 700; font-size: .75rem; padding: 2px 8px; border-radius: 3px; }

/* Blog */
.post { border-bottom: 1px solid var(--line); padding: 44px 0; }
.post:first-child { padding-top: 0; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.post h2 { font-size: 1.8rem; }
.post-index a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.sidebar { position: sticky; top: 110px; }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #C9C4BF; border-radius: 8px; font: inherit; font-size: .96rem;
  background: var(--white); color: var(--ink); margin-bottom: 16px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(131, 207, 202, .6); border-color: var(--primary-ink); }
textarea { min-height: 110px; resize: vertical; }

/* Prose */
.prose h2 { margin-top: 1.2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--accent-dark); color: #D8CEC7; padding: 64px 0 0; font-size: .93rem; }
.site-footer a { color: #D8CEC7; text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--primary); font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo { background: var(--white); padding: 10px 14px; border-radius: 8px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { width: 150px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.disclaimer { font-size: .8rem; opacity: .75; margin-top: 18px; }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-btn { display: block; position: relative; z-index: 70; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white);
    flex-direction: column; align-items: stretch; padding: 90px 20px 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); z-index: 60;
  }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav .dd-toggle { width: 100%; justify-content: space-between; padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--line) !important; }
  .dropdown { position: static; opacity: 1; visibility: visible; box-shadow: none; border: 0; display: none; padding: 0 0 6px 12px; min-width: 0; }
  .nav li.open > .dropdown { display: block; }
  .nav li:hover > .dropdown { display: none; }
  .nav li.open:hover > .dropdown { display: block; }
  .nav li.open .caret { transform: rotate(180deg); }
  .nav .btn { margin: 18px 0 0; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 55; display: none; }
  .nav-backdrop.show { display: block; }
}
@media (max-width: 900px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr !important; gap: 40px; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 > .card { border-right: 0; padding-left: 0; padding-right: 0; }
  .facts .container { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo { margin: 0; }
  .sidebar { position: static; }
  .menu-row { grid-template-columns: 1fr auto; gap: 6px 20px; }
  .menu-row p { grid-column: 1 / -1; grid-row: 2; }
  .menu-row .arrow { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .container { padding: 0 16px; }
  .grid-3, .grid-4, .steps, .steps.three, .footer-grid, form .row { grid-template-columns: 1fr; }
  .grid-3.prices { gap: 24px; }
  .topbar .lang { display: none; }
  .hero { padding: 48px 0 56px; }
  .logo img { width: 138px; }
  .site-header .container { min-height: 68px; }
  .btn-row .btn { width: 100%; }
  .chart-box { padding: 20px 16px 14px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    background: var(--white); border-top: 1px solid var(--line);
  }
  .mobile-bar a { text-align: center; padding: 11px 4px; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--accent-dark); line-height: 1.2; }
  .mobile-bar a:last-child { background: var(--primary); }
  .mobile-bar a:nth-child(2) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .hero-card, .chart-box, .hero-photo { box-shadow: 8px 8px 0 var(--primary-mid); }
}
