/*
Theme Name: Sheepdog Property Management
Theme URI: https://www.sheepdogpm.com
Author: Sheepdog PM
Author URI: https://www.sheepdogpm.com
Description: Official theme for Sheepdog Property Management - Denver's premier property management company.
Version: 1.0.0
License: All Rights Reserved
Tags: property-management, business, custom-menu, featured-images, full-width-template
Text Domain: sheepdog-pm
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --color-primary:       #F6ED9F;
  --color-primary-dark:  #D1BD7D;
  --color-primary-grad:  linear-gradient(to right, #A98951, #D1BD7D, #F5EDA8);
  --color-secondary:     #283149;
  --color-tertiary:      #674b31;
  --color-dark:          #000000;
  --color-gray-dark:     #222222;
  --color-gray:          #f6f6f6;
  --color-gray-alt:      #f9f7f2;
  --color-border:        #c2c2c2;
  --color-muted:         #c2c2c2;
  --color-white:         #ffffff;
  --color-body:          #000000;

  /* Typography */
  --font-primary:   'Plus Jakarta Sans', sans-serif;
  --font-secondary: 'Barlow Semi Condensed', sans-serif;
  --font-tertiary:  'Libre Baskerville', serif;
  --font-cursive:   'Gaegu', cursive;

  /* Sizes */
  --container-max:  1285px;
  --header-height:  120px;
  --header-fixed:   50px;
  --radius-card:    40px;
  --radius-card-lg: 60px;
  --shadow-card:    0px 33px 79px 0px rgba(0, 0, 0, 0.08);
  --transition:     0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Prevent inline SVG icons from defaulting to browser's 300×150px intrinsic size */
svg:not([width]):not([height]) {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: middle;
  fill: currentColor;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }

a:hover { color: var(--color-tertiary); }

ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

h1 { font-size: clamp(2.1875rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.625rem); }
h3 { font-size: 1.5625rem; }
h4 { font-size: 1.0625rem; }

.display-serif {
  font-family: var(--font-tertiary);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
}

.display-sm {
  font-size: 1.375rem;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.text-cursive {
  font-family: var(--font-cursive);
  font-size: 1.75rem;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section--lg { padding-block: clamp(4rem, 8vw, 9rem); }
.section--sm { padding-block: clamp(2rem, 4vw, 3.5rem); }

.section--gray     { background-color: var(--color-gray); }
.section--gray-alt { background-color: var(--color-gray-alt); }
.section--dark     { background-color: var(--color-secondary); color: var(--color-white); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--color-white); }

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--col { flex-direction: column; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 1.5rem; }
.gap-3 { gap: 2rem; }

.text-center { text-align: center; }
.text-white  { color: var(--color-white) !important; }
.text-gold   { color: var(--color-primary-dark) !important; }
.text-navy   { color: var(--color-secondary) !important; }
.text-muted  { color: #666; }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 41px;
  min-width: 215px;
  padding: 10px 28px;
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.2;
  border: none;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}

.btn:hover { transform: scale(1.05); }
.btn:hover::after { background: rgba(255,255,255,.1); }

/* Primary (gold metallic) */
.btn--primary {
  background: linear-gradient(
    135deg,
    #7A5B1C 0%, #A8842C 11%, #C8A03C 21%, #E6CA62 32%,
    #F8EE9A 41%, #FFF6BC 47%, #F4E478 54%,
    #D2AC40 65%, #AE8628 76%, #C6A03C 86%, #D8B850 93%, #B89040 100%
  );
  color: var(--color-secondary);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(0,0,0,.14),
    0 4px 16px rgba(110,75,0,.35),
    0 2px 4px rgba(0,0,0,.18);
  text-shadow: 0 1px 1px rgba(80,50,0,.12);
}
.btn--primary::after {
  inset: auto;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 10%, rgba(255,255,255,.42) 50%, transparent 90%);
  transform: skewX(-18deg);
  transition: left .6s ease;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(0,0,0,.14),
    0 6px 22px rgba(110,75,0,.48),
    0 3px 6px rgba(0,0,0,.22);
}
.btn--primary:hover::after { left: 160%; background: linear-gradient(105deg, transparent 10%, rgba(255,255,255,.42) 50%, transparent 90%); }
.btn--primary:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 3px 6px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.12),
    0 1px 3px rgba(110,75,0,.18);
}

/* Secondary (navy) */
.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Outline */
.btn--outline {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}
.btn--outline:hover { background: var(--color-secondary); color: var(--color-white); }

/* White outline (for dark bg) */
.btn--outline-white {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}
.btn--outline-white:hover { background: var(--color-white); color: var(--color-secondary); }

