/* Skin Hair Consultant — front page layout (slider + two-column block) */

:root {
  --top-green: #1a5c45;
  --top-green-dark: #133d2e;
  --ink: #333333;
  --muted: #555555;
  --line: #e0e0e0;
  --white: #ffffff;
  --font: "Roboto", system-ui, -apple-system, sans-serif;
  --font-bn: "Noto Sans Bengali", "Roboto", system-ui, sans-serif;
  --max: 1100px;
  --max-wide: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--top-green);
  color: #fff;
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-header--pink {
  background: #f5d6df;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.main-header__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.main-header__brand {
  font-size: 1.75rem;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  font-family: "Great Vibes", cursive;
  line-height: 1.2;
}

.main-header--pink .main-header__brand {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
}

.main-header__brand:hover {
  opacity: 0.85;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.35rem;
}

.main-nav a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav--uppercase a {
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--top-green-dark);
  outline: none;
}

.main-nav a.is-current {
  color: var(--top-green-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--top-green-dark);
  padding-bottom: 2px;
  margin-bottom: -4px;
}

/* Slider without center name overlay (home layout) */
.hero-slider--clean .hero-slider__overlay {
  display: none;
}

/* —— Home: two-column intro —— */

.home-panel {
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
}

.home-panel--conditions {
  padding-top: 2.5rem;
}

.home-split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .home-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.home-split__left {
  font-family: var(--font);
}

.home-split__right {
  font-family: var(--font-bn);
}

.home-doctor__name {
  margin: 0 0 1rem;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  color: #5a5a5a;
  text-align: left;
}

.home-doctor__credentials p {
  margin: 0.35rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.home-doctor__fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 1.25rem;
  border-radius: 50%;
  background: #1877f2;
  color: #fff !important;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.home-doctor__fb:hover {
  filter: brightness(1.08);
  transform: scale(1.05);
}

.text-block__title--italic {
  font-style: italic;
  font-weight: 500;
  color: #3d3d3d;
}

.ba-row--home {
  margin-bottom: 0;
}

/* Service subpages */
.page-head--compact {
  padding-bottom: 0.25rem;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f5f5f5;
}

.service-gallery img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.ba-row--service {
  margin-bottom: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* —— Hero slider —— */

.hero-slider {
  background: var(--white);
}

.hero-slider__viewport {
  position: relative;
  max-width: var(--max-wide);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: min(78vh, 900px);
  min-height: 260px;
  background: #111;
  overflow: hidden;
}

.hero-slider__viewport:focus {
  outline: 2px solid var(--top-green);
  outline-offset: 2px;
}

.hero-slider__fs-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
}

.hero-slider__fs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
}

.hero-slider__fs:hover {
  background: rgba(0, 0, 0, 0.5);
}

.hero-slider__slides {
  position: absolute;
  inset: 0;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.hero-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.hero-slider__name-box {
  background: rgba(0, 0, 0, 0.55);
  padding: 0.65rem 2.75rem;
  margin-bottom: 0.35rem;
}

.hero-slider__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.5rem, 4.5vw, 2.35rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.02em;
}

.hero-slider__tagline-bar {
  width: 100%;
  max-width: min(100%, 720px);
  background: rgba(0, 0, 0, 0.45);
  padding: 0.45rem 1rem;
}

