/* ============================================================
   CONFIDENT BUYING — Design System & Production CSS
   confidentbuying.com | INC Realty | Houston, TX
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --color-navy:      #1C2B3A;
  --color-navy-light: #243546;
  --color-gold:      #C8963E;
  --color-gold-light: #D4A84F;
  --color-gold-muted: rgba(200, 150, 62, 0.12);
  --color-surface:   #FAF8F5;
  --color-white:     #FFFFFF;
  --color-text:      #1A1A1A;
  --color-muted:     #6B7280;
  --color-cta:       #2D6A4F;
  --color-cta-hover: #245840;
  --color-border:    #E5E0D8;
  --color-danger:    #DC3545;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* --- Focus Styles (Accessibility) --- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
strong { font-weight: 600; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 5rem 0;
}
.section--white { background: var(--color-white); }
.section--surface { background: var(--color-surface); }
.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--color-white); }
.section--navy p { color: #B8C4CE; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  max-width: 600px;
  margin: 0.75rem auto 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}
.section--navy .section-header p { color: #B8C4CE; }

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.header--home { background: transparent; }
.header--interior {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.header.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 45px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.logo img:hover {
  opacity: 0.85;
}
.logo-footer img {
  height: 55px;
  width: auto;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-desktop a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.header--home .nav-desktop a { color: rgba(255,255,255,0.85); }
.header--home .nav-desktop a:hover { color: var(--color-gold); }
.header--interior .nav-desktop a { color: var(--color-muted); }
.header--interior .nav-desktop a:hover { color: var(--color-navy); }
.header.scrolled .nav-desktop a { color: var(--color-muted); }
.header.scrolled .nav-desktop a:hover { color: var(--color-navy); }
.nav-desktop a.active {
  color: var(--color-gold) !important;
  border-bottom: 2px solid var(--color-gold);
}
.nav-desktop .nav-cta {
  background: var(--color-cta);
  color: var(--color-white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.nav-desktop .nav-cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1010;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  transition: all var(--transition);
}
.header--home .nav-toggle span { background: var(--color-white); }
.header--interior .nav-toggle span { background: var(--color-navy); }
.header.scrolled .nav-toggle span { background: var(--color-navy); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-toggle.open span { background: var(--color-white) !important; }

/* Mobile Nav Overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--color-navy);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--color-gold); }
.nav-mobile a.active { color: var(--color-gold); }
.nav-mobile .nav-cta-mobile {
  margin-top: 1rem;
  background: var(--color-cta);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}

/* --- Hero --- */
.hero-home {
  min-height: 90vh;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  /* HERO IMAGE — Replace the URL below with your actual hero photo */
  background-image: url('/images/hero-houston-home.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Dark overlay — ensures text is readable over any photo */
  background: linear-gradient(
    135deg,
    rgba(28, 43, 58, 0.88) 0%,
    rgba(28, 43, 58, 0.75) 40%,
    rgba(28, 43, 58, 0.55) 100%
  );
}
.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Subtle gold accent glow over the image */
  background:
    radial-gradient(ellipse 50% 50% at 70% 50%, rgba(200,150,62,0.08) 0%, transparent 70%);
}
.hero-home .container {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease both;
}
.hero-tagline::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}
.hero-home h1 {
  color: var(--color-white);
  max-width: 720px;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-sub {
  font-size: 1.1rem;
  color: #B8C4CE;
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

/* Interior Hero — supports per-page background images */
.hero-interior {
  min-height: 40vh;
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  padding-bottom: 3rem;
  position: relative;
}
.hero-interior::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Dark overlay for text readability over any photo */
  background: linear-gradient(
    180deg,
    rgba(28, 43, 58, 0.7) 0%,
    rgba(28, 43, 58, 0.82) 60%,
    rgba(28, 43, 58, 0.92) 100%
  );
}
.hero-interior .container { position: relative; z-index: 2; }
.hero-interior h1 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
  animation: fadeUp 0.6s ease both;
}
.hero-interior p {
  color: #B8C4CE;
  font-size: 1.05rem;
  max-width: 600px;
  animation: fadeUp 0.6s ease 0.1s both;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-cta);
  color: var(--color-white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,0.25);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
}
.btn-outline-white:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-navy);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
  transition: all var(--transition);
}
.btn-outline-navy:hover {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--color-navy-light);
  border-top: 1px solid rgba(200,150,62,0.15);
  padding: 2rem 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}
