/* ============================================
   SELECT CHIROPRACTIC — STYLESHEET
   Palette: Charcoal + Coral + Pastel Air
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --charcoal: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --charcoal-dark: #1A1A1A;
  --coral: #E8775D;
  --coral-light: #F4A08E;
  --coral-pale: #FDEEE9;
  --coral-bg: #FFF5F2;
  --cream: #FDF8F5;
  --cream-dark: #F5EDE8;
  --sand: #F7F0EB;
  --sand-dark: #EDE3DB;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(45, 45, 45, 0.06), 0 1px 2px rgba(45, 45, 45, 0.04);
  --shadow-md: 0 4px 16px rgba(45, 45, 45, 0.08), 0 2px 4px rgba(45, 45, 45, 0.04);
  --shadow-lg: 0 12px 40px rgba(45, 45, 45, 0.12), 0 4px 12px rgba(45, 45, 45, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Utilities ---------- */
.section {
  padding: 100px 0;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section__label--light {
  color: var(--coral-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section__title--light {
  color: var(--white);
}

.section__sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section__sub--light {
  color: rgba(255, 255, 255, 0.75);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__header .section__sub {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 119, 93, 0.35);
}

.btn--coral:hover {
  background: var(--coral-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 119, 93, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
  transition: color var(--transition);
}

.nav.scrolled .nav__logo {
  color: var(--charcoal);
}

.nav__logo-icon {
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width var(--transition);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--white);
}

.nav.scrolled .nav__links a {
  color: var(--text-secondary);
}

.nav.scrolled .nav__links a:hover {
  color: var(--charcoal);
}

.nav__cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav__cta::after {
  display: none;
}

.nav__cta:hover {
  background: var(--coral-light) !important;
  transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  color: var(--white);
  padding: 4px;
  transition: color var(--transition);
}

.nav.scrolled .nav__toggle {
  color: var(--charcoal);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--charcoal-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  padding: 8px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-menu li a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 24px;
  transition: color var(--transition);
}

.mobile-menu li a:hover {
  color: var(--coral);
}

.mobile-menu__cta {
  margin-top: 16px;
  font-family: var(--font-body) !important;
  font-size: 18px !important;
  color: var(--coral) !important;
  padding: 14px 32px !important;
  border: 2px solid var(--coral);
  border-radius: 50px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.82) 0%,
    rgba(45, 45, 45, 0.70) 50%,
    rgba(26, 26, 26, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 119, 93, 0.18);
  border: 1px solid rgba(232, 119, 93, 0.35);
  color: var(--coral-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero__badge svg {
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 800px;
}

.hero__accent {
  color: var(--coral);
  font-style: italic;
}

.hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.hero__trust-item svg {
  color: var(--coral);
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* ---------- Services ---------- */
.services {
  background: var(--cream);
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-bg);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.card__body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- About ---------- */
.about {
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--coral-pale);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__content {
  max-width: 480px;
}

.about__body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
}

.highlight svg {
  flex-shrink: 0;
}

/* ---------- Why Us ---------- */
.why-us {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}

.why-us__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(232, 119, 93, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 119, 93, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

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

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 119, 93, 0.3);
  transform: translateY(-3px);
}

.why-card__number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--coral);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.why-card__body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

/* ---------- Testimonial Banner ---------- */
.testimonial-banner {
  background: var(--sand);
  padding: 80px 0;
}

.testimonial-banner__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.testimonial-banner__quote {
  margin: 0 auto 24px;
  opacity: 0.2;
}

.testimonial-banner__text {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 24px;
}

.testimonial-banner__attribution {
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__detail {
  display: flex;
  gap: 16px;
}

.contact__detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-bg);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.contact__detail p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact__detail a {
  color: var(--coral);
  transition: color var(--transition);
}

.contact__detail a:hover {
  color: var(--charcoal);
}

/* Contact Form */
.contact__form-wrap {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--sand-dark);
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 119, 93, 0.12);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

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

.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px;
  background: var(--coral-bg);
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 16px;
}

.form__success svg {
  color: var(--coral);
}

.form__success p {
  font-size: 15px;
  color: var(--charcoal);
  font-weight: 500;
}

/* ---------- Map Section ---------- */
.map-section {
  background: var(--charcoal-dark);
}

.map-section iframe {
  display: block;
  filter: grayscale(0.3);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal-dark);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--coral);
}

.footer__contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer__contact strong {
  color: rgba(255, 255, 255, 0.85);
}

.footer__contact a {
  color: var(--coral);
  transition: color var(--transition);
}

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

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    gap: 48px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__content {
    padding: 100px 24px 60px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    justify-content: center;
    width: 100%;
  }

  .hero__trust {
    gap: 16px;
  }

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

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

  .about__image img {
    height: 360px;
  }

  .about__image-accent {
    width: 80px;
    height: 80px;
    bottom: -12px;
    right: -12px;
  }

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

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__form-wrap {
    padding: 28px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero__content {
    padding: 90px 16px 48px;
  }

  .card {
    padding: 28px 22px;
  }

  .why-card {
    padding: 28px 24px;
  }
}