.btn--ghost-gold {
  background: transparent;
  border: 2px solid #D1BD7D;
  color: #D1BD7D;
}
.btn--ghost-gold:hover { background: #D1BD7D; color: #283149; }

/* Large */
.btn--lg {
  min-height: 67px;
  min-width: 273px;
  font-size: 1.125rem;
  padding: 14px 36px;
}

/* Small */
.btn--sm {
  min-height: 36px;
  min-width: unset;
  padding: 8px 18px;
  font-size: .9375rem;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: height var(--transition), padding var(--transition);
}

.header-top {
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: .8125rem;
  padding: .35rem 0;
}

.header-top .container { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; }

.header-top a { color: var(--color-primary); font-family: var(--font-secondary); font-weight: 600; }
.header-top a:hover { color: var(--color-white); }

.header-top__item { display: flex; align-items: center; gap: .4rem; }
.header-top__item svg { width: .875rem; height: .875rem; }

.header-main {
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: height var(--transition);
}

.header-main .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.site-logo img { height: 70px; width: auto; transition: height var(--transition); }

/* Sticky/affix */
.site-header.is-sticky .header-main { height: 64px; }
.site-header.is-sticky .site-logo img { height: 48px; }

/* Main Nav */
.main-nav { display: flex; align-items: center; }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: block;
  padding: .5rem .75rem;
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-secondary);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-parent > a {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,.14);
  padding: .75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.main-nav > ul > li:hover .dropdown,
.main-nav > ul > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: .5rem 1.25rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-secondary);
  transition: background var(--transition), padding-left var(--transition);
}

.dropdown li a:hover {
  background: var(--color-gray);
  padding-left: 1.75rem;
  color: var(--color-tertiary);
}

.dropdown-header {
  padding: .25rem 1.25rem .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-muted);
}

/* Header CTAs */
.header-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: 1.25rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  height: 100vh;
  background: var(--color-secondary);
  color: var(--color-white);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav ul { flex-direction: column; gap: 0; }

.mobile-nav li a {
  display: block;
  padding: .75rem 0;
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.mobile-nav li a:hover { color: var(--color-primary); }

.mobile-nav .sub-menu {
  padding-left: 1rem;
  display: none;
}

.mobile-nav .sub-menu.is-open { display: flex; flex-direction: column; }

.mobile-nav .sub-menu a {
  font-size: .9375rem;
  font-weight: 400;
  text-transform: none;
  color: rgba(255,255,255,.8);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.is-open { opacity: 1; visibility: visible; }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(var(--header-height) + 2.25rem); /* account for header-top */
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .5);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__eyebrow {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-tertiary);
  margin-bottom: .75rem;
}

.hero__title {
  font-family: var(--font-tertiary);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--color-secondary);
  margin-bottom: 1rem;
  line-height: 1.15;
  text-align: center;
}

.hero__subtitle {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-gray-dark);
  margin-bottom: 2rem;
  font-weight: 500;
  text-align: center;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Hero CTA link boxes — 4 alternating navy/gold tiles matching original site */
.hero__cta-row {
  display: flex;
  gap: .5rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 1.5rem .75rem;
  font-family: var(--font-secondary);
  font-size: .9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.3;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Shimmer sweep — fires on hover for all CTA tiles */
.hero__cta::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 10%, rgba(255,255,255,.26) 50%, transparent 90%);
  transform: skewX(-18deg);
  transition: left .65s ease;
  pointer-events: none;
}
.hero__cta:hover::after { left: 160%; }

.hero__cta:hover {
  transform: translateY(-3px);
  color: inherit;
}

.hero__cta:active {
  transform: translateY(2px);
}

/* Navy tiles — subtle metallic navy gradient + lift shadow */
.hero__cta:nth-of-type(odd) {
  background: linear-gradient(
    135deg,
    #1C2640 0%, #283149 25%, #2E3A5A 50%, #283149 75%, #1E2A42 100%
  );
  color: var(--color-primary);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.22),
    0 4px 16px rgba(10,20,55,.52),
    0 2px 4px rgba(0,0,0,.28);
}
.hero__cta:nth-of-type(odd):hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.22),
    0 8px 28px rgba(10,20,55,.65),
    0 4px 8px rgba(0,0,0,.34);
}
.hero__cta:nth-of-type(odd):active {
  box-shadow: inset 0 3px 8px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.2);
}

/* Gold tiles — full 12-stop metallic gradient + warm amber lift shadow */
.hero__cta:nth-of-type(even) {
  background: linear-gradient(
    135deg,
    #7A5B1C 0%, #A8842C 11%, #C8A03C 21%, #E6CA62 32%,
    #F8EE9A 41%, #FFF6BC 47%, #F4E478 54%,
    #D2AC40 65%, #AE8628 76%, #C6A03C 86%, #D8B850 93%, #B89040 100%
  );
  color: var(--color-secondary);
  text-shadow: 0 1px 1px rgba(80,50,0,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(0,0,0,.14),
    0 4px 16px rgba(110,75,0,.42),
    0 2px 4px rgba(0,0,0,.2);
}
.hero__cta:nth-of-type(even):hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(0,0,0,.14),
    0 8px 28px rgba(110,75,0,.55),
    0 4px 8px rgba(0,0,0,.26);
}
.hero__cta:nth-of-type(even):active {
  box-shadow:
    inset 0 3px 8px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.12),
    0 1px 3px rgba(110,75,0,.18);
}

