/* =====================================================================
   Dental Destination — Home, About Us and Treatments hub
   Loaded after services.css on:
     index.php                ($page_css = ['services.css', 'pages.css'])
     about-us.php
     treatments/index.php
   services.css supplies the shared pieces (service hero, FAQ accordion,
   tables, sidebar, closing CTA); this file adds the page-specific layouts.
   Colours and fonts come from the variables in style.css.
   ===================================================================== */

/* ---------- shared bits ---------- */
.pg-section {
  padding: 6.5rem 0;
  position: relative;
}

.pg-section.tight {
  padding: 5rem 0;
}

.bg-ivory { background: var(--ivory); }
.bg-white { background: #fff; }
.bg-mint { background: var(--mint); }
.bg-stone { background: var(--stone); }

.pg-head {
  max-width: 760px;
  margin-bottom: 3.25rem;
}

.pg-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pg-head.center .section-eyebrow::after {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
}

.pg-head p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.85;
  margin: 1.1rem 0 0;
}

.pg-prose {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #3a4640;
}

.pg-prose p {
  margin-bottom: 1.15rem;
}

.pg-prose p:last-child {
  margin-bottom: 0;
}

.serif-lead {
  font-family: var(--font-display);
  font-size: 1.31rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--emerald);
}

.text-gold { color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  transition: var(--transition);
}

.link-arrow:hover {
  color: var(--gold-dark);
  gap: 0.9rem;
}

.link-arrow i { font-size: 0.9rem; }

/* heading on the left, button on the right */
.head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
  margin-bottom: 3.25rem;
}

.head-row .pg-head { margin-bottom: 0; }

/* monogram portrait (used until real doctor photos are added) */
.monogram {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(214, 174, 69, 0.18), transparent 70%),
    linear-gradient(160deg, var(--emerald-soft), var(--emerald-deep));
  display: flex;
  align-items: center;
  justify-content: center;
}

.monogram span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 4.26rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  line-height: 1;
}

.monogram::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(214, 174, 69, 0.4);
  border-radius: 999px 999px 8px 8px;
}

.monogram img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================================
   HOME — HERO
   ===================================================================== */
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 70% at 78% 40%, rgba(27, 90, 71, 0.95), transparent 70%),
    radial-gradient(ellipse 35% 55% at 5% 100%, rgba(214, 174, 69, 0.09), transparent 70%),
    var(--emerald-deep);
  color: var(--ivory);
  padding: 5rem 0 0;
}

/* fine engraved grid lines for depth */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 247, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 247, 242, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4.5rem;
  align-items: center;
  padding-bottom: 5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 1rem 0.5rem 0.55rem;
  border: 1px solid rgba(214, 174, 69, 0.35);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
  background: rgba(10, 42, 33, 0.35);
}

