/* ============================================
   SACRED PATH - MAIN STYLESHEET
   ============================================
   Structure:
   1. CSS Variables
   2. Reset & Base Styles
   3. Typography
   4. Layout Components (Header, Footer)
   5. UI Components (Buttons, Cards, Dividers)
   6. Utility Classes
   7. Responsive Breakpoints
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  /* Colors */
  --color-primary: #8B7355;
  --color-primary-dark: #6B5A45;
  --color-primary-light: #A68B4B;
  --color-accent: #C9A86C;
  --color-accent-light: #B8956A;

  --color-text-dark: #4A3D38;
  --color-text-medium: #5D4E47;
  --color-text-light: #6A5D58;
  --color-text-inverse: #F8EDE8;

  --color-bg-light: #F8EDE8;
  --color-bg-cream: rgba(248, 237, 232, 0.7);
  --color-bg-overlay: rgba(232, 220, 208, 0.3);

  /* Fonts */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', system-ui, sans-serif;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-xxl: 80px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 3px 10px rgba(166, 139, 75, 0.25);
  --shadow-md: 0 4px 15px rgba(166, 139, 75, 0.3);
  --shadow-lg: 0 12px 32px rgba(139, 115, 85, 0.18);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
.heading-xl {
  font-family: var(--font-heading);
  font-size: 65px;
  font-weight: 400;
  color: var(--color-text-medium);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-medium);
  letter-spacing: 0.02em;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-medium);
}

.heading-sm {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-medium);
  letter-spacing: 0.02em;
}

.text-body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.text-small {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-light);
}

.text-italic {
  font-style: italic;
}

/* ============================================
   4. LAYOUT COMPONENTS
   ============================================ */

/* Page Container */
.sacred-page {
  width: 100%;
  min-height: 100vh;
}

/* Component placeholders unwrap so their children become direct flow
   children of .sacred-page — required for position: sticky to work
   on the header and for the footer to sit flush at page end. */
#header-placeholder,
#affiliate-cta-placeholder,
#footer-placeholder {
  display: contents;
}

/* Main Content Background */
.main-content-bg {
  background-image: url('../images/full-bg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: var(--color-bg-cream);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 154, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  background-image: url('../images/full-bg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  gap: 2px;
}

.logo-mark {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--color-accent);
  text-transform: uppercase;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 6px 2px;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-caret {
  font-size: 9px;
  transition: transform var(--transition-fast);
}

.has-submenu:hover .nav-caret,
.has-submenu:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* Desktop submenu */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 200px;
  background: var(--color-bg-cream, #FBF7F2);
  border: 1px solid rgba(201, 169, 154, 0.25);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(60, 40, 20, 0.12);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.nav-submenu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.has-submenu:hover .nav-submenu,
.has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 10px 22px;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav-submenu-link:hover {
  color: var(--color-accent);
  background: rgba(201, 168, 108, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

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

.nav-link.active {
  color: var(--color-accent);
  font-weight: 600;
}

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

.mobile-nav-link.active {
  color: var(--color-accent);
  font-weight: 600;
  padding-left: 10px;
  border-left: 3px solid var(--color-accent);
  background: rgba(201, 168, 108, 0.08);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
}

.btn-book-session {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-primary-light) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-shadow: 0 4px 14px rgba(166, 139, 75, 0.25);
  display: inline-block;
  white-space: nowrap;
}

.btn-book-session:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166, 139, 75, 0.4);
}

/* Legacy social icon — still used inside footer/other components */
.social-icon {
  color: var(--color-text-light);
  font-size: 14px;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.social-icon:hover {
  color: var(--color-accent);
}

/* Burger Menu - Hidden on desktop */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Burger menu animation when active */
.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-nav-overlay.active {
  display: block;
}

/* Mobile Navigation — hidden via display:none so it never leaks visually */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background-image: url('../images/full-bg.png');
  background-size: cover;
  background-position: center;
  flex-direction: column;
  padding: 100px 40px 40px;
  z-index: 1000;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(251, 223, 208, 0.92);
  z-index: -1;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(139, 115, 85, 0.15);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary-light);
  padding-left: 10px;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(139, 115, 85, 0.15);
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: none;
  cursor: pointer;
  text-align: left;
}