/* Hero centered single-column layout: headline → boxes → widget */
.hero__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero__layout .hero__content {
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.hero__widget-wrap {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 127px auto 0;
  width: 100%;
}

.hero__widget-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  padding: 2rem;
}

.hero__widget-title {
  font-family: var(--font-secondary);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-top: .4rem;
  margin-bottom: .5rem;
  line-height: 1.25;
}

.hero__widget-lead {
  font-size: .875rem;
  color: rgba(0,0,0,.6);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 44px 88px 0 rgba(0,0,0,.12);
}

.card--lg { padding: 3.75rem; border-radius: var(--radius-card-lg); }

.card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  color: var(--color-tertiary);
}

.card__icon svg { width: 100%; height: 100%; }

.card__badge {
  display: inline-block;
  background: var(--color-primary-grad);
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: .75rem;
}

.card__body { font-size: .9375rem; color: #444; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  font-family: var(--font-secondary);
  font-size: .9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-tertiary);
}

.card__link svg   { width: .875rem; height: .875rem; }
.card__link:hover { gap: .7rem; color: var(--color-secondary); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: .9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-tertiary);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: #555;
  max-width: 640px;
}

.section-header--center .section-lead { margin-inline: auto; }

/* Gold underline accent */
.accent-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary-grad);
  margin-top: .75rem;
  border-radius: 2px;
}
.section-header--center .accent-line { margin-inline: auto; }

/* ============================================================
   GRADIENT DIVIDER
   ============================================================ */
.grad-bar {
  height: 6px;
  background: var(--color-primary-grad);
  width: 100%;
}

/* ============================================================
   INTRO / WELCOME SECTION
   ============================================================ */
.intro-section { background: var(--color-white); }

.intro-section__text {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: #333;
}

/* ============================================================
   SERVICE CARDS GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 2rem;
}

/* ============================================================
   WHY HIRE US
   ============================================================ */
.why-section { background: var(--color-secondary); }
.why-section .section-title { color: var(--color-white); }
.why-section .section-eyebrow { color: var(--color-primary-dark); }

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-item__number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-secondary);
}

.why-item__content h3 { color: var(--color-white); font-size: 1.125rem; margin-bottom: .5rem; }
.why-item__content p  { color: rgba(255,255,255,.8); font-size: .9375rem; margin: 0; }

/* ============================================================
   GUARANTEES STRIP
   ============================================================ */
.guarantees-strip {
  background: var(--color-primary-grad);
  padding-block: 3.5rem;
}

.guarantee-item {
  text-align: center;
  padding: 1.5rem;
}

.guarantee-item__amount {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: .5rem;
}

.guarantee-item__label {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-secondary);
}

/* ============================================================
   BOOK / FREE OFFER SECTION
   ============================================================ */
.book-section {
  background: var(--color-gray-alt);
  border-radius: var(--radius-card);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.book-section__img { flex: 0 0 220px; }
.book-section__img img { border-radius: 12px; box-shadow: var(--shadow-card); }

.book-section__content { flex: 1; min-width: 280px; }

/* ============================================================
   BLOG / NEWS GRID
   ============================================================ */
.post-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.post-card:hover { transform: translateY(-4px); }

.post-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.post-card:hover .post-card__img img { transform: scale(1.04); }

.post-card__body { padding: 1.5rem; }

.post-card__meta {
  font-size: .8125rem;
  color: #888;
  margin-bottom: .5rem;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.post-card__title {
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: .75rem;
  line-height: 1.35;
}

.post-card__excerpt { font-size: .9375rem; color: #555; }

/* ============================================================
   AREAS WE SERVE
   ============================================================ */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

.area-tag {
  display: inline-block;
  background: var(--color-white);
  border: 2px solid var(--color-primary-dark);
  border-radius: 40px;
  padding: .5rem 1.25rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.area-tag:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-tertiary);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-primary-dark);
  position: absolute;
  top: 1rem;
  left: 2rem;
  opacity: .4;
}

.testimonial__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.25rem;
  padding-top: 2rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-gray);
}

.testimonial__name {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--color-secondary);
}

.testimonial__role { font-size: .875rem; color: #888; }

/* Stars */
.stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; margin-bottom: .5rem; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pricing-card__header {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 2rem 2.5rem;
  text-align: center;
}

.pricing-card__title {
  font-family: var(--font-secondary);
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-white);
  margin-bottom: .5rem;
}