.hero-slider__tagline {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  font-weight: 500;
  color: #fff;
  text-align: center;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 48px;
  height: 72px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  font-size: 2.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.hero-slider__arrow:hover {
  color: #fff;
}

.hero-slider__arrow--prev {
  left: 6px;
}

.hero-slider__arrow--next {
  right: 6px;
}

.hero-slider__thumbs {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 14px 1rem 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: var(--white);
}

.hero-slider__thumb {
  padding: 0;
  margin: 0;
  border: 3px solid transparent;
  cursor: pointer;
  background: #ddd;
  line-height: 0;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 2px;
}

.hero-slider__thumb img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.hero-slider__thumb.is-active {
  border-color: #000;
}

.hero-slider__thumb:focus-visible {
  outline: 2px solid var(--top-green);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .hero-slider__thumb img {
    width: 72px;
    height: 48px;
  }
}

/* —— Content sections —— */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--wide {
  max-width: var(--max-wide);
}

.container--reading {
  max-width: 820px;
}

.section {
  padding: 2.75rem 0;
}

.section--white {
  background: var(--white);
}

.text-block__title {
  margin: 0 0 0.65rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
}

.text-block__title--spaced {
  margin-top: 2.25rem;
}

.text-block__p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section--doctor {
  font-family: var(--font-bn);
  padding-top: 0;
}

.doctor__name {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  font-weight: 700;
  text-align: center;
}

.doctor__credentials {
  text-align: center;
}

.doctor__credentials p {
  margin: 0.3rem 0;
  font-weight: 500;
}

/* —— Two columns —— */

.section--split {
  font-family: var(--font-bn);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.home-panel--conditions.section--split {
  padding-top: 2.5rem;
}

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.split__heading {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.list-conditions {
  margin: 0;
  padding-left: 1.15rem;
}

.list-conditions li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
  color: var(--ink);
}

.list-conditions li::marker {
  color: #888;
  font-size: 0.7em;
}

.ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.75rem;
}

.ba-photo {
  background: #eee;
  overflow: hidden;
  border: 1px solid var(--line);
}

.ba-photo img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.ba-label {
  margin: 0.4rem 0 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.chamber-block {
  margin-bottom: 1.75rem;
}

.chamber-block__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.chamber-block__text {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.chamber-block__text a {
  color: var(--top-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.chamber-block__text a:hover {
  text-decoration: underline;
}

.chamber-block--english .chamber-block__text {
  font-family: var(--font);
}

.healthy-brand {
  margin: 0 0 0.65rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #777;
}

.healthy-brand--large {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

/* —— Multipage: page title & cross-links —— */

.page-head {
  padding: 2rem 0 0;
  text-align: center;
  background: var(--white);
}

.page-head__title {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
}

.page-head__sub {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.section--tight-top {
  padding-top: 1.25rem;
}

.section--split.section--tight-top {
  border-top: none;
  padding-top: 1.5rem;
}

.page-crosslinks {
  margin: 2rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.page-crosslinks a {
  color: var(--top-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.page-crosslinks a:hover {
  text-decoration: underline;
}

.page-crosslinks--center {
  text-align: center;
}

/* —— Expertise / procedures —— */

.expertise-section-title {
  margin: 0 0 1.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.expertise-grid {
  display: grid;
  gap: 2rem 2.5rem;
}

@media (min-width: 720px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.expertise-col {
  margin: 0;
}

.procedure-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
}

.procedure-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}

.procedure-list li::marker {
  color: var(--top-green);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Contact: chamber cards —— */

.grid--chambers {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid--chambers {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.card {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.75rem;
}

.card__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.card__text {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
}

.card__text:last-child {
  margin-bottom: 0;
}

.card__text a {
  color: var(--top-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.card__text a:hover {
  text-decoration: underline;
}

.card--chamber {
  font-family: var(--font-bn);
}

.card--chamber[lang="en"] {
  font-family: var(--font);
}

.card--chamber[lang="en"] .card__text {
  font-family: var(--font);
}

/* —— Footer —— */

.site-footer {
  background: var(--top-green-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 1.25rem;
  margin-top: 0;
}

.site-footer__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  text-align: center;
}

.site-footer__brand {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 400;
  color: #fff;
  font-family: "Great Vibes", cursive;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.95rem;
}

/* Fullscreen keeps layout */
.hero-slider__viewport:fullscreen {
  max-height: none;
  aspect-ratio: auto;
  height: 100%;
  max-width: none;
  width: 100%;
}

.hero-slider__viewport:fullscreen .hero-slider__img {
  object-fit: cover;
}

/* —— Available In: locations & maps —— */

.location-intro {
  text-align: center;
  font-family: var(--font-bn);
}

.doctor__name--sm {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.doctor__credentials--compact p {
  margin: 0.25rem 0;
  font-size: 0.98rem;
}

.available-social {
  margin: 1.5rem 0 0;
}

.social-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.25rem;
  background: #1877f2;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
}

.social-fb:hover {
  filter: brightness(1.05);
}

.section--locations {
  padding-top: 0.5rem;
}

.location-block {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-bn);
}

.location-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.location-block--english {
  font-family: var(--font);
}

.location-block__title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.location-block__title--brand {
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #666;
}

.location-block__text {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
}

.location-block__text a {
  color: var(--top-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.location-block__text a:hover {
  text-decoration: underline;
}

.map-embed-wrap {
  margin: 1.25rem 0 0.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
  max-height: 420px;
  min-height: 240px;
  background: #e8e8e8;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  display: block;
}

.map-open-link {
  margin: 0;
  font-size: 0.9rem;
}

.map-open-link a {
  color: var(--top-green-dark);
  font-weight: 600;
}

@media (max-width: 640px) {
  .main-nav {
    gap: 0.75rem 1rem;
  }

  .main-nav a {
    font-size: 0.88rem;
  }
}
