/* =============================================================
   style.css — Base Design Styles (No Media Queries)
   Dr. Swathi Skin & Cosmetic Clinic
   ============================================================= */

/* ── 1. Design Tokens ── */
:root {
  --primary: #E59886;
  --on-primary: #ffffff;
  --primary-container: #e59886;
  --on-primary-container: #331812;
  --secondary: #28695c;
  --on-secondary: #ffffff;
  --secondary-container: #7bc5b4;
  --on-secondary-container: #00201a;
  --text-heading: #8C4D3F;
  --tertiary: #a98059;
  --on-tertiary: #ffffff;
  --tertiary-container: #ffdbb9;
  --on-tertiary-container: #3c2a13;
  --error: #ba1a1a;
  --on-error: #ffffff;

  --primary-fixed: #ffdbd1;
  --secondary-fixed: #a2f2e0;
  --tertiary-fixed: #ffdbb9;

  --surface: #fbf9f8;
  --on-surface: #1c1b1b;
  --surface-variant: #f2e3e0;
  --on-surface-variant: #514441;
  --outline: #847470;
  --surface-dim: #dbd9d8;

  --font-heading: 'Noto Serif', serif;
  --font-body: 'Manrope', sans-serif;
}

/* ── 2. Global Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2 {
  text-transform: capitalize;
}

/* ── 3. Typography ── */
.font-headline-xl {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.font-headline-lg {
  font-size: clamp(30px, 3vw, 48px);
  font-family: 'Noto Serif', serif;
  font-weight: 400;
  line-height: 1.2;
}

.font-headline-md {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
}

.font-body-lg {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.font-body-md {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
}

.font-label-md {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.font-label-sm {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── 4. Utility Classes ── */
.text-primary {
  color: var(--text-heading);
}

.text-secondary {
  color: var(--secondary);
}

.text-on-surface-variant {
  color: var(--on-surface-variant);
}

.text-error {
  color: var(--error);
}

.tracking-tight {
  letter-spacing: -0.02em;
}

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

.bg-primary-fixed {
  background-color: var(--primary-fixed);
}

.bg-secondary-fixed {
  background-color: var(--secondary-fixed);
}

.bg-tertiary-fixed {
  background-color: var(--tertiary-fixed);
}

.bg-surface-variant {
  background-color: var(--surface-variant);
}

/* ── 5. Layout ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4rem 0;
}

/* ── 6. Header & Nav ── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(251, 249, 248, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(132, 116, 112, 0.2);
  width: 100%;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-btn {
  background-color: var(--primary);
  color: var(--on-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-btn:hover {
  background-color: #6d392e;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(140, 77, 63, 0.08);
}

.mobile-menu-btn .material-symbols-outlined {
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.mobile-menu-btn.open {
  background: rgba(140, 77, 63, 0.1);
}

.mobile-menu-btn.open .material-symbols-outlined {
  transform: rotate(180deg);
  color: var(--primary);
}

.mobile-menu-close-btn {
  display: none;
  position: absolute;
  top: 0.85rem;
  right: 0.25rem;
  z-index: 110;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--on-surface);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 10px 0px #3c2a1341;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s all;
}
.back-to-top:hover {
  background: #6d392e;
}
.back-to-top span {
  font-size: 1.8rem;
  font-weight: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-container {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  color: #fff;
}

.floating-btn .icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-btn .icon-wrap svg,
.floating-btn .icon-wrap img,
.floating-btn .icon-wrap span {
  transform: scale(0.85);
  /* Slightly scale down the 24px icons */
}

.floating-btn .btn-text {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.85rem;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, padding 0.4s ease;
}

.floating-btn:hover .btn-text {
  max-width: 150px;
  opacity: 1;
  padding-right: 1.25rem;
}

@media (max-width: 768px) {
  .floating-btn .btn-text {
    display: none !important;
  }

  .floating-btn:hover {
    border-radius: 8px 0 0 8px;
    /* Ensure shape doesn't stretch */
  }
}

.floating-btn--instagram {
  background: #e1306c;
}

.floating-btn--instagram:hover {
  background: #b92b59;
}

.floating-btn--whatsapp {
  background: #25d366;
}

.floating-btn--whatsapp:hover {
  background: #1da851;
}

.floating-btn--whatsapp img {
  width: 24px;
  height: 24px;
}

.floating-btn--call {
  background: var(--primary);
  color: #fff;
}

.floating-btn--call:hover {
  background: #6d392e;
}

.floating-btn--call span {
  font-size: 1.5rem;
}

/* ── 7. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: #6d392e;
  box-shadow: 0 4px 14px rgba(140, 77, 63, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-fixed);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  border: 1px solid #ffffff;
}

.btn-white:hover {
  background-color: var(--surface-variant);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

/* ── Service page hero: background image set per-page in services-shared.css ── */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(30, 18, 8, 0.88) 0%,
      rgba(30, 18, 8, 0.72) 45%,
      rgba(30, 18, 8, 0.15) 100%);
  z-index: 1;
}

@media (min-width: 768px) {
  .hero::after {
    background: linear-gradient(to right,
        rgba(30, 18, 8, 0.95) 0%,
        rgba(30, 18, 8, 0.80) 38%,
        rgba(30, 18, 8, 0.05) 68%,
        transparent 100%);
  }
}

/* Service page hero: content above pseudo-elements, with padding */
.hero .container {
  position: relative;
  z-index: 2;
}

.hero:not(:has(.hero-swiper)) {
  padding-top: 5rem;
  padding-bottom: 5rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero:not(:has(.hero-swiper)) .container {
  max-width: 1280px;
  width: 100%;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .hero:not(:has(.hero-swiper)) {
    padding-top: 5rem;
    padding-bottom: 5rem;
    min-height: 90vh;
  }
}

/* ── Homepage: suppress section-level ::before/::after — slides handle their own ── */
.hero:has(.hero-swiper)::before,
.hero:has(.hero-swiper)::after {
  display: none;
}

/* ── Hero Swiper ── */
.hero-swiper {
  width: 100%;
  position: relative;
}

/* Fixed height — all three elements must match for Swiper fade to work */
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  /* height: 560px; */
}

@media (min-width: 640px) {

  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-swiper .swiper-slide {
    min-height: 80vh;
  }
}

@media (min-width: 1024px) {

  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-swiper .swiper-slide {
    min-height: 90vh;
  }
}

/* @media (max-height: 700px) and (min-width: 768px) {
    .hero-swiper .swiper-wrapper .hero-title br , .hero .section-headline br{
      display: none;
    }
    .hero-swiper .swiper-wrapper .hero-title , .hero .section-headline{
      max-width: 850px;
    }
    .hero-swiper .swiper-slide .hero-desc , .hero .hero-desc{
      max-width: 750px;
    }
    .hero-swiper .swiper-slide::after , .hero::after{
      background: linear-gradient(to right, rgba(30, 18, 8, 0.95) 0%, rgba(30, 18, 8, 0.8) 50%, rgba(30, 18, 8, 0.05) 90%, transparent 100%) !important;
    }
} */

/* Each slide: flex so content is vertically centred */
.hero-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  /* reserve space for pagination dots */
}