.mobile-nav-toggle i {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.mobile-nav-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  display: none;
  flex-direction: column;
  padding: 4px 0 12px 16px;
}

.mobile-nav-submenu.open {
  display: flex;
}

.mobile-nav-sublink {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 10px 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-sublink:hover,
.mobile-nav-sublink.active {
  color: var(--color-primary-light);
  padding-left: 6px;
}

.mobile-book-session {
  margin-top: 32px;
  text-align: center;
}

/* Body scroll lock when mobile nav is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* =========================================
   Affiliate CTA — full-width section placed
   just before the footer on every page.
   ========================================= */
.affiliate-cta {
  position: relative;
  width: 100%;
  padding: 90px 60px;
  background-image: url('../images/affliate-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(139, 115, 85, 0.18);
  border-bottom: 1px solid rgba(139, 115, 85, 0.18);
}

.affiliate-cta-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(*/
  /*  135deg,*/
  /*  rgba(52, 34, 22, 0.62) 0%,*/
  /*  rgba(90, 62, 42, 0.52) 45%,*/
  /*  rgba(251, 223, 208, 0.4) 100%*/
  /*);*/
    /*background: linear-gradient(*/
    /*        135deg,*/
    /*        rgba(52, 34, 22, 0.42) 0%,*/
    /*        rgba(90, 62, 42, 0.52) 20%,*/
    /*        rgba(251, 223, 208, 0.4) 90%*/
    /*); */
    background: linear-gradient(
            135deg,
            rgba(52, 34, 22, 0.12) 0%,
            rgba(90, 62, 42, 0.42) 0%,
            rgba(251, 223, 208, 0.2) 90%
    );
  z-index: 0;
}

.affiliate-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  color: #fdf6ee;
}

.affiliate-cta-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f4d7b0;
}

.affiliate-cta-divider-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 215, 176, 0.7), transparent);
}

.affiliate-cta-flower {
  color: #f4d7b0;
  font-size: 16px;
}

.affiliate-cta-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 500;
  font-style: italic;
  color: #fdf6ee;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(30, 18, 10, 0.35);
}

.affiliate-cta-text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: rgba(253, 246, 238, 0.92);
  max-width: 720px;
  margin: 0 auto 36px;
}

.affiliate-cta-actions {
  display: flex;
  justify-content: center;
}

.affiliate-cta .affiliate-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(253, 246, 238, 0.35);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(20, 12, 6, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.affiliate-cta .affiliate-cta-btn i {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.affiliate-cta .affiliate-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(20, 12, 6, 0.45);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
}

.affiliate-cta .affiliate-cta-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .affiliate-cta {
    padding: 70px 36px;
  }

  .affiliate-cta-title {
    font-size: 38px;
  }

  .affiliate-cta-text {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .affiliate-cta {
    padding: 56px 22px;
  }

  .affiliate-cta-eyebrow {
    font-size: 11px;
    gap: 10px;
  }

  .affiliate-cta-divider-line {
    width: 32px;
  }

  .affiliate-cta-title {
    font-size: 30px;
  }

  .affiliate-cta-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
  }

  .affiliate-cta .affiliate-cta-btn {
    padding: 14px 28px;
    font-size: 12px;
    letter-spacing: 0.15em;
  }
}