.pricing-card__price {
  font-family: var(--font-tertiary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.pricing-card__price-note {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  margin-top: .25rem;
}

.pricing-card__body {
  background: var(--color-white);
  padding: 2.5rem;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--color-gray);
  font-size: .9375rem;
  color: #333;
}

.pricing-card__feature:last-child { border-bottom: none; }

.pricing-card__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: .75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Featured pricing card */
.pricing-card--featured .pricing-card__header {
  background: var(--color-primary-grad);
}

.pricing-card--featured .pricing-card__title,
.pricing-card--featured .pricing-card__price {
  color: var(--color-secondary);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--color-secondary);
  padding-block: 4rem;
  text-align: center;
}

.cta-band h2 { color: var(--color-white); margin-bottom: .75rem; }
.cta-band p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.125rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,.8);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 1.5rem;
}

/* Logo in footer: white version via filter; graceful size */
.footer-brand .site-logo      { margin-bottom: 1rem; }
.footer-brand .site-logo a    { display: inline-block; }
.footer-brand .site-logo img  {
  height: 48px;
  width: auto;
  max-width: 180px;
  /* Only apply invert when image actually loads (not on broken placeholder) */
  filter: brightness(0) invert(1);
  margin-bottom: 0;
}

/* Text logo fallback when image is unavailable */
.footer-text-logo {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}

.footer-brand p {
  font-size: .9375rem;
  line-height: 1.7;
  margin-top: .75rem;
  margin-bottom: .75rem;
}

.footer-contact { margin-top: .25rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9375rem;
  margin-bottom: .5rem;
}

/* Override global SVG sizing inside footer contact */
.footer-contact-item svg {
  width: .75rem;
  height: .75rem;
  margin-top: .25rem;  /* optical align with first text line */
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.footer-contact-item a { color: var(--color-primary-dark); }
.footer-contact-item a:hover { color: var(--color-white); }

.footer-col h4 {
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }

.footer-col ul li a {
  font-size: .9375rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col ul li a:hover { color: var(--color-primary-dark); padding-left: .35rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}

.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--color-primary-dark); }

/* ============================================================
   PAGE BANNER (interior pages)
   ============================================================ */
.page-banner {
  background: var(--color-secondary);
  padding-block: 4rem;
  margin-top: calc(var(--header-height) + 2.25rem);
  text-align: center;
}

.page-banner h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .5rem;
}

.page-banner .breadcrumb {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
}

.page-banner .breadcrumb a { color: var(--color-primary-dark); }

/* ============================================================
   SERVICE HERO — REUSABLE SPLIT HERO COMPONENT
   Light overlay version: white wash over image, dark text left,
   form card right. Apply .service-hero to the outer wrapper and
   set background-image via inline style. Swap content per page.
   ============================================================ */

.service-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 320px 0 80px;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.55);
  z-index: 1;
}

.service-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.service-hero__eyebrow {
  display: block;
  font-family: var(--font-secondary);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-primary-dark);
  margin-bottom: .6rem;
}

.service-hero__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.service-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: #333;
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 500px;
}

.service-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.service-hero__btn-outline {
  display: inline-block;
  padding: 13px 28px;
  border: 2px solid var(--color-secondary);
  border-radius: 8px;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}

.service-hero__btn-outline:hover {
  background: var(--color-secondary);
  color: #fff;
}

.service-hero__form-card {
  background: #1e2740;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
}

.service-hero__form-heading {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .6rem;
}

.service-hero__form-lead {
  font-family: var(--font-body);
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

@media (max-width: 960px) {
  .service-hero { min-height: auto; padding: 50px 0; }
  .service-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 24px; }
  .service-hero__subtitle { max-width: none; }
}

@media (max-width: 600px) {
  .service-hero__title { font-size: 2rem; }
}

/* ============================================================
   SERVICE PAGE HERO
   Full-bleed banner for all service/subpages rendered via page.php
   or custom page templates. Lighter overlay than pricing page
   lets the background image read as overexposed/bright.
   ============================================================ */
.sdp-service-hero {
  position: relative;
  background: url('https://www.sheepdogpm.com/images/secondary-banner-2.webp') center / cover no-repeat;
  padding: 90px 20px;
  text-align: center;
}
.sdp-service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40,49,73,.60);
}
.sdp-service-hero > * { position: relative; z-index: 1; }
.sdp-service-hero__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 .75rem;
  line-height: 1.1;
}
.sdp-service-hero__sub {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #D1BD7D;
  margin: 0;
}
@media (max-width: 768px) {
  .sdp-service-hero__title { font-size: 2rem; }
}

/* Hide "Residential Overview" dropdown link to denver-property-management */
.main-nav .dropdown li:has(> a[href*="denver-property-management"]) { display: none; }

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content-area { padding-block: 4rem; }

/* ============================================================
   SERVICE PAGE — ELEMENTOR LAYOUT OVERRIDES
   Scoped to .sdp-service-page to avoid affecting other pages.
   Fixes the broken sidebar and squished card grid from
   Elementor's hard-coded inline column widths.
   ============================================================ */