/* Slide background image */
.hero-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/home/Banner.jpg') center / cover no-repeat;
  z-index: 0;
}

/* Slide 2 — results banner */
.hero-swiper .hero-slide-results::before {
  background-image: url('../images/home/banner-result.jpg');
  background-position: right;
}

/* Slide 3 — skin banner */
.hero-swiper .hero-slide-skin::before {
  background-image: url('../images/home/banner-skin.jpg');
  background-position: right;
}

@media (max-width: 767px) {
  .hero-swiper .swiper-slide::before {
    background-image: url('../images/home/Banner-mobile.jpg');
    background-position: center;
  }

  .hero-swiper .hero-slide-results::before {
    background-image: url('../images/home/banner-result-mobile.jpg');
    background-position: center;
  }

  .hero-swiper .hero-slide-skin::before {
    background-image: url('../images/home/banner-skin-mobile.jpg');
    background-position: center;
  }
}

/* Slide dark gradient overlay */
.hero-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(30, 18, 8, 0.88) 0%,
      rgba(30, 18, 8, 0.72) 45%,
      rgba(30, 18, 8, 0.15) 100%);
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-swiper .swiper-slide::after {
    background: linear-gradient(to right,
        rgba(30, 18, 8, 0.95) 0%,
        rgba(30, 18, 8, 0.80) 38%,
        rgba(30, 18, 8, 0.05) 68%,
        transparent 100%);
  }
}

