/* ============================================================
   BN CLINIC — Custom DaisyUI Theme: "bnclinic"
   Minimal, sleek, editorial pink. No gradients.
   ============================================================ */

[data-theme="bnclinic"] {
  color-scheme: light;

  /* Primary — refined dusty rose */
  --p: 1 67% 71%;
  --pc: 0 0% 100%;

  /* Secondary — soft blush */
  --s: 0 32% 94%;
  --sc: 341 56% 25%;

  /* Accent — deep berry */
  --a: 346 51% 24%;
  --ac: 0 0% 100%;

  /* Neutral — deep ink */
  --n: 20 18% 12%;
  --nc: 30 30% 96%;

  /* Base — warm cream */
  --b1: 30 38% 96%;
  --b2: 30 28% 92%;
  --b3: 0 14% 88%;
  --bc: 20 18% 12%;

  /* States */
  --in: 200 70% 60%;
  --inc: 0 0% 100%;
  --su: 140 45% 45%;
  --suc: 0 0% 100%;
  --wa: 38 92% 50%;
  --wac: 20 18% 12%;
  --er: 0 65% 55%;
  --erc: 0 0% 100%;

  /* Sizing & radii */
  --rounded-box: 0.5rem;
  --rounded-btn: 0.25rem;
  --rounded-badge: 0.25rem;
  --animation-btn: 0.25s;
  --animation-input: 0.2s;
  --btn-text-case: none;
  --border-btn: 1px;
  --tab-border: 1px;
  --tab-radius: 0.25rem;
}

/* ============================================================
   Base typography & layout polish
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background-color: #FAF6F2;
  color: #1A1414;
  letter-spacing: -0.005em;
}

.font-display {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}

.font-body {
  font-family: 'Outfit', system-ui, sans-serif;
}

/* Refined heading defaults inside .prose-clinic blocks */
.prose-clinic h1,
.prose-clinic h2,
.prose-clinic h3 {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.prose-clinic p {
  color: #4B423E;
  line-height: 1.7;
}

/* ============================================================
   Custom components
   ============================================================ */

/* Section index numbers (e.g. "01", "02") */
.section-index {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: #e78583;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

/* Eyebrow label above section headings */
.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e78583;
  font-weight: 500;
}

/* Hairline divider in rose */
.hairline {
  height: 1px;
  background-color: #E8DAD9;
}

.hairline-rose {
  height: 1px;
  background-color: #e78583;
  width: 2.5rem;
}

/* Pink primary button — flat, refined, no gradient */
.btn-rose {
  background-color: #e78583;
  color: #FFFFFF;
  border: 1px solid #e78583;
  padding: 0.85rem 1.75rem;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-rose:hover {
  background-color: #c55f5d;
  border-color: #c55f5d;
}

.btn-rose-outline {
  background-color: transparent;
  color: #1A1414;
  border: 1px solid #1A1414;
  padding: 0.85rem 1.75rem;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-rose-outline:hover {
  background-color: #1A1414;
  color: #FAF6F2;
}

/* Subtle service / content card */
.card-soft {
  background-color: #FFFFFF;
  border: 1px solid #EFE3DF;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.card-soft:hover {
  border-color: #e78583;
  transform: translateY(-2px);
}

/* Top thin progress strip in pink — active scroll progress indicator */
.top-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #e78583;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
  will-change: transform;
}

/* Nav link underline animation */
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1A1414;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background-color: #e78583;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #e78583;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #e78583;
}

@media (min-width: 1024px) {
  .lg\:absolute .nav-link:not(.active) {
    color: #FFFFFF;
  }

  .lg\:absolute .header-phone-link {
    color: #FFFFFF;
  }
}

/* Footer dark style */
.footer-dark {
  background-color: #1A1414;
  color: #D8CFC9;
}

.footer-dark a:hover {
  color: #F5BFCE;
}

/* Form inputs — clean, flat, no rounded blobs */
.input-clean,
.select-clean,
.textarea-clean {
  background-color: #FFFFFF;
  border: 1px solid #E8DAD9;
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: #1A1414;
  width: 100%;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.2s ease;
}

.input-clean:focus,
.select-clean:focus,
.textarea-clean:focus {
  outline: none;
  border-color: #e78583;
}

.input-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B5D58;
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: block;
}

