/* =============================================================
   VIDENT — Delay Implant Page CSS
   Scope: .vident-delay-page
   File: /assets/css/delay-implant.css
   ============================================================= */

/* ---- CSS CUSTOM PROPERTIES (scoped) ---- */
.vident-delay-page {
  --vdp-gold: #C9A96E;
  --vdp-gold-light: #e8d5b0;
  --vdp-navy: #0A1628;
  --vdp-navy-mid: #1a2c4a;
  --vdp-white: #ffffff;
  --vdp-off-white: #f8f7f4;
  --vdp-light-grey: #f2f0eb;
  --vdp-mid-grey: #6b7280;
  --vdp-dark-grey: #374151;
  --vdp-text: #1f2937;
  --vdp-border: #e5e0d8;
  --vdp-radius: 12px;
  --vdp-radius-sm: 6px;
  --vdp-shadow: 0 4px 24px rgba(10, 22, 40, 0.10);
  --vdp-shadow-hover: 0 8px 40px rgba(10, 22, 40, 0.16);
  --vdp-max-width: 860px;
  --vdp-section-gap: 4rem;
  --vdp-font-body: inherit;
  --vdp-transition: 0.25s ease;
}

/* ---- RESET / BASE ---- */
.vident-delay-page *,
.vident-delay-page *::before,
.vident-delay-page *::after {
  box-sizing: border-box;
}

.vident-delay-page {
  font-family: var(--vdp-font-body);
  color: var(--vdp-text);
  line-height: 1.75;
  font-size: 1rem;
}

/* ---- BREADCRUMB ---- */
.vdp-breadcrumb {
  max-width: var(--vdp-max-width);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}

.vdp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--vdp-mid-grey);
}

.vdp-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vdp-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--vdp-border);
}

.vdp-breadcrumb a {
  color: var(--vdp-gold);
  text-decoration: none;
  transition: color var(--vdp-transition);
}

.vdp-breadcrumb a:hover,
.vdp-breadcrumb a:focus {
  color: var(--vdp-navy);
  text-decoration: underline;
}

/* ---- ARTICLE WRAPPER ---- */
.vdp-article {
  max-width: var(--vdp-max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- HEADINGS ---- */
.vdp-h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--vdp-navy);
  line-height: 1.2;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
}

.vdp-h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--vdp-navy);
  line-height: 1.3;
  margin: 0 0 1.25rem;
  padding-top: 0.25rem;
}

.vdp-h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--vdp-navy-mid);
  line-height: 1.35;
  margin: 0 0 0.85rem;
}

.vdp-h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--vdp-navy-mid);
  margin: 1.5rem 0 0.5rem;
}

/* ---- ARTICLE HEADER ---- */
.vdp-article-header {
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--vdp-gold-light);
  padding-bottom: 1.5rem;
}

/* ---- QUICK SUMMARY ---- */
.vdp-summary-box {
  background: var(--vdp-navy);
  color: var(--vdp-white);
  border-left: 4px solid var(--vdp-gold);
  border-radius: var(--vdp-radius);
  padding: 2rem 2.25rem;
  margin-bottom: var(--vdp-section-gap);
}

.vdp-summary-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vdp-gold);
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.vdp-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vdp-summary-list li {
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.97rem;
  line-height: 1.65;
}

.vdp-summary-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--vdp-gold);
  font-weight: 700;
}

.vdp-summary-list strong {
  color: var(--vdp-white);
}

/* ---- INTRO ---- */
.vdp-intro {
  margin-bottom: var(--vdp-section-gap);
}

.vdp-intro p {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
}

/* ---- FIGURES / IMAGES ---- */
.vdp-figure {
  margin: 0 0 var(--vdp-section-gap);
  border-radius: var(--vdp-radius);
  overflow: hidden;
  box-shadow: var(--vdp-shadow);
}

.vdp-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.vdp-figure figcaption {
  background: var(--vdp-light-grey);
  color: var(--vdp-mid-grey);
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

/* ---- 7 THINGS SECTION ---- */
.vdp-seven-things {
  margin-bottom: var(--vdp-section-gap);
}

.vdp-seven-things > .vdp-h2 {
  margin-bottom: 2rem;
}

.vdp-consequence-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--vdp-border);
}

