/* ============================================================
   Fremont Dentist landing page styles
   All rules scoped under .fremont-page so they cannot collide
   with the rest of the site (.section, .container, .btn, etc).
   Brand tokens are mapped onto the frontend theme variables:
     --teal      -> --color-primary  (#17786C)
     --teal-dark -> --color-heading  (#1B504A)
     --gold      -> --color-secondary (#FDC66D)
   ============================================================ */

.fremont-page {
  /* Brand palette (mapped to frontend theme tokens) */
  --teal: var(--color-primary, #17786c);
  --teal-dark: var(--color-heading, #1b504a);
  --teal-deep: #083530;
  --teal-mid: #115a4f;
  --teal-light: #2a8c7d;
  --teal-pale: var(--color-light, #e9f2f1);
  --gold: var(--color-secondary, #fdc66d);
  --gold-light: #ffd98a;
  --gold-dark: #c9a84c;
  --white: #ffffff;
  --off-white: #f7f5f0;
  --gray-light: #e5e7eb;
  --text-body: #4a5560;
  --text-muted: #6b7785;

  --shadow-soft: 0 4px 24px rgba(8, 53, 48, 0.08);
  --shadow-teal: 0 8px 32px rgba(12, 74, 65, 0.18);
  --shadow-gold: 0 4px 20px rgba(253, 198, 109, 0.3);
  --fd-radius-md: 8px;
  --fd-radius-lg: 12px;
  --fd-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  font-family: "Work Sans", sans-serif;
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.fremont-page *,
.fremont-page *::before,
.fremont-page *::after {
  box-sizing: border-box;
}

.fremont-page img {
  max-width: 100%;
  display: block;
}
.fremont-page a {
  text-decoration: none;
  color: inherit;
}
.fremont-page h1,
.fremont-page h2,
.fremont-page h3,
.fremont-page h4 {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--teal-dark);
  letter-spacing: -0.02em;
}
.fremont-page h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.fremont-page h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}
.fremont-page p {
  margin-bottom: 1.2rem;
}
.fremont-page p:last-child {
  margin-bottom: 0;
}
.fremont-page strong {
  font-weight: 700;
  color: var(--teal-dark);
}

/* Scroll reveal */
.fremont-page .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fremont-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fremont-page .reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fremont-page .reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fremont-page .reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fremont-page .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.fremont-page .delay-1 {
  transition-delay: 0.1s;
}
.fremont-page .delay-2 {
  transition-delay: 0.2s;
}
.fremont-page .delay-3 {
  transition-delay: 0.3s;
}
.fremont-page .delay-4 {
  transition-delay: 0.4s;
}
.fremont-page .delay-5 {
  transition-delay: 0.5s;
}

/* Inline links */
.fremont-page .inline-link {
  color: var(--teal);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: color var(--fd-transition);
}
.fremont-page .inline-link:hover {
  color: var(--gold-dark);
}

/* Container */
.fremont-page .fd-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.fremont-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--fd-radius-md);
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background var(--fd-transition),
    color var(--fd-transition),
    border-color var(--fd-transition),
    transform var(--fd-transition),
    box-shadow var(--fd-transition);
  text-align: center;
  white-space: nowrap;
}
.fremont-page .btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.fremont-page .btn:hover {
  transform: translateY(-2px);
}
.fremont-page .btn:active {
  transform: translateY(0);
}
.fremont-page .btn-primary {
  background: var(--gold);
  color: var(--teal-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(253, 198, 109, 0.3);
}
.fremont-page .btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.4);
}
.fremont-page .btn-outline-light {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.fremont-page .btn-outline-light:hover {
  background: var(--gold);
  color: var(--teal-dark);
}
.fremont-page .btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.fremont-page .btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}
.fremont-page .btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}
.fremont-page .btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

/* Sections */
.fremont-page .fd-section {
  padding: 88px 0;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}
