/*
  W3Global Staffing Agency Dallas - Landing Page Stylesheet
*/

/* ==========================================================================
   1. CSS RESET & VARIABLES
   ========================================================================== */
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito-800.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* Brand Colors */
  --primary-red: #E02938;
  --primary-red-hover: #c5212d;
  --primary-navy: #161C2D;
  --primary-navy-hover: #0f131f;
  
  /* Text & Background Colors */
  --text-secondary: #3C4858;
  --text-muted: #8492a6;
  --bg-light: #F8F9FC;
  --bg-white: #FFFFFF;
  
  /* Borders & Shadows */
  --border-color: rgba(0, 0, 0, 0.06);
  --border-color-dark: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  
  /* Layout & Spacing */
  --font-main: 'Nunito', sans-serif;
  --max-width: 1240px;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --header-height: 80px;
  --topbar-height: 40px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-secondary);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover, a:focus {
  color: var(--primary-red-hover);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-block;
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.text-center { text-align: center; }
.text-white { color: var(--bg-white) !important; }

/* ==========================================================================
   18. UTILITY CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-align: center;
  min-height: 44px; /* Tap target */
  min-width: 44px;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--bg-white);
  border: 2px solid var(--primary-red);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-red-hover);
  border-color: var(--primary-red-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  border: 2px solid var(--primary-navy);
}

