/* ========================================
   Best Roofing Charlotte — Global Styles
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: #334155;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #1B3A5C;
  color: #fff;
}

a {
  color: #3B82F6;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1B3A5C;
}

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

ul {
  list-style: none;
}

h1, h2 {
  line-height: 1.25;
  color: #1B3A5C;
  letter-spacing: -0.01em;
  font-weight: 800;
}

h3, h4, h5, h6 {
  line-height: 1.25;
  color: #1B3A5C;
  letter-spacing: -0.01em;
  font-weight: 700;
}

strong, b {
  font-weight: 700;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section Spacing --- */
.section {
  padding: 64px 0;
}

.section-light {
  background: #F8FAFC;
}

.section-white {
  background: #FFFFFF;
}

.section-dark {
  background: #1B3A5C;
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: #fff;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #1B3A5C;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: #64748B;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.6;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1B3A5C;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo a {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

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

.nav-logo span {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav-links > li > a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Dropdown Arrow */
.nav-links .dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(255,255,255,0.7);
  margin-left: 2px;
  transition: transform 0.2s ease, border-top-color 0.2s ease;
}

.nav-links .dropdown-toggle:hover::after {
  border-top-color: #fff;
}

/* Dropdown Panel */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 8px 0;
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #1a1a1a;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu li a:hover {
  background: #F8FAFC;
  color: #1B3A5C;
}

.nav-links li:hover .dropdown-menu,
.nav-links li.dropdown-open .dropdown-menu {
  display: block;
}

/* Nav CTA Buttons */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-quote {
  display: inline-block;
  background: #F59E0B;
  color: #1a1a1a;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-quote:hover {
  background: #d97706;
  color: #1a1a1a;
  transform: translateY(-1px);
}

.btn-quote:active {
  transform: translateY(0);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-call:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  background: #1B3A5C;
  color: #fff;
  padding: 60px 0 48px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

.hero-right {
  width: 400px;
  flex-shrink: 0;
}

.hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-subtitle a {
  color: #F59E0B;
}

.hero-subtitle a:hover {
  color: #fff;
}

.hero-checklist {
  margin-bottom: 28px;
}

.hero-checklist li {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  padding: 5px 0;
  padding-left: 26px;
  position: relative;
}

.hero-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #F59E0B;
  font-weight: 700;
}

/* Hero Info Cards — inside hero, bottom of left column */
.hero-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.hero-info-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 16px 14px;
  transition: background 0.2s ease;
}

.hero-info-card:hover {
  background: rgba(255,255,255,0.14);
}

.hero-info-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hero-info-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  margin: 0;
}

/* Hero Call Banner — dark bar inside hero */
.hero-call-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.hero-call-icon {
  font-size: 18px;
}

.hero-call-banner a {
  color: #F59E0B;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.hero-call-banner a:hover {
  color: #fff;
}

/* Hero Serving Cities */
.hero-serving {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* Legacy class kept for service/location page heroes */
.service-area-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-top: 12px;
}

/* Hero Quote Form */
.hero-form {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.hero-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 20px;
  text-align: center;
}

/* Legacy hero classes used by service/location pages */
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-form-wrap {
  width: 400px;
  flex-shrink: 0;
}

.hero-bullets {
  margin-bottom: 28px;
}

.hero-bullets li {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  padding: 5px 0;
  padding-left: 26px;
  position: relative;
}

.hero-bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #F59E0B;
  font-weight: 700;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 12px;
  background: #F59E0B;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  margin-top: 4px;
}

.form-submit:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.form-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

.form-submit:focus-visible {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: #059669;
  font-weight: 600;
}

/* ========================================
   BRANDS GRID (outlined pills)
   ======================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.brand-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: #fff;
  border: 2px solid #d1d5db;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: #1B3A5C;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.brand-pill:hover {
  border-color: #3B82F6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: #1B3A5C;
  transform: translateY(-1px);
}

/* Legacy brand-item kept for other pages */
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: center;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1B3A5C;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.brand-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-color: #3B82F6;
  color: #1B3A5C;
  transform: translateY(-1px);
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.service-card-img {
  width: 100%;
  height: 200px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  font-size: 14px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 24px 20px;
}

.service-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 8px;
}

.service-card-body p {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 12px;
  line-height: 1.6;
}

.service-card-price {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 14px;
  font-weight: 500;
}

.service-card-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #1B3A5C;
  transition: color 0.2s ease;
}

.service-card-link:hover {
  color: #3B82F6;
}

/* ========================================
   AREA PILLS (outlined, grid layout)
   ======================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.area-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1B3A5C;
  padding: 12px 16px;
  border-radius: 50px;
  border: 2px solid #d1d5db;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.area-pill:hover {
  border-color: #1B3A5C;
  background: #1B3A5C;
  color: #fff;
  box-shadow: 0 2px 8px rgba(27,58,92,0.2);
  transform: translateY(-1px);
}

/* ========================================
   COMPANY CARDS
   ======================================== */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.company-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 3px solid #1B3A5C;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.company-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.company-card-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.company-card-name a {
  color: #1B3A5C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.company-card-name a:hover {
  color: #3B82F6;
}

