/* ============================================================
   Denver Skin Therapy — Shared Stylesheet
   Colors: cream #faf8f4, tan #ede8df, gold #7a6435, olive #3a3d28
   Fonts: Cormorant Garamond (headings), Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #faf8f4;
  color: #2a2a2a;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  color: #3a3d28;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { color: #4a4a4a; line-height: 1.75; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7a6435;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background-color: #3a3d28;
  color: #faf8f4;
}
.btn-primary:hover { background-color: #2a2d1a; }

.btn-gold {
  background-color: #7a6435;
  color: #faf8f4;
}
.btn-gold:hover { background-color: #5e4d28; }

.btn-outline {
  background-color: transparent;
  color: #3a3d28;
  border: 1.5px solid #3a3d28;
}
.btn-outline:hover { background-color: #3a3d28; color: #faf8f4; }

.btn-outline-light {
  background-color: transparent;
  color: #faf8f4;
  border: 1.5px solid #faf8f4;
}
.btn-outline-light:hover { background-color: #faf8f4; color: #3a3d28; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #faf8f4;
  border-bottom: 1px solid #e8e2d8;
  padding: 0 1.5rem;
}

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

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: #3a3d28;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover { color: #7a6435; }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #7a6435;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #faf8f4;
  border: 1px solid #e8e2d8;
  min-width: 200px;
  padding: 0.5rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}

.nav-dropdown-menu a:hover { background-color: #ede8df; }

.nav-cta { margin-left: 1rem; }

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #3a3d28;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background-color: #faf8f4;
  border-top: 1px solid #e8e2d8;
  padding: 1rem 1.5rem 1.5rem;
}

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

.nav-mobile a {
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3a3d28;
  border-bottom: 1px solid #e8e2d8;
}

.nav-mobile a:last-child { border-bottom: none; }

/* ---- Footer ---- */
.footer {
  background-color: #3a3d28;
  color: #d4cfc5;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: #faf8f4;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer p, .footer a {
  font-size: 0.85rem;
  color: #b8b2a7;
  line-height: 1.8;
}

.footer a:hover { color: #faf8f4; }

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p { font-size: 0.78rem; color: #7a7468; }

/* ---- Page Hero ---- */
.page-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,32,20,0.72) 0%, rgba(30,32,20,0.3) 60%, transparent 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: #faf8f4;
}