/* Remove the narrow max-width that constrained Elementor columns */
.sdp-service-page .entry-content { max-width: none !important; }

/* Let Elementor rows wrap so columns don't squeeze below min-width */
.sdp-service-page .elementor-row { flex-wrap: wrap !important; }

/* Override hard-coded inline width="X%" on every column type.
   min-width: min(100%, 300px) ensures cards are at most full-width
   on mobile and at least 300px on wider screens. */
.sdp-service-page .elementor-column,
.sdp-service-page [class*="elementor-col-"] {
    width: auto !important;
    min-width: min(100%, 300px) !important;
    flex: 1 1 300px !important;
}

/* Ensure outer Elementor containers use full available width */
.sdp-service-page .elementor-container {
    max-width: 100% !important;
}

/* Gap between flex columns (Elementor uses margin-based gutter) */
.sdp-service-page .elementor-column-gap-default .elementor-column,
.sdp-service-page .elementor-column-gap-default [class*="elementor-col-"] {
    padding: 0 10px !important;
}

/* ============================================================
   SERVICE PAGE — "LET'S SEE IF WE'RE A FIT" FORM SECTION
   ============================================================ */

.sdp-rental-fit-section {
    background: #283149;
    padding: 70px 30px;
}

.sdp-fit-heading {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .75rem;
}

.sdp-fit-lead {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .9375rem;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

/* Dark background overrides for the rental form labels/errors */
.rental-form--dark .rental-form__field label {
    color: rgba(255,255,255,.8);
}

.rental-form--dark .rental-form__error {
    color: #fca5a5;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 { margin: 2rem 0 1rem; }

.entry-content p   { margin-bottom: 1.25rem; line-height: 1.75; }
.entry-content ul,
.entry-content ol  { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: disc; }
.entry-content ol  { list-style: decimal; }
.entry-content li  { margin-bottom: .5rem; }
.entry-content a   { color: var(--color-tertiary); text-decoration: underline; }
.entry-content a:hover { color: var(--color-secondary); }

/* ============================================================
   FORMS
   ============================================================ */
.form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
  padding: 3.75rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-family: var(--font-secondary);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--color-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(40, 49, 73, .15);
}

textarea.form-control { min-height: 140px; resize: vertical; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: .6rem 1.2rem;
  border-radius: 0 0 6px 6px;
  z-index: 10000;
  transition: top var(--transition);
}

.skip-link:focus { top: 0; }

/* ============================================================
   PAGE-SPECIFIC LAYOUT CLASSES (controlled via media queries)
   ============================================================ */

/* Why Hire Us two-column layout */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Guarantees strip inner row */
.guarantees-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-around;
  align-items: center;
}

/* CTA band button group */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Blog post two-column layout (content + sidebar) */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   Breakpoints: 1200 | 1100 | 900 | 768 | 640 | 480 | 375
   ============================================================ */

/* ── 1200px: Large desktop tweaks ─────────────────────────── */
@media (max-width: 1200px) {
  .main-nav > ul > li > a {
    font-size: 1rem;
    padding: .45rem .6rem;
  }
  .header-cta .btn--sm { font-size: .8125rem; }
}

/* ── 1100px: Laptop — footer two-column ───────────────────── */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .footer-brand .site-logo { grid-column: 1 / -1; }
}

