/* Inner pages - About, FAQ, Contact */
.inner-page main {
  min-height: 50vh;
}

.page-hero {
  position: relative;
  padding: 2.75rem 0 2.25rem;
  background: linear-gradient(135deg, #0a1f2e 0%, #0f2a3d 45%, #1a4a6b 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(26, 146, 202, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(56, 184, 232, 0.12), transparent 50%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.page-breadcrumb a {
  color: #bae6fd;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-hero-lead {
  margin: 0;
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

/* Light-theme inner heroes */
.faq-page .page-hero,
.contact-page .page-hero,
.about-page .page-hero {
  background: var(--bg-body);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.faq-page .page-hero::before,
.contact-page .page-hero::before,
.about-page .page-hero::before {
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(26, 146, 202, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(232, 93, 44, 0.05), transparent 50%);
}

[data-theme="dark"] .faq-page .page-hero,
[data-theme="dark"] .contact-page .page-hero,
[data-theme="dark"] .about-page .page-hero {
  background: linear-gradient(135deg, #0a1f2e 0%, #0f2a3d 45%, #1a4a6b 100%);
  color: #fff;
  border-bottom: none;
}

[data-theme="dark"] .faq-page .page-hero::before,
[data-theme="dark"] .contact-page .page-hero::before,
[data-theme="dark"] .about-page .page-hero::before {
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(26, 146, 202, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(56, 184, 232, 0.12), transparent 50%);
}

.faq-page .page-hero h1,
.contact-page .page-hero h1,
.about-page .page-hero h1 {
  color: var(--text-primary);
}

[data-theme="dark"] .faq-page .page-hero h1,
[data-theme="dark"] .contact-page .page-hero h1,
[data-theme="dark"] .about-page .page-hero h1 {
  color: #fff;
}

.faq-page .page-breadcrumb,
.contact-page .page-breadcrumb,
.about-page .page-breadcrumb {
  opacity: 1;
  color: var(--text-muted);
}

.faq-page .page-breadcrumb a,
.contact-page .page-breadcrumb a,
.about-page .page-breadcrumb a {
  color: #1a92ca;
}

.faq-page .page-breadcrumb a:hover,
.contact-page .page-breadcrumb a:hover,
.about-page .page-breadcrumb a:hover {
  color: var(--orange);
}

[data-theme="dark"] .faq-page .page-breadcrumb,
[data-theme="dark"] .contact-page .page-breadcrumb,
[data-theme="dark"] .about-page .page-breadcrumb {
  color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .faq-page .page-breadcrumb a,
[data-theme="dark"] .contact-page .page-breadcrumb a,
[data-theme="dark"] .about-page .page-breadcrumb a {
  color: #bae6fd;
}

[data-theme="dark"] .faq-page .page-breadcrumb a:hover,
[data-theme="dark"] .contact-page .page-breadcrumb a:hover,
[data-theme="dark"] .about-page .page-breadcrumb a:hover {
  color: #fff;
}

.faq-page .page-hero-lead,
.contact-page .page-hero-lead,
.about-page .page-hero-lead {
  color: var(--text-secondary);
}

[data-theme="dark"] .faq-page .page-hero-lead,
[data-theme="dark"] .contact-page .page-hero-lead,
[data-theme="dark"] .about-page .page-hero-lead {
  color: rgba(255, 255, 255, 0.88);
}

.page-body {
  padding: 3.5rem 0 4.5rem;
}

.page-body .container {
  max-width: 1080px;
}

/* About - story split below hero */
.about-story-split {
  padding: 2.75rem 0 3rem;
  background: var(--bg-body);
}

.about-story-split .container {
  max-width: 1080px;
}

.about-story-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-story-split-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 32px rgba(15, 42, 61, 0.08);
}

[data-theme="dark"] .about-story-split-media {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.about-story-split-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-story-split-img--dark {
  display: none;
}

[data-theme="dark"] .about-story-split-img--light {
  display: none;
}

[data-theme="dark"] .about-story-split-img--dark {
  display: block;
}

.about-story-split-content {
  padding: 0.25rem 0;
}

.about-story-split-content p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* About */
.about-story {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.about-story-block {
  padding: 1.5rem 1.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 42, 61, 0.04);
}

[data-theme="dark"] .about-story-block {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.about-story-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.about-story-block p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.why-us-section {
  margin-top: 0.5rem;
}

.why-us-head {
  background: #f3ede4;
  border: 1px solid #e8dfd2;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 1.15rem 1.5rem;
  text-align: center;
}

[data-theme="dark"] .why-us-head {
  background: rgba(243, 237, 228, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.why-us-head h2 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid #e8dfd2;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  background: var(--bg-card);
}

[data-theme="dark"] .why-us-grid {
  border-color: rgba(255, 255, 255, 0.1);
}

.why-us-card {
  padding: 1.65rem 1.5rem;
  border-right: 1px solid #ece7df;
  border-bottom: 1px solid #ece7df;
}

[data-theme="dark"] .why-us-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.why-us-card:nth-child(2n) {
  border-right: none;
}

.why-us-card:nth-last-child(-n+2) {
  border-bottom: none;
}

.why-us-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 146, 202, 0.1);
  color: #1a92ca;
  margin-bottom: 0.85rem;
}

.why-us-icon svg {
  width: 22px;
  height: 22px;
}

.why-us-card h3 {
  margin: 0 0 0.45rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}

.why-us-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-btn-primary {
  background: linear-gradient(135deg, #1a92ca, #1580b0);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 146, 202, 0.35);
}

.page-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 146, 202, 0.45);
}

.page-btn-ghost {
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
}

.page-btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* FAQ */
.faq-hero {
  padding: 2.5rem 0 2rem;
}

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

.faq-hero-left {
  padding-left: 1rem;
  border-left: 4px solid var(--orange);
}

.faq-hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a92ca;
}

.faq-hero-left h1 {
  margin-bottom: 0;
}

.faq-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.faq-hero-right .page-hero-lead {
  max-width: none;
  margin: 0;
  font-size: 1rem;
}

.faq-hero-stats {
  display: flex;
  gap: 1rem;
}

.faq-hero-stat {
  flex: 1;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(15, 42, 61, 0.04);
}

[data-theme="dark"] .faq-hero-stat {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.faq-hero-stat strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.faq-hero-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.faq-body .container {
  max-width: 1140px;
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.faq-col .faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: none;
  margin: 0;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 42, 61, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(26, 146, 202, 0.25);
  box-shadow: 0 6px 20px rgba(15, 42, 61, 0.07);
}

[data-theme="dark"] .faq-item {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

[data-theme="dark"] .faq-item:hover {
  border-color: rgba(56, 184, 232, 0.3);
}

.faq-item.is-open {
  border-color: rgba(26, 146, 202, 0.35);
  box-shadow: 0 8px 24px rgba(26, 146, 202, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: none;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 0.975rem;
  font-weight: 700;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-question-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.45;
}

.faq-num {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1a92ca;
  padding-top: 0.2rem;
}

.faq-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 146, 202, 0.1);
  color: #1a92ca;
  transition: background 0.25s ease, transform 0.25s ease;
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-toggle {
  background: #1a92ca;
  color: #fff;
}

.faq-item.is-open .faq-toggle svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.2rem 1.2rem 2.65rem;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  margin: 0 1.2rem;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 1.15rem;
}

[data-theme="dark"] .faq-answer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.faq-item.is-open .faq-answer {
  display: block;
  animation: faqReveal 0.3s ease;
}

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

.faq-contact-banner {
  margin-top: 2.75rem;
  padding: 1.75rem 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(26, 146, 202, 0.08), rgba(26, 146, 202, 0.03));
  border: 1px solid rgba(26, 146, 202, 0.18);
  text-align: center;
}

.faq-contact-banner p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

/* Contact page */
.contact-page-grid {
  display: grid;
  gap: 1.25rem;
}

.contact-page-intro {
  padding: 1.5rem 1.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin-bottom: 0.5rem;
}

.contact-page-intro p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.contact-page-offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.contact-page-tagline {
  text-align: center;
  padding: 1.35rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  font-style: italic;
}

@media (max-width: 768px) {
  .why-us-grid,
  .contact-page-offices,
  .faq-columns,
  .faq-hero-grid,
  .about-story-split-grid {
    grid-template-columns: 1fr;
  }

  .about-story-split {
    padding-bottom: 2rem;
  }

  .about-story-split-grid {
    gap: 1.5rem;
  }

  .page-hero {
    padding: 2rem 0 1.75rem;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-hero-lead {
    font-size: 0.9375rem;
  }

  .contact-form-grid,
  .about-stats-row {
    grid-template-columns: 1fr !important;
  }

  .faq-hero-left {
    padding-left: 0.85rem;
  }

  .faq-hero-stats {
    flex-direction: column;
  }

  .why-us-card {
    border-right: none !important;
  }

  .why-us-card:not(:last-child) {
    border-bottom: 1px solid #ece7df;
  }

  [data-theme="dark"] .why-us-card:not(:last-child) {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .page-body {
    padding: 2.5rem 0 3.5rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 1.5rem 0 1.25rem;
  }

  .contact-form-card,
  .about-intro-card {
    padding: 1.15rem;
  }

  .faq-item summary {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }
}
