/* Industry page styles — extends theme.css */

/* Hero */
.industry-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 79, 92, 0.88) 0%, rgba(26, 26, 26, 0.6) 100%);
}

/* Fallback when heroImage is not set — show brand gradient instead */
.industry-hero.no-hero-image {
  background: linear-gradient(135deg, #0D4F5C 0%, #1A3A42 50%, #0A2D36 100%);
}

.industry-hero.no-hero-image .hero-image-wrap {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 24px;
}

.industry-hero .hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.industry-hero .hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.industry-hero .hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-primary:hover { background: var(--orange-light); }

.cta-light {
  background: var(--white);
  color: var(--ink);
}

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

.cta-secondary {
  display: inline-block;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.2s, color 0.2s;
}

.cta-secondary:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Stats */
.industry-stats {
  background: var(--teal);
  padding: 40px 0;
}

.stats-row {
  display: flex;
  gap: 64px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item .stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
}

.stat-item .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* Services */
.industry-services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  padding: 40px 36px;
  background: var(--sand);
  border-radius: 16px;
  border: 1px solid var(--sand-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-icon-wrap {
  margin-bottom: 20px;
}

.service-icon-emoji {
  font-size: 36px;
  display: block;
}

.service-title {
  font-size: 20px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.65;
}

/* Testimonials */
.industry-testimonials {
  padding: 100px 0;
  background: var(--sand);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1.5px solid var(--sand-dark);
}

.testimonial-stars {
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.author-title {
  font-size: 13px;
  color: var(--muted);
}

/* Closing */
.industry-closing {
  padding: 100px 0;
  background: var(--teal);
  text-align: center;
}

.industry-closing h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.industry-closing p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Contact override */
.industry-closing + .contact-section {
  padding-top: 0;
}

/* City landing page — service areas chip list */
.city-service-areas {
  padding: 64px 0;
  background: var(--off-white, #f9f9f7);
}

.service-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.service-area-chip {
  background: var(--white, #fff);
  border: 1.5px solid var(--teal-light, #0D4F5C33);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal, #0D4F5C);
}

/* Responsive */
@media (max-width: 768px) {
  .industry-hero { min-height: 480px; }
  .hero-content { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 40px; }
  .hero-cta { flex-direction: column; }
  .cta-primary, .cta-secondary { width: 100%; text-align: center; }
}

/* FAQ */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
}

.faq-item {
  background: var(--sand);
  border: 1.5px solid var(--sand-dark);
  border-radius: 14px;
  padding: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--teal, #0D4F5C);
  box-shadow: 0 4px 20px rgba(13, 79, 92, 0.06);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  position: relative;
  outline: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  color: var(--orange);
  transition: color 0.2s, transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
  color: var(--teal, #0D4F5C);
}

.faq-question:hover::after {
  color: var(--orange-light);
}

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

.faq-answer {
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-light);
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section { padding: 80px 0; }
  .faq-question { font-size: 17px; padding: 18px 48px 18px 20px; }
  .faq-answer { padding: 0 20px 20px 20px; }
  .faq-question::after { right: 20px; }
}