.btn-dark:hover, .btn-dark:focus {
  background-color: var(--primary-navy-hover);
  color: var(--bg-white);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Focus states */
*:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.card-base:hover {
  box-shadow: var(--card-shadow-hover);
}

/* ==========================================================================
   3. STICKY HEADER
   ========================================================================== */
.top-utility-bar {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  font-size: 0.875rem;
  min-height: var(--topbar-height);
  display: block;
}

.top-utility-bar .topbar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: var(--topbar-height);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.top-utility-bar a {
  color: var(--bg-white);
  margin-left: 0;
}

.top-utility-bar a:hover {
  color: var(--bg-white);
}

.job-seeker-announcement,
.topbar-contact {
  display: flex;
  align-items: center;
}

.job-seeker-announcement {
  gap: 0.75rem;
  font-weight: 700;
}

.topbar-cta {
  padding: 0.35rem 0.8rem;
  background: var(--primary-red);
  border: 1px solid var(--primary-red);
  border-radius: 6px;
  line-height: 1.2;
  white-space: nowrap;
}

.topbar-cta:hover,
.topbar-cta:focus-visible {
  background: var(--primary-red-hover);
  border-color: var(--primary-red-hover);
}

.topbar-contact {
  display: none;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .top-utility-bar .topbar-content {
    justify-content: space-between;
  }

  .topbar-contact {
    display: flex;
  }
}

@media (max-width: 420px) {
  .job-seeker-announcement {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8rem;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  transition: var(--transition);
}

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.logo-link img {
  width: clamp(138px, 16vw, 178px);
  height: auto;
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-links a {
    color: var(--primary-navy);
    font-weight: 600;
  }
  
  .nav-links a:hover {
    color: var(--primary-red);
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

/* Mobile Menu */
.menu-toggle {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-navy);
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  transition: var(--transition);
  z-index: 1001;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-panel.active {
  right: 0;
}

.close-menu {
  align-self: flex-end;
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 2rem;
}

.mobile-nav-panel .nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-panel .nav-links a {
  color: var(--primary-navy);
  font-size: 1.125rem;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* Mobile Persistent CTA Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 1rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  background-color: var(--bg-white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.hero-content .subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.trust-points {
  margin-bottom: 2rem;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.trust-points li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: rgba(224, 41, 56, 0.1);
  color: var(--primary-red);
  border-radius: 50%;
  font-size: 0.875rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.reassurance-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Lead Capture Form */
.hero-form-wrapper {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--border-color);
}

.hero-form-wrapper h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  /*margin-bottom: 1rem;*/
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(224, 41, 56, 0.1);
}

/* ==========================================================================
   5. TRUST BAR
   ========================================================================== */
.trust-bar {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

/* Hiring needs */
.hiring-needs {
  background: linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
}

.section-intro {
  max-width: 820px;
  margin: 0 auto;
}

.hiring-needs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.hiring-need-card {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.hiring-need-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary-red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hiring-need-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.hiring-need-card p {
  color: var(--text-secondary);
}

.hiring-need-card .role-list {
  margin-bottom: 0;
  color: var(--primary-navy);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.8;
}

.hiring-needs-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.hiring-needs-footer p {
  margin: 0;
  color: var(--primary-navy);
  font-weight: 700;
}

@media (min-width: 700px) {
  .hiring-needs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hiring-needs-footer {
    flex-direction: row;
  }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   6. LOCAL DALLAS SECTION
   ========================================================================== */
.dallas-section {
  text-align: center;
  position: relative;
  background: #eef4f8;
  border-top: 1px solid #dce7ee;
  border-bottom: 1px solid #dce7ee;
}

.dallas-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(120px, 28vw);
  height: 4px;
  background: var(--primary-red);
  border-radius: 0 0 4px 4px;
  transform: translateX(-50%);
}

.dallas-section h2 {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.city-tag {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-navy);
}

/* ==========================================================================
   7. STAFFING SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(224, 41, 56, 0.1);
  color: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  flex-grow: 1;
  color: var(--text-secondary);
}

.benefit-callout {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: var(--bg-light);
  border-left: 3px solid var(--primary-red);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-navy);
}

.service-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   8. INDUSTRY EXPERTISE
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.industry-card {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
}

.industry-icon {
  font-size: 2rem;
  color: var(--primary-red);
}

.industry-label {
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 1rem;
}

/* ==========================================================================
   9. WHY W3GLOBAL
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-item {
  text-align: center;
  padding: 2rem 1rem;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background-color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-red);
  box-shadow: var(--card-shadow);
}

/* ==========================================================================
   10. HOW IT WORKS
   ========================================================================== */
.process-wrapper {
  margin-top: 2.5rem;
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .process-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
  }
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-navy);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--bg-white);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* ==========================================================================
   11. GOOGLE REVIEWS & 12. TESTIMONIALS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  display: flex;
  flex-direction: column;
}

.stars {
  color: #FFB400;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.reviewer-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.reviewer-info span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   13. MAP SECTION
   ========================================================================== */
.map-section {
  background: var(--bg-white);
}

.map-container {
  min-height: 320px;
  /*background-color: #e5e3df;*/
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.map-contact-card {
  position: relative;
  margin: 0;
  background: var(--bg-white);
  max-width: none;
  padding: clamp(1.5rem, 4vw, 2rem);
}

.map-placeholder-content {
  padding: 2rem;
  text-align: center;
  border: 5px solid;
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  }
}

.contact-info-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-info-list i {
  color: var(--primary-red);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   14. ABOUT / TEAM
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.team-img-wrapper {
  width: 100%;
  height: 250px;
  background-color: var(--bg-light);
  overflow: hidden;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-info h4 {
  margin-bottom: 0.25rem;
}

.team-title {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ========================================================================== 
   15. BLOG SECTION
   ========================================================================== */
.blog-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.blog-intro {
  max-width: 780px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.blog-thumbnail {
  display: block;
  aspect-ratio: 1200 / 628;
  overflow: hidden;
  background-color: #e9ebf1;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-thumbnail img,
.blog-card:focus-within .blog-thumbnail img {
  transform: scale(1.035);
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
}

.blog-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.35;
}

.blog-card h3 a {
  color: var(--primary-navy);
  text-decoration: none;
}

.blog-card h3 a:hover,
.blog-card h3 a:focus-visible {
  color: var(--primary-red);
}

.blog-card-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.blog-link {
  margin-top: auto;
  color: var(--primary-red);
  font-weight: 800;
  text-decoration: none;
}

.blog-link:hover,
.blog-link:focus-visible {
  text-decoration: underline;
}

.blog-view-all {
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-thumbnail img {
    transition: none;
  }

  .blog-card:hover .blog-thumbnail img,
  .blog-card:focus-within .blog-thumbnail img {
    transform: none;
  }
}

/* ========================================================================== 
   16. FAQ SECTION
   ========================================================================== */
.faq-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  max-width: 1120px;
  margin: 2rem auto 0;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 0;
  background-color: var(--bg-white);
  overflow: hidden;
}

@media (min-width: 768px) {
  .faq-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 1.125rem;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary-red);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

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

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 500px;
}

/* ==========================================================================
   16. FINAL CTA
   ========================================================================== */
.final-cta {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  text-align: center;
}

.final-cta h2 {
  color: var(--bg-white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Ask AI */
.ask-ai-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fc 0%, #eef4f8 100%);
  border-bottom: 1px solid var(--border-color);
}

.ask-ai-section::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  top: -160px;
  right: -80px;
  background: rgba(224, 41, 56, 0.08);
  border-radius: 50%;
}

.ask-ai-intro {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.ask-ai-intro > p:last-child {
  margin: 0 auto;
  max-width: 680px;
}

.ai-buttons-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 960px;
  margin: 2rem auto 0;
}

.ai-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 82px;
  padding: 0.9rem 1rem;
  color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-button:hover,
.ai-button:focus-visible {
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.ai-chatgpt { background: #202123; }
.ai-perplexity { background: #176b73; }
.ai-gemini { background: linear-gradient(135deg, #3f67d7, #8b5cf6); }
.ai-claude { background: #b45f3f; }

.ai-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.ai-icon-wrap img {
  width: 28px;
  height: 28px;
}

.ai-button strong,
.ai-button small {
  display: block;
}

.ai-button strong {
  font-size: 1.05rem;
}

.ai-button small {
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.ai-arrow {
  font-size: 1.25rem;
  opacity: 0.75;
}

.ai-disclaimer {
  max-width: 720px;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (min-width: 700px) {
  .ai-buttons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0f131f;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bg-white);
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--bg-white);
}

.footer-social a:hover {
  background-color: var(--primary-red);
}

.footer-col h4 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color-dark);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* ==========================================================================
   ADDED UTILITY CLASSES & FIXES
   ========================================================================== */
.mt-10 { margin-top: 0.625rem; }
.mt-20 { margin-top: 1.25rem; }
.mt-30 { margin-top: 1.875rem; }
.mt-40 { margin-top: 1.75rem; }
.mb-10 { margin-bottom: 0.625rem; }
.mb-20 { margin-bottom: 1.25rem; }
.mb-40 { margin-bottom: 1.75rem; }

label {
  display: block;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.error-msg {
  display: block;
  color: var(--primary-red);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

.form-control.error {
  border-color: var(--primary-red);
  background-color: #fff5f5;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233C4858' d='M6 8.825L0.344 3.169l0.712-0.712L6 7.4l4.944-4.944 0.712 0.712z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.privacy-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.text-right {
  text-align: right;
}

.header-phone {
  color: var(--primary-navy);
  font-weight: 600;
  white-space: nowrap;
  display: none;
}

@media (min-width: 1024px) {
  .header-phone {
    display: inline-flex;
  }
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.badge-placeholder {
  width: 100px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

.mobile-bottom-bar .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.75rem;
}

.hero-form-wrapper h2,
.hero-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 680px;
}

.text-center .subtitle,
.subtitle.text-center {
  margin-left: auto;
  margin-right: auto;
}

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-light);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.city-tag:hover {
  background-color: var(--primary-red);
  color: var(--bg-white);
  border-color: var(--primary-red);
  transform: translateY(-2px);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .hero-form-wrapper {
    padding: 1.5rem;
  }
  
  body {
    padding-bottom: 70px; /* Space for mobile bottom bar */
  }
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

.contact-info-list svg {
  color: var(--primary-red);
  flex-shrink: 0;
}

.team-card {
  padding: 2rem;
}

.team-card .team-img-wrapper {
  margin: 0 auto 1rem;
}

/* ==========================================================================
   19. ANIMATIONS
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
