/* ═══════════════════════════════════════════════════════
   TRTG Website — Modern Redesign
   Fonts: Outfit (headings), Jost (body)
   Palette: Teal #0d7377 primary, #f7f9fa bg, #1a2b3c text
   ═══════════════════════════════════════════════════════ */

/* — Reset & Base — */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400; font-size: 16px; line-height: 1.65;
  color: #2d3748; background: #f7f9fa;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0d7377; text-decoration: none; transition: color 0.2s; }
a:hover { color: #095a5d; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* — Typography — */
h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; font-weight: 600; color: #1a2b3c; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1em; }
.eyebrow {
  font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #0d7377;
  margin-bottom: 0.5rem; display: block;
}

/* — Layout — */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: #fff; }
.section--dark { background: #1a2b3c; color: #e2e8f0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--teal { background: #0d7377; color: #fff; }
.section--teal h2, .section--teal .eyebrow { color: #fff; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center { text-align: center; }

/* — Top Bar — */
.topbar {
  background: #1a2b3c; color: #cbd5e0; font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: #81e6d9; }
.topbar__phone { display: flex; align-items: center; gap: 6px; }
.topbar__actions { display: flex; gap: 16px; }

/* — Header / Nav — */
.header {
  background: #fff; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; padding-bottom: 12px;
}
.header__logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; color: #2d3748;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav__link:hover { background: #edf2f7; color: #0d7377; }
.nav__link--active { color: #0d7377; }

/* Dropdown */
.nav__item { position: relative; }
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all 0.2s ease;
}
.dropdown { max-height: 70vh; overflow-y: auto; }
.dropdown a {
  display: block; padding: 8px 20px; font-size: 0.88rem; color: #4a5568;
  transition: background 0.15s;
}
.dropdown a:hover { background: #f0fdfa; color: #0d7377; }
.dropdown hr { margin: 4px 16px; border: none; border-top: 1px solid #e2e8f0; }

/* — Provider Modal — */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 1000; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff; border-radius: 16px; padding: 32px; max-width: 600px;
  width: 90%; max-height: 85vh; overflow-y: auto; position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.modal__close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 1.5rem; color: #718096; cursor: pointer; line-height: 1;
}
.modal__close:hover { color: #1a2b3c; }
.modal__name { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 600; color: #1a2b3c; margin-bottom: 2px; }
.modal__title { font-size: 0.95rem; color: #0d7377; font-weight: 500; margin-bottom: 16px; }
.modal__section { margin-bottom: 16px; }
.modal__section-label {
  font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: #718096; margin-bottom: 6px;
}
.modal__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.modal__tag {
  font-size: 0.8rem; padding: 3px 10px; border-radius: 20px;
  background: #f0fdfa; color: #0d7377; border: 1px solid #b2f5ea;
}
.modal__tag--approach { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.modal__tag--insurance { background: #f7f7f5; color: #4a5568; border-color: #e2e8f0; font-size: 0.75rem; }
.modal__tag--location { background: #fef3c7; color: #92400e; border-color: #fde68a; }

/* Provider grid cards — clickable */
.provider-card {
  background: #fff; border-radius: 10px; padding: 20px; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04); cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s; border: 1px solid #e2e8f0;
}
.provider-card:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.08); border-color: #0d7377; }
.provider-card__name { font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 600; color: #1a2b3c; }
.provider-card__creds { font-size: 0.8rem; color: #0d7377; font-weight: 500; }
.provider-card__location { font-size: 0.78rem; color: #718096; margin-top: 4px; }
.provider-card__type { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: #a0aec0; margin-top: 6px; }
.provider-card__photo {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 12px; border: 3px solid #e6fffa;
  box-shadow: 0 2px 8px rgba(13,115,119,0.12);
}
.provider-card__initials {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, #0d7377, #1a2b3c); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 600;
  border: 3px solid #e6fffa;
}

/* Mobile toggle */
.nav__toggle {
  display: none; background: none; border: none; padding: 8px;
  font-size: 1.5rem; color: #2d3748;
}

/* CTA Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 0.95rem; border: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: #0d7377; color: #fff; }
.btn--primary:hover { background: #095a5d; color: #fff; box-shadow: 0 4px 14px rgba(13,115,119,0.35); }
.btn--outline { background: transparent; border: 2px solid #0d7377; color: #0d7377; }
.btn--outline:hover { background: #0d7377; color: #fff; }
.btn--white { background: #fff; color: #0d7377; }
.btn--white:hover { background: #f0fdfa; box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* — Hero — */
.hero {
  position: relative; padding: 100px 0 80px; overflow: hidden;
  background: linear-gradient(135deg, #0d7377 0%, #1a2b3c 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: url('img/hero-banner.png') center/cover no-repeat;
  opacity: 0.12;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 20px; max-width: 640px; }
.hero p { font-size: 1.15rem; color: #c6f6d5; max-width: 540px; margin-bottom: 32px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* — Stats Bar — */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #e2e8f0; border-radius: 16px; overflow: hidden;
  margin: -48px auto 0; position: relative; z-index: 10;
  max-width: 900px; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.stat {
  background: #fff; padding: 28px 24px; text-align: center;
}
.stat__number {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700;
  color: #0d7377; display: block;
}
.stat__label { font-size: 0.85rem; color: #718096; margin-top: 4px; }

/* — Service Cards — */
.service-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.service-card__img {
  height: 200px; object-fit: cover; width: 100%;
}
.service-card__body { padding: 24px; }
.service-card__title {
  font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 600;
  color: #1a2b3c; margin-bottom: 8px;
}
.service-card__text { font-size: 0.9rem; color: #718096; margin-bottom: 16px; line-height: 1.6; }
.service-card__link {
  font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600;
  color: #0d7377; display: inline-flex; align-items: center; gap: 4px;
}
.service-card__link::after { content: '\2192'; transition: transform 0.2s; }
.service-card__link:hover::after { transform: translateX(4px); }

/* — Team Cards — */
.team-card { text-align: center; }
.team-card__photo {
  width: 180px; height: 220px; border-radius: 12px; object-fit: cover;
  margin: 0 auto 16px; border: 3px solid #e6fffa;
  box-shadow: 0 4px 15px rgba(13,115,119,0.15);
}
.team-card__name { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 600; color: #1a2b3c; }
.team-card__role { font-size: 0.85rem; color: #718096; }

/* — Insurance Logos — */
.insurance-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px; align-items: center;
}
.insurance-grid img {
  height: 48px; width: auto; max-width: 120px; object-fit: contain;
  filter: grayscale(100%); opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.insurance-grid img:hover { filter: grayscale(0); opacity: 1; }

/* — Locations — */
.location-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.location-card__img { height: 160px; object-fit: cover; width: 100%; }
.location-card__body { padding: 20px; }
.location-card__name {
  font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600;
  color: #1a2b3c; margin-bottom: 6px;
}
.location-card__address { font-size: 0.88rem; color: #718096; line-height: 1.5; }

/* — Testimonial — */
.testimonial {
  max-width: 700px; margin: 0 auto; text-align: center;
}
.testimonial__quote {
  font-size: 1.25rem; font-style: italic; color: #2d3748;
  line-height: 1.7; margin-bottom: 20px; position: relative;
}
.testimonial__quote::before { content: '\201C'; font-size: 4rem; color: #0d737730; position: absolute; top: -20px; left: -10px; font-style: normal; }
.testimonial__author { font-weight: 600; color: #0d7377; }

/* — CTA Banner — */
.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; opacity: 0.9; }
.cta-banner .btn { margin: 0 8px; }

/* — FAQ Accordion — */
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; font-family: 'Outfit', sans-serif;
  font-size: 1.05rem; font-weight: 600; color: #1a2b3c;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.5rem; color: #0d7377; transition: transform 0.2s; font-weight: 300; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 0.95rem; color: #4a5568; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* — Footer — */
.footer {
  background: #1a2b3c; color: #a0aec0; padding: 64px 0 32px;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { color: #a0aec0; font-size: 0.9rem; }
.footer a:hover { color: #81e6d9; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid #2d3748;
}
.footer__brand p { font-size: 0.9rem; line-height: 1.6; margin-top: 16px; max-width: 320px; }
.footer__links li { margin-bottom: 8px; }
.footer__social { display: flex; gap: 12px; margin-top: 12px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; background: #2d3748;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: background 0.2s;
}
.footer__social a:hover { background: #0d7377; color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.82rem;
}
.footer__bottom a { margin-left: 16px; }

/* — Responsive — */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -32px; }
  .hero { padding: 64px 0 56px; }
  .nav { display: none; }
  .nav--open {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; background: #fff;
    padding: 80px 32px 32px; z-index: 200; gap: 4px;
  }
  .nav--open .nav__link { font-size: 1.1rem; padding: 12px 0; }
  .nav--open .dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; padding-left: 16px;
  }
  .nav__toggle { display: block; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