.trust-stat-label {
  font-size: 0.78rem;
  color: #8A9AAA;
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card h3 { color: var(--color-navy); }
.card p { color: var(--color-muted); font-size: 0.95rem; }
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-gold);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.3;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 1rem;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-muted);
}

/* --- Entity Definition Block (GEO) --- */
.entity-definition {
  background: var(--color-surface);
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item details {
  padding: 0;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-navy);
  list-style: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--color-gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item details[open] summary::after {
  transform: rotate(180deg);
}
.faq-item summary:hover { color: var(--color-gold); }
.faq-item .faq-answer {
  padding: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}
.faq-item .faq-answer p { margin-bottom: 0.75rem; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }
.faq-item .faq-answer ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}
.faq-item .faq-answer li { margin-bottom: 0.4rem; }

/* --- Blog Hub --- */
.blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-pill {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
  color: var(--color-muted);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-card h3 a {
  color: var(--color-navy);
  transition: color var(--transition);
}
.blog-card h3 a:hover { color: var(--color-gold); }
.blog-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* --- Blog Post Layout --- */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.blog-post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.blog-post-content h3 {
  margin-top: 1.75rem;
}
.blog-post-content p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-text);
}
.blog-post-content ul,
.blog-post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.blog-post-content ul { list-style: disc; }
.blog-post-content ol { list-style: decimal; }
.blog-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.blog-post-content a {
  color: var(--color-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-post-content a:hover { color: var(--color-cta-hover); }

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-agent {
  text-align: center;
}
.sidebar-agent-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-navy);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.sidebar-agent-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
}
.sidebar-agent-title {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.sidebar-related a {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-navy);
  transition: color var(--transition);
}
.sidebar-related a:last-child { border-bottom: none; }
.sidebar-related a:hover { color: var(--color-gold); }

/* --- Neighborhood Pills --- */
.neighborhood-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}
.neighborhood-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: all var(--transition);
  cursor: default;
}
.neighborhood-pill:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .error-message {
  font-size: 0.78rem;
  color: var(--color-danger);
  margin-top: 0.25rem;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--color-danger);
}
.form-group.has-error .error-message {
  display: block;
}

/* --- IDX Placeholder --- */
.idx-placeholder {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}
.idx-placeholder p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* --- Content Utilities --- */
.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  counter-reset: step;
}
.process-step {
  text-align: center;
  counter-increment: step;
}
.process-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--color-muted);
}

/* Service List (Buying/Selling pages) */
.service-block {
  margin-bottom: 2.5rem;
}
.service-block h3 {
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}
.service-block p {
  color: var(--color-muted);
  line-height: 1.7;
}

/* Areas Served Grid */
.areas-grid {
  columns: 3;
  column-gap: 2rem;
}
.areas-grid span {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* --- Footer --- */
.footer {
  background: var(--color-navy);
  padding: 4rem 0 0;
  color: #8A9AAA;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #8A9AAA;
}
.footer a {
  color: #8A9AAA;
  transition: color var(--transition);
  font-size: 0.88rem;
}
.footer a:hover { color: var(--color-gold); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.footer-social a {
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: #6B7A8A;
  margin: 0;
}

/* --- Footer CTA Strip --- */
.footer-cta {
  background: var(--color-navy-light);
  padding: 3.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(200,150,62,0.1);
}
.footer-cta h2 { color: var(--color-white); margin-bottom: 1.25rem; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive: Tablet (768px) --- */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }

  .hero-home { min-height: 80vh; }
  .hero-home h1 { font-size: clamp(2rem, 6vw, 2.8rem); }

  .trust-bar-inner { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }

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

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

  .areas-grid { columns: 2; }
}

/* --- Responsive: Mobile (480px) --- */
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }

  .hero-home { min-height: 70vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }

  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-stat-value { font-size: 1.2rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .areas-grid { columns: 1; }

  .process-steps { grid-template-columns: 1fr; }
}

/* --- Print Styles --- */
@media print {
  .header, .nav-mobile, .footer, .footer-cta, .trust-bar { display: none; }
  .hero-home, .hero-interior {
    min-height: auto;
    background: none;
    color: #000;
    padding: 2rem 0;
  }
  .hero-home h1, .hero-interior h1 { color: #000; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .section--navy { background: #f5f5f5; color: #000; }
  .section--navy h2, .section--navy p { color: #000; }
}
