/* =====================================================
   Texas Pet Sitting Cost — Brand Stylesheet
   Brand Colors: #0B3D91 (blue) | #D62828 (red)
   ===================================================== */

/* --- CSS Variables --- */
:root {
  --blue: #0B3D91;
  --blue-dark: #082d6e;
  --blue-light: #1a52b3;
  --red: #D62828;
  --red-dark: #b01f1f;
  --white: #FFFFFF;
  --bg: #F8F9FB;
  --gray-light: #E9ECEF;
  --gray-mid: #CED4DA;
  --text: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --green-cta: #0a7f5a;
  --green-cta-dark: #086649;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.13);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --font: 'Montserrat', 'Inter', 'Open Sans', Arial, sans-serif;
  --transition: 0.2s ease;
}

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
ul { list-style: none; }
p { line-height: 1.75; margin-bottom: 1em; }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  margin-bottom: 0.6em;
}
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-top: 2em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

/* =====================
   STICKY HEADER
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo a {
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 50px;
  width: auto;
}
.header-logo .logo-text {
  display: none;
}

/* Nav */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.site-nav ul li a:hover,
.site-nav ul li a.active {
  background: var(--blue);
  color: var(--white);
}
.site-nav ul li a.nav-cta {
  background: var(--red);
  color: var(--white);
  margin-left: 6px;
}
.site-nav ul li a.nav-cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

/* Header Search */
.header-search {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-search input {
  padding: 7px 12px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--font);
  width: 170px;
  transition: border-color var(--transition);
  background: var(--bg);
}
.header-search input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.header-search button {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.header-search button:hover { background: var(--blue-dark); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  padding: 12px 20px 20px;
  box-shadow: var(--shadow-md);
}
.mobile-nav ul {
  flex-direction: column;
  gap: 4px;
}
.mobile-nav ul li a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav ul li a:hover {
  background: var(--blue);
  color: var(--white);
}
.mobile-nav.open { display: block; }
.mobile-search { margin-top: 12px; }
.mobile-search input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: var(--font);
}

/* =====================
   HERO SECTION (Homepage)
   ===================== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, #051d4d 100%);
  color: var(--white);
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero h1 span { color: #F9B233; }
.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 28px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(214,40,40,0.4);
  text-decoration: none;
  display: inline-block;
}
.btn-hero-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214,40,40,0.5);
}
.btn-hero-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  color: var(--white);
}
.hero-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
}
.hero-trust-item {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-trust-item::before {
  content: '✓';
  color: #5BDB8E;
  font-weight: 700;
}

/* =====================
   BREADCRUMBS
   ===================== */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 10px 0;
}
.breadcrumbs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.breadcrumbs-inner a {
  color: var(--blue);
  font-weight: 500;
}
.breadcrumbs-inner a:hover { color: var(--red); }
.breadcrumbs-inner span { margin: 0 6px; }

/* =====================
   CONTENT LAYOUT (main + sidebar)
   ===================== */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}

/* Homepage sections go full-width OUTSIDE the sidebar layout */
.full-width-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.main-content {
  min-width: 0;
}
.sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Main content wrapper for white card look */
.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 30px;
}

/* =====================
   QUICK ANSWER BOX
   ===================== */