.vdp-consequence-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.vdp-consequence-item p {
  margin: 0 0 0.9rem;
}

.vdp-consequence-item p:last-child {
  margin-bottom: 0;
}

/* ---- COST COMPARISON SECTION ---- */
.vdp-cost-section {
  margin-bottom: var(--vdp-section-gap);
  background: var(--vdp-off-white);
  border-radius: var(--vdp-radius);
  padding: 2.5rem 2rem;
}

.vdp-cost-section p {
  margin: 0 0 1.5rem;
}

/* ---- PATHWAY DIAGRAM ---- */
.vdp-pathway-diagram {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.vdp-pathway {
  border-radius: var(--vdp-radius-sm);
  padding: 1.25rem 1.5rem;
}

.vdp-pathway--immediate {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
}

.vdp-pathway--delayed {
  background: #fff3e0;
  border-left: 4px solid #e65100;
}

.vdp-pathway-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
  color: var(--vdp-dark-grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vdp-pathway-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.vdp-pathway-step {
  background: rgba(255,255,255,0.7);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vdp-navy);
}

.vdp-pathway-arrow {
  font-size: 1.1rem;
  color: var(--vdp-mid-grey);
  font-weight: 700;
}

/* ---- TABLES ---- */
.vdp-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: var(--vdp-radius-sm);
  box-shadow: var(--vdp-shadow);
}

.vdp-comparison-table,
.vdp-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: var(--vdp-white);
  min-width: 540px;
}

.vdp-comparison-table caption,
.vdp-price-table caption {
  font-weight: 700;
  font-size: 1rem;
  color: var(--vdp-navy);
  text-align: left;
  padding: 0.85rem 1.25rem;
  background: var(--vdp-navy);
  color: var(--vdp-gold);
  caption-side: top;
}

.vdp-comparison-table thead tr,
.vdp-price-table thead tr {
  background: var(--vdp-navy-mid);
}

.vdp-comparison-table thead th,
.vdp-price-table thead th {
  color: var(--vdp-white);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.vdp-comparison-table tbody tr,
.vdp-price-table tbody tr {
  border-bottom: 1px solid var(--vdp-border);
  transition: background var(--vdp-transition);
}

.vdp-comparison-table tbody tr:last-child,
.vdp-price-table tbody tr:last-child {
  border-bottom: none;
}

.vdp-comparison-table tbody tr:hover,
.vdp-price-table tbody tr:hover {
  background: var(--vdp-light-grey);
}

.vdp-comparison-table tbody td,
.vdp-comparison-table tbody th,
.vdp-price-table tbody td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  color: var(--vdp-dark-grey);
  vertical-align: top;
}

.vdp-comparison-table tbody th {
  font-weight: 700;
  color: var(--vdp-navy);
  background: var(--vdp-light-grey);
  white-space: nowrap;
}

.vdp-price-table tbody td:last-child {
  font-weight: 700;
  color: var(--vdp-navy);
  white-space: nowrap;
}

/* ---- REPLACEMENT OPTIONS ---- */
.vdp-options-section {
  margin-bottom: var(--vdp-section-gap);
}

.vdp-option-card {
  background: var(--vdp-white);
  border: 1px solid var(--vdp-border);
  border-radius: var(--vdp-radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--vdp-shadow);
  transition: box-shadow var(--vdp-transition);
}

.vdp-option-card:hover {
  box-shadow: var(--vdp-shadow-hover);
}

.vdp-option-card--featured {
  border-left: 4px solid var(--vdp-gold);
  background: linear-gradient(135deg, var(--vdp-white) 0%, #fdf9f3 100%);
}

.vdp-option-card p {
  margin: 0 0 0.9rem;
}

.vdp-option-card p:last-child {
  margin-bottom: 0;
}

.vdp-option-benefits {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vdp-option-benefits li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.96rem;
}

.vdp-option-benefits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--vdp-gold);
  font-weight: 700;
}

.vdp-inline-link {
  color: var(--vdp-navy);
  text-decoration: underline;
  text-decoration-color: var(--vdp-gold);
  text-underline-offset: 3px;
  transition: color var(--vdp-transition);
}

.vdp-inline-link:hover,
.vdp-inline-link:focus {
  color: var(--vdp-gold);
}