.hero-kicker .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--emerald-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.home-hero h1 {
  font-size: 3.53rem;
  line-height: 1.02;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 1.4rem;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.home-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.hero-sub {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.19rem;
  line-height: 1.4;
  color: var(--gold-light);
  margin-bottom: 1.3rem;
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(248, 247, 242, 0.74);
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* photo side */
.hero-visual {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin-left: auto;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(-20px, 20px);
  border: 1px solid rgba(214, 174, 69, 0.6);
  border-radius: 999px 999px 16px 16px;
}

.hero-visual .hero-arch {
  aspect-ratio: 5 / 6;
}

/* rotating seal */
.hero-seal {
  position: absolute;
  top: -26px;
  right: -26px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--emerald-deep);
  border: 1px solid rgba(214, 174, 69, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-seal svg {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  animation: sealSpin 28s linear infinite;
}

.hero-seal text {
  font-family: var(--font-body);
  font-size: 9.6px;
  font-weight: 700;
  letter-spacing: 3.1px;
  fill: var(--gold-light);
  text-transform: uppercase;
}

.hero-seal img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes sealSpin {
  to { transform: rotate(360deg); }
}

/* glass info card over the photo */
.hero-float {
  position: absolute;
  left: -54px;
  bottom: 44px;
  z-index: 2;
  background: rgba(248, 247, 242, 0.96);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  padding: 1.05rem 1.3rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.95rem;
  max-width: 270px;
}

.hero-float .num {
  font-family: var(--font-display);
  font-size: 2.13rem;
  font-weight: 600;
  line-height: 1;
  color: var(--emerald);
}

.hero-float .lbl {
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.hero-float .lbl strong {
  display: block;
  color: var(--emerald);
  font-size: 0.8rem;
}

/* facts strip along the bottom of the hero */
.hero-facts {
  position: relative;
  border-top: 1px solid rgba(248, 247, 242, 0.12);
  background: rgba(10, 42, 33, 0.55);
}

.hero-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.5rem 1.4rem;
  border-left: 1px solid rgba(248, 247, 242, 0.1);
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(248, 247, 242, 0.72);
}

.hero-facts li:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-facts i {
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-facts strong {
  display: block;
  color: var(--ivory);
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- treatment marquee ---------- */
.dd-marquee {
  background: var(--ink);
  border-bottom: 1px solid rgba(214, 174, 69, 0.25);
  overflow: hidden;
  padding: 1.05rem 0;
}

.dd-marquee-track {
  display: flex;
  width: max-content;
  animation: ddMarquee 48s linear infinite;
}

.dd-marquee:hover .dd-marquee-track {
  animation-play-state: paused;
}

.dd-marquee-track span {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.15rem;
  color: rgba(248, 247, 242, 0.8);
  white-space: nowrap;
  padding: 0 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
}

.dd-marquee-track span::after {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-left: 1.6rem;
}

@keyframes ddMarquee {
  to { transform: translateX(-50%); }
}

/* =====================================================================
   HOME — "problem you have today"
   ===================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 5rem;
  align-items: start;
}

.problem-grid .section-heading {
  font-size: 3.2rem;
}

.problem-quote {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.39rem;
  line-height: 1.4;
  color: var(--emerald);
  border-left: 2px solid var(--gold);
  padding-left: 1.4rem;
  margin: 2rem 0 0;
}

.concern-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.concern-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.note-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--emerald);
  color: rgba(248, 247, 242, 0.86);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.7rem;
  margin-top: 2rem;
  font-size: 0.96rem;
  line-height: 1.75;
}

.note-card i {
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 2px;
}

.note-card p { margin: 0; }

/* =====================================================================
   DOCTORS (home + about)
   ===================================================================== */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.doctor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  transition: box-shadow var(--transition), transform var(--transition);
}

.doctor-card:hover {
  box-shadow: 0 30px 60px rgba(15, 61, 48, 0.1);
  transform: translateY(-4px);
}

.doctor-card h3 {
  font-size: 1.72rem;
  line-height: 1.05;
  margin-bottom: 0.6rem;
}

.doctor-creds {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.doctor-card .pg-prose {
  font-size: 0.95rem;
  line-height: 1.8;
}

.doctor-card .pg-prose p {
  margin-bottom: 0.85rem;
}

.doctor-card .link-arrow {
  margin-top: 1.1rem;
}

/* About page: full profiles */
.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: 4rem;
  align-items: start;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.profile:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.profile-aside {
  position: sticky;
  top: 120px;
}

.profile-aside .monogram {
  max-width: 320px;
}

.profile-meta {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  max-width: 320px;
}

.profile-meta li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.86rem;
  line-height: 1.55;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-dark);
}

.profile-meta i {
  color: var(--gold-dark);
  font-size: 1rem;
}

.profile h3 {
  font-size: 2.38rem;
  line-height: 1.02;
  margin-bottom: 0.7rem;
}

.focus-box {
  margin-top: 1.8rem;
  background: var(--mint);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.7rem;
}

.focus-box .label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.focus-tags li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
}

/* =====================================================================
   HOME — numbered treatment grid
   ===================================================================== */
.tx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tx-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 2.2rem 2.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--text-dark);
  overflow: hidden;
  transition: background var(--transition), color var(--transition);
}