/* ── 900px: Tablet landscape — hide desktop nav ───────────── */
@media (max-width: 900px) {
  :root { --header-height: 76px; }

  .main-nav,
  .header-cta  { display: none; }
  .hamburger   { display: flex; }

  /* Hero and banners clear the full header stack */
  .hero        { margin-top: calc(var(--header-height) + 2.5rem); min-height: 580px; }
  .page-banner { margin-top: calc(var(--header-height) + 2.5rem); }

  /* Hero layout: single column, already set in base styles */
  .hero__layout { gap: 0; }

  /* Why-grid: single column on tablet portrait and below */
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── 768px: Tablet portrait ───────────────────────────────── */
@media (max-width: 768px) {
  /* Reduce card corner radius and padding */
  :root { --radius-card: 24px; --radius-card-lg: 32px; }
  .card     { padding: 2rem; }
  .card--lg { padding: 2.5rem; }

  /* Shrink btn--lg — it was 67px/273px min */
  .btn--lg {
    min-height: 52px;
    min-width: 200px;
    font-size: 1rem;
    padding: 12px 28px;
  }

  /* Post layout: sidebar drops below on tablet */
  .post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { margin-top: 2rem; }

  /* Section header spacing */
  .section-header { margin-bottom: 2rem; }

  /* Why item tweaks */
  .why-item__number { width: 44px; height: 44px; font-size: 1.125rem; }

  /* Pricing cards */
  .pricing-card__body   { padding: 1.75rem; }
  .pricing-card__header { padding: 1.5rem 1.75rem; }

  /* Guarantee amounts */
  .guarantee-item__amount { font-size: 2rem; }

  /* Form */
  .form-wrapper { padding: 2.5rem; }

  /* Footer brand reverts to stacked at tablet */
  .footer-brand { display: block; }
}

/* ── 640px: Mobile landscape / large phone ────────────────── */
@media (max-width: 640px) {
  :root {
    --header-height: 68px;
    --radius-card: 18px;
    --radius-card-lg: 24px;
  }

  /* Hide header top bar entirely — phone/email in footer, portals in mobile nav */
  .header-top { display: none; }

  /* Hero and banners now only offset by header-main (no top bar) */
  .hero        { margin-top: var(--header-height); min-height: 500px; }
  .page-banner { margin-top: var(--header-height); padding-block: 2.5rem; }

  /* Container */
  .container { padding-inline: 1.25rem; }

  /* Hero content */
  .hero__content { max-width: 100%; }

  /* Hero buttons: stack full-width */
  .hero__buttons            { flex-direction: column; }
  .hero__buttons .btn       { min-width: unset; width: 100%; justify-content: center; }

  /* Hero CTA boxes: 2×2 grid on small screens */
  .hero__cta-row            { flex-wrap: wrap; }
  .hero__cta                { flex: 1 0 calc(50% - .25rem); padding: 1.25rem .5rem; font-size: .875rem; }

  /* Hero widget card: tighter padding on small screens */
  .hero__widget-card { padding: 1.5rem; }
  .hero__widget-title { font-size: 1.25rem; }

  /* Cards */
  .card { padding: 1.5rem; }

  /* Services: single column on small screens */
  .services-grid { grid-template-columns: 1fr; }

  /* Guarantees: 2×2 grid, button spans full width */
  .guarantees-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    justify-items: center;
  }
  .guarantees-inner > div:last-child {
    grid-column: 1 / -1;
    padding-top: 1rem;
    text-align: center;
  }

  /* CTA buttons: stack full-width */
  .cta-buttons                { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn           { min-width: unset; width: 100%; justify-content: center; }

  /* Blog grid: 1 column */
  .grid--4 { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand  { display: block; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom ul { justify-content: center; flex-wrap: wrap; }

  /* Book / offer section */
  .book-section              { flex-direction: column; padding: 2rem; }
  .book-section__img         { flex: unset; width: 140px; margin-inline: auto; }

  /* Form */
  .form-wrapper { padding: 1.5rem; border-radius: 20px; }

  /* Section spacing */
  .section-header { margin-bottom: 1.5rem; }

  /* btn--lg full-width only inside stacking containers */
  .btn--lg {
    min-height: 48px;
    min-width: unset;
    font-size: .9375rem;
  }
}

/* ── 480px: Large phone portrait ─────────────────────────── */
@media (max-width: 480px) {
  /* Mobile nav: full-width slide-in */
  .mobile-nav { width: 100%; }

  /* Hero */
  .hero          { min-height: 460px; }
  .hero__title   { font-size: 2rem; }
  .hero__subtitle{ font-size: 1.125rem; }

  /* Remove min-width floor from all buttons */
  .btn, .btn--lg { min-width: unset; }

  /* Collapse 2-col and 3-col grids to single column */
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }

  /* Why items */
  .why-item { gap: 1rem; }
  .why-item__number { width: 40px; height: 40px; font-size: 1rem; flex-shrink: 0; }

  /* Guarantee numbers */
  .guarantee-item__amount { font-size: 1.75rem; }
  .guarantee-item__label  { font-size: .875rem; }

  /* Section spacing */
  .section      { padding-block: 2.5rem; }
  .section--lg  { padding-block: 3rem; }
  .cta-band     { padding-block: 2.5rem; }
  .content-area { padding-block: 2.5rem; }

  /* Cards */
  .card { padding: 1.25rem; }

  /* Post card */
  .post-card__body { padding: 1.25rem; }

  /* Testimonial */
  .testimonial { padding: 1.5rem; }

  /* Footer */
  .site-footer { padding-top: 2.5rem; }
  .footer-grid { gap: 1.25rem; }
}

/* ── 375px: Small phone ──────────────────────────────────── */
@media (max-width: 375px) {
  :root { --header-height: 62px; }

  .container { padding-inline: 1rem; }

  /* Hero */
  .hero       { min-height: 420px; }

  /* Slightly tighten headings */
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1rem; }

  /* Cards */
  .card { padding: 1.1rem; }

  /* Guarantees: single column */
  .guarantees-inner                  { grid-template-columns: 1fr; }
  .guarantees-inner > div:last-child { grid-column: auto; }

  /* Why item number */
  .why-item__number { width: 36px; height: 36px; font-size: .875rem; }

  /* Mobile nav: full-width, tighter padding */
  .mobile-nav { width: 100%; max-width: 100%; padding: 4rem 1.25rem 2rem; }

  /* Area tags */
  .area-tag { font-size: .875rem; padding: .4rem 1rem; }

  /* Footer bottom: stack links vertically */
  .footer-bottom ul { flex-direction: column; gap: .5rem; }

  /* Buttons */
  .btn { font-size: .9rem; letter-spacing: .06em; padding: 10px 20px; }
}

/* ── 992px+: Full-height hero on large screens ─────────────── */
@media (min-width: 992px) {
  .hero { min-height: 100vh; }
}

/* ── Elementor page: hide theme page-banner and gradient bar ── */
.elementor-page .page-banner,
.elementor-page .grad-bar {
  display: none !important;
}

/* ── Homepage: Welcome / Intro with video ── */
.home-welcome { background: var(--color-white); }
.home-welcome__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.video-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .home-welcome__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Service icons: gold circle style ── */
.card__icon--circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 1.25rem;
  color: var(--color-secondary);
  box-sizing: border-box;
  flex-shrink: 0;
}
.card__icon--circle svg { width: 100%; height: 100%; fill: var(--color-secondary); }