/* Footer */
.footer {
  position: relative;
  padding: 70px 60px 0;
  background-image: url('../images/full-bg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(139, 115, 85, 0.12);
  color: var(--color-text-medium);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
    background: linear-gradient(180deg, rgba(248, 237, 232, 0.45) 0%, rgba(260, 237, 232, 0.05) 100%);
    /*background: linear-gradient(180deg, rgba(248, 237, 232, 0.55) 0%, rgba(248, 237, 232, 0.85) 100%);*/
  pointer-events: none;
}

.footer > * {
  position: relative;
  z-index: 1;
}

/* Decorative top */
.footer-decor-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
}

.footer-decor-line {
  flex: 0 1 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 108, 0.6), transparent);
}

.footer-decor-icon {
  color: var(--color-accent);
  font-size: 22px;
}

/* Main grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Brand column */
.footer-brand {
  padding-right: 10px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo-mark {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  line-height: 1;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
}

.footer-slogan {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.footer-about {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-light);
  margin-bottom: 22px;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 108, 0.12);
  border: 1px solid rgba(201, 168, 108, 0.35);
  color: var(--color-primary);
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Column titles */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* Link lists */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-links a i {
  font-size: 11px;
  color: var(--color-accent);
  transition: transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-links a:hover i {
  transform: translateX(2px);
}

/* Contact list */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.55;
}

.footer-contact li i {
  color: var(--color-accent);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.footer-contact a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-cta i {
  font-size: 11px;
  transition: transform var(--transition-fast);
}

.footer-cta:hover i {
  transform: translateX(3px);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(139, 115, 85, 0.15);
  max-width: 1300px;
  margin: 0 auto;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-light);
  margin: 0;
}

.footer-links-simple {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links-simple a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links-simple a:hover {
  color: var(--color-accent);
}

.footer-links-simple .divider {
  color: rgba(139, 115, 85, 0.4);
  font-size: 13px;
}

/* ============================================
   5. UI COMPONENTS
   ============================================ */

/* Buttons */
.btn-primary {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-inverse);
  text-decoration: none;
  padding: 14px 32px;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  text-decoration: none;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary i {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.btn-secondary:hover {
  color: var(--color-primary-dark);
}

.btn-secondary:hover i {
  transform: translateX(4px);
}

.btn-gradient {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-decoration: none;
  padding: 18px 50px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-primary-light) 100%);
  border: none;
  border-radius: var(--radius-sm);
  display: inline-block;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.btn-gradient:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166, 139, 75, 0.4);
}

.btn-card {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  text-decoration: none;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-primary-light) 100%);
  border: none;
  border-radius: var(--radius-sm);
  display: inline-block;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-card:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(166, 139, 75, 0.35);
}

.btn-quote {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-decoration: none;
  padding: 18px 50px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-primary-light) 100%);
  border: none;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.btn-quote:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166, 139, 75, 0.4);
}

/* Dividers */
.lotus-divider {
  text-align: center;
  padding: 50px 0 30px;
  background: transparent;
}

.lotus-icon {
  width: 80px;
  height: auto;
  opacity: 1;
  filter: sepia(20%);
}

.flower-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 0;
  background: transparent;
}

.flower-divider .divider-line {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.flower-divider .divider-flower {
  color: var(--color-accent);
  font-size: 28px;
}

.flower-divider .divider-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.7;
}