/* ---- TRUST SECTION ---- */
.vdp-trust-section {
  margin-bottom: var(--vdp-section-gap);
}

.vdp-trust-feature {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--vdp-border);
}

.vdp-trust-feature:last-of-type {
  border-bottom: none;
}

.vdp-trust-feature p {
  margin: 0 0 0.9rem;
}

.vdp-trust-feature p:last-child {
  margin-bottom: 0;
}

/* ---- BEFORE & AFTER ---- */
.vdp-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-radius: var(--vdp-radius);
  overflow: hidden;
}

.vdp-ba-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--vdp-radius-sm);
}

.vdp-ba-figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.vdp-ba-figure:hover img {
  transform: scale(1.03);
}

.vdp-ba-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.vdp-ba-label--before {
  background: var(--vdp-navy);
  color: var(--vdp-white);
}

.vdp-ba-label--after {
  background: var(--vdp-gold);
  color: var(--vdp-navy);
}

/* ---- PRICE SECTION ---- */
.vdp-price-section {
  background: var(--vdp-off-white);
  border: 1px solid var(--vdp-border);
  border-radius: var(--vdp-radius);
  padding: 2rem 2rem 2.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.vdp-price-section-title {
  color: var(--vdp-navy);
  margin-bottom: 0.75rem;
}

.vdp-price-disclaimer {
  background: #fff8ec;
  border-left: 3px solid var(--vdp-gold);
  padding: 0.9rem 1.25rem;
  border-radius: var(--vdp-radius-sm);
  font-size: 0.88rem;
  color: var(--vdp-dark-grey);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.vdp-price-included {
  background: var(--vdp-white);
  border: 1px solid var(--vdp-border);
  border-radius: var(--vdp-radius-sm);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.vdp-price-included p {
  margin: 0 0 0.9rem;
  font-size: 0.93rem;
  color: var(--vdp-dark-grey);
}

.vdp-price-included p:last-child {
  margin-bottom: 0;
}

/* ---- REVIEWS ---- */
.vdp-reviews-section {
  margin-bottom: var(--vdp-section-gap);
}

.vdp-reviews-intro {
  color: var(--vdp-mid-grey);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.vdp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.vdp-review-card {
  background: var(--vdp-white);
  border: 1px solid var(--vdp-border);
  border-radius: var(--vdp-radius);
  padding: 1.5rem;
  box-shadow: var(--vdp-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow var(--vdp-transition), transform var(--vdp-transition);
}

.vdp-review-card:hover {
  box-shadow: var(--vdp-shadow-hover);
  transform: translateY(-2px);
}

.vdp-review-stars {
  color: var(--vdp-gold);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.vdp-review-text {
  margin: 0;
  flex: 1;
}

.vdp-review-text p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--vdp-dark-grey);
  line-height: 1.65;
  font-style: italic;
}

.vdp-review-author {
  border-top: 1px solid var(--vdp-border);
  padding-top: 0.75rem;
}

.vdp-review-author cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--vdp-navy);
}

/* ---- SELF-ASSESSMENT ---- */
.vdp-selfcheck-section {
  margin-bottom: var(--vdp-section-gap);
  background: #fff8ec;
  border: 1px solid var(--vdp-gold-light);
  border-radius: var(--vdp-radius);
  padding: 2.5rem 2rem;
}

.vdp-selfcheck-section p {
  margin: 0 0 1.25rem;
}

.vdp-warning-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vdp-warning-list li {
  font-size: 0.97rem;
  line-height: 1.65;
  padding-left: 0.5rem;
}

/* ---- CTA SECTION ---- */
.vdp-cta-section {
  margin-bottom: var(--vdp-section-gap);
  background: var(--vdp-navy);
  border-radius: var(--vdp-radius);
  padding: 3rem 2.5rem;
  color: var(--vdp-white);
}

.vdp-cta-section .vdp-h2 {
  color: var(--vdp-white);
}

.vdp-cta-section .vdp-h3 {
  color: var(--vdp-gold);
}

.vdp-first-visit-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vdp-first-visit-list li {
  padding-left: 1.75rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.97rem;
  line-height: 1.65;
}

.vdp-first-visit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vdp-gold);
  font-weight: 700;
}