.page-hero-content h1 { color: #faf8f4; }
.page-hero-content .eyebrow { color: #c8b87a; }

/* ---- Divider ---- */
.divider {
  width: 40px;
  height: 2px;
  background-color: #7a6435;
  margin: 1.25rem 0;
}

.divider-center { margin: 1.25rem auto; }

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid #e8e2d8;
  padding: 2rem;
}

.card-tan {
  background: #ede8df;
  padding: 2rem;
}

/* ---- Service Price Table ---- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid #e8e2d8; }
.price-table tr:last-child { border-bottom: none; }
.price-table td { padding: 0.85rem 0; font-size: 0.9rem; color: #4a4a4a; }
.price-table td:last-child { text-align: right; font-weight: 600; color: #3a3d28; }

/* ---- FAQ Accordion ---- */
.faq-category {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #3a3d28;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ede8df;
}

.faq-item { border-bottom: 1px solid #e8e2d8; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3a3d28;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover { color: #7a6435; }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: #7a6435;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #4a4a4a;
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---- Blog Grid ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e2d8;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.blog-card-body .date {
  font-size: 0.78rem;
  color: #9a9488;
  margin-bottom: 0.5rem;
}

.blog-card-body .read-more {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6435;
  margin-top: 1rem;
}

/* ---- Before/After ---- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ba-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.ba-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a6435;
  margin-top: 0.5rem;
}

/* ---- Review Stars ---- */
.stars { color: #c8a84b; font-size: 1.1rem; letter-spacing: 0.05em; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

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

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .page-hero { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-gold { color: #7a6435; }
.text-olive { color: #3a3d28; }
.bg-cream { background-color: #faf8f4; }
.bg-tan { background-color: #ede8df; }
.bg-olive { background-color: #3a3d28; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---- Skin Quiz ---- */
.quiz-section {
  background-color: #3a3d28;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.quiz-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(122,100,53,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.quiz-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.quiz-intro-text .eyebrow { color: #c8b87a; }
.quiz-intro-text h2 { color: #faf8f4; margin-top: 0.75rem; }
.quiz-intro-text h2 em { font-style: italic; color: #c8b87a; font-weight: 300; }
.quiz-intro-text p { color: #b8b2a7; margin-top: 1rem; font-size: 0.92rem; line-height: 1.78; }

.quiz-type-chips {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.quiz-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-align: center;
}

.quiz-chip strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #c8b87a;
  font-weight: 400;
  margin-bottom: 2px;
}

.quiz-chip span {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quiz-box {
  background: #faf8f4;
  padding: 2.5rem;
}

.quiz-box h3 { font-size: 1.6rem; color: #3a3d28; margin-bottom: 0.5rem; }
.quiz-box-intro { font-size: 0.875rem; color: #6a6a6a; line-height: 1.6; margin-bottom: 1.5rem; }

.quiz-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #9a9488;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.quiz-progress-track {
  height: 3px;
  background: #e8e2d8;
  margin-bottom: 1.5rem;
  border-radius: 2px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: #7a6435;
  transition: width 0.4s ease;
  border-radius: 2px;
}

.quiz-why {
  font-size: 0.78rem;
  color: #9a9488;
  font-style: italic;
  line-height: 1.6;
  background: #ede8df;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.quiz-question-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #3a3d28;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.quiz-option {
  padding: 0.8rem 1rem;
  border: 1.5px solid #e8e2d8;
  background: #ede8df;
  border-radius: 2px;
  font-size: 0.875rem;
  color: #3a3d28;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'Inter', sans-serif;
  width: 100%;
}

.quiz-option:hover, .quiz-option.selected {
  border-color: #7a6435;
  background: #fff;
}

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-nav-hint {
  font-size: 0.7rem;
  color: #9a9488;
  letter-spacing: 0.04em;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-field { margin-bottom: 0.875rem; }
.quiz-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a7468;
  margin-bottom: 0.4rem;
  font-family: 'Inter', sans-serif;
}
.quiz-field input {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1.5px solid #e8e2d8;
  background: #ede8df;
  border-radius: 2px;
  font-size: 0.9rem;
  color: #2a2a2a;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.quiz-field input:focus { border-color: #7a6435; background: #fff; }

.quiz-result-box { text-align: center; padding: 0.5rem 0; }
.quiz-result-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9488;
  margin-bottom: 0.5rem;
}
.quiz-result-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #7a6435;
  line-height: 1;
  margin-bottom: 1rem;
}
.quiz-result-desc {
  font-size: 0.875rem;
  color: #4a4a4a;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .quiz-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---- Mobile Nav Overlay ---- */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: #faf8f4;
  z-index: 200;
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.mobile-menu-inner {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #3a3d28;
  cursor: pointer;
  margin-bottom: 1.5rem;
  padding: 0.25rem;
}
.mobile-menu-inner a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #3a3d28;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8e2d8;
  text-decoration: none;
}
.mobile-menu-inner a:hover { color: #7a6435; }
.mobile-services-group { border-bottom: 1px solid #e8e2d8; }
.mobile-services-toggle {
  width: 100%;
  background: none;
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #3a3d28;
  text-align: left;
  padding: 0.75rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-services-sub { display: none; padding-left: 1rem; }
.mobile-services-sub.open { display: block; }
.mobile-services-sub a {
  font-size: 1.1rem;
  color: #7a6435;
  border-bottom: none;
  padding: 0.5rem 0;
}