.fremont-page .sticky-img {
  position: sticky;
  top: 100px;
  align-self: start;
}
.fremont-page .section-dark {
  background: var(--teal-dark);
}
.fremont-page .section-dark h2,
.fremont-page .section-dark h3,
.fremont-page .section-dark strong {
  color: var(--white);
}
.fremont-page .section-dark p,
.fremont-page .section-dark li {
  color: rgba(255, 255, 255, 0.82);
}
.fremont-page .section-dark .section-label {
  color: var(--gold-light);
  background: rgba(253, 198, 109, 0.14);
  border-color: rgba(253, 198, 109, 0.35);
}
.fremont-page .section-light {
  background: var(--white);
}
.fremont-page .section-alt {
  background: var(--off-white);
}

.fremont-page .section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(23, 116, 102, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(23, 116, 102, 0.25);
}

.fremont-page .section-header {
  margin-bottom: 52px;
}
.fremont-page .section-header h2 {
  margin-bottom: 16px;
}
.fremont-page .section-header p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 680px;
}

/* Gold divider */
.fremont-page .gold-bar {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  margin: 16px 0 24px;
}

/* CTA group */
.fremont-page .cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Two column */
.fremont-page .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.fremont-page .two-col.reverse {
  direction: rtl;
}
.fremont-page .two-col.reverse > * {
  direction: ltr;
}

/* HERO */
.fremont-page #hero {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--teal-deep);
  overflow: hidden;
}
.fremont-page .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1606811841689-23dfddce3e95?w=1600&q=80");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.15;
}
.fremont-page .hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 53, 48, 0.97) 0%,
    rgba(12, 74, 65, 0.88) 50%,
    rgba(8, 53, 48, 0.75) 100%
  );
}
.fremont-page .hero-shape-1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(253, 198, 109, 0.14);
  pointer-events: none;
}
.fremont-page .hero-shape-2 {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(253, 198, 109, 0.1);
  pointer-events: none;
}
.fremont-page .hero-shape-3 {
  position: absolute;
  bottom: 40px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(23, 116, 102, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.fremont-page .hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  gap: 48px;
  align-items: stretch;
}
.fremont-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fremont-page .hero-video-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
}
.fremont-page .hero-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  width: 100%;
  min-height: 480px;
  aspect-ratio: 4/3;
  border: 1px solid rgba(253, 198, 109, 0.3);
  background: var(--teal-deep);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}
.fremont-page .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fremont-page #hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.fremont-page #hero h1 span {
  color: var(--gold);
}
.fremont-page #hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 0;
}
.fremont-page .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.fremont-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-family: "Work Sans", sans-serif;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.fremont-page .hero-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  stroke: none;
  flex-shrink: 0;
}

/* Button icon variants */
.fremont-page .btn-icon-gold svg {
  color: var(--gold) !important;
  fill: var(--gold) !important;
}
.fremont-page .btn-icon-dark svg {
  color: var(--teal-dark) !important;
  fill: var(--teal-dark) !important;
}
.fremont-page .btn-icon-gold svg,
.fremont-page .btn-icon-dark svg {
  width: 18px !important;
  height: 18px !important;
}

