/* Admin form fields. The site has no Tailwind forms plugin, so text inputs
   would otherwise render without a visible border. Scoped to the admin UI. */
.admin-ui input[type="text"], .admin-ui input[type="email"], .admin-ui input[type="search"],
.admin-ui input[type="password"], .admin-ui input[type="date"], .admin-ui input[type="number"],
.admin-ui textarea, .admin-ui select {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
}
.admin-ui input:focus, .admin-ui textarea:focus, .admin-ui select:focus {
  outline: 2px solid #fb923c;
  outline-offset: 1px;
}
/* Home hero calls to action: solid primary and outlined secondary. */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.hero-cta-primary,
.hero-cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.05rem 1.9rem; border-radius: 0.25rem; text-decoration: none; white-space: nowrap;
  font-family: "Anton", sans-serif; font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.hero-cta-primary { background: #f97316; color: #111; border: 2px solid #f97316; }
.hero-cta-primary:hover { background: #fb923c; border-color: #fb923c; transform: translateY(-1px); }
.hero-cta-secondary { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.65); }
.hero-cta-secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
@media (max-width: 640px) {
  .hero-cta-primary, .hero-cta-secondary { width: 100%; }
  }
/* Leave native iframe scrolling enabled as a fallback for provider changes. */
.highlevel-quote-frame {
  display: block;
  width: 100%;
  height: 1450px;
  border: 0;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .highlevel-quote-frame { height: 1550px; }
}

/* The booking calendar on the year-end page. Native iframe scrolling stays on as a fallback. */
.highlevel-booking-frame {
  display: block;
  width: 100%;
  height: 950px;
  border: 0;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .highlevel-booking-frame { height: 1150px; }
}
/* Draw-your-property: landing hero plus a full-screen map app. Plain CSS so the app does not depend on utility classes. */
.dp-hero {
  padding: 2rem 1rem 2.5rem; /* the nav is in flow above the hero, so no extra room is needed for it */
  background: radial-gradient(ellipse at 80% 0%, rgba(249, 115, 22, 0.18), transparent 55%), linear-gradient(135deg, #0f1412, #1b2420 60%, #14110d);
  color: #fff;
}
.dp-hero-inner { max-width: 44rem; margin: 0 auto; }
@media (min-width: 768px) { .dp-hero { padding: 4rem 1rem 3.5rem; } }
.dp-eyebrow { color: #fb923c; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin: 0 0 0.75rem; }
.dp-hero h1 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1.02; margin: 0 0 1rem; }
.dp-hero h1 em { font-style: normal; color: #fb923c; }
.dp-lede { font-size: 1.15rem; line-height: 1.4; color: #e5e7eb; margin: 0 0 1.75rem; max-width: 36rem; }

.dp-search { position: relative; background: rgba(255, 255, 255, 0.06); border-top: 3px solid #f97316; padding: 1rem; border-radius: 0 0 0.5rem 0.5rem; max-width: 36rem; }
.dp-search label { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fdba74; margin-bottom: 0.5rem; }
.dp-search-row { display: flex; gap: 0.5rem; }
.dp-search input { flex: 1; min-width: 0; padding: 0.9rem 1rem; font-size: 1.05rem; border-radius: 0.375rem; border: 1px solid #4b5563; background: #0b0f0d; color: #fff; }
.dp-search input:focus { outline: 2px solid #f97316; border-color: #f97316; }
.dp-go { padding: 0 1.25rem; border: 0; border-radius: 0.375rem; background: #f97316; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; white-space: nowrap; }
.dp-go:hover { background: #ea580c; }
.dp-go { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.dp-go-icon { width: 1.15rem; height: 1.15rem; flex: none; }
@media (max-width: 480px) {
  .dp-search input { min-height: 3.5rem; padding: 1rem 1.1rem; font-size: 1.2rem; }
  .dp-search-row .dp-go { width: 3.5rem; padding: 0; }
  .dp-search-row .dp-go-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dp-go-icon { width: 1.5rem; height: 1.5rem; }
}
.dp-status { min-height: 1.4rem; margin: 0.6rem 0 0; font-size: 0.9rem; color: #d1d5db; }
.dp-status.is-error { color: #fca5a5; }
.dp-suggestions { position: absolute; left: 1rem; right: 1rem; z-index: 20; margin: 0.25rem 0 0; padding: 0; list-style: none; background: #fff; color: #111827; border-radius: 0.375rem; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); overflow: hidden; }
.dp-suggestions li { padding: 0.7rem 1rem; cursor: pointer; border-bottom: 1px solid #f3f4f6; }
.dp-suggestions li:last-child { border-bottom: 0; }
.dp-suggestions li[aria-selected="true"], .dp-suggestions li:hover { background: #fff7ed; }
.dp-suggestions strong { display: block; font-weight: 600; }
.dp-suggestions span { font-size: 0.8rem; color: #6b7280; }
.dp-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fdba74; }
.dp-trust li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; background: #f97316; margin-right: 0.5rem; }

.dp-how { max-width: 56rem; margin: 0 auto; padding: 2.5rem 1rem 1rem; display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .dp-how { grid-template-columns: repeat(3, 1fr); } }
.dp-how h2 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.25rem; margin: 0 0 0.25rem; color: #111827; }
.dp-how p { margin: 0; color: #4b5563; }
.dp-how .dp-num { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; background: #f97316; color: #fff; border-radius: 999px; font-weight: 700; margin-bottom: 0.5rem; }
.dp-fine { max-width: 56rem; margin: 0 auto; padding: 1rem 1rem 3rem; font-size: 0.75rem; color: #6b7280; }

/* ---- Full-screen app ----
   One step at a time, set as data-step on .dp-app: pick, drawing, adjusting, check, lead, result.
   Phones: the map fills the screen with a bottom sheet over it. Computers (900px and up): the sheet is a panel on the left.
   While drawing or adjusting, the sheet is put away and the map has the whole screen. */
html.dp-lock, html.dp-lock body { overflow: hidden !important; }
.dp-app {
  --dp-sheet-h: min(46dvh, 430px); --dp-bar-h: 76px; --dp-side: 420px;
  position: fixed; inset: 0; z-index: 2000; height: 100dvh; background: #0b0f0d; color: #f3f4f6; font-family: "Oswald", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.dp-app[hidden], .dp-app [hidden] { display: none !important; }
.dp-app *, .dp-app *::before, .dp-app *::after { box-sizing: border-box; }
.dp-app button { font-family: inherit; }
.dp-app[data-step="drawing"], .dp-app[data-step="adjusting"], .dp-app[data-step="check"], .dp-app[data-step="lead"] { --dp-bar-h: 0px; }
.dp-app[data-step="check"] { --dp-sheet-h: min(54dvh, 480px); }

/* ---- map ---- */
.dp-map-wrap { position: absolute; inset: 0; }
/* maplibre-gl.css sets .maplibregl-map to position: relative; if it loads after this file the map would collapse to no height. */
.dp-map-wrap > .dp-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.dp-map .maplibregl-canvas { outline: none; }
.dp-map.is-drawing .maplibregl-canvas { cursor: crosshair; }
.dp-map .maplibregl-ctrl-top-right { top: 4.4rem; }
.dp-attrib { position: absolute; left: 0.5rem; bottom: calc(var(--dp-panel-h, 0px) + var(--dp-bar-h) + 0.4rem); z-index: 1; margin: 0; font-size: 0.65rem; color: rgba(255, 255, 255, 0.8); text-shadow: 0 1px 2px #000; max-width: calc(100% - 7.5rem); }
.dp-map .maplibregl-ctrl-bottom-right { bottom: calc(var(--dp-panel-h, 0px) + var(--dp-bar-h)); }
.dp-app[data-step="drawing"] .dp-attrib, .dp-app[data-step="adjusting"] .dp-attrib { display: none; }

.dp-fab { position: absolute; z-index: 5; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(15, 20, 18, 0.92); color: #fff; border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
.dp-fab svg { width: 22px; height: 22px; }
.dp-fab:hover { border-color: #f97316; color: #fb923c; }
.dp-fab:focus-visible, .dp-view button:focus-visible { outline: 3px solid #f97316; outline-offset: 2px; }
.dp-close { top: 0.75rem; left: 0.75rem; }
.dp-view { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 5; display: flex; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 0.6rem; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
.dp-view button { min-width: 3.4rem; height: 44px; background: rgba(15, 20, 18, 0.92); color: #fff; border: 0; padding: 0 0.8rem; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; cursor: pointer; }
.dp-view button.is-on { background: #f97316; }

.dp-loading { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-start; justify-content: center; padding-top: 22dvh; background: rgba(11, 15, 13, 0.55); backdrop-filter: blur(2px); transition: opacity 0.3s; }
.dp-loading div { background: #151a18; border-top: 3px solid #f97316; padding: 1rem 1.75rem; text-align: center; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.dp-loading small { display: block; color: #fb923c; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; }
.dp-loading b { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.3rem; }
.dp-tag { background: rgba(15, 20, 18, 0.92); color: #fff; border: 1px solid #f97316; border-radius: 3px; padding: 0.15rem 0.5rem; font-size: 0.85rem; font-weight: 600; white-space: nowrap; pointer-events: none; transform: translateY(-50%); }
.dp-tag.is-steep { border-color: #ef4444; background: #7f1d1d; }

/* ---- drawing: one instruction on a card, buttons under the thumb ---- */
.dp-coach { position: absolute; z-index: 5; left: 50%; top: 4.6rem; transform: translateX(-50%); width: min(400px, calc(100% - 1.5rem)); padding: 0.6rem 0.9rem 0.7rem; border-radius: 0.75rem; background: #fff; color: #111827; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); display: grid; gap: 0.1rem; text-align: center; pointer-events: none; }
.dp-coach strong { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.3rem; line-height: 1.15; }
.dp-coach span { font-size: 1rem; line-height: 1.35; }
.dp-app.is-snapped .dp-coach { box-shadow: 0 0 0 3px #f97316, 0 6px 18px rgba(0, 0, 0, 0.45); }
.dp-cursor-hint { position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none; white-space: nowrap; padding: 0.4rem 0.6rem; border-radius: 0.4rem; background: #151a18; color: #fff; font-size: 0.85rem; font-weight: 600; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); }
.dp-app.is-snapped .dp-cursor-hint { background: #ea580c; }

.dp-crosshair { display: none; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; z-index: 3; pointer-events: none;
  background: linear-gradient(#fff, #fff) center / 2.5px 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 2.5px no-repeat; filter: drop-shadow(0 0 2px #000); }
.dp-crosshair::after { content: ""; position: absolute; inset: 13px; border: 2.5px solid #f97316; border-radius: 4px; background: rgba(249, 115, 22, 0.2); }

.dp-drawtools { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; align-items: flex-end; gap: 1rem; pointer-events: none; }
.dp-dt { pointer-events: auto; display: grid; justify-items: center; gap: 0.35rem; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); }
.dp-dt i { display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111827; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); transition: background-color 0.15s, transform 0.15s; }
.dp-dt svg { width: 46%; height: 46%; }
.dp-dt--s i { width: 50px; height: 50px; }
.dp-dt--l i { width: 68px; height: 68px; }
.dp-dt--done i, .dp-dt--drop.is-close i { background: #f97316; color: #fff; }
.dp-dt:disabled { cursor: not-allowed; opacity: 0.55; }
.dp-dt:disabled i { background: #c8ccd4; color: #6b7280; }
.dp-dt:focus-visible { outline: none; }
.dp-dt:focus-visible i { outline: 3px solid #f97316; outline-offset: 3px; }
.dp-drawtools .dp-dt--drop { display: none; }
.dp-app[data-step="adjusting"] .dp-dt:not(.dp-dt--done) { display: none; }
@media (pointer: coarse) {
  .dp-app[data-step="drawing"] .dp-crosshair { display: block; }
  .dp-app[data-step="drawing"] .dp-drawtools .dp-dt--drop { display: grid; }
  /* Once the crosshair is on the first corner, the big button closes the area, so Done steps aside. */
  .dp-app.is-snapped .dp-dt--done { visibility: hidden; }
}
/* A mouse gets one pill of labelled buttons instead of round thumb buttons. */
@media (pointer: fine) {
  .dp-drawtools { gap: 0; bottom: 1.5rem; }
  .dp-dt { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 1.1rem; background: #fff; color: #111827; text-shadow: none; font-size: 1rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); border-left: 1px solid #e5e7eb; }
  .dp-dt--undo { border-radius: 999px 0 0 999px; border-left: 0; }
  .dp-dt--cancel { border-radius: 0 999px 999px 0; }
  .dp-dt i, .dp-dt--done i { width: 22px; height: 22px; background: none; box-shadow: none; color: inherit; }
  .dp-dt svg { width: 100%; height: 100%; }
  .dp-dt--done { background: #f97316; color: #fff; }
  .dp-dt:disabled { opacity: 1; background: #eceef2; color: #9aa0ab; }
  .dp-dt:disabled i { background: none; color: inherit; }
  .dp-dt:not(:disabled):hover { background: #f3f4f6; }
  .dp-dt--done:not(:disabled):hover { background: #ea580c; }
  .dp-dt:focus-visible { outline: 3px solid #f97316; outline-offset: 2px; z-index: 1; }
  .dp-dt:focus-visible i { outline: none; }
  .dp-app[data-step="adjusting"] .dp-dt--done { border-radius: 999px; }
}

/* Handles for adjusting a finished shape: corners to drag, smaller dots between them that add a corner. */
.dp-handle { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #f97316; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); cursor: grab; touch-action: none; }
.dp-handle::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
.dp-handle--mid { width: 16px; height: 16px; border-width: 3px; border-color: #fff; background: rgba(249, 115, 22, 0.9); }

/* ---- sheet ---- */
.dp-panel { position: absolute; z-index: 4; left: 0; right: 0; bottom: var(--dp-bar-h); height: var(--dp-sheet-h); display: flex; flex-direction: column; background: #151a18; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45); }
.dp-app[data-step="drawing"] .dp-panel, .dp-app[data-step="adjusting"] .dp-panel,
.dp-app[data-step="drawing"] .dp-barfoot, .dp-app[data-step="adjusting"] .dp-barfoot,
.dp-app[data-step="check"] .dp-barfoot, .dp-app[data-step="lead"] .dp-barfoot { display: none; }
.dp-app[data-step="lead"] .dp-panel, .dp-app[data-step="result"] .dp-panel { height: auto; top: 26dvh; }
.dp-grip { width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); margin: 10px auto 4px; flex: none; }
.dp-panel-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0.4rem 1.1rem 1.3rem; }
.dp-where { padding: 0.2rem 0 0.6rem; border-bottom: 1px solid #2a332f; }
.dp-addr { margin: 0; font-size: 1.1rem; font-weight: 600; color: #fff; }
.dp-lot { margin: 0.2rem 0 0; color: #9ca3af; font-size: 0.9rem; }
.dp-lot:empty { display: none; }
.dp-panel h2 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 5.6vw, 1.8rem); line-height: 1.05; margin: 0.8rem 0 0.6rem; color: #fff; }
.dp-panel h2:focus { outline: none; }
.dp-cards { display: grid; gap: 0.45rem; }
.dp-card { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 0.75rem; row-gap: 0.1rem; align-items: center; text-align: left; cursor: pointer; padding: 0.6rem 0.8rem; background: #1d2421; color: #f3f4f6; border: 1px solid #2f3a35; border-radius: 0.5rem; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.dp-card:hover { border-color: #f97316; background: #232c28; }
.dp-card:active { transform: scale(0.98); }
.dp-card:focus-visible { outline: 3px solid #f97316; outline-offset: 2px; }
.dp-card-icon { grid-row: span 2; width: 2.2rem; height: 2.2rem; color: #fb923c; }
.dp-card b { font-size: 1.15rem; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em; }
.dp-card span { color: #9ca3af; font-size: 0.9rem; line-height: 1.2; }
.dp-note { font-size: 0.82rem; color: #9ca3af; line-height: 1.4; margin: 0.9rem 0 0; }
.dp-panel a { color: #fb923c; text-decoration: underline; }

.dp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.dp-item { background: #1d2421; border: 1px solid #2f3a35; border-radius: 0.6rem; padding: 0.7rem 0.75rem 0.55rem; }
.dp-item-head { display: flex; align-items: center; gap: 0.6rem; }
.dp-item-num { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 0.95rem; color: #111827; }
.dp-item-name { flex: 1; font-size: 1.1rem; font-weight: 600; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer; }
.dp-item-remove { width: 40px; height: 40px; border: 0; border-radius: 0.5rem; background: transparent; color: #9ca3af; cursor: pointer; display: grid; place-items: center; }
.dp-item-remove:hover { color: #f87171; background: rgba(255, 255, 255, 0.08); }
.dp-item-remove svg { width: 20px; height: 20px; }
.dp-item-slope { margin: 0.35rem 0 0; color: #9ca3af; font-size: 0.95rem; line-height: 1.35; }
.dp-item.is-steep .dp-item-slope { color: #fca5a5; }
.dp-link { margin-top: 0.4rem; padding: 0.4rem 0; border: 0; background: none; color: #fb923c; text-decoration: underline; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.dp-link:focus-visible, .dp-item-remove:focus-visible { outline: 3px solid #f97316; outline-offset: 2px; }
/* Next stays pinned to the bottom of the sheet so it never scrolls out of sight. */
.dp-next { position: sticky; bottom: -1.3rem; z-index: 1; display: grid; justify-items: center; gap: 0.1rem; margin: 0.8rem -1.1rem 0; padding: 0.75rem 1.1rem 1rem; background: #151a18; box-shadow: 0 -10px 14px -8px rgba(0, 0, 0, 0.5); }

.dp-primary { display: block; width: 100%; text-align: center; border: 0; border-radius: 0.375rem; padding: 0.85rem 1rem; background: #f97316; color: #fff; font-family: "Anton", sans-serif; letter-spacing: 0.04em; text-transform: uppercase; font-size: 1.15rem; cursor: pointer; transition: background 0.15s; text-decoration: none; }
.dp-primary:hover:not(:disabled) { background: #ea580c; }
.dp-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.dp-primary small { display: block; font-family: "Oswald", sans-serif; text-transform: none; letter-spacing: 0; font-size: 0.75rem; opacity: 0.9; }
.dp-primary:focus-visible, .dp-cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---- bottom bar ---- */
.dp-barfoot { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; min-height: var(--dp-bar-h); display: grid; align-items: center; padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: #fff7ed; color: #111827; border-top: 4px solid #f97316; }
.dp-barfoot-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.dp-barfoot-text { display: grid; min-width: 0; }
.dp-barfoot-text small { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7280; font-weight: 600; }
.dp-barfoot-text strong { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(1.05rem, 4.6vw, 1.35rem); line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-cta { flex: none; min-height: 52px; padding: 0 1.2rem; border: 0; border-radius: 0.375rem; cursor: pointer; font-family: "Anton", sans-serif; letter-spacing: 0.05em; text-transform: uppercase; font-size: 1.15rem; background: #f97316; color: #fff; transition: background 0.15s; }
.dp-cta:hover:not(:disabled) { background: #ea580c; }
.dp-cta:disabled { background: #fdba74; cursor: not-allowed; }
.dp-cta:focus-visible { outline-color: #111827; }
.dp-barfoot .dp-primary { flex: 1; }

/* ---- result ---- */
.dp-total { background: #fff7ed; color: #111827; border-top: 3px solid #f97316; padding: 1rem; text-align: center; margin-bottom: 1rem; }
.dp-total p { margin: 0; }
.dp-foot-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280; margin: 0; }
.dp-total .dp-range { font-family: "Anton", sans-serif; font-size: 2.1rem; color: #ea580c; line-height: 1.1; margin-top: 0.25rem; }
.dp-lines { display: grid; gap: 0.35rem; font-size: 0.95rem; }
.dp-lines div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #2a332f; padding-bottom: 0.35rem; }
.dp-lines b { font-weight: 500; white-space: nowrap; }

/* ---- booking calendar ---- */
.dp-sheet { position: absolute; inset: 0; z-index: 8; display: flex; align-items: flex-start; justify-content: center; background: rgba(0, 0, 0, 0.7); overflow-y: auto; padding: 1rem; }
.dp-sheet-card { width: 100%; max-width: 46rem; background: #fff; color: #111827; border-radius: 0.5rem; padding: 1.25rem; margin: auto; }
.dp-sheet-card h2 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin: 0 0 0.25rem; color: #111827; }
.dp-sheet-card p { color: #4b5563; margin: 0 0 1rem; }
.dp-sheet-close { float: right; background: none; border: 1px solid #d1d5db; border-radius: 0.25rem; padding: 0.3rem 0.8rem; cursor: pointer; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; }

/* ---- lead form (shown before the price) ---- */
.dp-lead-intro { color: #d1d5db; font-size: 0.98rem; line-height: 1.4; margin: 0 0 1rem; }
.dp-lead { display: grid; gap: 0.85rem; }
.dp-field { display: grid; gap: 0.3rem; }
.dp-field label { font-weight: 600; font-size: 0.95rem; color: #e5e7eb; }
.dp-field input { width: 100%; min-height: 52px; padding: 0.75rem 0.9rem; font: inherit; font-size: 1rem; border-radius: 0.5rem; border: 2px solid transparent; background: #fff; color: #111827; }
.dp-field input:focus { outline: 3px solid #f97316; outline-offset: 1px; }
.dp-field input[aria-invalid="true"] { border-color: #f87171; }
.dp-field-error, .dp-lead-error { margin: 0; color: #fca5a5; font-size: 0.92rem; font-weight: 600; }
.dp-field-error:empty, .dp-lead-error:empty { display: none; }
.dp-lead .dp-check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: #d1d5db; }
.dp-lead .dp-check input { width: 1.4rem; height: 1.4rem; accent-color: #f97316; }
.dp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dp-fineprint { margin: 0; font-size: 0.72rem; line-height: 1.4; color: #9ca3af; }

/* ---- computers: the sheet is a panel on the left ---- */
@media (min-width: 900px) {
  .dp-app { --dp-bar-h: 88px; }
  .dp-app[data-step="drawing"], .dp-app[data-step="adjusting"], .dp-app[data-step="check"], .dp-app[data-step="lead"] { --dp-bar-h: 0px; }
  .dp-map-wrap { left: var(--dp-side); }
  .dp-app[data-step="drawing"] .dp-map-wrap, .dp-app[data-step="adjusting"] .dp-map-wrap { left: 0; }
  .dp-panel, .dp-app[data-step="lead"] .dp-panel, .dp-app[data-step="result"] .dp-panel { top: 0; right: auto; width: var(--dp-side); height: auto; border-radius: 0; box-shadow: 8px 0 24px rgba(0, 0, 0, 0.35); }
  .dp-grip { display: none; }
  .dp-panel-body { padding: 4.6rem 1.5rem 1.5rem; }
  .dp-barfoot { right: auto; width: var(--dp-side); }
  .dp-close { left: calc(var(--dp-side) + 0.9rem); }
  .dp-app[data-step="drawing"] .dp-close, .dp-app[data-step="adjusting"] .dp-close { left: 0.9rem; }
  .dp-coach { left: calc(50% + var(--dp-side) / 2); }
  .dp-app[data-step="drawing"] .dp-coach, .dp-app[data-step="adjusting"] .dp-coach { left: 50%; }
  .dp-attrib { bottom: 0.4rem; }
  .dp-map .maplibregl-ctrl-bottom-right { bottom: 0; }
  .dp-loading { align-items: center; padding-top: 0; }
}
@media (max-width: 899px) {
  .dp-map .maplibregl-ctrl-top-right { display: none; }
  /* The check sheet is only as tall as what was drawn, so more of the map shows. */
  .dp-app[data-step="check"] .dp-panel { height: auto; max-height: var(--dp-sheet-h); }
}
@media (prefers-reduced-motion: reduce) {
  .dp-dt i, .dp-card, .dp-primary, .dp-cta { transition: none; }
}

/* ---- Promo banner on /instant-pricing ---- */
.dp-promo { background: #14110d; background-image: radial-gradient(ellipse at 85% 50%, rgba(249, 115, 22, 0.28), transparent 60%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='160' viewBox='0 0 260 160' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M-10 40C40 10 90 70 140 40S230 10 270 45'/%3E%3Cpath d='M-10 70C40 40 90 100 140 70S230 40 270 75'/%3E%3Cpath d='M-10 100C40 70 90 130 140 100S230 70 270 105'/%3E%3Cpath d='M-10 130C40 100 90 160 140 130S230 100 270 135'/%3E%3C/svg%3E"); border-top: 4px solid #f97316; border-bottom: 4px solid #f97316; padding: 3rem 1rem; }
.dp-promo-inner { max-width: 64rem; margin: 0 auto; display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 860px) { .dp-promo-inner { grid-template-columns: 1.5fr 1fr; gap: 3rem; } }
.dp-promo-eyebrow { color: #fb923c; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin: 0 0 0.5rem; }
.dp-promo h2 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; color: #fff; font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.02; margin: 0 0 0.75rem; }
.dp-promo-lede { color: #e5e7eb; font-size: 1.15rem; line-height: 1.4; margin: 0 0 1.25rem; max-width: 36rem; }
.dp-promo-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; color: #fdba74; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dp-promo-points li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; background: #f97316; margin-right: 0.5rem; }
.dp-promo-action { text-align: center; }
.dp-promo-button { display: block; padding: 1.25rem 1.5rem; background: #f97316; color: #fff; border-radius: 0.375rem; font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.75rem; line-height: 1.1; text-decoration: none; box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35); transition: background 0.15s, transform 0.15s; }
.dp-promo-button:hover { background: #ea580c; transform: translateY(-2px); }
.dp-promo-button small { display: block; font-family: "Oswald", sans-serif; text-transform: none; letter-spacing: 0; font-size: 0.95rem; margin-top: 0.3rem; opacity: 0.95; }
.dp-promo-action p { margin: 0.75rem 0 0; color: #9ca3af; font-size: 0.85rem; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Typography - Anton for headings, Oswald for body */
body {
  font-family: 'Oswald', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Remove italic from headings if any were set */
h1, h2, h3, h4, h5, h6 {
  font-style: normal;
}