/* ── Gold CTA Banner ── */
.home-gold-cta {
  background: var(--color-primary-grad);
  padding-block: 1.25rem;
}
.home-gold-cta__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  text-align: center;
  letter-spacing: .02em;
  transition: opacity .2s;
}
.home-gold-cta__link:hover { opacity: .8; color: var(--color-secondary); }
.home-gold-cta__link svg { color: var(--color-secondary); }

/* ── Homepage: Why Hire Us Vs. Self-Managing (dark photo bg) ── */
.home-why-vs {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.home-why-vs .section { padding-block: 6rem; }
.home-why-vs__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 28% center;
  background-repeat: no-repeat;
}
.home-why-vs__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(22,29,50,.18) 0%,
    rgba(22,29,50,.28) 22%,
    rgba(22,29,50,.58) 40%,
    rgba(22,29,50,.84) 58%,
    rgba(22,29,50,.92) 100%
  );
}
.home-why-vs__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: flex-start;
  padding-block: 6rem;
}
.home-why-vs__heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 2px 16px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.4);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
}
.home-why-vs__heading-sm {
  display: block;
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-primary-dark);
  margin-bottom: .5rem;
}
.home-why-vs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.home-why-vs__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.home-why-vs__circle {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-secondary);
}
.home-why-vs__content h4 {
  font-family: var(--font-secondary);
  font-size: .9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary);
  margin-bottom: .5rem;
}
.home-why-vs__content p {
  font-size: .9375rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin: 0;
}
.home-why-vs__content strong { color: var(--color-white); }
@media (max-width: 900px) {
  .home-why-vs__grid { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem; }
}

