/* ============================================================
   Relay Computer Consulting — Main Stylesheet
   ============================================================ */

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-primary, #1a3a5c);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius, 8px) 0;
  outline: 3px solid var(--color-accent, #c8973a);
  outline-offset: 2px;
}

/* ---- Custom Properties ---- */
:root {
  --color-primary:      #1a1a1a;
  --color-primary-dark: #0a0a0a;
  --color-accent:       #cc1a1a;
  --color-accent-dark:  #991414;
  --color-bg:           #ffffff;
  --color-bg-alt:       #f5f5f5;
  --color-text:         #1a1a1a;
  --color-text-muted:   #666666;
  --color-border:       #e0e0e0;
  --color-success:      #2e7d32;
  --color-error:        #c62828;
  --font-sans:          'Inter', system-ui, -apple-system, sans-serif;
  --radius:             8px;
  --shadow-sm:          0 1px 3px rgba(0,0,0,0.1);
  --shadow-md:          0 4px 12px rgba(0,0,0,0.12);
  --max-width:          1200px;
  --transition:         0.2s ease;
}

/* ---- Reset / Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.25;
}

p {
  margin-top: 0;
}

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================================
   NAV / HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.logo-relay {
  color: var(--color-primary);
  font-weight: 700;
}

.logo-cc {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

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

/* Nav links — hidden on mobile */
.nav-links {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.5rem 1.5rem;
}

.nav-links li a {
  display: block;
  padding: 0.625rem 0;
  color: var(--color-text);
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav-links li a[aria-current="page"] {
  color: var(--color-accent-dark);
}

/* Show nav when open */
body.nav-open .nav-links {
  display: flex;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.btn-secondary,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-text);
}

/* Small variant used in audience cards */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ---- Focus Styles ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline-white:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.faq-question:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: var(--color-primary);
  color: #ffffff;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Page hero (contact page) */
.page-hero {
  background-color: var(--color-primary);
  color: #ffffff;
  min-height: 200px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.0625rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(200, 151, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  fill: var(--color-accent);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.card-body {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Audience cards */
.audience-card {
  border-top: 4px solid var(--color-accent);
}

.audience-card .card-cta {
  margin-top: 1.5rem;
  display: inline-flex;
}

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232e7d32'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ============================================================
   PRICING GRID
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pricing-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border: 2px solid var(--color-accent);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 1.25rem;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-tier-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.pricing-description {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-accent-dark);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ============================================================
   TRUST SIGNALS
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  fill: var(--color-accent);
  flex-shrink: 0;
}

.trust-item p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.9375rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background-color: var(--color-primary);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.88);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ============================================================
   DVOB BADGE
   ============================================================ */
.dvob-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-accent-dark);
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* VOB Verified badge image */
.vob-badge-img {
  display: block;
  width: 90px;
  height: auto;
}

.vob-badge-img--hero {
  width: 130px;
}

.vob-badge-img--callout {
  width: 110px;
  margin: 0 auto 1rem;
}

/* Footer logos row — Relay logo + VOB badge centered side by side */
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

/* ============================================================
   VETERAN DISCOUNT CALLOUT
   ============================================================ */
.callout-box {
  background-color: var(--color-accent);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}

.callout-box p {
  font-size: 1.0625rem;
  margin: 0;
  font-weight: 500;
}

/* ============================================================
   LOCAL CREDIBILITY SECTION
   ============================================================ */
.local-section {
  text-align: center;
}

.local-section .map-pin-icon,
.local-section .local-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  fill: var(--color-accent);
  margin: 0 auto 1rem;
  display: block;
}

.local-section h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.local-section p {
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ============================================================
   MISSION STATEMENT
   ============================================================ */
.mission-section {
  text-align: center;
}

.mission-section h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

blockquote.mission-quote {
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-primary);
  max-width: 720px;
  margin: 0 auto;
  border-left: 4px solid var(--color-accent);
  padding-left: 1.5rem;
  text-align: left;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: border-color var(--transition), outline-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
  border-color: var(--color-accent);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--color-error);
}

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