.tx-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: width 0.5s ease;
}

.tx-item:hover {
  background: var(--emerald);
  color: rgba(248, 247, 242, 0.8);
}

.tx-item:hover::before { width: 100%; }

.tx-num {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-style: normal;
  color: var(--gold-dark);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tx-num::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.tx-item h3 {
  margin-top: 0;
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  transition: color var(--transition);
}

.tx-item p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  transition: color var(--transition);
}

.tx-item .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.tx-item:hover h3 { color: var(--ivory); }
.tx-item:hover p { color: rgba(248, 247, 242, 0.72); }
.tx-item:hover .tx-num { color: var(--gold); }
.tx-item:hover .link-arrow { color: var(--gold-light); }

/* =====================================================================
   HOME — first visit steps (dark band)
   ===================================================================== */
.steps-band {
  background:
    radial-gradient(ellipse 50% 90% at 0% 0%, rgba(214, 174, 69, 0.1), transparent 60%),
    var(--emerald);
  color: rgba(248, 247, 242, 0.76);
}

.steps-band .section-heading { color: var(--ivory); }
.steps-band .section-eyebrow { color: var(--gold); }
.steps-band .pg-head p { color: rgba(248, 247, 242, 0.72); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 76px;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 174, 69, 0.7), rgba(214, 174, 69, 0.1));
}

.step {
  position: relative;
}

.step-num {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.72rem;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
  position: relative;
}

.step h3 {
  color: var(--ivory);
  font-size: 1.56rem;
  margin-bottom: 0.8rem;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

/* =====================================================================
   HOME — life stages
   ===================================================================== */
.stages {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.stages::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(214, 174, 69, 0.15));
}

.stages li {
  position: relative;
  padding: 0 0 1.9rem 4.3rem;
}

.stages li:last-child { padding-bottom: 0; }

.stages .ico {
  position: absolute;
  left: 0;
  top: 0;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gold);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stages h3 {
  font-size: 1.27rem;
  margin: 0.2rem 0 0.25rem;
}

.stages p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================================================================
   HOME — modern dentistry statement
   ===================================================================== */
.statement {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.statement .section-heading {
  margin-bottom: 1.6rem;
}

.statement .serif-lead {
  font-size: 1.75rem;
}

.statement strong {
  color: var(--gold-dark);
  font-weight: 600;
}

/* =====================================================================
   GOOGLE REVIEWS
   ===================================================================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.review-card {
  margin: 0;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(15, 61, 48, 0.1);
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 4.92rem;
  line-height: 1;
  color: rgba(214, 174, 69, 0.35);
}

.review-card blockquote {
  margin: 0 0 1.6rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3a4640;
}

.review-card blockquote p { margin-bottom: 0.7rem; }
.review-card blockquote p:last-child { margin-bottom: 0; }

.review-card mark {
  background: linear-gradient(transparent 60%, rgba(214, 174, 69, 0.35) 60%);
  color: inherit;
  padding: 0;
}

.review-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.07rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.review-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--emerald);
  text-decoration: none;
}

.review-name:hover { color: var(--gold-dark); }

.review-src {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.review-src a {
  color: var(--text-muted);
}

.review-src a:hover { color: var(--gold-dark); }

/* =====================================================================
   INSTAGRAM PATIENT STORIES (instagram-testimonials.php)
   ===================================================================== */
.ig-stories {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 40% 60% at 90% 10%, rgba(27, 90, 71, 0.75), transparent 70%),
    radial-gradient(ellipse 35% 50% at 0% 100%, rgba(214, 174, 69, 0.1), transparent 70%),
    var(--ink);
  color: rgba(248, 247, 242, 0.74);
}

.ig-stories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ig-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.ig-top .section-eyebrow { color: var(--gold); }