/* Slide content above pseudo-elements */
.hero-swiper .swiper-slide .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ── Pagination dots ── */
.hero-swiper-pagination {
  position: absolute !important;
  bottom: 1.25rem !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  z-index: 10 !important;
  padding: 0 !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgb(255, 255, 255);
  opacity: 1;
  margin: 0 !important;
  transition: background 0.35s ease, width 0.35s ease;
  cursor: pointer;
  display: inline-block;
  flex-shrink: 0;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 28px;
}

/* ── Navigation arrows ── */
.hero-swiper-prev,
.hero-swiper-next {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  border: 1px solid var(--on-primary);
  background: var(--on-primary-container);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  box-shadow: 0 0 10px 0 var(--on-primary-container);
  transition: 0.25s ease, transform 0.25s ease;
  top: auto;
  bottom: 10px !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
}

.hero-swiper-prev {
  left: auto;
  right: 5.5rem !important;
}

.hero-swiper-next {
  right: 2rem !important;
}

@media (max-width:768px) {

  .hero-swiper-prev,
  .hero-swiper-next {
    bottom: 0 !important;
  }
}

.hero-swiper-prev:hover,
.hero-swiper-next:hover {
  scale: 1.1;
  border: 1px solid var(--primary);
}

.hero-swiper-prev::after,
.hero-swiper-next::after {
  font-size: 14px !important;
  font-weight: 900;
  color: var(--on-primary);
}

/* Hide arrows on small mobile, dots are enough */
@media (max-width: 479px) {

  .hero-swiper-prev,
  .hero-swiper-next {
    display: none !important;
  }
}

/* ── Slide-in animation ── */
.hero-swiper .swiper-slide-active .hero-content-wrap {
  animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

/* ── Text colour overrides (white on dark overlay) ── */
.hero .hero-title,
.hero .hero-desc,
.hero .hero-stat-value,
.hero .hero-stat-label {
  color: #ffffff !important;
}

.hero .hero-title span {
  color: var(--tertiary-container) !important;
}

.hero .hero-badge {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(6px);
}

.hero .hero-stats {
  border-top-color: rgba(255, 255, 255, 0.2) !important;
}

.hero-content-wrap {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: var(--primary-fixed);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 40px;
}

.hero-title span {
  color: var(--secondary);
}

.hero-desc {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 40ch;
  display: none;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: flex-start;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(132, 116, 112, 0.2);
  max-width: max-content;
  align-items: start;
  width: auto;
}

.hero-image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 450px;
  margin: 0 auto;
}