/* Doctor card */
.fremont-page .doctor-card {
  position: relative;
  border-radius: var(--fd-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-teal);
}
.fremont-page .doctor-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
}
.fremont-page .doctor-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(8, 53, 48, 0.96));
}
.fremont-page .doctor-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1.2rem;
}
.fremont-page .doctor-title {
  font-size: 0.92rem;
  color: var(--gold-light);
  margin-top: 2px;
}
.fremont-page .doctor-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.fremont-page .stat-box {
  background: var(--teal-pale);
  border-radius: var(--fd-radius-md);
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
}
.fremont-page .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
}
.fremont-page .stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Why choose */
.fremont-page .advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 40px;
}
.fremont-page .adv-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 18px;
  padding: 22px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(253, 198, 109, 0.2);
  border-radius: var(--fd-radius-md);
  transition:
    background var(--fd-transition),
    border-color var(--fd-transition);
}
.fremont-page .adv-item:hover {
  background: rgba(253, 198, 109, 0.1);
  border-color: rgba(253, 198, 109, 0.45);
}
.fremont-page .adv-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(253, 198, 109, 0.2);
  border: 1px solid rgba(253, 198, 109, 0.5);
  border-radius: var(--fd-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fremont-page .adv-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fremont-page .adv-text {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}
.fremont-page .advantages-grid > .adv-item:nth-child(5):last-child {
  grid-column: 1 / -1;
  max-width: 60%;
  margin: 0 auto;
}

/* Yomi */
.fremont-page .yomi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--teal-dark);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.fremont-page .yomi-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.fremont-page .yomi-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--teal-pale);
  border-radius: var(--fd-radius-md);
  border-left: 3px solid var(--teal);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--teal-dark);
}
.fremont-page .yomi-feat svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.5;
  flex-shrink: 0;
}
.fremont-page .yomi-visual {
  position: relative;
  border-radius: var(--fd-radius-lg);
  overflow: hidden;
}
.fremont-page .yomi-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.fremont-page .yomi-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(8, 53, 48, 0.92);
  border: 1px solid rgba(253, 198, 109, 0.3);
  border-radius: var(--fd-radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
}
.fremont-page .yomi-tag p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Full mouth */
.fremont-page .full-mouth-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0 36px;
}
.fremont-page .option-card {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--fd-radius-lg);
  padding: 28px;
  transition: all var(--fd-transition);
  display: block;
}
.fremont-page .option-card:hover {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.fremont-page .option-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.fremont-page .option-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.fremont-page .option-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
  transition:
    gap var(--fd-transition),
    color var(--fd-transition);
}
.fremont-page .option-card:hover .option-link {
  gap: 8px;
  color: var(--gold-dark);
}

/* Comprehensive */
.fremont-page #comprehensive .two-col {
  align-items: start;
}
.fremont-page .comprehensive-image-col {
  align-self: start;
}
.fremont-page .comprehensive-steps {
  margin: 28px 0 36px;
}
.fremont-page .step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
}
.fremont-page .step-item:last-child {
  border-bottom: none;
}
.fremont-page .step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--fd-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.fremont-page .step-text h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.fremont-page .step-text p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0;
}

/* Location */
.fremont-page .location-card {
  background: var(--teal-mid);
  border-radius: var(--fd-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-teal);
}
.fremont-page .location-map iframe {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
}
.fremont-page .location-info {
  padding: 32px;
}
.fremont-page .location-info h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.25rem;
}
.fremont-page .location-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.fremont-page .location-detail svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.fremont-page .location-detail p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin: 0;
}
.fremont-page .service-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.fremont-page .area-tag {
  padding: 6px 16px;
  background: rgba(253, 198, 109, 0.14);
  border: 1px solid rgba(253, 198, 109, 0.34);
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* Closing CTA */
.fremont-page #closing-cta {
  background: linear-gradient(
    135deg,
    var(--teal-deep) 0%,
    var(--teal-dark) 60%,
    var(--teal-mid) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 88px 0;
}
.fremont-page .cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(253, 198, 109, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(23, 116, 102, 0.1) 0%,
      transparent 40%
    );
  pointer-events: none;
}
.fremont-page .cta-ring-1,
.fremont-page .cta-ring-2,
.fremont-page .cta-ring-3 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(253, 198, 109, 0.1);
  pointer-events: none;
}
.fremont-page .cta-ring-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
}
.fremont-page .cta-ring-2 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -50px;
}
.fremont-page .cta-ring-3 {
  width: 200px;
  height: 200px;
  top: 0;
  right: 50px;
}
.fremont-page #closing-cta .fd-container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.fremont-page #closing-cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.fremont-page #closing-cta .gold-bar {
  margin: 16px auto 24px;
}
.fremont-page #closing-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
}
.fremont-page #closing-cta .cta-group {
  justify-content: center;
}
.fremont-page #closing-cta .section-label {
  color: var(--gold-light);
  background: rgba(253, 198, 109, 0.14);
  border-color: rgba(253, 198, 109, 0.34);
}

