/*
Theme Name: Wellspring Retreat
Theme URI: http://localhost/wellspring
Author: Clinical Wellness Retreat
Description: Premium clinical wellness retreat theme
Version: 1.0
*/
:root {
  --green: #f0f0f0;
  --green-dark: #111111;
  --green-light: #fafafa;
  --gold: #B8860B;
  --red: #666666;
  --cream: #ffffff;
  --white: #ffffff;
  --dark: #111111;
  --gray: #666666;
  --light-gray: #f9f9f9;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 680px;
}

.btn-primary {
  display: inline-block;
  background: var(--light-gray);
  color: var(--dark);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  border: 2px solid var(--green);
  transition: all .3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: transparent;
  color: var(--green);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--dark);
  padding: 13px 35px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  border: 2px solid var(--dark);
  transition: all .3s ease;
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
}

/* HEADER */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all .4s ease;
  padding: 0;
}

#site-header .header-top {
  background: gainsboro;
  backdrop-filter: blur(2px);
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

#site-header .header-top a {
  color: rgba(0, 0, 0, .85);
  font-size: 12px;
}

#site-header .header-top a:hover {
  color: var(--gold);
}

#site-header .header-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

#site-header .header-social a {
  color: rgba(0, 0, 0, .85);
  font-size: 14px;
  transition: color .3s;
}

#site-header .header-social a:hover {
  color: var(--gold);
}

#site-header .header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: #FFFFF0;
  transition: all .4s ease;
}

#site-header.scrolled .header-top {
  display: none;
}

#site-header.scrolled .header-main {
  background: var(--white);
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.site-logo {
  padding: 16px 0;
}

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

.logo-svg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-svg .logo-monogram {
  font-family: var(--font-heading);
  font-size: 52px;
  color: var(--dark);
  font-weight: 600;
  line-height: 1;
}

.logo-svg .logo-name {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--dark);
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-svg .logo-tag {
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

#site-header.scrolled .logo-svg .logo-monogram,
#site-header.scrolled .logo-svg .logo-name {
  color: var(--dark);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav>li {
  position: relative;
}

.primary-nav>li>a {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .9);
  padding: 28px 14px;
  display: block;
  transition: color .3s;
  font-weight: 400;
}

.primary-nav>li>a:hover,
.primary-nav>li.active>a {
  color: var(--gold);
}

.nav-enquire {
  background: var(--light-gray);
  color: var(--dark) !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  font-size: 11px !important;
  margin-left: 10px;
}

.nav-enquire:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--dark);
  display: block;
  transition: all .3s;
}

/* HERO */
#hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-pre {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  letter-spacing: 8px;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
  opacity: 0;
  animation: fadeUp .8s .5s forwards;
}

.hero-tagline span {
  color: var(--gold);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
  margin: 28px auto 0;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp .8s .7s forwards;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .8));
  animation: scrollPulse 2s infinite;
}

/* ABOUT */
#about {
  padding: 70px 0;
  background: var(--cream);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.about-decoration {
  position: relative;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--gold);
  z-index: 0;
}

.about-img-wrap img {
  position: relative;
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 20px;
  border: 1px solid rgba(140, 122, 107, .15);
}

.stat-item {
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(140, 122, 107, .1);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 42px;
  color: var(--gold);
  font-weight: 600;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

.about-text p {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-quote {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 20px 0;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--green-dark);
  font-style: italic;
  line-height: 1.6;
}

/* INTEGRATIVE MEDICINE */
#integrative {
  padding: 70px 0;
  background: var(--white);
}

.integrative-header {
  text-align: center;
  margin-bottom: 36px;
}

.integrative-header .section-subtitle {
  margin: 0 auto;
}

.med-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 2px solid rgba(140, 122, 107, .12);
  margin-bottom: 36px;
}

.med-tab {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 16px 36px;
  cursor: pointer;
  position: relative;
  transition: all .3s;
  border: none;
  background: none;
  font-weight: 700;
}

.med-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light-gray);
  transition: width .3s;
}

.med-tab.active {
  color: var(--green);
}

.med-tab.active::after {
  width: 100%;
}

.med-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.med-panel.active {
  display: grid;
}

.med-panel-img {
  position: relative;
}

.med-panel-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.med-panel-img::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  z-index: -1;
}

.med-panel-content .section-title {
  font-size: 40px;
}

.med-panel-content p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* PROGRAMS */
#programs {
  padding: 70px 0;
  background: var(--white);
}

#programs .section-label {
  color: var(--gold);
}

#programs .section-title {
  color: var(--dark);
}

.programs-header {
  text-align: center;
  margin-bottom: 36px;
}

.programs-header .section-subtitle {
  color: rgba(0, 0, 0, .7);
  margin: 0 auto;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.program-card {
  background: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .1);
  padding: 36px 36px;
  position: relative;
  overflow: hidden;
  transition: all .4s;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height .4s;
}

.program-card:hover::before {
  height: 100%;
}

.program-card:hover {
  background: rgba(0, 0, 0, .09);
}

.program-icon {
  font-size: 36px;
  margin-bottom: 24px;
}

.program-card h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--dark);
  font-weight: 400;
  margin-bottom: 18px;
}

.program-card p {
  color: rgba(0, 0, 0, .7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* CONDITIONS */
#conditions {
  padding: 60px 0;
  background: var(--cream);
}

.conditions-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.conditions-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.condition-tag {
  background: var(--white);
  border: 1px solid rgba(140, 122, 107, .15);
  padding: 12px 18px;
  font-size: 13px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .3s;
}

.condition-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.condition-tag:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateX(4px);
}