/* Responsive Logo size */
.nav-logo {
  height: 8rem;
  /* h-32 */
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

@media (max-width: 640px) {
  .nav-logo {
    height: 5rem;
  }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: #e78583;
  color: white;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(231, 133, 131, 0.35);
  z-index: 50;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  background-color: #c55f5d;
  box-shadow: 0 6px 20px rgba(197, 95, 93, 0.45);
  transform: scale(1.08);
}

/* ============================================================
   New Arc Hero Section
   ============================================================ */

.hero-arc {
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem;
  background-color: #FAF6F2;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .hero-arc {
    padding: 6rem 1.5rem;
    min-height: auto;
  }
}

.hero-arc-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  /* Default for mobile/tablet */
  align-items: center;
  justify-content: center;
}

@media (min-width: 1025px) {
  .hero-arc-container {
    flex-direction: row;
  }
}

.hero-arc-content {
  position: relative;
  z-index: 20;
  max-width: 750px;
  margin: 0 auto;
  pointer-events: auto;
}

.hero-arc-content .eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #6B5D58;
}

.hero-arc-content .dot {
  width: 7px;
  height: 7px;
  background-color: #e78583;
  border-radius: 50%;
}

.hero-arc-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1.05;
  font-weight: 400;
  color: #2D2424;
  margin-bottom: 3rem;
  letter-spacing: -0.015em;
}

.hero-arc-images {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-img-box {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image 1: Left wedge */
.img-box-1 {
  width: 220px;
  height: 380px;
  left: 2%;
  top: 48%;
  transform: translateY(-50%);
  border-radius: 100% 40% 10% 10% / 80% 80% 10% 10%;
}

/* Image 2: Top-left tilted rect */
.img-box-2 {
  width: 280px;
  height: 220px;
  left: 20%;
  top: 5%;
  border-radius: 30px 180px 30px 80px;
  transform: rotate(-12deg);
}

/* Image 3: Top-right tilted rect */
.img-box-3 {
  width: 300px;
  height: 230px;
  right: 18%;
  top: 2%;
  border-radius: 180px 30px 80px 30px;
  transform: rotate(10deg);
}

/* Image 4: Right wedge */
.img-box-4 {
  width: 220px;
  height: 380px;
  right: 2%;
  top: 48%;
  transform: translateY(-50%);
  border-radius: 40% 100% 10% 10% / 80% 80% 10% 10%;
}

.hero-arc .btn-rose {
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(231, 133, 131, 0.15);
}

.hero-arc .btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(231, 133, 131, 0.25);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .img-box-1 {
    left: -5%;
  }

  .img-box-4 {
    right: -5%;
  }
}

@media (max-width: 1200px) {
  .img-box-1 {
    width: 160px;
    height: 280px;
    left: -2%;
  }

  .img-box-4 {
    width: 160px;
    height: 280px;
    right: -2%;
  }

  .img-box-2 {
    width: 200px;
    height: 150px;
    left: 10%;
    top: 2%;
  }

  .img-box-3 {
    width: 200px;
    height: 150px;
    right: 10%;
    top: 0%;
  }
}

@media (max-width: 1024px) {
  .hero-arc-images {
    position: relative;
    order: 2;
    height: auto;
    width: 100%;
    max-width: 600px;
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    pointer-events: auto;
  }

  .hero-img-box {
    position: relative;
    width: calc(50% - 1.5rem);
    height: 200px;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
  }

  .hero-arc-content {
    order: 1;
    max-width: 100%;
  }

  .hero-arc-content h1 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-arc {
    padding-top: 5rem;
  }

  .hero-arc-images {
    gap: 1rem;
    margin-top: 3rem;
  }

  .hero-img-box {
    width: calc(50% - 1rem);
    height: 160px;
  }

  .hero-arc-content h1 {
    font-size: 2.5rem;
  }

  .hero-arc-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

/* Hero image refined frame */
.hero-img-frame {
  position: relative;
  border: 1px solid #E8DAD9;
}

.hero-img-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(184, 53, 89, 0.25);
  pointer-events: none;
  z-index: 1;
}

/* Image with grayscale-leaning warm tone */
.img-warm {
  filter: saturate(0.95);
}

/* Trust indicators responsive */
@media (max-width: 640px) {
  .hero-arc-content .mt-16 {
    margin-top: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-arc-content .mt-16>div {
    flex: 1 1 30%;
  }
}

/* Animated reveal on load */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.reveal-1 {
  animation-delay: 0.05s;
}

.reveal-2 {
  animation-delay: 0.18s;
}

.reveal-3 {
  animation-delay: 0.32s;
}

.reveal-4 {
  animation-delay: 0.46s;
}

/* FAQ accordion clean */
.faq-item {
  border-bottom: 1px solid #E8DAD9;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.6rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: #e78583;
}

.faq-item .faq-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #e78583;
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  min-width: 1.75rem;
}

.faq-item .faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  flex: 1;
  letter-spacing: -0.01em;
}