/* FAQ */
.fremont-page .faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.fremont-page .faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--fd-radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--fd-transition);
  background: var(--white);
}
.fremont-page .faq-item:hover {
  box-shadow: 0 4px 20px rgba(12, 74, 65, 0.1);
}
.fremont-page .faq-item.active {
  border-color: rgba(23, 116, 102, 0.45);
  box-shadow: var(--shadow-teal);
}
.fremont-page .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--fd-transition);
  font-family: inherit;
}
.fremont-page .faq-question:hover {
  background: var(--off-white);
}
.fremont-page .faq-item.active .faq-question {
  background: var(--teal-dark);
}
.fremont-page .faq-q-text {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.4;
}
.fremont-page .faq-item.active .faq-q-text {
  color: var(--white);
}
.fremont-page .faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(23, 116, 102, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--fd-transition),
    background var(--fd-transition);
}
.fremont-page .faq-chevron svg {
  width: 14px;
  height: 14px;
  stroke: var(--teal);
  fill: none;
  transition: stroke var(--fd-transition);
}
.fremont-page .faq-item.active .faq-chevron {
  background: rgba(253, 198, 109, 0.24);
  transform: rotate(180deg);
}
.fremont-page .faq-item.active .faq-chevron svg {
  stroke: var(--gold-light);
}
.fremont-page .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.fremont-page .faq-answer-inner {
  padding: 0 24px 20px;
  border-top: 1px solid var(--gray-light);
}
.fremont-page .faq-item.active .faq-answer-inner {
  border-top-color: rgba(23, 116, 102, 0.15);
}
.fremont-page .faq-answer-inner p {
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.7;
}
.fremont-page .faq-answer-inner .btn {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* Services grid */
.fremont-page .services-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
  justify-items: center;
  justify-content: center;
}
.fremont-page .service-card {
  width: 100%;
  height: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  background: var(--teal-pale);
  border: 1px solid rgba(23, 116, 102, 0.2);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  color: var(--teal-dark);
  font-size: 0.95rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fremont-page .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--teal);
  background: #dcebe7;
}
.fremont-page .service-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(253, 198, 109, 0.2);
}
.fremont-page .service-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fremont-page .service-card .inline-link {
  color: var(--teal-dark);
}

/* Progress bar (scoped) */
.fremont-page .fd-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* Hero overlay: logo + hamburger */
.fremont-page .fd-hero-logo {
  position: absolute;
  top: 18px;
  left: 24px;
  z-index: 5;
  display: inline-flex;
}
.fremont-page .fd-hero-logo img {
  max-height: 60px;
  width: auto;
}
.fremont-page .fd-hero-menu-btn {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 5;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
}
.fremont-page .fd-hero-menu-btn img {
  width: 52px;
  height: 52px;
}

