/* ============================================
   MiraMed and Day Spa - Main Stylesheet
   Design System + Components
   ============================================ */

/* ============================================
   CSS VARIABLES (Design Tokens)
   ============================================ */
:root {
  /* Brand Colors */
  --primary: #baaea2;
  --primary-dark: #9a8e82;
  --primary-light: #d4cbc3;
  --primary-rgb: 186, 174, 162;

  /* Accent - Luxury Gold */
  --accent: #c9a96e;
  --accent-hover: #b8944d;
  --accent-light: #e8d9b8;

  /* Neutrals */
  --dark: #2d2d2d;
  --text: #4a4a4a;
  --text-light: #6b6b6b;
  --light: #f9f7f5;
  --lighter: #fdfcfb;
  --white: #ffffff;
  --border: #e8e4e0;

  /* Functional */
  --success: #6b9080;
  --error: #c17b7b;
  --warning: #d4a574;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing Scale (8px base) */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */

  /* Container */
  --container-max: 1400px;
  --container-narrow: 900px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-light);
}

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--sm {
  padding: var(--space-3xl) 0;
}

.section--lg {
  padding: calc(var(--space-4xl) * 1.5) 0;
}

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

.section--primary {
  background-color: var(--primary);
  color: var(--white);
}

.section--dark {
  background-color: var(--dark);
  color: var(--white);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.flex {
  display: flex;
}

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

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

.flex--wrap {
  flex-wrap: wrap;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--secondary {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

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

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

.btn--white:hover {
  background-color: var(--light);
  transform: translateY(-2px);
}

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

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

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: all var(--transition);
}

.header--scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.header--scrolled .header__logo,
.header--scrolled .nav__link,
.header--scrolled .header__phone {
  color: var(--dark);
}

.header--scrolled .nav__link:hover {
  color: var(--accent);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 2rem;
  gap: 2rem;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
  transition: color var(--transition);
}

.header__logo span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--accent-light);
}

.nav__link--active {
  color: var(--accent);
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition-fast);
}

.header__phone:hover {
  color: var(--accent-light);
}

.header__phone i {
  font-size: 1rem;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition);
}

.header--scrolled .nav__toggle span {
  background-color: var(--dark);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  transition: right var(--transition);
  overflow-y: auto;
}

.nav__mobile.active {
  right: 0;
}

.nav__mobile-content {
  padding: 6rem 2rem 2rem;
}

.nav__mobile-list {
  margin-bottom: 2rem;
}

.nav__mobile-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}

.nav__mobile-link:hover {
  color: var(--accent);
}

.nav__mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.nav__mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

/* Mobile Overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav__overlay.active {
  opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,45,45,0.7), rgba(45,45,45,0.4));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--white);
  padding: var(--space-4xl) 0;
}

.hero__subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  margin-bottom: var(--space-md);
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.hero__text {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Page Hero (shorter) */
.hero--page {
  min-height: 50vh;
  padding-top: 100px;
}

.hero--page .hero__content {
  padding: var(--space-3xl) 0;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background-color: var(--light);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.trust-bar__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg) var(--space-2xl);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
}