.ig-top .section-heading {
  color: var(--ivory);
  margin-bottom: 0.9rem;
}

.ig-top p {
  margin: 0;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.8;
}

.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.ig-handle:hover { color: var(--gold); }

.ig-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ig-count {
  font-family: var(--font-display);
  font-size: 1.07rem;
  color: var(--ivory);
  margin-right: 0.75rem;
  min-width: 4.5ch;
  text-align: right;
}

.ig-count span { color: var(--gold); }

.ig-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(248, 247, 242, 0.28);
  background: transparent;
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.ig-btn svg {
  width: 20px;
  height: 20px;
}

.ig-btn:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--emerald-deep);
}

.ig-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.ig-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ig-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1.75rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ig-track::-webkit-scrollbar { display: none; }

.ig-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  padding: 7px;
  background: linear-gradient(160deg, rgba(214, 174, 69, 0.55), rgba(214, 174, 69, 0.08) 40%, rgba(214, 174, 69, 0.4));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.ig-frame {
  position: relative;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.ig-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

/* placeholder shown until the embed loads (and if it can't) */
.ig-ph {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(214, 174, 69, 0.18), transparent 70%),
    linear-gradient(170deg, var(--emerald-soft), var(--emerald-deep));
  color: rgba(248, 247, 242, 0.8);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: opacity 0.5s ease;
}

.ig-ph i {
  font-size: 2.2rem;
  color: var(--gold-light);
}

.ig-ph strong {
  font-family: var(--font-display);
  font-size: 1.31rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0;
}

.ig-ph .ig-open {
  margin-top: 0.4rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

.ig-card.is-loaded .ig-ph {
  opacity: 0;
  pointer-events: none;
}

.ig-progress {
  height: 2px;
  background: rgba(248, 247, 242, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.ig-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.35s ease, margin-left 0.35s ease;
}

.ig-bottom {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

/* =====================================================================
   LOCATION
   ===================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 30px 70px rgba(15, 61, 48, 0.08);
}

.location-info {
  padding: 3.25rem;
}

.location-map {
  min-height: 460px;
  position: relative;
  background: var(--mint);
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.02);
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
}

.area-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--emerald);
}

.area-chips li.primary {
  background: var(--emerald);
  color: var(--gold-light);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  line-height: 1.6;
}

.contact-list li:last-child { border-bottom: 1px solid var(--line); }

.contact-list i {
  color: var(--gold-dark);
  font-size: 1.1rem;
  margin-top: 2px;
}

.contact-list .k {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-list a {
  color: var(--emerald);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover { color: var(--gold-dark); }

/* =====================================================================
   FAQ layout (heading left, accordion right)
   ===================================================================== */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4.5rem;
  align-items: start;
}

.faq-split .pg-head {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

/* =====================================================================
   CLOSING VISIT BLOCK
   ===================================================================== */
.visit-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 30px 70px rgba(15, 61, 48, 0.08);
}

.visit-card h2 {
  font-size: 2.3rem;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.visit-card .hours-box {
  background: var(--emerald);
  color: rgba(248, 247, 242, 0.8);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.hours-box .k {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.hours-box .v {
  font-family: var(--font-display);
  font-size: 1.19rem;
  line-height: 1.3;
  color: var(--ivory);
  margin-bottom: 1.2rem;
}

.hours-box .v:last-of-type { margin-bottom: 1.6rem; }

.hours-box .v a {
  color: inherit;
  text-decoration: none;
}

.hours-box .v a:hover { color: var(--gold-light); }

.hours-box .btn-gold { width: 100%; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4.5rem;
  align-items: start;
}

.since-block {
  position: relative;
  background: var(--emerald);
  color: rgba(248, 247, 242, 0.8);
  border-radius: var(--radius-lg);
  padding: 3rem;
  overflow: hidden;
}

.since-block::after {
  content: '2016';
  position: absolute;
  right: -0.5rem;
  bottom: -2.4rem;
  font-family: var(--font-display);
  font-size: 7.38rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(214, 174, 69, 0.1);
  pointer-events: none;
}

.since-block .section-eyebrow { color: var(--gold); }

.since-block p {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ivory);
  margin: 0 0 1.2rem;
}

.since-block p:last-child {
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4.5rem;
  align-items: start;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 2.13rem;
  line-height: 1.15;
  font-weight: 500;
  color: var(--emerald);
  margin: 0;
  position: relative;
  padding-top: 3.5rem;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -1.2rem;
  left: -0.3rem;
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
}

.care-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.care-list li {
  border-bottom: 1px solid var(--line);
}

.care-list li:nth-child(odd) { border-right: 1px solid var(--line); }

.care-list a,
.care-list span {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--emerald);
  text-decoration: none;
  transition: var(--transition);
}

.care-list .n {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  min-width: 1.6rem;
}

.care-list a:hover {
  background: var(--mint);
  color: var(--gold-dark);
  padding-left: 1.6rem;
}

.care-list a::after {
  content: '\2192';
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gold-dark);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}

.care-list a:hover::after {
  opacity: 1;
  transform: none;
}

.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.myth {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.4rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-dark);
  display: flex;
  gap: 0.8rem;
}

.myth i {
  color: var(--gold-dark);
  font-size: 1.05rem;
  margin-top: 1px;
}

.comfort-card {
  background: var(--emerald);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  color: rgba(248, 247, 242, 0.82);
}

.comfort-card h3 {
  color: var(--ivory);
  font-size: 1.72rem;
  margin-bottom: 1.2rem;
}

.comfort-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comfort-card li {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(248, 247, 242, 0.12);
  font-size: 0.95rem;
  line-height: 1.6;
}

.comfort-card li i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* =====================================================================
   TREATMENTS HUB — cards
   ===================================================================== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.75rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

a.hub-card:hover {
  color: var(--text-dark);
  transform: translateY(-6px);
  border-color: rgba(214, 174, 69, 0.6);
  box-shadow: 0 30px 60px rgba(15, 61, 48, 0.12);
}

.hub-thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--mint);
  position: relative;
}