/* Responsive */
@media (max-width: 1024px) {
  .fremont-page .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .fremont-page .hero-video-card {
    min-height: 320px;
    aspect-ratio: 16/9;
  }
  .fremont-page .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .fremont-page .two-col.reverse {
    direction: ltr;
  }
  .fremont-page .hero-content {
    max-width: 100%;
  }
  .fremont-page .hero-badges {
    margin-top: 28px;
  }
  .fremont-page .advantages-grid > .adv-item:nth-child(5):last-child {
    max-width: 100%;
  }
  .fremont-page .sticky-img {
    position: static !important;
    top: auto !important;
  }
}
@media (max-width: 900px) {
  .fremont-page .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .fremont-page .fd-container {
    padding: 0 20px;
  }
  .fremont-page .fd-section {
    padding: 56px 0;
  }
  .fremont-page .section-header {
    margin-bottom: 36px;
  }
  .fremont-page .hero-video-card {
    min-height: 240px;
  }
  .fremont-page .advantages-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fremont-page .adv-item {
    padding: 16px;
  }
  .fremont-page .yomi-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fremont-page .yomi-visual img {
    height: 320px;
  }
  .fremont-page .yomi-tag {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }
  .fremont-page .yomi-tag p {
    font-size: 0.78rem;
  }
  .fremont-page .full-mouth-options {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fremont-page .option-card {
    padding: 22px;
  }
  .fremont-page .doctor-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
  }
  .fremont-page .stat-box {
    padding: 14px 16px;
  }
  .fremont-page .stat-num {
    font-size: 1.5rem;
  }
  .fremont-page .doctor-card img {
    height: 360px;
  }
  .fremont-page .doctor-overlay {
    padding: 18px;
  }
  .fremont-page #hero {
    min-height: auto;
    padding: 96px 0 56px;
  }
  .fremont-page #closing-cta {
    padding: 64px 0;
  }
  .fremont-page .cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }
  .fremont-page .cta-group .btn {
    justify-content: center;
    width: 100%;
    padding: 13px 22px;
    font-size: 0.82rem;
  }
  .fremont-page .btn {
    padding: 13px 22px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }
  .fremont-page .btn svg {
    width: 14px;
    height: 14px;
  }
  .fremont-page .hero-badges {
    gap: 8px;
    margin-top: 24px;
  }
  .fremont-page .hero-badge {
    font-size: 0.78rem;
    padding: 7px 13px;
    gap: 8px;
  }
  .fremont-page .hero-badge svg {
    width: 14px;
    height: 14px;
  }
  .fremont-page .hero-layout {
    gap: 28px;
  }
  .fremont-page h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem) !important;
    line-height: 1.15;
    margin-bottom: 18px;
  }
  .fremont-page h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.9rem) !important;
  }
  .fremont-page #hero p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .fremont-page .section-header p,
  .fremont-page .hero-content p {
    font-size: 0.95rem;
  }
  .fremont-page .section-label {
    font-size: 0.68rem;
    padding: 5px 12px;
    letter-spacing: 0.1em;
  }
  .fremont-page .location-map iframe {
    height: 220px;
  }
  .fremont-page .location-info {
    padding: 22px;
  }
  .fremont-page .step-item {
    gap: 14px;
    padding: 16px 0;
  }
  .fremont-page .step-num {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .fremont-page .faq-question {
    padding: 16px 18px;
  }
  .fremont-page .faq-q-text {
    font-size: 0.9rem;
  }
  .fremont-page .faq-answer-inner {
    padding: 0 18px 18px;
  }
  .fremont-page .fd-hero-logo {
    top: 14px;
    left: 16px;
  }
  .fremont-page .fd-hero-logo img {
    max-height: 44px;
  }
  .fremont-page .fd-hero-menu-btn {
    top: 14px;
    right: 16px;
  }
  .fremont-page .fd-hero-menu-btn img {
    width: 40px;
    height: 40px;
  }
  .fremont-page .cta-ring-1,
  .fremont-page .cta-ring-2,
  .fremont-page .cta-ring-3 {
    display: none;
  }
  .fremont-page .hero-shape-1,
  .fremont-page .hero-shape-2,
  .fremont-page .hero-shape-3 {
    display: none;
  }
  .fremont-page .two-col {
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .fremont-page .services-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .fremont-page .service-card {
    min-height: 48px;
    font-size: 0.8rem;
    padding: 0.55rem 0.8rem;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .fremont-page .doctor-stats {
    grid-template-columns: 1fr 1fr;
  }
  .fremont-page .hero-badges {
    gap: 6px;
  }
  .fremont-page .hero-badge {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
  .fremont-page .fd-container {
    padding: 0 18px;
  }
  .fremont-page .fd-section {
    padding: 48px 0;
  }
  .fremont-page #hero {
    padding: 88px 0 48px;
  }
  .fremont-page .hero-video-card {
    min-height: 200px;
    aspect-ratio: 16/10;
  }
  .fremont-page .doctor-card img {
    height: 320px;
  }
  .fremont-page .yomi-visual img {
    height: 280px;
  }
  .fremont-page .location-info {
    padding: 18px;
  }
  .fremont-page .btn {
    padding: 12px 18px;
    font-size: 0.78rem;
  }
  .fremont-page .section-header {
    margin-bottom: 28px;
  }
  .fremont-page .gold-bar {
    margin: 12px 0 18px;
  }
}