.field-error {
  display: none;
  color: var(--color-error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.field-error.visible {
  display: block;
}

/* Honeypot */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Form banners */
.form-success,
.form-error-banner {
  display: none;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.form-success {
  background-color: #e8f5e9;
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.form-error-banner {
  background-color: #ffebee;
  border: 1px solid var(--color-error);
  color: var(--color-error);
}

.form-success.visible,
.form-error-banner.visible {
  display: block;
}

.submit-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

#submit-btn {
  width: 100%;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-block h3 {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact-info-block p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.9375rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #2e2e2e;
  color: #ffffff;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
  max-width: 320px;
}

.footer-nav h3,
.footer-contact h3 {
  color: var(--color-accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav ul li a,
.footer-contact a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-nav ul li a:hover,
.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  text-align: center;
}

/* ============================================================
   HERO BACKGROUND IMAGES
   Each page hero gets a background photo with a dark overlay so
   text stays readable. Falls back gracefully to the solid dark
   color when the image hasn't been added to /images/ yet.
   ============================================================ */
.hero-bg-landing {
  background-image: linear-gradient(rgba(26,26,26,0.72), rgba(26,26,26,0.72)), url('../images/hero-landing.jpg');
  background-size: cover;
  background-position: center;
}

.hero-bg-streamers {
  background-image: linear-gradient(rgba(26,26,26,0.72), rgba(26,26,26,0.72)), url('../images/hero-streamers.jpg');
  background-size: cover;
  background-position: center;
}

.hero-bg-realtors {
  background-image: linear-gradient(rgba(26,26,26,0.68), rgba(26,26,26,0.68)), url('../images/hero-realtors.jpg');
  background-size: cover;
  background-position: center;
}

.hero-bg-veterans {
  background-image: linear-gradient(rgba(26,26,26,0.72), rgba(26,26,26,0.72)), url('../images/hero-veterans.jpg');
  background-size: cover;
  background-position: center;
}

.hero-bg-smart-home {
  background-image: linear-gradient(rgba(26,26,26,0.68), rgba(26,26,26,0.68)), url('../images/hero-smart-home.jpg');
  background-size: cover;
  background-position: center;
}

.hero-bg-game-servers {
  background-image: linear-gradient(rgba(26,26,26,0.75), rgba(26,26,26,0.75)), url('../images/hero-game-servers.jpg');
  background-size: cover;
  background-position: center;
}

/* ============================================================
   CARD IMAGES
   Centered within the card's content area, fully rounded.
   ============================================================ */
.card-img {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ============================================================
   LIVE EXAMPLES — shown inside service cards
   ============================================================ */
.card-examples {
  margin-top: 1.25rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--color-border);
}

.card-examples-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.625rem;
}

.card-examples-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-example-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-decoration: none;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  padding: 0.25rem 0.625rem;
  transition: background-color var(--transition), color var(--transition);
}

.card-example-link:hover {
  background-color: var(--color-accent);
  color: #ffffff;
}

.card-example-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================================================
   CARD HEADING — icon inline with title text
   ============================================================ */
.card-heading {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.card-heading .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.card-heading .card-title {
  margin-bottom: 0;
}

/* ============================================================
   ABOUT / TEAM PHOTO (index.html)
   ============================================================ */
.about-photo-wrap {
  max-width: 340px;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

/* ============================================================
   VETERANS MISSION PHOTO (veterans.html)
   ============================================================ */
.mission-photo-wrap {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mission-photo {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SLC SERVICE AREA PHOTO (realtors.html / smart-home.html)
   ============================================================ */
.slc-photo-wrap {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.slc-photo {
  width: 100%;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  display: block;
}

/* ============================================================
   RESPONSIVE — 768px+
   ============================================================ */
@media (min-width: 768px) {
  /* Nav */
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    position: static;
    box-shadow: none;
    padding: 0;
    background: none;
  }

  /* Keep nav visible on desktop even when nav-open class is absent or present */
  body.nav-open .nav-links {
    position: static;
    box-shadow: none;
    padding: 0;
    background: none;
  }

  .nav-links li a {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
  }

  .nav-links li:last-child a {
    padding: 0.625rem 1.25rem;
  }

  /* Section padding */
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.75rem;
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  /* Cards grid — 2 col */
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  /* Pricing grid — 2 col */
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  /* Trust grid — 4 col */
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Contact layout */
  .contact-layout {
    grid-template-columns: 3fr 2fr;
  }

  /* Submit button normal width */
  #submit-btn {
    width: auto;
  }

  /* Footer grid */
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  /* Pricing grid — 3 col */
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .cta-section h2 {
    font-size: 2.25rem;
  }
}