.company-card-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 14px;
}

.star-icon {
  color: #F59E0B;
}

.rating-number {
  color: #F59E0B;
  font-weight: 700;
}

.rating-reviews {
  color: #F59E0B;
}

.rating-separator {
  color: #64748B;
}

.rating-desc {
  color: #64748B;
}

.company-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.service-tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #1B3A5C;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #1B3A5C;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}

.company-card:hover .service-tag {
  background: #f0f4f8;
}

.company-card-desc {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 14px;
  flex-grow: 1;
}

.company-card-serves {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 12px;
  margin-top: auto;
}

.company-card-link {
  font-size: 15px;
  font-weight: 700;
  color: #1B3A5C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.company-card-link:hover {
  color: #3B82F6;
}

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

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: #1B3A5C;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #1B3A5C;
}

.faq-question:focus-visible {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: #64748B;
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #1B3A5C;
}

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

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  line-height: 1.7;
}

.faq-answer-inner a {
  color: #3B82F6;
  text-decoration: underline;
  text-decoration-color: rgba(59,130,246,0.3);
  text-underline-offset: 2px;
}

.faq-answer-inner a:hover {
  text-decoration-color: #3B82F6;
}

/* ========================================
   BOTTOM CTA
   ======================================== */
.bottom-cta {
  background: #223F6B;
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}

.bottom-cta h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bottom-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}

.bottom-cta .btn-quote {
  font-size: 16px;
  padding: 14px 32px;
}

a.btn-call-cta,
a.btn-call-cta:hover,
a.btn-call-cta:visited {
  display: inline-block;
  background: #E07A2B;
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
  letter-spacing: 0.01em;
}

a.btn-call-cta:hover {
  background: #c96a22;
}

.cta-phone {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  margin-top: 16px;
}

.cta-phone a {
  color: #F59E0B;
  transition: color 0.2s ease;
}

.cta-phone a:hover {
  color: #fbbf24;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #1B3A5C;
  color: #9ca3af;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #9ca3af;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

/* ========================================
   PRICING TABLE
   ======================================== */
.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pricing-table th {
  background: #1B3A5C;
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  color: #374151;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:nth-child(even) {
  background: #F8FAFC;
}

.pricing-table tbody tr {
  transition: background 0.15s ease;
}

.pricing-table tbody tr:hover {
  background: #eef2f7;
}

/* ========================================
   COST FACTOR CARDS
   ======================================== */
.cost-factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cost-factor-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cost-factor-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.cost-factor-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.cost-factor-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 8px;
}

.cost-factor-card p {
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.6;
}

/* ========================================
   SERVICE TYPE CARDS
   ======================================== */
.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.type-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.type-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.type-card-img {
  width: 100%;
  height: 180px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  font-size: 14px;
  overflow: hidden;
}

.type-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-card-body {
  padding: 24px 20px;
}

.type-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 8px;
}

.type-card-body p {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  line-height: 1.6;
}

/* ========================================
   LOCAL INFO SECTION
   ======================================== */
.local-info {
  max-width: 800px;
}

.local-info p {
  font-size: 17px;
  font-weight: 500;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ========================================
   NEARBY AREAS
   ======================================== */
.nearby-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nearby-pill {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #1B3A5C;
  border-radius: 50px;
  color: #1B3A5C;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.nearby-pill:hover {
  background: #1B3A5C;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,58,92,0.2);
}

/* ========================================
   BRAND DETAIL CARDS (brands.html)
   ======================================== */
.brand-detail-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 48px;
  max-width: 860px;
}

.brand-detail-card:last-child {
  margin-bottom: 0;
}

.brand-detail-card h2 {
  font-size: 30px;
  font-weight: 800;
  color: #1B3A5C;
  padding-bottom: 16px;
  border-bottom: 3px solid #3B82F6;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.brand-detail-card p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}

.brand-detail-card p:last-child {
  margin-bottom: 0;
}

.brand-detail-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1B3A5C;
  margin-top: 32px;
  margin-bottom: 14px;
}

.brand-detail-card ul {
  padding-left: 22px;
  margin-bottom: 8px;
}

.brand-detail-card ul li {
  list-style: disc;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 12px;
}

.brand-detail-card ul li:last-child {
  margin-bottom: 0;
}

.brand-detail-card ul li strong {
  color: #1B3A5C;
}

.brand-detail-card a {
  color: #3B82F6;
  text-decoration: underline;
  text-decoration-color: rgba(59,130,246,0.3);
  text-underline-offset: 2px;
}

.brand-detail-card a:hover {
  text-decoration-color: #3B82F6;
}

.brand-choose-box {
  background: #F0F7FF;
  border-radius: 10px;
  padding: 36px 40px;
  max-width: 860px;
}

.brand-choose-box h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1B3A5C;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.brand-choose-box p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}

.brand-choose-box p:last-child {
  margin-bottom: 0;
}

.brand-choose-box ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.brand-choose-box ul li {
  list-style: disc;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 12px;
}

.brand-choose-box ul li:last-child {
  margin-bottom: 0;
}

