/* GoldenRoute Concierge (SeniorConciergeBox template) — design system.
   Built for an older-adult audience: larger base type, higher contrast,
   generous tap targets, visible focus states — accessibility-first, not
   just generic clean design. Warm dusty-blue + muted gold on warm ivory —
   deliberately distinct from the saturated navy/amber PetCareBox palette
   and the green LawnCareBox palette sitting next to it in the same account. */

:root {
  --sc-blue: #3f6474;
  --sc-blue-2: #547f8f;
  --sc-blue-dark: #2c4a57;
  --sc-ink: #262320;
  --sc-slate: #4a453e;
  --sc-steel: #756e63;
  --sc-steel-light: #d8d0c0;
  --sc-cream: #faf7f0;
  --sc-cream-2: #f0e9d8;
  --sc-white: #ffffff;
  --sc-gold: #b8863c;
  --sc-gold-dark: #8f6626;
  --sc-gold-darker: #7d5a20;
  --sc-gold-light: #e0ab5a;
  --sc-line: rgba(255, 255, 255, 0.16);
  --sc-line-dark: rgba(38, 35, 32, 0.16);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 6px 20px rgba(38, 35, 32, 0.12);
  --shadow-lg: 0 14px 36px rgba(38, 35, 32, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--sc-ink);
  background: var(--sc-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Long unbroken tokens (emails, URLs) must wrap instead of forcing grid
   tracks/cards wider than the viewport — matters most at narrow widths and
   high browser-zoom levels, both part of this vertical's accessibility bar. */
a, p, .card, .hours-row span {
  overflow-wrap: break-word;
  word-break: break-word;
}

img { max-width: 100%; display: block; }

a { color: var(--sc-gold-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--sc-blue-dark); }

/* Visible focus ring everywhere — critical for keyboard/low-vision users. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sc-gold);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-base);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.55em;
  color: var(--sc-blue-dark);
}

.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sc-gold-dark);
  margin-bottom: 12px;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; color: var(--sc-slate); font-size: 1.05rem; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 60px 0; }
.section-dark { background: var(--sc-blue-dark); color: var(--sc-white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--sc-white); }
.section-dark p { color: var(--sc-steel-light); }
.section-dark .eyebrow { color: var(--sc-gold-light); }

/* ── Divider ───────────────────────────────────────────────────────────── */
.route-stripe {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg, var(--sc-gold), var(--sc-gold) 16px, var(--sc-blue) 16px, var(--sc-blue) 32px
  );
}

/* ── Buttons — large tap targets ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  min-height: 54px;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--sc-gold-dark); color: var(--sc-white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--sc-gold-darker); }

.btn-outline { background: transparent; border-color: currentColor; color: var(--sc-white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark { background: transparent; border-color: var(--sc-blue-dark); color: var(--sc-blue-dark); }
.btn-outline-dark:hover { background: rgba(44, 74, 87, 0.08); }

.btn-block { width: 100%; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sc-blue-dark);
  border-bottom: 3px solid var(--sc-gold);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sc-white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--sc-white); }
.brand-mark {
  width: 40px; height: 40px;
  background: var(--sc-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sc-blue-dark);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--sc-steel-light);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--sc-white); text-decoration: underline; }
.nav-cta { display: none; }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 2px solid var(--sc-line);
  border-radius: var(--radius);
  color: var(--sc-white);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--sc-blue-2);
  border-top: 1px solid var(--sc-line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 18px 20px;
  color: var(--sc-white);
  font-weight: 700;
  border-bottom: 1px solid var(--sc-line);
  font-size: 1.05rem;
  text-decoration: none;
}
.mobile-menu a:hover { text-decoration: none; background: rgba(255,255,255,0.06); }
.mobile-menu .btn { margin: 16px 20px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ── Sticky mobile request bar ───────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--sc-blue-dark);
  border-top: 3px solid var(--sc-gold);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.sticky-cta .btn { width: 100%; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}
body { padding-bottom: 84px; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(rgba(44,74,87,0.92), rgba(44,74,87,0.96)),
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.06) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.05) 0, transparent 50%),
    var(--sc-blue-dark);
  color: var(--sc-white);
  padding: 56px 0 64px;
}
.hero h1 { color: var(--sc-white); }
.hero p { max-width: 600px; color: var(--sc-steel-light); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ── Cards / grids ─────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--sc-white);
  border: 1px solid var(--sc-line-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--sc-blue-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sc-gold-light);
  margin-bottom: 16px;
}
.card .price-range {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--sc-gold-dark);
  font-size: 0.98rem;
}

/* ── Forms ─────────────────────────────────────────────────────────────── */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--sc-blue-dark);
}
.field .hint { font-size: 0.9rem; color: var(--sc-steel); margin-top: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--sc-line-dark);
  font-size: 17px;
  font-family: var(--font-base);
  background: var(--sc-white);
  color: var(--sc-ink);
  min-height: 52px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sc-gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 60, 0.25);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.form-card {
  background: var(--sc-white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.form-msg { padding: 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 700; display: none; }
.form-msg.success { background: #e2f2ea; color: #1a6b3b; display: block; }
.form-msg.error { background: #fbe6e0; color: #963118; display: block; }
.form-msg.info { background: var(--sc-cream-2); color: var(--sc-blue-dark); display: block; }

/* ── Service area chips ───────────────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px;
  background: var(--sc-white);
  border: 1px solid var(--sc-line-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sc-blue-dark);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--sc-blue-dark);
  color: var(--sc-steel-light);
  padding: 50px 0 30px;
}
.site-footer h4 { color: var(--sc-white); font-size: 1.05rem; letter-spacing: 0.02em; }
.site-footer p { color: var(--sc-steel-light); }
.site-footer .notice { color: var(--sc-steel-light); }
.site-footer a { color: var(--sc-steel-light); }
.site-footer a:hover { color: var(--sc-white); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-bottom {
  border-top: 1px solid var(--sc-line);
  padding-top: 22px;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-bottom a { margin-right: 16px; }

/* ── Trust notice ─────────────────────────────────────────────────────── */
.notice {
  background: var(--sc-cream-2);
  border-left: 4px solid var(--sc-gold);
  padding: 18px 20px;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--sc-slate);
}

/* ── Hours list ────────────────────────────────────────────────────────── */
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--sc-line-dark); font-size: 1.02rem; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.max-w-prose { max-width: 700px; }
.center { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--sc-gold); color: white; padding: 14px 18px; z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 10px; top: 10px; }