.hub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(.2, .7, .2, 1);
}

a.hub-card:hover .hub-thumb img { transform: scale(1.06); }

/* branded placeholder for treatments without a photo yet */
.hub-thumb.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, rgba(27, 90, 71, 0.9), transparent 75%),
    var(--emerald-deep);
}

.hub-thumb.ph svg {
  width: 64px;
  height: 64px;
  color: var(--gold);
}

.hub-body {
  padding: 1.6rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-body h3 {
  font-size: 1.39rem;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.hub-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}

.hub-body .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.hub-body .soon {
  margin-top: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hub-body .soon a {
  color: var(--emerald);
}

/* cost table: category column */
.dd-table .cat {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--ivory);
  width: 24%;
  vertical-align: middle;
  border-right: 1px solid var(--line);
}

.dd-table td.price {
  white-space: nowrap;
  font-weight: 700;
  color: var(--emerald);
}

.dd-table.cost tbody tr:hover td.cat { background: var(--ivory); }

/* team mini cards inside hub content */
.team-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.8rem 0;
}

.team-mini > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--ivory);
}

.team-mini h3 {
  font-size: 1.31rem !important;
  margin: 0 0 0.3rem !important;
}

.team-mini p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 0.6rem !important;
}

.team-mini p:last-child {
  margin-bottom: 0 !important;
}

.team-mini .doctor-creds {
  margin-bottom: 0.7rem;
}

/* treatment order examples */
.sequence {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
  counter-reset: seq;
}

.sequence li {
  counter-increment: seq;
  position: relative;
  padding: 1.1rem 0 1.1rem 3.6rem;
  border-top: 1px solid var(--line);
}

.sequence li:last-child { border-bottom: 1px solid var(--line); }

