/*!
Theme Name: Dental
Author: OpenAI
Version: 1.0.0
*/

:root {
  --navy: #16324f;
  --blue: #1f6fb2;
  --sky: #dff1fb;
  --soft: #f4f8fb;
  --line: #d8e2ec;
  --text: #22313f;
  --white: #ffffff;
  --accent: #f2a65a;
  --shadow: 0 18px 40px rgba(20, 49, 79, 0.12);
}

html { scroll-behavior: smooth; }
body { color: var(--text); background: #f8fbfd; font-family: "Hiragino Sans", "Yu Gothic", sans-serif; line-height: 1.8; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.btn-brand, .btn-outline-brand:hover {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}
.btn-outline-brand {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.shadow-soft { box-shadow: var(--shadow); }
.bg-soft { background: var(--soft); }
.bg-white { background: #fff; }
.bg-navy { background: linear-gradient(135deg, #18324d 0%, #215e89 100%); }
.text-light-soft { color: rgba(255,255,255,.82); }
.sec-pad { padding: 88px 0; }
.sec-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}
.sec-label--light { color: #c5e6ff; }
.section-intro { margin-bottom: 34px; }

.ttl-2 h1, .ttl-2 h2 {
  margin: 0 0 22px;
  padding-left: 16px;
  border-left: 5px solid var(--accent);
  font-size: 2rem;
  line-height: 1.35;
  color: var(--navy);
}
.ttl-2--center h1, .ttl-2--center h2 {
  border-left: 0;
  padding-left: 0;
}
.ttl-2--light h2 {
  color: #fff;
  border-left-color: #8fd0ff;
}
.ttl-3 { margin: 24px 0 10px; font-size: 1.25rem; color: var(--navy); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(22,50,79,.08); }
.header-top { border-bottom: 1px solid rgba(22,50,79,.08); }
.header-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.header-top__brand { display: flex; flex-direction: column; color: var(--navy); }
.header-top__brand strong { font-size: 1.1rem; line-height: 1.4; }
.header-top__label { color: var(--blue); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.header-top__contact { text-align: right; display: flex; flex-direction: column; }
.header-top__contact a { color: var(--navy); font-weight: 700; font-size: 1.1rem; }
.header-top__contact span { font-size: .88rem; color: #557; }
.navbar { padding: 12px 0; }
.navbar-nav .nav-link { color: var(--navy); font-weight: 600; }

.hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(circle at top right, rgba(242,166,90,.22), transparent 35%),
    linear-gradient(135deg, #eff8fd 0%, #ffffff 58%, #edf5fb 100%);
}
.hero__eyebrow {
  color: var(--blue);
  font-size: .86rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero__lead {
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero__text { font-size: 1.04rem; max-width: 42rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(31,111,178,.12);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.hero-card__media { padding: 8px; border-radius: 20px; background: linear-gradient(180deg, #f8fcff, #eaf4fb); }
.hero-card__stats { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.hero-card__stats li { background: #f8fbfd; border-radius: 16px; padding: 14px 16px; }
.hero-card__stats strong { display: block; color: var(--navy); }
.hero-card__stats span { font-size: .92rem; color: #567; }

.trust-band { padding: 0 0 30px; margin-top: -22px; }
.stat-box {
  height: 100%;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(21,50,79,.05);
}
.stat-box strong { display: block; color: var(--navy); margin-bottom: 6px; }
.stat-box span { color: #5a6f81; font-size: .92rem; }

.info-panel, .table-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31,111,178,.1);
}

.feature-card, .plan-card, .plan-detail, .reason-card, .support-card {
  height: 100%;
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(22,50,79,.08);
  box-shadow: 0 14px 30px rgba(20,49,79,.06);
}
.feature-card__icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f6fb2, #5ea9dd);
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.feature-card h3, .plan-card h3, .plan-detail h3, .reason-card h3, .support-card h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 14px; line-height: 1.5; }
.plan-card { position: relative; overflow: hidden; }
.plan-card--accent { background: linear-gradient(180deg, #f4fbff, #fff); border-color: rgba(31,111,178,.22); }
.plan-card__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.plan-card__price, .plan-detail__price, .price-callout {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.5rem;
}
.plan-detail ul, .support-card ul, .check-list {
  margin: 18px 0 0;
  padding-left: 1.15rem;
}
.contact-panel {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f4f8fb, #ffffff);
  border: 1px solid var(--line);
}
.contact-panel p { margin-bottom: 16px; }
.contact-panel strong { color: var(--navy); }
.plan-detail img, .reason-card img, .support-card img { width: 100%; border-radius: 18px; margin-bottom: 18px; }

.process-grid {
  display: grid;
  gap: 18px;
}
.process-step {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}
.process-step span, .timeline__item span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8fd0ff;
  font-weight: 700;
}
.process-step h3, .timeline__item h3 { font-size: 1.2rem; margin-bottom: 8px; }

.faq-list { display: grid; gap: 14px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 20px;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  color: var(--blue);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 0 18px; margin: 0; color: #5b6f80; }

.cta-banner { padding: 0 0 88px; }
.cta-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 34px;
  background: linear-gradient(135deg, #16324f 0%, #246ea0 100%);
  color: #fff;
  border-radius: 28px;
}
.cta-banner__inner h2 { color: #fff; margin-bottom: 10px; }

.site-footer {
  padding: 72px 0 26px;
  background: #10253a;
  color: rgba(255,255,255,.82);
}
.site-footer h2 { color: #fff; margin-bottom: 14px; font-size: 2rem; }
.site-footer__eyebrow { color: #8fd0ff; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; font-weight: 700; }
.site-footer__cta { display: grid; gap: 16px; justify-items: start; }
.site-footer__phone { color: #fff; font-size: 1.2rem; font-weight: 700; }
.site-footer__bottom {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.page-hero {
  padding: 86px 0 72px;
  background: linear-gradient(135deg, #eef8fd 0%, #ffffff 55%, #edf3fb 100%);
  text-align: center;
}
.page-hero__title { color: var(--navy); font-size: 2.4rem; line-height: 1.3; margin-bottom: 12px; }
.page-hero__sub { color: #4c6a80; max-width: 44rem; margin: 0 auto; }
.page-hero--service, .page-hero--reason, .page-hero--seo, .page-hero--flow, .page-hero--management {
  position: relative;
}
.page-hero--service::after, .page-hero--reason::after, .page-hero--seo::after, .page-hero--flow::after, .page-hero--management::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(31,111,178,.08), transparent 30%), radial-gradient(circle at 80% 20%, rgba(242,166,90,.14), transparent 24%);
  pointer-events: none;
}

.plan-table { width: 100%; border-collapse: collapse; }
.plan-table th, .plan-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.plan-table thead th { background: #f3f9fd; color: var(--navy); }
.plan-table tbody th { color: var(--navy); width: 28%; }
.table-card { padding: 24px; }

.timeline {
  display: grid;
  gap: 18px;
}
.timeline__item {
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(22,50,79,.08);
  box-shadow: 0 12px 26px rgba(20,49,79,.05);
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3.6rem; }
  .ttl-2 h1, .ttl-2 h2 { font-size: 2.5rem; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .header-top__inner, .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .header-top__contact { text-align: left; }
}

@media (max-width: 767.98px) {
  .sec-pad { padding: 68px 0; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: 2rem; }
  .page-hero__title { font-size: 2rem; }
  .ttl-2 h1, .ttl-2 h2 { font-size: 1.7rem; }
  .table-card { padding: 14px; }
}
