/* Cityside Building Design - Shared Styles */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display&display=swap');

/* Brand Colors
   Navy blue primary: #1a5276
   Complementary (color wheel opposite): warm copper/amber #c57b3c
   Split-complementary warm: burnished gold #c9923e
   Neutral warm: cream #faf6f0
*/
:root {
  --brand: #1a5276;
  --brand-light: #2471a3;
  --brand-dark: #0e3d5c;
  --accent: #c57b3c;
  --accent-light: #d4945a;
  --accent-dark: #a86428;
  --warm-cream: #faf6f0;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #dde3ea;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(26, 82, 118, 0.15);
}

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  overflow-x: hidden;
}

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

/* Navigation */
nav {
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--brand);
  letter-spacing: -0.01em;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--brand);
}

nav a.active {
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

/* Header / Hero */
header {
  padding: 3.5rem 2rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

header.hero {
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  background-image: linear-gradient(rgba(14, 61, 92, 0.45), rgba(26, 82, 118, 0.50)), url('Images/hero-banner.png');
  background-size: cover;
  background-position: center;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.2;
}

header.hero h1 {
  font-size: 3.5rem;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
}

header p {
  max-width: 700px;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0.75rem auto 0 auto;
}

header.hero p {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Stats Bar */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
  background: var(--brand);
  color: #fff;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat:last-child {
  border-right: none;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-icon-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.service-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: var(--brand-dark);
  font-weight: 400;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Alternating Section Background */
.alt-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Sections */
section {
  padding: 3.5rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.alt-bg {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.alt-bg > h2,
.alt-bg > p,
.alt-bg > .services-grid,
.alt-bg > .cta {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.alt-bg > h2 {
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
}

h2 {
  font-size: 1.7rem;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  color: var(--brand-dark);
  font-weight: 400;
}

p {
  margin: 0 0 1rem 0;
}

ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem 0;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--brand);
  text-decoration: underline;
}

/* Cards & Callouts */
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  background: #fff;
}

.card-image-right {
  float: right;
  width: 250px;
  height: auto;
  margin: 0 1rem 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.callout {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-alt);
  margin-top: 1rem;
}

.block {
  margin-bottom: 2.5rem;
}

.service {
  margin-bottom: 2.5rem;
}

/* Hero with Image (legacy) */
.feature-image {
  padding: 2rem;
  text-align: center;
  background: #fff;
}

.feature-image img {
  max-width: 100%;
  width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-image a:hover img {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-trigger {
  cursor: pointer;
}

/* Contact Layout */
.contact-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.contact-layout .card {
  flex: 1;
}

.contact-layout .contact-image {
  flex: 0 0 250px;
}

.contact-layout .contact-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Video Embed */
.video-container {
  position: relative;
  max-width: 800px;
  margin: 1rem auto 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Page Specific */
.label {
  font-weight: 600;
  margin-top: 18px;
}

.label:first-child {
  margin-top: 0;
}

.muted {
  color: var(--text-muted);
}

.muted a {
  color: var(--brand);
  word-break: break-word;
}

.note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #666;
  padding: 12px;
  background: var(--bg-alt);
  border-radius: 6px;
}

/* CTA Button */
.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 14px 28px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  min-height: 44px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.cta:hover {
  background: var(--brand-light);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

.cta:active {
  background: var(--brand-dark);
}

.cta-hero {
  background: var(--accent);
  font-size: 1.1rem;
  padding: 16px 48px;
  border-radius: 8px;
  display: inline-block;
  width: auto;
}

.cta-hero:hover {
  background: var(--accent-light);
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid var(--border);
  background: var(--brand-dark);
  color: rgba(255,255,255,0.7);
}

/* Tablet - 768px and below */
@media (max-width: 768px) {
  header {
    padding: 3rem 1.5rem;
  }

  header.hero {
    padding: 3.5rem 1.5rem;
    min-height: 360px !important;
  }

  header h1 {
    font-size: 2rem;
  }

  header.hero h1 {
    font-size: 2.4rem;
  }

  section {
    padding: 2.5rem 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 33%;
  }

  .card {
    padding: 20px;
  }
}

/* Mobile - 600px and below */
@media (max-width: 600px) {
  nav {
    padding: 12px 16px;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a.active {
    border-bottom: 1px solid #eee;
    border-left: 3px solid var(--brand);
    padding-left: 12px;
  }

  header {
    padding: 2.5rem 1.25rem;
  }

  header.hero {
    padding: 3rem 1.25rem;
    min-height: auto !important;
  }

  header h1 {
    font-size: 1.75rem;
  }

  header.hero h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  section {
    padding: 2rem 1.25rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    flex-direction: column;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 1rem;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .card {
    padding: 16px;
    border-radius: 8px;
  }

  .card-image-right {
    float: none;
    display: block;
    width: 120px;
    margin: 0 auto 1rem auto;
  }

  .callout {
    padding: 1rem;
  }

  .cta {
    display: block;
    width: 100%;
    padding: 16px 24px;
  }

  footer {
    padding: 1.5rem 1.25rem;
  }

  li {
    margin-bottom: 0.75rem;
    padding: 4px 0;
  }

  .contact-layout {
    flex-direction: column;
  }

  .contact-layout .contact-image {
    flex: none;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

/* Small Mobile - 400px and below */
@media (max-width: 400px) {
  header h1 {
    font-size: 1.5rem;
  }

  header.hero h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .label {
    font-size: 0.95rem;
  }
}

/* Landscape Phone */
@media (max-height: 500px) and (orientation: landscape) {
  header {
    padding: 2rem 1.5rem;
  }

  header.hero {
    padding: 2rem 1.5rem;
    min-height: auto !important;
  }

  section {
    padding: 1.5rem;
  }
}

/* High DPI / Retina adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Contact Form */
.contact-direct {
  margin-top: 1.5rem;
}

.contact-form-wrap {
  flex: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.success-message {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-message h3 {
  color: var(--brand-dark);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.success-message p {
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Sub-page Hero */
.hero-sm {
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: #fff;
  text-align: center;
}

.hero-sm h1 {
  color: #fff;
  font-size: 2.4rem;
}

.hero-sm p {
  color: rgba(255,255,255,0.85);
  max-width: 650px;
  margin: 0.5rem auto 0;
}

/* Service Detail (alternating icon layout) */
.service-detail {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.service-detail.reverse {
  flex-direction: row-reverse;
}

.service-detail-content {
  flex: 1;
}

.service-detail-accent {
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accent-icon {
  font-size: 3.5rem;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  border: 2px solid var(--border);
}

.accent-icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-alt);
  flex-shrink: 0;
}

.cta-inline {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
  min-height: 44px;
  padding: 8px 0;
}

.cta-inline:hover {
  text-decoration: underline;
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(rgba(14, 61, 92, 0.65), rgba(26, 82, 118, 0.60)), url('Images/cta-background.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  max-width: 100%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 0.5rem;
}

/* Checklist */
.checklist {
  margin-top: 1.5rem;
}

.check-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.check-item:last-child {
  border-bottom: none;
}

.check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 123, 60, 0.1);
  border-radius: 50%;
}

/* Challenge Grid */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.challenge-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}

.challenge-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.challenge-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Area Grid */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.area-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.area-card strong {
  display: block;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.area-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-portrait img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.contact-info .card {
  padding: 2rem;
}

/* Mobile overrides for new components */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-portrait {
    text-align: center;
  }

  .contact-portrait img {
    max-width: 280px;
  }

  .service-detail,
  .service-detail.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-detail-accent {
    order: -1;
  }

  .service-detail-content ul {
    text-align: left;
  }

  .hero-sm h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .challenge-grid {
    grid-template-columns: 1fr;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }

  .hero-sm {
    padding: 2.5rem 1.25rem;
  }

  .hero-sm h1 {
    font-size: 1.75rem;
  }

  .cta-banner {
    padding: 3rem 1.25rem;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* Mobile touch & tap targets */
@media (max-width: 600px) {
  /* Ensure all interactive elements meet 44px tap target */
  a, button, .cta, .cta-inline {
    min-height: 44px;
    min-width: 44px;
  }

  /* Form submit button full width on mobile */
  form .cta,
  form .cta-hero {
    display: block;
    width: 100% !important;
    text-align: center;
  }

  /* Form inputs comfortable size */
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 14px;
    min-height: 48px;
  }

  /* Contact grid portrait above form */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-portrait {
    text-align: center;
  }

  .contact-portrait img {
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }

  /* Video container on mobile */
  .video-container {
    border-radius: 0;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    max-width: calc(100% + 2.5rem);
  }

  /* Lightbox close button bigger tap target */
  .lightbox-close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 12px;
    right: 12px;
  }
}

/* Tablet hero fix */
@media (max-width: 768px) {
  header.hero {
    min-height: auto !important;
  }
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col-text h2 {
  margin-top: 0;
}

.two-col-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Video section */
.video-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--warm-cream);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.testimonial-quote {
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 0.9rem;
}

/* Area badges */
.area-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.area-badge {
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.area-badge:hover {
  background: var(--brand-dark);
}

/* Site footer */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 2rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col h4 {
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .area-badges {
    gap: 0.5rem;
  }

  .area-badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Cityside cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.why-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.why-label {
  font-weight: 600;
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Print styles */
@media print {
  nav, .cta, .nav-toggle, .stats-bar {
    display: none !important;
  }

  header, section, footer {
    padding: 1rem 0;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: none;
    color: #000;
  }

  .card, .callout {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