.quick-answer {
  background: #EEF4FF;
  border-left: 5px solid var(--blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
  color: var(--text);
  font-size: 0.97rem;
}
.quick-answer strong { color: var(--blue); }

/* =====================
   RATE BOX & TIP BOX
   ===================== */
.rate-box {
  background: #EEF4FF;
  border: 1px solid #C5D8FF;
  padding: 18px 20px;
  border-radius: var(--radius);
  margin: 20px 0;
}
.tip-box {
  background: #FFFBEA;
  border: 1px solid #F0D080;
  padding: 18px 20px;
  border-radius: var(--radius);
  margin: 20px 0;
}
.tip-box strong, .rate-box strong { color: var(--blue); }

/* =====================
   SOURCE METHODOLOGY BOX
   ===================== */
.methodology-box {
  background: var(--bg);
  border: 1px solid var(--gray-light);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 16px 0;
  line-height: 1.65;
}
.methodology-box a { color: var(--blue); font-weight: 600; }

/* =====================
   TRUST BADGES ROW
   ===================== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  justify-content: center;
}
.trust-badge {
  background: var(--bg);
  border: 1px solid var(--gray-light);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.trust-badge::before { content: '✔'; color: var(--green-cta); }

/* =====================
   TABLES
   ===================== */
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
thead tr { background: var(--blue); color: var(--white); }
th { padding: 12px 14px; text-align: left; font-weight: 600; }
td { padding: 11px 14px; border-bottom: 1px solid var(--gray-light); color: var(--text); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #F3F6FF; }
tbody tr:hover { background: #E8F0FF; }

/* =====================
   CALCULATOR
   ===================== */
.calc-wrap {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}
.calc-wrap h2 {
  margin-top: 0;
  color: var(--blue);
  font-size: 1.4rem;
}
.calc-wrap p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.form-group select,
.form-group input[type="number"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230B3D91' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,61,145,0.12);
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-calc {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  margin-top: 6px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(11,61,145,0.3);
}
.btn-calc:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11,61,145,0.4);
}
.result-box {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: var(--radius);
  text-align: center;
  color: var(--white);
}
.result-box .result-label { font-size: 0.9rem; opacity: 0.85; margin-bottom: 6px; }
.result-box .result-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.result-box .result-note { font-size: 0.82rem; opacity: 0.75; margin-top: 8px; }
.after-result {
  display: none;
  margin-top: 18px;
  padding: 18px 20px;
  background: #F0FAF5;
  border-radius: var(--radius);
  border: 1px solid #B2DFDB;
  text-align: center;
}

/* =====================
   BUTTONS / CTAs
   ===================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(214,40,40,0.3);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(214,40,40,0.4);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11,61,145,0.25);
}
.btn-blue:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-green {
  background: var(--green-cta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10,127,90,0.3);
}
.btn-green:hover {
  background: var(--green-cta-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* CTA Boxes */
.cta-box {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  text-align: center;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}
.cta-box.cta-primary {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(214,40,40,0.12);
}
.cta-box.cta-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border: none;
  color: var(--white);
}
.cta-box.cta-blue h3 { color: var(--white); }
.cta-box.cta-blue p { color: rgba(255,255,255,0.85); }
.cta-box h3 { margin-top: 0; }
.cta-trust {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.cta-trust::before { content: '✔'; color: var(--green-cta); font-weight: 700; }

/* =====================
   INFO CARDS (homepage)
   ===================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.info-card .card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--blue);
}
.info-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}
.info-card .card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
  margin: 10px 0 6px;
}

/* City cards */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.city-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.city-card:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.city-card .city-rate {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 3px;
}
.city-card:hover .city-rate { color: rgba(255,255,255,0.75); }

/* =====================
   SECTION DIVIDER
   ===================== */
.section-divider {
  border: none;
  border-top: 2px solid var(--gray-light);
  margin: 36px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 28px;
}
.section-header h2 {
  margin: 0 0 8px;
  margin-top: 0;
}
.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 8px;
}

/* Homepage sections */
.home-section {
  padding: 48px 0;
}
.home-section:nth-child(even) {
  background: var(--white);
}

/* =====================
   FAQ
   ===================== */
.faq { margin: 20px 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
  padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.97rem;
}
.faq-q::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* Legacy DL-based FAQ support */
.faq dt { font-weight: 700; color: var(--blue); margin-top: 18px; font-size: 0.97rem; }
.faq dd { margin: 6px 0 0 0; color: var(--text-muted); font-size: 0.93rem; }

/* =====================
   LISTS
   ===================== */
.content-list {
  padding-left: 0;
  margin: 12px 0 20px;
}
.content-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.6;
}
.content-list li:last-child { border-bottom: none; }
.content-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.content-list li a { font-weight: 600; color: var(--blue); }
.content-list li a:hover { color: var(--red); }