.sequence li::before {
  content: counter(seq, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.05rem;
  font-family: var(--font-display);
  font-size: 1.31rem;
  font-style: normal;
  color: var(--gold-dark);
  line-height: 1.2;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1199.98px) {
  .home-hero h1 { font-size: 2.95rem; }
  .home-hero-grid { gap: 3rem; }
  .hero-float { left: -24px; }
  .doctor-card { grid-template-columns: 130px minmax(0, 1fr); gap: 1.5rem; padding: 1.9rem; }
  .monogram span { font-size: 4rem; }
}

@media (max-width: 991.98px) {
  .pg-section { padding: 5rem 0; }

  .home-hero-grid,
  .problem-grid,
  .about-intro,
  .approach-grid,
  .faq-split,
  .visit-card,
  .profile {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    margin: 0 auto;
    max-width: 380px;
  }

  .hero-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-facts li { border-top: 1px solid rgba(248, 247, 242, 0.08); }

  .doctor-grid { grid-template-columns: 1fr; }
  .tx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }

  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .steps::before { display: none; }
  .step { padding-left: 6.25rem; }
  .step-num { position: absolute; left: 0; top: 0; }

  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 340px; }

  .faq-split .pg-head,
  .profile-aside { position: static; }

  .profile { gap: 2rem; }
}

@media (max-width: 767.98px) {
  .pg-section,
  .ig-stories { padding: 4.25rem 0; }

  .home-hero { padding-top: 3rem; }
  .home-hero h1 { font-size: 2.25rem; }
  .hero-sub { font-size: 1.25rem; }
  .home-hero-grid { padding-bottom: 3.5rem; }
  .hero-actions > a { flex: 1 1 100%; }

  .hero-seal {
    width: 104px;
    height: 104px;
    top: -18px;
    right: -8px;
  }
  .hero-seal img { width: 44px; height: 44px; }
  .hero-float { left: -8px; bottom: 26px; padding: 0.85rem 1rem; }
  .hero-float .num { font-size: 2.1rem; }
  .hero-visual::before { transform: translate(-12px, 12px); }

  .hero-facts li { padding: 1.1rem 0.8rem; font-size: 0.78rem; }
  .hero-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }

  .problem-grid .section-heading { font-size: 2.4rem; }
  .problem-quote { font-size: 1.4rem; }

  .doctor-card { grid-template-columns: 1fr; }
  .doctor-card .monogram { max-width: 180px; }

  .tx-grid { grid-template-columns: 1fr; }
  .tx-item { padding: 2rem 1.5rem; }

  .step { padding-left: 0; }
  .step-num { position: static; width: 64px; height: 64px; font-size: 1.8rem; margin-bottom: 1.1rem; }

  .statement .serif-lead { font-size: 1.4rem; }

  .ig-top { align-items: flex-start; }
  .ig-card { flex-basis: 300px; }
  .ig-frame { height: 560px; }

  .location-info { padding: 2rem 1.4rem; }
  .visit-card { padding: 2rem 1.4rem; }
  .visit-card h2 { font-size: 1.8rem; }

  .since-block { padding: 2rem 1.6rem; }
  .since-block p { font-size: 1.35rem; }
  .pull-quote { font-size: 2rem; }

  .care-list { grid-template-columns: 1fr; }
  .care-list li:nth-child(odd) { border-right: 0; }
  .myth-grid,
  .team-mini { grid-template-columns: 1fr; }

  .comfort-card { padding: 2rem 1.5rem; }
  .profile h3 { font-size: 1.89rem; }
  .profile-aside .monogram { max-width: 220px; }
}

@media (max-width: 575.98px) {
  .home-hero h1 { font-size: 2.01rem; }
  .ig-count { display: none; }
  .ig-btn { width: 46px; height: 46px; }
  .dd-marquee-track span { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-seal svg,
  .dd-marquee-track { animation: none; }
  .ig-track { scroll-behavior: auto; }
}
