/* ============================================
   DPE Treatment Center - dpesupport.xyz
   Style: Clinical Trust (#3)
   Architecture: Sticky Header Minimal (#7)
   Generated: 2026-02-18
   ============================================ */

/* --- Google Fonts loaded via HTML <link> --- */
/* Roboto 400,500,700 | Open Sans 400,600 */

/* ========================
   CSS RESET & BASE
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #212529;
  background: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1E5AA8; text-decoration: none; transition: color .2s; }
a:hover { color: #4A90D9; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ========================
   TYPOGRAPHY
   ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #1A1F36;
}
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: .75rem; }
h3 { font-size: 1.5rem; margin-bottom: .5rem; }
h4 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

/* ========================
   LAYOUT UTILITIES
   ======================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
.section--alt {
  background: #F8F9FA;
}
.section--blue {
  background: #1E5AA8;
  color: #fff;
}
.section--blue h2,
.section--blue h3,
.section--blue h4 { color: #fff; }
.section--blue a { color: #85C1E9; }
.text-center { text-align: center; }
.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ========================
   SKIP NAV (Accessibility)
   ======================== */
.skip-nav {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #1E5AA8;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-size: .9rem;
}
.skip-nav:focus { left: 0; }

/* ========================
   STICKY HEADER
   ======================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-logo {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E5AA8;
  letter-spacing: -.5px;
}
.header-logo span { color: #28A745; }

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: #212529;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: #1E5AA8;
  border-bottom-color: #1E5AA8;
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1E5AA8;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  transition: background .2s;
}
.header-cta:hover { background: #174a8a; color: #fff; }
.header-cta svg { width: 16px; height: 16px; fill: currentColor; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: #212529;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Slide-out menu (secondary pages) */
.slide-menu {
  position: fixed;
  top: 72px;
  right: -320px;
  width: 300px;
  height: calc(100vh - 72px);
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,.1);
  z-index: 999;
  transition: right .3s ease;
  padding: 30px;
}
.slide-menu.open { right: 0; }
.slide-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #212529;
  border-bottom: 1px solid #e2e8f0;
}
.slide-menu a:hover { color: #1E5AA8; }
.slide-menu-phone {
  margin-top: 24px;
  text-align: center;
}
.slide-menu-phone a {
  display: inline-block;
  background: #28A745;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  border-bottom: none;
}
.slide-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(0,0,0,.3);
  z-index: 998;
}
.slide-menu-overlay.open { display: block; }

