/* ============================================
   Cove Chiropractic — Shared Styles
   Palette drawn from brand logo
   ============================================ */

:root {
  --dark:      #2C1A0A;
  --brown:     #4A3020;
  --primary:   #A8885A;
  --primary-lt:#C4A878;
  --sand:      #D4B896;
  --cream:     #F7F2EB;
  --warm-white:#FDFAF6;
  --white:     #FFFFFF;
  --text:      #3D2B18;
  --muted:     #8A7A6A;
  --border:    #E8DDD0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,250,246,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo span {
  font-weight: 700;
  font-size: 17px;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--primary-lt) !important; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/reception.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44,26,10,0.35) 0%,
    rgba(44,26,10,0.15) 40%,
    rgba(44,26,10,0.75) 100%
  );
}


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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sand);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero h1 em {
  font-style: normal;
  color: var(--sand);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: var(--primary-lt); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   SECTIONS
   ============================================ */

section { padding: 96px 24px; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */

.about-strip {
  background: var(--cream);
  padding: 96px 24px;
}

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

.about-content p {
  font-size: 16px;
  color: #5A4535;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content p:last-of-type { margin-bottom: 28px; }

.about-image {
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ============================================
   SERVICES
   ============================================ */

.services { background: var(--warm-white); }

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

.service-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.25s;
  border: 1px solid var(--border);
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168,136,90,0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.process { background: var(--cream); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: var(--border);
}

.process-step { text-align: center; position: relative; }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================
   TEAM
   ============================================ */

.team { background: var(--warm-white); }

.team-single {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 56px;
}

.team-photo {
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-bio .name {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.team-bio .title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 24px;
}

.team-bio p {
  font-size: 16px;
  color: #5A4535;
  line-height: 1.8;
  margin-bottom: 16px;
}

.team-bio .quals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.team-bio .qual-tag {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--brown);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ============================================
   INFO BAR
   ============================================ */

.info-bar {
  background: var(--dark);
  padding: 72px 24px;
}

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

.info-item { color: white; }

.info-item .info-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.info-item h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand);
  margin-bottom: 10px;
}

.info-item p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.info-item a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.info-item a:hover { color: var(--sand); }

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--brown) 0%, var(--dark) 100%);
  text-align: center;
  padding: 96px 24px;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn-white {
  background: white;
  color: var(--dark);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 12px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: #1A0E05;
  padding: 56px 24px 32px;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.85;
}

.footer-logo span {
  font-weight: 700;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  max-width: 240px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--brown) 100%);
  padding: 140px 24px 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 460px;
  margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 340px; order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .team-single { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .team-photo { height: 440px; }
}

@media (max-width: 640px) {
  section { padding: 64px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--warm-white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