.trust-bar__item i {
  color: var(--accent);
  font-size: 1.125rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.card__image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__content {
  padding: var(--space-lg);
}

.card__title {
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

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

.card__link i {
  transition: transform var(--transition-fast);
}

.card__link:hover i {
  transform: translateX(4px);
}

/* ============================================
   SERVICE SECTIONS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.service-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__bg {
  transform: scale(1.1);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,45,45,0.9) 0%, rgba(45,45,45,0.3) 100%);
}

.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  color: var(--white);
}

.service-card__title {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.service-card__text {
  font-size: 0.9375rem;
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

.service-card__link {
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.service-card__link:hover {
  color: var(--white);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background-color: var(--light);
}

.testimonial-card {
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.testimonial-card__text {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  color: var(--text);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.testimonial-card__service {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Testimonial Slider */
.testimonials__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.why-us__item {
  text-align: center;
  padding: var(--space-xl);
}

.why-us__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  color: var(--primary-dark);
  font-size: 2rem;
}

.why-us__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.why-us__text {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ============================================
   LOCATIONS
   ============================================ */
.locations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.location-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-card__image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.location-card__content {
  padding: var(--space-xl);
}

.location-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.location-card__address {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--text);
}

.location-card__address i {
  color: var(--accent);
  margin-top: 4px;
}

.location-card__hours {
  margin-bottom: var(--space-lg);
}

.location-card__hours-title {
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.location-card__hours-list {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.location-card__buttons {
  display: flex;
  gap: var(--space-md);
}

/* ============================================
   GALLERY / BEFORE-AFTER
   ============================================ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,45,45,0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__caption {
  color: var(--white);
  font-weight: 500;
}

/* Before/After Specific */
.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.before-after__item {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.before-after__image {
  position: relative;
  height: 250px;
}

.before-after__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__label {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background-color: var(--dark);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.before-after__content {
  padding: var(--space-lg);
}

.before-after__treatment {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.before-after__description {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer__logo span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.footer__text {
  font-size: 0.9375rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background-color: var(--accent);
}

.footer__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: 0.9375rem;
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--accent-light);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
  opacity: 0.8;
}

.footer__contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.footer__contact-item a:hover {
  color: var(--accent-light);
}

/* Newsletter */
.footer__newsletter {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.footer__newsletter-text h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.footer__newsletter-text p {
  opacity: 0.7;
  font-size: 0.9375rem;
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-sm);
  flex: 1;
  max-width: 450px;
}

.footer__newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
}

.footer__newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.footer__newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer__financing {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer__financing span {
  opacity: 0.7;
}

/* ============================================
   FORMS
   ============================================ */
.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.faq__icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer-content {
  padding-bottom: var(--space-lg);
  color: var(--text);
  line-height: 1.8;
}

/* ============================================
   PRICING TABLES
   ============================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card--featured {
  background-color: var(--primary);
  color: var(--white);
}

.pricing-card--featured .pricing-card__title,
.pricing-card--featured .pricing-card__price {
  color: var(--white);
}

.pricing-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-lg);
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
}

.pricing-card__features {
  margin-bottom: var(--space-xl);
  text-align: left;
}

.pricing-card__features li {
  padding: var(--space-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-card__features i {
  color: var(--success);
}

/* ============================================
   SPECIALS/PROMO BANNER
   ============================================ */
.promo-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--white);
  padding: var(--space-md) 0;
  text-align: center;
}

.promo-banner__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.promo-banner__text {
  font-weight: 500;
}

.promo-banner__text strong {
  font-weight: 700;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-4px);
}

/* ============================================
   MOBILE STICKY CTA BAR
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 100;
  padding: var(--space-sm);
}

.mobile-cta__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.mobile-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}

.mobile-cta__btn--call {
  background-color: var(--primary);
  color: var(--white);
}

.mobile-cta__btn--book {
  background-color: var(--accent);
  color: var(--white);
}

/* ============================================
   EXIT INTENT POPUP
   ============================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  padding: var(--space-lg);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition);
}

.popup-overlay.active .popup {
  transform: scale(1);
}

.popup__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.popup__close:hover {
  background-color: var(--border);
}

.popup__image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.popup__content {
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}

.popup__title {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.popup__text {
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.popup__form input {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.popup__skip {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-light);
  cursor: pointer;
}

.popup__skip:hover {
  color: var(--text);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: var(--space-md) 0;
  background-color: var(--light);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.breadcrumbs__item::after {
  content: '/';
  color: var(--text-light);
}

.breadcrumbs__item:last-child::after {
  display: none;
}

.breadcrumbs__link {
  color: var(--text-light);
}

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

.breadcrumbs__current {
  color: var(--dark);
  font-weight: 500;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header__subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__text {
  color: var(--text-light);
  font-size: 1.125rem;
}

/* ============================================
   PARTNERS/BRANDS
   ============================================ */
.partners {
  background-color: var(--light);
  padding: var(--space-2xl) 0;
}

.partners__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2xl) var(--space-3xl);
}

.partners__item {
  opacity: 0.6;
  transition: opacity var(--transition-fast);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.partners__item:hover {
  opacity: 1;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-page__content {
  max-width: 500px;
}

.error-page__code {
  font-size: 8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-page__title {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.error-page__text {
  color: var(--text-light);
  margin-bottom: var(--space-xl);
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-dark { color: var(--dark); }
.text-light { color: var(--text-light); }

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

.hidden { display: none; }
.visible { display: block; }
