:root {
  --primary: #ff6b6b;
  --primary-hover: #e85555;
  --dark: #1a1a2e;
  --text: #444;
  --text-muted: #777;
  --bg-light: #f5f6f8;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

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

body {
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Prevent flex columns from overflowing siblings (long headings/images) */
.row > [class*='col-'] {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #222;
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-hover);
  --bs-btn-hover-border-color: var(--primary-hover);
  --bs-btn-active-bg: var(--primary-hover);
  --bs-btn-active-border-color: var(--primary-hover);
  border-radius: var(--radius);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
}

.text-primary {
  color: var(--primary) !important;
}

.section-padding {
  padding: 90px 0;
}

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

.section-title .sub {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.whole-person-section .whole-person-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.whole-person-section .feature-section-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.whole-person-section .whole-person-content {
  padding-top: 0.5rem;
}

@media (min-width: 992px) {
  .whole-person-section .whole-person-content {
    padding-left: 1.5rem;
  }
}

.bg-light-section {
  background: var(--bg-light);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-transparent .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-header.header-transparent:not(.scrolled) .navbar-nav .nav-link {
  color: #fff;
}

.site-header.header-transparent:not(.scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
}

.site-header.header-transparent:not(.scrolled) .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.site-header.header-transparent:not(.scrolled) .navbar-toggler-icon {
  filter: invert(1);
}

.site-header.scrolled,
.site-header.header-solid {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.site-header.scrolled .navbar-nav .nav-link,
.site-header.header-solid .navbar-nav .nav-link {
  color: #333;
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
}

.logo-img {
  height: 44px;
  width: auto;
}

.cart-nav-btn {
  min-width: 44px;
}

/* Hero */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(26, 26, 46, 0.55), rgba(26, 26, 46, 0.55)),
    url('../images/hero.jpg') center/cover no-repeat;
  color: #fff;
  padding-top: 100px;
}

.hero-section h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-section p {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* Icon boxes */
.icon-box {
  text-align: center;
  padding: 2rem 1.25rem;
  transition: transform 0.25s ease;
}

.icon-box:hover {
  transform: translateY(-6px);
}

.icon-box .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.75rem;
  border: 2px solid rgba(255, 107, 107, 0.35);
}

/* Decorative circle */
.img-circle-wrap {
  position: relative;
  display: inline-block;
}

.img-circle-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  opacity: 0.75;
  pointer-events: none;
}

.img-circle-wrap img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.about-img-tall img {
  min-height: 340px;
}

.about-img-short img {
  min-height: 155px;
}

.steps-img img {
  min-height: 220px;
}

@media (max-width: 991px) {
  .about-img-tall img {
    min-height: 260px;
  }
}

/* Steps list */
.step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-item .num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Icon grid */
.wellness-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.wellness-icon-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
}

.wellness-icon-grid i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.wellness-icon-grid span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

/* Product cards */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card .price-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius);
  z-index: 2;
}

.product-card .img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .card-body {
  padding: 1.25rem;
}

/* Parallax strip */
.parallax-strip {
  background: linear-gradient(rgba(26, 26, 46, 0.5), rgba(26, 26, 46, 0.5)),
    url('../images/parallax.jpg') center/cover fixed;
  padding: 100px 0;
  color: #fff;
  text-align: center;
}

/* Pricing */
.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  border: 2px solid transparent;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.03);
}

.pricing-card .price {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.pricing-card ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee;
}

.pricing-card ul li i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Stats bar */
.stats-bar {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
}

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

.stat-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-item .num {
  font-size: 1.75rem;
  font-weight: 700;
}

/* Forms */
.form-control {
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding-left: 0;
  min-height: auto;
}

.form-check-input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0 0;
  flex-shrink: 0;
  border: 2px solid #ccc;
  float: none;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

.form-check-label {
  line-height: 1.5;
}

.form-check.checkbox-invalid .form-check-input {
  border-color: #dc3545;
}

.form-success-alert {
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-card .stars {
  color: #ffc107;
  margin-bottom: 0.75rem;
}

/* Blog cards */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card .tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Page banner */
.page-banner {
  padding: 140px 0 80px;
  background: linear-gradient(rgba(26, 26, 46, 0.65), rgba(26, 26, 46, 0.65)),
    url('../images/page-banner.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.breadcrumb-nav {
  justify-content: center;
  margin-top: 0.75rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.85);
}

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

/* FAQ accordion */
.accordion-button:not(.collapsed) {
  background: rgba(255, 107, 107, 0.1);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

/* Footer */
.site-footer {
  margin-top: 0;
}

.footer-top {
  background: var(--bg-light);
  padding: 70px 0 50px;
}

.footer-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--text-muted);
}

.footer-social {
  margin-top: 1.5rem;
}

.footer-social .social-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.footer-social a:hover {
  background: var(--primary-hover);
  color: #fff;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social-icons a {
  margin-right: 0;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 1.5rem;
}

.footer-links-list li {
  break-inside: avoid;
  margin-bottom: 0.5rem;
}

.footer-links-list a {
  color: var(--text);
  font-weight: 500;
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
}

.footer-bottom {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 0 30px;
}

.footer-logo {
  height: 48px;
  width: auto;
  filter: none;
}

.footer-subscribe-label {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.footer-subscribe {
  max-width: 520px;
  margin: 0 auto;
}

.footer-subscribe-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.footer-subscribe-row .form-control {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
}

.footer-subscribe-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.footer-subscribe .invalid-feedback,
.footer-subscribe .valid-feedback,
.footer-subscribe .subscribe-success {
  text-align: center;
  margin-top: 0.5rem;
}

.footer-quick-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer-quick-links li {
  list-style: none;
}

.footer-quick-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-quick-links a:hover {
  color: var(--primary);
}

/* removed duplicate footer-subscribe block below - merged above */

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
}

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

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0;
}

/* Cart */
.cart-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-qty-input {
  width: 70px;
}

.cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--dark);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Legal content */
.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.content-block img {
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}

.contact-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.gallery-grid > [class*='col-'] img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.appointment-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.contact-visual-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.contact-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.92), rgba(26, 26, 46, 0));
}

.contact-form-panel {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rw-validate-form .form-check .invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.35rem;
}

.rw-validate-form .form-check.checkbox-invalid .invalid-feedback,
.rw-validate-form .form-check .form-check-input.is-invalid ~ .invalid-feedback {
  display: block;
}

@media (max-width: 991px) {
  .site-header.header-transparent:not(.scrolled) .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 0.5rem;
  }

  .site-header.header-transparent:not(.scrolled) .navbar-collapse .nav-link {
    color: #333 !important;
  }

  .pricing-card.featured {
    transform: none;
  }

  .parallax-strip {
    background-attachment: scroll;
  }
}