.vdp-first-visit-list strong {
  color: var(--vdp-white);
}

.vdp-cta-block {
  text-align: center;
  border-top: 1px solid rgba(201, 169, 110, 0.3);
  padding-top: 2rem;
}

.vdp-cta-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  margin: 0 0 1.75rem;
  line-height: 1.7;
}

.vdp-cta-button {
  display: inline-block;
  background: var(--vdp-gold);
  color: var(--vdp-navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--vdp-transition), transform var(--vdp-transition), box-shadow var(--vdp-transition);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

.vdp-cta-button:hover,
.vdp-cta-button:focus {
  background: #b8944f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.45);
  color: var(--vdp-navy);
}

.vdp-cta-button:focus-visible {
  outline: 3px solid var(--vdp-gold-light);
  outline-offset: 4px;
}

/* ---- FAQ SECTION ---- */
.vdp-faq-section {
  margin-bottom: var(--vdp-section-gap);
}

.vdp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vdp-faq-item {
  background: var(--vdp-white);
  border: 1px solid var(--vdp-border);
  border-radius: var(--vdp-radius-sm);
  overflow: hidden;
  transition: box-shadow var(--vdp-transition);
}

.vdp-faq-item[open] {
  box-shadow: var(--vdp-shadow);
}

.vdp-faq-question {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--vdp-navy);
  padding: 1.25rem 1.5rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  line-height: 1.4;
  transition: background var(--vdp-transition);
  user-select: none;
}

.vdp-faq-question::-webkit-details-marker {
  display: none;
}

.vdp-faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--vdp-gold);
  transition: transform var(--vdp-transition);
}

.vdp-faq-item[open] .vdp-faq-question {
  background: var(--vdp-light-grey);
}

.vdp-faq-item[open] .vdp-faq-question::after {
  transform: rotate(45deg);
}

.vdp-faq-question:hover {
  background: var(--vdp-light-grey);
}

.vdp-faq-answer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--vdp-border);
}

.vdp-faq-answer p {
  margin: 0 0 0.9rem;
  font-size: 0.96rem;
  color: var(--vdp-dark-grey);
  line-height: 1.75;
}

.vdp-faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .vident-delay-page {
    --vdp-section-gap: 2.75rem;
  }

  .vdp-article {
    padding: 0 1rem;
  }

  .vdp-breadcrumb {
    padding: 0 1rem;
  }

  .vdp-summary-box {
    padding: 1.5rem 1.25rem;
  }

  .vdp-cost-section {
    padding: 1.75rem 1.25rem;
  }

  .vdp-option-card {
    padding: 1.25rem 1.25rem;
  }

  .vdp-before-after {
    grid-template-columns: 1fr;
  }

  .vdp-reviews-grid {
    grid-template-columns: 1fr;
  }

  .vdp-price-section {
    padding: 1.5rem 1.25rem 2rem;
  }

  .vdp-cta-section {
    padding: 2rem 1.25rem;
  }

  .vdp-selfcheck-section {
    padding: 1.75rem 1.25rem;
  }

  .vdp-faq-question {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }

  .vdp-faq-answer {
    padding: 1rem 1.25rem 1.25rem;
  }

  .vdp-cta-button {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  .vdp-pathway-steps {
    flex-direction: column;
    align-items: flex-start;
  }

  .vdp-pathway-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 480px) {
  .vdp-h1 {
    font-size: 1.6rem;
  }

  .vdp-h2 {
    font-size: 1.25rem;
  }

  .vdp-h3 {
    font-size: 1.05rem;
  }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  .vident-delay-page *,
  .vident-delay-page *::before,
  .vident-delay-page *::after {
    transition: none !important;
    animation: none !important;
  }

  .vdp-ba-figure:hover img {
    transform: none;
  }

  .vdp-review-card:hover {
    transform: none;
  }

  .vdp-cta-button:hover {
    transform: none;
  }
}

/* ---- FOCUS VISIBILITY ---- */
.vident-delay-page a:focus-visible,
.vident-delay-page button:focus-visible,
.vident-delay-page details summary:focus-visible {
  outline: 3px solid var(--vdp-gold);
  outline-offset: 3px;
  border-radius: 3px;
}