@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --bd-ink: #102033;
  --bd-muted: #5b6b7c;
  --bd-line: rgba(16, 32, 51, 0.1);
  --bd-accent: #0e8f8b;
  --bd-accent-2: #1a6bb5;
  --bd-ice: #eef6f7;
  --bd-soft: #f5fafb;
  --heading-font: "Outfit", system-ui, sans-serif;
  --default-font: "DM Sans", system-ui, sans-serif;
  --accent-color: #0e8f8b;
}

body {
  font-family: var(--default-font);
  color: var(--bd-ink);
}

h1, h2, h3, h4, h5, h6,
.sitename,
.bd-footer-logo,
.page-hero-title {
  font-family: var(--heading-font);
}

.hero-content .highlight { color: var(--bd-accent); }

.service-simple-card {
  background: #fff;
  border: 1px solid var(--bd-line);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  transition: .25s ease;
}
.service-simple-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 32, 51, .08);
}
.service-simple-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 143, 139, .12);
  color: var(--bd-accent);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.contact-strip {
  background: linear-gradient(135deg, #102033, #16405f);
  color: #fff;
  border-radius: 22px;
  padding: 40px;
}
.contact-strip a { color: #fff; text-decoration: none; }
.contact-strip .btn-light { color: #102033; font-weight: 600; }

/* —— Inner page hero —— */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 133px 0 49px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(14, 143, 139, .18), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(26, 107, 181, .12), transparent 50%),
    linear-gradient(165deg, #f7fbfc 0%, #eef5f8 48%, #e8f2f4 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 32, 51, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 51, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 90%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(14, 143, 139, .22);
  box-shadow: inset 0 0 0 28px rgba(255,255,255,.35);
  pointer-events: none;
}

.page-hero-crumb {
  display: none;
}
.page-hero-crumb a {
  color: var(--bd-muted);
  text-decoration: none;
  transition: color .2s ease;
}
.page-hero-crumb a:hover { color: var(--bd-accent); }
.page-hero-crumb .sep { opacity: .45; }
.page-hero-crumb .current {
  color: var(--bd-ink);
  font-weight: 600;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .85rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(14, 143, 139, .12);
  color: #0a6f6c;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.page-hero-kicker i { font-size: .9rem; }

.page-hero-title {
  max-width: none;
  margin: 0 0 .75rem;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--bd-ink);
  white-space: nowrap;
}
.page-hero-lead {
  max-width: 42ch;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--bd-muted);
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.4rem;
}
.page-hero-actions .bd-btn {
  font-size: .92rem;
  padding: .7rem 1.15rem;
}

.content-section { padding: 56px 0 88px; }

.blog-card {
  border: 1px solid var(--bd-line);
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  background: #fff;
}
.blog-card h3 { font-size: 1.15rem; }
.blog-meta { color: #64748b; font-size: .9rem; margin-bottom: .75rem; }
.prose h2 { margin-top: 1.6rem; font-size: 1.35rem; }
.prose p, .prose li { line-height: 1.75; color: #334155; }

/* —— Buttons —— */
.bd-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .72rem 1.2rem;
  font-weight: 600;
  font-size: .94rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: .2s ease;
}
.bd-btn-solid {
  background: #fff;
  color: #102033;
}
.bd-btn-solid:hover {
  background: #f0fafa;
  color: #102033;
}
.bd-btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.bd-btn-ghost:hover {
  background: rgba(255,255,255,.24);
  color: #fff;
}
.bd-footer .bd-btn-solid,
.bd-footer .bd-btn-solid:hover {
  color: #102033 !important;
}
.bd-footer .bd-btn-ghost,
.bd-footer .bd-btn-ghost:hover {
  color: #fff !important;
}
.bd-btn-primary {
  background: var(--bd-accent);
  color: #fff;
}
.bd-btn-primary:hover {
  background: #0c7c78;
  color: #fff;
}
.bd-btn-outline {
  background: #fff;
  color: var(--bd-ink);
  border-color: var(--bd-line);
}
.bd-btn-outline:hover {
  border-color: var(--bd-accent);
  color: var(--bd-accent);
}

/* —— Logo —— */
.bd-logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none !important;
  color: inherit;
}
.bd-logo img,
.bd-logo svg,
.bd-logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
}
.bd-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.bd-logo-text strong {
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--bd-ink);
}
.bd-logo-text small {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bd-muted);
}
.header .logo.bd-logo h1.sitename {
  display: none;
}
.bd-footer-logo.bd-logo {
  margin-bottom: .85rem;
}
.bd-footer-logo.bd-logo .bd-logo-text strong {
  color: #fff;
  font-size: 1.15rem;
}
.bd-footer-logo.bd-logo .bd-logo-text small {
  color: #93a4b5;
}

/* Topbar contrast */
.header .topbar {
  background: #0d1a28;
}
.header .topbar .contact-info i,
.header .topbar .contact-info i a {
  color: #fff !important;
  opacity: 1;
}
.header .topbar .social-links a {
  color: #fff !important;
  opacity: 1;
}
.header .topbar .social-links a.whatsapp {
  color: #25d366 !important;
}