.brand-choose-box ul li strong {
  color: #1B3A5C;
}

.brand-choose-box a {
  color: #3B82F6;
  text-decoration: underline;
  text-decoration-color: rgba(59,130,246,0.3);
  text-underline-offset: 2px;
}

.brand-choose-box a:hover {
  text-decoration-color: #3B82F6;
}

.faq-list-spaced .faq-item {
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 20px;
}

.faq-list-spaced .faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .brand-detail-card {
    padding: 24px 20px;
    margin-bottom: 32px;
  }

  .brand-detail-card h2 {
    font-size: 24px;
  }

  .brand-detail-card h3 {
    font-size: 18px;
    margin-top: 24px;
  }

  .brand-choose-box {
    padding: 24px 20px;
  }

  .brand-choose-box h2 {
    font-size: 22px;
  }
}

/* ========================================
   BLOG
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.blog-card.featured {
  grid-column: span 2;
}

.blog-card-img {
  width: 100%;
  height: 200px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  font-size: 14px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card.featured .blog-card-img {
  height: 260px;
}

.blog-card-body {
  padding: 24px 20px;
}

.blog-card-date {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-body h3 a {
  color: #1B3A5C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-body h3 a:hover {
  color: #3B82F6;
}

.blog-card-excerpt {
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-read-more {
  font-size: 14px;
  font-weight: 600;
  color: #1B3A5C;
  transition: color 0.2s ease;
}

.blog-read-more:hover {
  color: #3B82F6;
}

/* Blog Post Single */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.blog-post h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.blog-post-meta {
  color: #64748B;
  font-size: 14px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.blog-post-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: #1B3A5C;
}

.blog-post-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #1B3A5C;
}

.blog-post-content p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}

.blog-post-content a {
  color: #3B82F6;
  text-decoration: underline;
  text-decoration-color: rgba(59,130,246,0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}

.blog-post-content a:hover {
  text-decoration-color: #3B82F6;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 18px 0;
  padding-left: 24px;
}

.blog-post-content li {
  list-style: disc;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 8px;
}

.blog-post-content ol li {
  list-style: decimal;
}

.blog-post-content strong {
  font-weight: 700;
  color: #1B3A5C;
}

.related-posts {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.related-posts h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ========================================
   FORMS (Full Page)
   ======================================== */
.page-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: 36px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.page-form h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 24px;
}

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

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: color 0.15s ease;
}

.checkbox-group label:hover {
  color: #1B3A5C;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1B3A5C;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* --- Focus-visible for accessibility --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-container,
  .hero-grid {
    flex-direction: column;
    gap: 32px;
  }

  .hero-right,
  .hero-form-wrap {
    width: 100%;
  }

  .hero-info-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

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

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

  .blog-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile Menu */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1B3A5C;
    padding: 20px;
    overflow-y: auto;
    z-index: 998;
    animation: slideDown 0.25s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links.mobile-open > li > a {
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.mobile-open .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border-radius: 0;
    padding: 0 0 0 16px;
  }

  .nav-links.mobile-open .dropdown-menu li a {
    color: rgba(255,255,255,0.8);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-links.mobile-open .dropdown-menu li a:hover {
    color: #fff;
  }

  .nav-cta.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #152e4a;
    padding: 16px 20px;
    z-index: 999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
  }

  .nav-cta.mobile-open .btn-quote,
  .nav-cta.mobile-open .btn-call {
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
  }

  .hero {
    padding: 40px 0 36px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-info-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-call-banner {
    font-size: 14px;
    padding: 10px 16px;
    flex-wrap: wrap;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 16px;
  }

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

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

  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

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

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

  .cost-factors-grid {
    grid-template-columns: 1fr;
  }

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

  .blog-card.featured {
    grid-column: span 1;
  }

  .blog-post h1 {
    font-size: 28px;
  }

  .blog-post {
    padding: 32px 20px 48px;
  }

  .blog-post-content h2 {
    font-size: 22px;
  }

  .blog-post-content h3 {
    font-size: 18px;
  }

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

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

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .bottom-cta {
    padding: 48px 20px;
  }

  .bottom-cta h2 {
    font-size: 26px;
  }

  .bottom-cta p {
    font-size: 16px;
  }

  /* Pricing table horizontal scroll on mobile */
  .pricing-table {
    min-width: 500px;
  }

  .page-form {
    padding: 24px 20px;
    margin: 0 10px;
  }
}

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

  .hero h1 {
    font-size: 24px;
  }

  .section {
    padding: 36px 0;
  }

  .hero-form {
    padding: 20px 16px;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .brand-pill {
    padding: 12px 16px;
    font-size: 14px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .area-pill {
    padding: 10px 12px;
    font-size: 13px;
  }

  .blog-post h1 {
    font-size: 24px;
  }

  .faq-question {
    font-size: 16px;
  }

  .service-card-img,
  .type-card-img {
    height: 160px;
  }

  .company-card {
    padding: 20px 16px;
  }

  .nearby-pill {
    padding: 8px 18px;
    font-size: 14px;
  }
}