.faq-item .faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
  transition: transform 0.3s ease;
  color: #e78583;
  font-size: 1.25rem;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item .faq-a {
  padding: 0 0 1.6rem calc(1.75rem + 1.5rem);
  color: #4B423E;
  line-height: 1.75;
  font-size: 0.96rem;
}

.faq-item[open] .faq-a {
  animation: fadeUp 0.4s ease forwards;
}

/* Subtle textured pattern background option (no gradient — pure dot grid) */
.bg-dotgrid {
  background-image: radial-gradient(circle, #E8DAD9 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Service tile hover — image zoom subtle */
.tile-img-wrap {
  overflow: hidden;
}

.tile-img-wrap img {
  transition: transform 0.6s ease;
}

.tile-img-wrap:hover img {
  transform: scale(1.04);
}

/* Page hero band */
.page-hero {
  background-color: #F5E8E8;
  border-bottom: 1px solid #E8DAD9;
}

@media (max-width: 640px) {
  .page-hero h1 {
    font-size: 2.75rem !important;
    line-height: 1.1;
  }

  .page-hero .py-20 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Quote block */
.quote-block {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #1A1414;
}

/* Responsive nav drawer link */
.drawer-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid #E8DAD9;
  display: block;
  color: #1A1414;
}

/* Image fallback - if a Pexels image fails, show a decorative blush block */
.img-fallback {
  background-color: #F5E8E8;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(184, 53, 89, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(184, 53, 89, 0.06) 0%, transparent 50%);
  position: relative;
}

.img-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='40' height='40' fill='none' stroke='%23e78583' stroke-width='1' opacity='0.3'%3E%3Cpath d='M12 2L13.09 8.26L20 9L14.5 13.5L16 21L12 17.27L8 21L9.5 13.5L4 9L10.91 8.26L12 2Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
}

.img-fallback>img {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Flatpickr Custom Pink Theme
   ============================================================ */
.flatpickr-calendar {
  background: #FAF6F2;
  border: 1px solid #E8DAD9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: #e78583;
  border-color: #e78583;
  color: #fff;
}

.flatpickr-day.today {
  border-color: #e78583;
}

.flatpickr-day.today:hover {
  background: #e78583;
  color: #fff;
}

.flatpickr-months .flatpickr-month {
  color: #1A1414;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
  background: #F5E8E8;
  border-color: #F5E8E8;
}

.flatpickr-time input:focus {
  background: #F5E8E8;
}

/* ============================================================
   Stats Bar Styling
   ============================================================ */
.stats-bar {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem clamp(2rem, 7vw, 6rem);
}

.eyebrow-hero {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #FAF6F2;
  margin-bottom: 1.25rem;
  font-weight: 400;
  display: block;
}

.eyebrow-hero::before {
  content: "“";
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  line-height: 0;
  vertical-align: -0.12em;
  margin-right: 0.2rem;
  color: #e78583;
}

.eyebrow-hero::after {
  content: "”";
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  line-height: 0;
  vertical-align: -0.32em;
  margin-left: 0.15rem;
  color: #e78583;
}

.hero-desc {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.01em !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================================
   Back to Top Button Styling
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 5.5rem; /* Positioned directly above Zoho SalesIQ widget which is at bottom: 1.5rem */
  right: 1.25rem;
  background-color: #e78583;
  color: #FFFFFF;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(231, 133, 131, 0.25);
  z-index: 45; /* Above base content, below drawer */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid #e78583;
}

.back-to-top:hover {
  background-color: #c55f5d;
  border-color: #c55f5d;
  box-shadow: 0 6px 20px rgba(197, 95, 93, 0.35);
  transform: translateY(-2px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Modify reveal animations on home page to trigger only after loading */
.home-page .reveal {
  animation-name: none;
  opacity: 0;
}

.home-page.loaded .reveal {
  animation-name: fadeUp;
}