/* ========================
   HERO SECTION
   ======================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  margin-top: 72px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,90,168,.85) 0%, rgba(74,144,217,.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: #fff;
  padding: 60px 0;
}
.hero-content h1 {
  font-size: 2.75rem;
  color: #fff;
  margin-bottom: .75rem;
}
.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  opacity: .95;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Inner page hero (shorter) */
.hero--inner {
  min-height: 340px;
}
.hero--inner .hero-content h1 { font-size: 2.25rem; }

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: background .2s, transform .1s;
  text-align: center;
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: #28A745;
  color: #fff;
}
.btn--primary:hover { background: #218838; color: #fff; }
.btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn--secondary:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn--outline {
  background: transparent;
  color: #1E5AA8;
  border: 2px solid #1E5AA8;
}
.btn--outline:hover { background: #1E5AA8; color: #fff; }
.btn--blue {
  background: #1E5AA8;
  color: #fff;
}
.btn--blue:hover { background: #174a8a; color: #fff; }
.btn--white {
  background: #fff;
  color: #1E5AA8;
}
.btn--white:hover { background: #f0f4ff; color: #1E5AA8; }
.btn--sm {
  padding: 10px 20px;
  font-size: .9rem;
}
.btn--block { width: 100%; justify-content: center; }

/* ========================
   TRUST BAR
   ======================== */
.trust-bar {
  background: #F8F9FA;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 500;
  color: #1A1F36;
}
.trust-bar-item svg {
  width: 22px;
  height: 22px;
  fill: #28A745;
  flex-shrink: 0;
}

/* ========================
   CARDS
   ======================== */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body {
  padding: 24px;
}
.card-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card-body p { font-size: .95rem; color: #555; margin-bottom: 1rem; }
.card-icon {
  width: 48px;
  height: 48px;
  background: #EBF2FC;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; fill: #1E5AA8; }

/* ========================
   SECTION HEADER
   ======================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-header p {
  font-size: 1.05rem;
  color: #555;
}
.section-tag {
  display: inline-block;
  background: #EBF2FC;
  color: #1E5AA8;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* ========================
   WHY CHOOSE US / FEATURES
   ======================== */
.feature-item {
  text-align: center;
  padding: 30px 20px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: #EBF2FC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.feature-icon svg { width: 28px; height: 28px; fill: #1E5AA8; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-item p { font-size: .9rem; color: #555; }

/* ========================
   STATS BAR
   ======================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  padding: 50px 0;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: #1E5AA8;
  margin-bottom: 4px;
}
.stat-item p {
  font-size: .9rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ========================
   TESTIMONIALS
   ======================== */
.testimonial-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: #1E5AA8;
  opacity: .2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-top: 20px;
}
.testimonial-author {
  font-weight: 600;
  color: #1A1F36;
  font-style: normal;
}
.testimonial-program {
  font-size: .85rem;
  color: #1E5AA8;
}

/* ========================
   CTA BANNER
   ======================== */
.cta-banner {
  background: #1E5AA8;
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; font-size: 2rem; margin-bottom: .75rem; }
.cta-banner p { font-size: 1.1rem; opacity: .9; margin-bottom: 1.5rem; }
.cta-banner .btn--primary { font-size: 1.1rem; padding: 16px 36px; }
.cta-phone {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-top: 16px;
}
.cta-phone:hover { color: #85C1E9; }

/* ========================
   ACCORDION (FAQ)
   ======================== */
.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #1A1F36;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.accordion-trigger:hover { background: #F8F9FA; }
.accordion-trigger .icon {
  width: 20px;
  height: 20px;
  transition: transform .3s;
  flex-shrink: 0;
}
.accordion-trigger.active .icon { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.accordion-content-inner {
  padding: 0 24px 20px;
  color: #555;
  line-height: 1.8;
}

/* ========================
   TABS
   ======================== */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 24px;
  font-weight: 500;
  font-size: .95rem;
  color: #555;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.tab-btn:hover { color: #1E5AA8; }
.tab-btn.active {
  color: #1E5AA8;
  border-bottom-color: #1E5AA8;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ========================
   TIMELINE / STEPS
   ======================== */
.steps { counter-reset: step; }
.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}
.step-number {
  counter-increment: step;
  width: 48px;
  height: 48px;
  background: #1E5AA8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.step-content p { color: #555; }

/* ========================
   GALLERY GRID
   ======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform .2s;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ========================
   INSURANCE GRID
   ======================== */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.insurance-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: #1A1F36;
  font-size: .95rem;
}

/* ========================
   SCHEDULE TABLE
   ======================== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.schedule-table th,
.schedule-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.schedule-table th {
  background: #1E5AA8;
  color: #fff;
  font-weight: 500;
}
.schedule-table tr:nth-child(even) { background: #F8F9FA; }

/* ========================
   CONTACT FORM
   ======================== */
.contact-info-card {
  background: #F8F9FA;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 24px;
}
.contact-info-card h3 { margin-bottom: 16px; }
.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.contact-detail svg { width: 20px; height: 20px; fill: #1E5AA8; flex-shrink: 0; margin-top: 3px; }
.contact-detail span { color: #555; }
.contact-detail a { font-weight: 600; }
.map-container {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ========================
   BLOG CARDS
   ======================== */
.blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-category {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1E5AA8;
  background: #EBF2FC;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card-body h3 a { color: #1A1F36; }
.blog-card-body h3 a:hover { color: #1E5AA8; }
.blog-card-body p { font-size: .9rem; color: #555; }
.blog-card-date { font-size: .8rem; color: #999; margin-top: 10px; }

/* ========================
   BREADCRUMBS
   ======================== */
.breadcrumbs {
  padding: 14px 0;
  font-size: .85rem;
}
.breadcrumbs a { color: #4A90D9; }
.breadcrumbs span { color: #999; margin: 0 6px; }

/* ========================
   TWO-COLUMN LAYOUT
   ======================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.content-img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

/* ========================
   TEAM GRID
   ======================== */
.team-card {
  text-align: center;
  padding: 24px;
}
.team-card-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  background: #EBF2FC;
}
.team-card h4 { margin-bottom: 4px; }
.team-card .role { color: #1E5AA8; font-size: .9rem; font-weight: 500; margin-bottom: 4px; }
.team-card .credentials { color: #777; font-size: .85rem; }

/* ========================
   PRIVACY / LEGAL
   ======================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: .75rem; }
.legal-content h3 { font-size: 1.2rem; margin-top: 30px; }
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1rem;
}
.legal-content li { margin-bottom: .5rem; color: #555; }

/* ========================
   FOOTER
   ======================== */
.site-footer {
  background: #1A1F36;
  color: #b0b8c8;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about .footer-logo {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-about .footer-logo span { color: #28A745; }
.footer-about p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .85rem;
}
.footer-col a {
  display: block;
  color: #b0b8c8;
  padding: 5px 0;
  font-size: .9rem;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .9rem;
  align-items: flex-start;
}
.footer-contact-item svg { width: 18px; height: 18px; fill: #4A90D9; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid #2d3452;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #b0b8c8; }
.footer-bottom a:hover { color: #fff; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 50px 0; }

  /* Header */
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 450px; }
  .hero-content h1 { font-size: 2rem; }
  .hero--inner { min-height: 280px; }

  /* Grids */
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .two-col--reverse { direction: ltr; }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Insurance */
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Trust bar */
  .trust-bar-inner { gap: 20px; }

  /* Tabs */
  .tabs-nav { overflow-x: auto; flex-wrap: nowrap; }
  .tab-btn { white-space: nowrap; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .insurance-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; align-items: center; gap: 12px; }
}

/* ========================
   ANIMATIONS
   ======================== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