/* ── Homepage: Book Section ── */
.home-book-section { background: #f9f5ec; }
.home-book-section .book-section { background: transparent; border-radius: 0; }

/* ── Homepage: Areas Section (gold gradient) ── */
.home-areas-section {
  background: var(--color-primary-grad);
}
.home-areas-section .section-title { color: var(--color-secondary) !important; }
.home-areas-section .area-tag {
  background: rgba(255,255,255,.25);
  color: var(--color-secondary);
  border-color: rgba(255,255,255,.4);
  font-weight: 700;
}
.home-areas-section .area-tag:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ============================================================
   RENTAL ANALYSIS FORM (hero widget)
   ============================================================ */
.rental-form { margin-top: .25rem; text-align: left; }

.rental-form__field { margin-bottom: .875rem; }

.rental-form__field label {
  display: block;
  font-family: var(--font-secondary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-secondary);
  margin-bottom: .3rem;
}

.rental-form__field input,
.rental-form__field select {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: #222;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.rental-form__field 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='%23283149' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.25rem;
}

.rental-form__field input:focus,
.rental-form__field select:focus {
  outline: none;
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgba(169,137,81,.18);
}

.rental-form__field input::placeholder { color: #aaa; }

.rental-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.rental-form__submit {
  display: block;
  width: 100%;
  padding: .9rem 1rem;
  font-size: .9375rem;
  margin-top: .25rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rental-form__submit:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none !important;
}

.rental-form__success {
  text-align: center;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1rem;
  color: #1e6e40;
  background: #edfaf3;
  border: 1px solid #a8e0be;
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: .5rem;
  line-height: 1.5;
}

.rental-form__error {
  text-align: center;
  font-size: .875rem;
  color: #b91c1c;
  margin-top: .5rem;
}

@media (max-width: 480px) {
  .rental-form__row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   GOLD METALLIC BUTTON UTILITY CLASS
   Applies to any inline-styled button via class="gold-btn".
   Uses !important to override inline background declarations.
   ============================================================ */
.gold-btn {
  position: relative !important;
  overflow: hidden !important;
  color: #283149 !important;
  background: linear-gradient(
    135deg,
    #7A5B1C 0%, #A8842C 11%, #C8A03C 21%, #E6CA62 32%,
    #F8EE9A 41%, #FFF6BC 47%, #F4E478 54%,
    #D2AC40 65%, #AE8628 76%, #C6A03C 86%, #D8B850 93%, #B89040 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(0,0,0,.14),
    0 4px 16px rgba(110,75,0,.35),
    0 2px 4px rgba(0,0,0,.18) !important;
  text-shadow: 0 1px 1px rgba(80,50,0,.12);
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.gold-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 10%, rgba(255,255,255,.42) 50%, transparent 90%);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}
.gold-btn:hover::after { left: 160%; }
.gold-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(0,0,0,.14),
    0 6px 22px rgba(110,75,0,.50),
    0 3px 6px rgba(0,0,0,.22) !important;
}
.gold-btn:active {
  transform: translateY(2px) !important;
  box-shadow:
    inset 0 3px 6px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.12),
    0 1px 3px rgba(110,75,0,.18) !important;
}

/* Guarantee seal badge icons — mathematically perfect 12-point starburst */
.page-id-143 .elementor-icon-box-icon .elementor-icon {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(145deg, #7a5b1c 0%, #b88a28 20%, #d4af37 40%, #f5eda8 58%, #c9a030 76%, #8a6820 100%);
  clip-path: polygon(
    50.0% 0.0%,  60.1% 12.3%, 75.0% 6.7%,
    77.6% 22.4%, 93.3% 25.0%, 87.7% 39.9%,
    100.0% 50.0%, 87.7% 60.1%, 93.3% 75.0%,
    77.6% 77.6%, 75.0% 93.3%, 60.1% 87.7%,
    50.0% 100.0%, 39.9% 87.7%, 25.0% 93.3%,
    22.4% 77.6%, 6.7% 75.0%,  12.3% 60.1%,
    0.0% 50.0%,  12.3% 39.9%, 6.7% 25.0%,
    22.4% 22.4%, 25.0% 6.7%,  39.9% 12.3%
  );
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  border-radius: 0 !important;
  color: #283149 !important;
  box-shadow: 0 3px 14px rgba(140,100,0,.45), 0 1px 4px rgba(0,0,0,.2);
}
.page-id-143 .elementor-icon-box-icon .elementor-icon svg {
  width: 26px !important;
  height: 26px !important;
  flex-shrink: 0;
}
.page-id-143 .e-fas-check-circle path {
  fill: #283149;
}

/* Tenant Screening page — remove duplicate/legacy sections */
.page-id-147 [data-id="64a49c06"],
.page-id-147 [data-id="0cdedbc9"],
.page-id-147 [data-id="7f26bd60"] { display: none !important; }
/* Expand intro text column to full width now that form column is gone */
.page-id-147 [data-id="43a9236e"] { width: 100% !important; max-width: 100% !important; }

/* Accounting (Financial Reporting) page cleanup */
.page-id-153 [data-id="72b4e15a"],
.page-id-153 [data-id="ccfd6d42"],
.page-id-153 [data-id="4de95642"] { display: none !important; }
.page-id-153 [data-id="f7348118"] { width: 100% !important; max-width: 100% !important; }

/* Centennial PM page — fix Elementor column layout (page not in sdp_service_slugs so rules must be explicit) */
.page-id-195 .entry-content { max-width: none !important; }
.page-id-195 .elementor-row { flex-wrap: wrap !important; }
.page-id-195 .elementor-column,
.page-id-195 [class*="elementor-col-"] {
    width: auto !important;
    min-width: min(100%, 300px) !important;
    flex: 1 1 300px !important;
}
.page-id-195 .elementor-container { max-width: 100% !important; }
/* Hide duplicate Centennial intro paragraph section */
.page-id-195 [data-id="be553840"] { display: none !important; }

/* Marketing page cleanup */
.page-id-145 [data-id="c4e9018a"],
.page-id-145 [data-id="1df5f2d0"],
.page-id-145 [data-id="7b2f35d2"] { display: none !important; }
.page-id-145 [data-id="0c9df9ec"] { width: 100% !important; max-width: 100% !important; }

/* Rent Collection page cleanup */
.page-id-149 [data-id="029bd593"],
.page-id-149 [data-id="7fb84277"],
.page-id-149 [data-id="f3985015"] { display: none !important; }
.page-id-149 [data-id="cad158a0"] { width: 100% !important; max-width: 100% !important; }

/* Eviction page cleanup */
.page-id-155 [data-id="22b9274f"],
.page-id-155 [data-id="8e7e8147"],
.page-id-155 [data-id="8ff0740a"] { display: none !important; }
.page-id-155 [data-id="3d8535d5"] { width: 100% !important; max-width: 100% !important; }