/* Bulleted lists inside content cards */
.main-content ul:not(.content-list):not(.site-nav ul):not(.mobile-nav ul):not(.footer-links):not(.sidebar-links) {
  padding-left: 20px;
  margin: 12px 0 18px;
  list-style: none;
}
.main-content ul:not(.content-list):not(.site-nav ul):not(.mobile-nav ul):not(.footer-links):not(.sidebar-links) li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 0.95rem;
}
.main-content ul:not(.content-list):not(.site-nav ul):not(.mobile-nav ul):not(.footer-links):not(.sidebar-links) li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* =====================
   SIDEBAR
   ===================== */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.sidebar-widget-header {
  background: var(--blue);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-widget-body { padding: 16px 18px; }
.sidebar-links {
  margin: 0;
  padding: 0;
}
.sidebar-links li { border-bottom: 1px solid var(--gray-light); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links li a {
  display: block;
  padding: 9px 4px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition), padding-left var(--transition);
}
.sidebar-links li a:hover {
  color: var(--blue);
  padding-left: 6px;
}

/* Ad placeholders */
.ad-placeholder {
  background: var(--gray-light);
  border: 1.5px dashed var(--gray-mid);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MissPetSit trust box */
.trust-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.trust-box h4 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.trust-box p { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.trust-box .btn { font-size: 0.85rem; padding: 10px 18px; }

/* Newsletter box */
.newsletter-box {
  background: #FFF5F5;
  border: 1.5px solid #FFCDD2;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  text-align: center;
}
.newsletter-box h4 { color: var(--red); font-size: 0.95rem; margin-bottom: 6px; }
.newsletter-box p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.newsletter-box input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font);
  margin-bottom: 8px;
}
.newsletter-box button {
  width: 100%;
  padding: 10px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition);
}
.newsletter-box button:hover { background: var(--red-dark); }

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: #0A1A3E;
  color: rgba(255,255,255,0.75);
  padding: 52px 20px 24px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
}
.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  margin-top: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom p { margin-bottom: 4px; }
.footer-divider {
  color: rgba(255,255,255,0.3);
  margin: 0 8px;
}

/* =====================
   RELATED CITIES SECTION
   ===================== */
.related-cities { margin: 30px 0; }
.related-cities h2 { font-size: 1.25rem; }

/* =====================
   PAGE HEADER (non-homepage)
   ===================== */
.page-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 40px 20px 36px;
  text-align: center;
}
.page-header-inner {
  max-width: 860px;
  margin: 0 auto;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}
.page-header .page-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.page-header .page-meta a { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* =====================
   BACK LINK
   ===================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--blue);
  margin: 18px 0;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.back-link:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.back-link::before { content: '←'; }

/* =====================
   RESPONSIVE — MOBILE
   ===================== */
@media (max-width: 900px) {
  .content-area {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    order: -1; /* sidebar above content on mobile, or below */
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .site-nav, .header-search { display: none; }
  .hamburger { display: flex; }
  
  .hero { padding: 48px 20px 42px; }
  
  .calc-grid { grid-template-columns: 1fr; }
  
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  
  .content-card { padding: 22px 16px; }
  .calc-wrap { padding: 20px 16px; }
  
  .cards-grid { grid-template-columns: 1fr 1fr; }
  
  .header-inner { height: 64px; }
  .header-logo img { height: 42px; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================
   UTILITY
   ===================== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.font-small { font-size: 0.85rem; }

/* Legacy class support */
.trusted-cta { 
  background: var(--white);
  border: 2px solid var(--gray-light);
  padding: 24px 22px;
  margin: 30px 0;
  border-radius: var(--radius-lg);
  text-align: center;
}
.primary-cta { border-color: var(--red) !important; }
.cta-button { 
  display: inline-block;
  background: var(--red);
  color: var(--white) !important;
  padding: 13px 22px;
  margin-top: 12px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(214,40,40,0.3);
}
.cta-button:hover {
  background: var(--red-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}
.cta-button.green {
  background: var(--green-cta);
  box-shadow: 0 4px 14px rgba(10,127,90,0.3);
}
.cta-button.green:hover { background: var(--green-cta-dark); }

/* Container - legacy support */
.container {
  max-width: 100%;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}