.hero-blob {
  position: absolute;
  inset: 0;
  background-color: var(--secondary-container);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: -1;
  transform: translate(2rem, 2rem);
  opacity: 0.5;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* ── 9. Section Shared ── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ── 10. Expertise / Cards ── */
.expertise-grid {
  display: grid;
  gap: 2rem;
}

.glass-card {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.card-title {
  margin-bottom: 1rem;
}

/* ── 11. Treatments ── */
.treatments-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
  text-align: center;
}

.treatments-label {
  display: inline-block;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

#treatments {
  padding-top: 1rem !important;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: none;
  border: 1px solid var(--outline);
  color: var(--on-surface-variant);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.treatments-grid {
  display: grid;
  gap: 1.5rem;
}

.treatment-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(132, 116, 112, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.treatment-icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.treatment-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  transition: gap 0.2s ease;
  gap: 0.25rem;
  margin-top: auto;
}

.treatment-card:hover .treatment-link {
  gap: 0.5rem;
}

.treatment-link .material-symbols-outlined {
  font-size: 1rem;
}

.view-all-services-wrap {
  text-align: center;
}

/* ── 12. Why Choose (Accordion) ── */
.why-choose {
  background-color: #f7f3f1;
}

.why-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.why-list {
  list-style: none;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-accordion-item {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(132, 116, 112, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.why-accordion-item.active {
  box-shadow: 0 10px 20px -5px rgba(140, 77, 63, 0.1);
  border-color: rgba(140, 77, 63, 0.2);
}

.why-accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
}

.why-accordion-item .why-icon {
  background-color: var(--surface);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  transition: background-color 0.3s, color 0.3s;
}

.why-accordion-item .why-icon .material-symbols-outlined {
  font-size: 32px;
}

.why-accordion-item.active .why-icon {
  background-color: var(--secondary-container);
  color: var(--on-secondary-container);
}

.why-accordion-header h4 {
  flex: 1;
  color: var(--on-surface);
  text-transform: capitalize;
}

.why-chevron {
  color: var(--on-surface-variant);
  transition: transform 0.3s ease;
}

.why-accordion-item.active .why-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.why-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.why-accordion-content p {
  padding: 0 1.5rem 1.5rem 6.5rem;
}

.why-image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
}

.why-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
}


.gallery-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.gallery-placeholder {
  transition: opacity 0.3s;
}

.gallery-img-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
  background-color: #eee;
  transition: transform 0.3s ease;
  position: relative;
}

.gallery-img-box:hover {
  transform: scale(1.02);
}

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

.before-label,
.after-label {
  position: absolute;
  top: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.before-label {
  left: 1rem;
}

.after-label {
  right: 1rem;
}

.view-more-wrap {
  text-align: center;
}

/* ── 14. Testimonials ── */
#reviews.section-padding {
  padding-top: 1rem;
}

.stars {
  color: #fbbf24;
  margin-bottom: 2rem;
  text-align: center;
}

.test-grid {
  display: grid;
  gap: 2rem;
}

.test-card {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(132, 116, 112, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.test-quote {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.test-quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--primary-fixed);
  position: absolute;
  top: -2rem;
  left: -1rem;
  z-index: -1;
  opacity: 0.5;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.test-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--on-surface);
}

.google-btn-wrap {
  margin-top: 4rem;
  text-align: center;
}

.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.google-btn img {
  height: 24px;
}

/* ── 15. CTA Section ── */
.cta-section {
  background-color: var(--primary);
  color: #ffffff;
  text-align: center;
}

.cta-subtitle {
  max-width: 650px;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── 16. Location ── */
.location-grid {
  display: grid;
  gap: 2.5rem;
}

.loc-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--secondary);
}

.schedule-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(132, 116, 112, 0.1);
}

.schedule-table {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
}

.schedule-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(132, 116, 112, 0.1);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.td-right {
  text-align: right;
  font-weight: 500;
}

.map-wrapper {
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.map-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 17. Footer ── */
.footer {
  background-color: #f7f3f2;
  color: var(--on-surface);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-brand .brand-logo {
  height: 90px;
}

.footer-desc {
  color: var(--on-surface-variant);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--on-surface-variant);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(132, 116, 112, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: var(--on-surface-variant);
  font-size: 0.875rem;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── SEO: visually hidden service links for crawlers ── */
.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}