/* Cards */
.card {
  background-image: url('../images/bg-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(180, 160, 140, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 28px 36px;
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(251 223 208 / 45%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card > * {
  position: relative;
  z-index: 1;
}

/* Credential Items */
.credential-item {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--color-text-medium);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.credential-icon {
  color: var(--color-accent);
  font-size: 14px;
  opacity: 0.8;
}

/* ============================================
   6. UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.section-padding {
  padding: var(--spacing-xl);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS (generic, global)
   Soft, sacred motion — respects reduced-motion.
   Add data-reveal="up|down|left|right|zoom|fade|rise"
   to any element, or data-reveal-stagger to animate
   children in sequence. data-reveal-delay="ms" for delay.
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  [data-reveal="down"]  { transform: translateY(-28px); }
  [data-reveal="left"]  { transform: translateX(-36px); }
  [data-reveal="right"] { transform: translateX(36px); }
  [data-reveal="zoom"]  { transform: scale(0.92); }
  [data-reveal="fade"]  { transform: none; }
  [data-reveal="rise"]  { transform: translateY(44px) scale(0.97); }
  [data-reveal="tilt"]  { transform: translateY(24px) rotate(-1.2deg); }

  [data-reveal].is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0);
  }

  [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  [data-reveal-stagger].is-visible > * {
    opacity: 1;
    transform: none;
  }

  /* Gentle float on decorative flower icons while in view */
  .is-visible .divider-flower,
  .is-visible.divider-flower {
    animation: sacredFloat 6s ease-in-out infinite;
  }

  /* Subtle shimmer on accent underlines/dividers when revealed */
  [data-reveal].is-visible .divider-line,
  .is-visible > .divider-line {
    animation: sacredShimmer 2.4s ease-out 0.2s both;
  }
}

/* Playful hover lift — applies anywhere with .hover-lift */
.hover-lift {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Soft breathing glow — applies to buttons/CTAs with .pulse-soft */
.pulse-soft {
  position: relative;
}
.pulse-soft::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(201, 168, 108, 0.55);
  pointer-events: none;
  animation: sacredPulse 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes sacredFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

@keyframes sacredShimmer {
  from { opacity: 0; transform: scaleX(0.2); transform-origin: left center; }
  to   { opacity: 1; transform: scaleX(1); }
}

@keyframes sacredPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 168, 108, 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(201, 168, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 108, 0); }
}

/* ============================================
   7. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Tablets / Small Laptops */
@media (max-width: 1200px) {
  :root {
    --spacing-xl: 50px;
  }
}

@media (max-width: 1100px) {
  .heading-xl {
    font-size: 48px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .header {
    padding: 16px 30px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .heading-xl {
    font-size: 42px;
  }

  .heading-lg {
    font-size: 38px;
  }

  .footer {
    padding: 60px 40px 0;
  }

  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
    align-items: center;
  }

  .footer-brand .footer-about {
    margin-left: auto;
    margin-right: auto;
  }

  .lotus-icon {
    width: 60px;
  }

  .lotus-divider {
    padding: 40px 0 25px;
  }

  .credential-item {
    font-size: 18px;
  }
}

/* Large Phones */
@media (max-width: 600px) {
  :root {
    --spacing-xl: 20px;
    --spacing-lg: 30px;
  }

  .header {
    padding: 15px 20px;
  }

  .logo-image {
    height: 40px;
  }

  .logo-mark {
    font-size: 20px;
    letter-spacing: 0.26em;
  }

  .logo-text {
    font-size: 17px;
  }

  .heading-xl {
    font-size: 32px;
  }

  .heading-lg {
    font-size: 32px;
  }

  .heading-md {
    font-size: 24px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 13px;
  }

  .btn-secondary {
    padding: 10px 12px;
    font-size: 13px;
  }

  .btn-gradient {
    padding: 14px 36px;
    font-size: 14px;
  }

  .credential-item {
    font-size: 16px;
    gap: 8px;
  }

  .flower-divider {
    padding: 20px 0;
  }

  .flower-divider .divider-line {
    width: 50px;
  }

  .flower-divider .divider-flower {
    font-size: 22px;
  }

  .footer {
    padding: 50px 24px 0;
  }

  .footer-decor-top {
    margin-bottom: 36px;
    gap: 12px;
  }

  .footer-decor-line {
    flex: 0 1 70px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    margin-bottom: 36px;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .footer-contact-col {
    grid-column: 1 / -1;
  }

  .footer-logo-mark {
    font-size: 32px;
  }

  .footer-logo-text {
    font-size: 20px;
  }

  .footer-about {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col-title {
    font-size: 17px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .footer-col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-contact {
    align-items: flex-start;
    width: auto;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact li {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-cta {
    align-self: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 22px 0;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .footer-links-simple {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-links-simple a {
    font-size: 12px;
  }

  .lotus-icon {
    width: 50px;
  }

  .lotus-divider {
    padding: 30px 0 20px;
  }
}

/* Small Phones */
@media (max-width: 400px) {
  .heading-xl {
    font-size: 28px;
  }

  .btn-primary {
    padding: 10px 16px;
    font-size: 12px;
  }

  .btn-secondary {
    padding: 10px 8px;
    font-size: 12px;
    gap: 6px;
  }

  .credential-item {
    font-size: 14px;
    gap: 6px;
  }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   Sits fixed on every page via footer component.
   ============================================ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 30px;
  box-shadow: 0 10px 26px rgba(18, 140, 126, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55);
  z-index: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsappPulse 2.4s ease-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.55);
}

.whatsapp-float i {
  line-height: 1;
}

@keyframes whatsappPulse {
  0%   { box-shadow: 0 10px 26px rgba(18, 140, 126, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 10px 26px rgba(18, 140, 126, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 26px rgba(18, 140, 126, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}

/* ============================================
   SACRED MODAL — SHARED RESPONSIVE BEHAVIOR
   Forces the modal to truly center on every
   viewport and hides the mobile nav while
   a modal is open.
   ============================================ */
.sacred-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sacred-modal.is-open {
  display: flex;
}

.sacred-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(74, 61, 56, 0.65);
  backdrop-filter: blur(4px);
  z-index: 0;
}

.sacred-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: auto;
  padding: 52px 56px 42px;
  /* Overlay + image layered as a single background so both cover the full
     scrollable content area (not just the visible frame like a ::before). */
  background:
    linear-gradient(rgba(248, 237, 232, 0.82), rgba(248, 237, 232, 0.82)),
    url('../images/orign-path.png') center/cover no-repeat,
    #f8ede8;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 168, 108, 0.4);
  box-shadow: var(--shadow-lg);
  animation: sacredModalIn 0.3s ease;
}

@keyframes sacredModalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sacred-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(93, 78, 71, 0.3);
  color: var(--color-text-medium);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
}

.sacred-modal-close:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.sacred-modal-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.sacred-modal-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-dark);
}

.sacred-modal-body p {
  margin: 0 0 16px;
}

.sacred-modal-body p:last-child {
  margin-bottom: 0;
}

.sacred-modal-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.sacred-modal-body ul li {
  position: relative;
  padding: 6px 0 6px 26px;
  line-height: 1.7;
}

.sacred-modal-body ul li::before {
  content: '\2732';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--color-accent);
  font-size: 13px;
}

.sacred-modal-body strong {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  letter-spacing: 0.02em;
  margin: 16px 0 6px;
}

.sacred-modal-body p:first-child strong {
  margin-top: 0;
}

/* Section-full-content helper — hidden source element cloned into the modal */
.section-full-content {
  display: none;
}

/* Hide the mobile nav whenever a modal is open so the off-canvas menu
   never bleeds behind the dialog. */
body.sacred-modal-open {
  overflow: hidden;
}

body.sacred-modal-open .mobile-nav,
body.sacred-modal-open .mobile-nav-overlay,
body.sacred-modal-open .burger-menu {
  display: none !important;
}

@media (max-width: 760px) {
  .sacred-modal {
    padding: 14px;
    align-items: flex-start;
  }

  .sacred-modal-dialog {
    max-height: calc(100vh - 28px);
    margin-top: 14px;
    padding: 52px 24px 30px;
  }

  .sacred-modal-title {
    font-size: 24px;
  }

  .sacred-modal-body {
    font-size: 15px;
  }

  .sacred-modal-body strong {
    font-size: 18px;
  }
}

@media (max-width: 440px) {
  .sacred-modal-dialog {
    padding: 48px 18px 26px;
  }

  .sacred-modal-title {
    font-size: 21px;
  }
}