/* —— Footer —— */
.bd-footer {
  margin-top: 24px;
  color: #c5d0db;
  background: #0d1a28;
}
.bd-footer a {
  color: #e7eef6;
  text-decoration: none;
  transition: color .2s ease;
}
.bd-footer a:hover { color: #7fd4d0; }

.bd-footer-top {
  background: linear-gradient(120deg, #0e8f8b, #1a6bb5);
  padding: 22px 0;
}
.bd-footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.bd-footer-eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: .2rem;
  color: #fff;
}
.bd-footer-cta-copy strong {
  display: block;
  color: #fff;
  font-family: var(--heading-font);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}
.bd-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.bd-footer-body { padding: 52px 0 36px; }

.bd-footer-logo {
  display: inline-block;
  margin-bottom: .85rem;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -.02em;
}
.bd-footer-about {
  max-width: 30ch;
  margin: 0;
  line-height: 1.7;
  color: #93a4b5;
  font-size: .95rem;
}

.bd-footer-label {
  margin: 0 0 1rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bd-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bd-footer-list li { margin-bottom: .55rem; }
.bd-footer-list a {
  color: #9aabbc;
  font-size: .95rem;
}
.bd-footer-list a:hover { color: #fff; }

.bd-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-bottom: .7rem;
  color: #9aabbc;
  font-size: .95rem;
}
.bd-footer-contact i {
  margin-top: .15rem;
  color: #7fd4d0;
}
.bd-footer-contact a { color: #e7eef6; }

.bd-footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  font-size: .84rem;
  color: #7f91a3;
}

@media (max-width: 767.98px) {
  .page-hero {
    padding: 113px 0 33px;
  }
  .page-hero-title { white-space: normal; font-size: 1.35rem; }
  .page-hero::after { width: 260px; height: 260px; left: 50%; right: auto; transform: translateX(-50%); }
  .bd-footer-about { max-width: none; }
  .bd-footer-body { padding: 40px 0 28px; }
}

.rounded-4 { border-radius: 1rem !important; }
.hero .main-image img { border-radius: 1.25rem; }

/* Soften Clinic header a bit toward brand */
.header .sitename {
  font-family: var(--heading-font) !important;
  letter-spacing: -.02em;
}
.header .branding {
  backdrop-filter: blur(10px);
}


/* —— Blog images —— */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: stretch;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--bd-line);
  border-radius: 18px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.blog-row:hover {
  box-shadow: 0 14px 34px rgba(16, 32, 51, .08);
  transform: translateY(-2px);
}
.blog-row-media {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  min-height: 150px;
}
.blog-row-media img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  display: block;
}
.blog-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .25rem .15rem .25rem 0;
}
.blog-row-body h2 {
  margin: 0 0 .45rem;
}
.blog-row-body h2 a {
  color: var(--bd-ink);
  text-decoration: none;
}
.blog-row-body h2 a:hover { color: var(--bd-accent); }
.blog-row-body p {
  margin: 0 0 .75rem;
  color: var(--bd-muted);
  line-height: 1.6;
}
.blog-row-more {
  font-weight: 600;
  color: var(--bd-accent);
  text-decoration: none;
}
.blog-row-more:hover { text-decoration: underline; }

.blog-article {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 2rem;
  align-items: start;
}
.blog-article-media {
  margin: 0;
  position: sticky;
  top: 120px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--bd-line);
  background: #eef5f8;
}
.blog-article-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.blog-card-media {
  overflow: hidden;
  padding: 0 0 24px;
}
.blog-card-thumb {
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.blog-card-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.blog-card-media:hover .blog-card-thumb img {
  transform: scale(1.04);
}
.blog-card-media .blog-meta,
.blog-card-media h3,
.blog-card-media p,
.blog-card-media > a:last-child {
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 767.98px) {
  .blog-row {
    grid-template-columns: 1fr;
  }
  .blog-row-media {
    min-height: 180px;
  }
  .blog-row-media img {
    min-height: 180px;
    max-height: 220px;
  }
  .blog-article {
    grid-template-columns: 1fr;
  }
  .blog-article-media {
    position: static;
  }
  .blog-article-media img {
    aspect-ratio: 16 / 10;
  }
}

/* —— Service cards with images —— */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bd-line);
  border-radius: 18px;
  text-decoration: none !important;
  color: var(--bd-ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(16, 32, 51, .1);
  color: var(--bd-ink);
}
.service-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #eef5f8;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.service-card:hover .service-card-media img {
  transform: scale(1.04);
}
.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.3rem;
}
.service-card-body h2 {
  margin: 0 0 .45rem;
  font-size: 1.15rem;
}
.service-card-body p {
  margin: 0 0 1rem;
  color: var(--bd-muted);
  line-height: 1.55;
  flex: 1;
}
.service-card-more {
  font-weight: 600;
  color: var(--bd-accent);
}