.conditions-note {
  background: var(--light-gray);
  color: var(--dark);
  padding: 28px 32px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.7;
}

/* FACILITIES */
#facilities {
  padding: 70px 0;
  background: var(--white);
}

.facilities-header {
  text-align: center;
  margin-bottom: 40px;
}

.facilities-header .section-subtitle {
  margin: 0 auto;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.facility-card {
  position: relative;
  overflow: hidden;
  height: 520px;
  cursor: pointer;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.facility-card:hover img {
  transform: scale(1.06);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .1) 60%);
}

.facility-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 36px;
  color: #fff;
  transform: translateY(20px);
  transition: transform .4s;
}

.facility-card:hover .facility-content {
  transform: translateY(0);
}

.facility-content h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 12px;
}

.facility-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  opacity: 0;
  transition: opacity .4s .1s;
}

.facility-card:hover .facility-content p {
  opacity: 1;
}

/* TESTIMONIALS */
#testimonials {
  padding: 70px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(184, 134, 11, .15);
  border-radius: 50%;
}

#testimonials::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(184, 134, 11, .1);
  border-radius: 50%;
}

#testimonials .section-label {
  color: var(--gold);
}

#testimonials .section-title {
  color: var(--dark);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(0, 0, 0, .06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .1);
  padding: 28px 28px;
  position: relative;
  transition: all .4s;
}

.testimonial-card:hover {
  background: rgba(0, 0, 0, .1);
  transform: translateY(-6px);
}

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--gold);
  opacity: .4;
  line-height: .8;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: rgba(0, 0, 0, .85);
  font-size: 15px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--dark);
}

.author-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--dark);
  letter-spacing: 1px;
}

.author-location {
  font-size: 12px;
  color: rgba(0, 0, 0, .55);
}

/* SUSTAINABILITY */
#sustainability {
  padding: 70px 0;
  background: var(--cream);
}

.sustainability-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sustainability-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.sus-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sus-icon {
  width: 44px;
  height: 44px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--dark);
}

.sus-feature h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.sus-feature p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

.sustainability-visual {
  position: relative;
}

.sustainability-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.sus-badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: var(--white);
  color: var(--dark);
  padding: 28px 32px;
  max-width: 220px;
}

.sus-badge .num {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--gold);
}

.sus-badge p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .7);
}

/* GALLERY */
#gallery {
  padding: 60px 0;
  background: var(--white);
}

.gallery-header {
  text-align: center;
  margin-bottom: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 4px;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:first-child img {
  height: 524px;
}

/* ENQUIRE SECTION */
#enquire-cta {
  padding: 60px 0;
  background: var(--light-gray);
  text-align: center;
}

#enquire-cta .section-title {
  color: var(--dark);
  font-size: 52px;
}

#enquire-cta p {
  color: rgba(0, 0, 0, .8);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 40px;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

/* FOOTER */
#site-footer {
  background: #FDFBF7;
  padding: 50px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo-svg .logo-monogram,
.footer-brand .logo-svg .logo-name {
  color: var(--dark);
}

.footer-brand p {
  color: rgba(0, 0, 0, .5);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 20px;
  max-width: 280px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, .6);
  font-size: 14px;
  transition: all .3s;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184, 134, 11, .3);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(0, 0, 0, .5);
  font-size: 14px;
  transition: color .3s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(0, 0, 0, .5);
  font-size: 13px;
  line-height: 1.6;
}

.footer-contact-item .icon {
  color: var(--gold);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(0, 0, 0, .35);
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(0, 0, 0, .35);
  font-size: 12px;
  transition: color .3s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  transition: all .3s;
  animation: pulse 2s infinite;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, .5);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.8s ease-in-out, transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
  }

  50% {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, .7);
  }
}

/* RETINA */
@media(-webkit-min-device-pixel-ratio:2), (min-resolution:192dpi) {
  .hero-bg {
    background-image: url('images/hero-banner.png');
  }
}

/* RESPONSIVE */
@media(max-width:1024px) {

  .about-inner,
  .sustainability-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .med-panel.active {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .conditions-inner {
    grid-template-columns: 1fr;
  }

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

  .gallery-item:first-child {
    grid-column: span 2;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:768px) {
  .section-title {
    font-size: 36px;
  }

  .hero-tagline {
    font-size: 42px;
    letter-spacing: 4px;
  }

  /* Mobile nav: fullscreen overlay */
  .primary-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 80px 32px 32px;
    overflow-y: auto;
    z-index: 999;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav>li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
  }

  .primary-nav>li>a {
    font-size: 16px;
    color: var(--dark);
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Dropdown submenu on mobile */
  .primary-nav .has-dropdown>a::after {
    content: '▾';
    margin-left: 8px;
    font-size: 12px;
  }

  .primary-nav .dropdown {
    display: none;
    flex-direction: column;
    padding-left: 16px;
    background: rgba(0, 0, 0, .02);
  }

  .primary-nav .has-dropdown.mob-open .dropdown {
    display: flex;
  }

  .primary-nav .dropdown li a {
    font-size: 14px;
    padding: 10px 0;
    color: var(--gray);
  }

  /* Hamburger visible */
  .mobile-toggle {
    display: flex;
    z-index: 1000;
    position: relative;
  }

  /* Layout fixes */
  .container {
    padding: 0 20px;
  }

  .about-img-wrap::before {
    display: none;
  }

  .med-tab {
    padding: 12px 18px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .sustainability-features {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .conditions-list {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 1;
  }

  .gallery-item:first-child img {
    height: 260px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  /* Header top hidden on mobile */
  .header-top {
    display: none !important;
  }
}