/* ============================================
   Hair Pixie Salon — Design System & Styles
   Garden-inspired, neurodivergent-friendly
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors — garden + purple palette */
  --color-primary: #9B7FBF;
  --color-primary-light: #B8A0D4;
  --color-primary-dark: #7A5FA0;
  --color-secondary: #8FAE8B;
  --color-secondary-light: #A8C4A5;
  --color-secondary-dark: #6E8E6A;
  --color-accent: #C9A0DC;
  --color-accent-rose: #D4A5A5;
  --color-bg: #FAF7F2;
  --color-bg-alt: #F3EDE4;
  --color-text: #3D2E4F;
  --color-text-light: #6B5A7D;
  --color-text-muted: #8F7FA1;
  --color-white: #FFFFFF;
  --color-border: #E6DDD0;
  --color-card-bg: #FFFFFF;
  --color-hero-overlay: rgba(61, 46, 79, 0.45);

  /* Typography */
  --font-heading: 'Quicksand', 'Nunito', sans-serif;
  --font-body: 'Inter', 'Open Sans', sans-serif;
  --fs-xs: 0.8125rem;    /* 13px */
  --fs-sm: 0.875rem;     /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-md: 1.125rem;     /* 18px */
  --fs-lg: 1.375rem;     /* 22px */
  --fs-xl: 1.75rem;      /* 28px */
  --fs-2xl: 2.25rem;     /* 36px */
  --fs-3xl: 3rem;        /* 48px */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1140px;
  --nav-height: 72px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  --border-radius-pill: 999px;

  /* Transitions — slow and gentle, never jarring */
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows — soft, diffuse */
  --shadow-sm: 0 2px 8px rgba(61, 46, 79, 0.06);
  --shadow-md: 0 4px 16px rgba(61, 46, 79, 0.08);
  --shadow-lg: 0 8px 32px rgba(61, 46, 79, 0.10);
  --shadow-glow: 0 0 20px rgba(155, 127, 191, 0.25);
}

/* --- 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: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--color-text);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

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

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

.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;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-sm);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-md);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--color-primary-dark);
}

.site-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width var(--transition-base);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: var(--border-radius-pill);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
  box-shadow: var(--shadow-glow);
}

/* Hamburger button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--space-2xl);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: var(--fs-lg);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  padding: var(--space-sm) var(--space-xl);
  border: none;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  color: var(--color-white);
  box-shadow: 0 0 20px rgba(143, 174, 139, 0.25);
}

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

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

.btn-lg {
  font-size: var(--fs-md);
  padding: var(--space-md) var(--space-2xl);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  background: var(--color-bg-alt);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-lg);
}

.card p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--space-4xl) 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--color-text-light);
  font-size: var(--fs-md);
  max-width: 600px;
  margin: 0 auto;
}

/* Botanical divider */
.botanical-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  color: var(--color-secondary);
  opacity: 0.5;
}

.botanical-divider svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  background: linear-gradient(
    135deg,
    var(--color-bg) 0%,
    #EDE6F5 40%,
    #E8EFE7 70%,
    var(--color-bg) 100%
  );
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 127, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 174, 139, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-3xl));
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.hero-description {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating botanical accent in hero */
.hero-botanical {
  position: absolute;
  opacity: 0.12;
  color: var(--color-secondary);
  pointer-events: none;
}

.hero-botanical-left {
  bottom: 10%;
  left: 5%;
}

.hero-botanical-right {
  top: 15%;
  right: 5%;
  transform: scaleX(-1);
}

/* ============================================
   SERVICE HIGHLIGHTS (Home page)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl);
}

.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--color-text);
  font-style: italic;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.testimonial blockquote::before {
  content: '\201C';
  font-size: var(--fs-3xl);
  color: var(--color-primary-light);
  line-height: 0;
  display: block;
  margin-bottom: var(--space-sm);
}

.testimonial cite {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ============================================
   LOCATION / MAP
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.location-info h3 {
  margin-bottom: var(--space-md);
}

.location-info p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

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

.location-info .info-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.map-placeholder {
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-list {
  display: grid;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.service-item {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  transition: box-shadow var(--transition-base);
}

.service-item:hover {
  box-shadow: var(--shadow-md);
}

.service-item-info h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
}

.service-item-info p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-sm);
}

.service-item-info .duration {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.service-item-price {
  text-align: right;
  flex-shrink: 0;
}

.service-item-price .price {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.service-item-price .price-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .service-item {
    flex-direction: column;
  }

  .service-item-price {
    text-align: left;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
}

.about-text h2 {
  margin-bottom: var(--space-md);
}

.about-text p {
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 250px;
    margin: 0 auto;
  }
}

/* What to Expect section */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.expect-card {
  text-align: center;
  padding: var(--space-xl);
}

.expect-card svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.expect-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.expect-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.contact-details h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

.contact-item p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.hours-table td {
  padding: var(--space-xs) 0;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 45%;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BOOK NOW PAGE
   ============================================ */
.booking-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.booking-container h1 {
  margin-bottom: var(--space-md);
}

.booking-container > p {
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
}

.booking-widget-placeholder {
  background: var(--color-card-bg);
  border: 2px dashed var(--color-border);
  border-radius: var(--border-radius-lg);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-2xl);
  color: var(--color-text-muted);
}

.booking-widget-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--color-primary-light);
}

.booking-widget-placeholder p {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
}

/* ============================================
   LINK TREE PAGE
   ============================================ */
.linktree {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-lg);
  background: linear-gradient(
    180deg,
    #EDE6F5 0%,
    var(--color-bg) 40%,
    #E8EFE7 100%
  );
}

.linktree-content {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.linktree-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 3px solid var(--color-primary-light);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--fs-2xl);
}

.linktree-name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.linktree-bio {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
}

.linktree-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.linktree-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-card-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.linktree-btn:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  color: var(--color-primary-dark);
}

.linktree-btn .link-emoji {
  font-size: var(--fs-lg);
}

.linktree-footer {
  margin-top: var(--space-2xl);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .site-logo {
  color: var(--color-bg);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--color-bg);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

.footer-col a:hover {
  color: var(--color-primary-light);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-bg);
  transition: background var(--transition-base);
}

.social-links a:hover {
  background: var(--color-primary);
}

.social-links a svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ============================================
   PAGE HEADER (Interior pages)
   ============================================ */
.page-header {
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--color-bg) 0%,
    #EDE6F5 50%,
    var(--color-bg) 100%
  );
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--color-text-light);
  font-size: var(--fs-md);
  max-width: 550px;
  margin: 0 auto;
}

/* ============================================
   BOTANICAL SVG ACCENTS
   ============================================ */
.botanical-accent {
  pointer-events: none;
  color: var(--color-secondary);
  opacity: 0.1;
}

.botanical-corner-tl {
  position: absolute;
  top: 0;
  left: 0;
}

.botanical-corner-br {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
}

/* ============================================
   AFTERCARE GUIDES
   ============================================ */

/* Breadcrumb */
.breadcrumb {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Aftercare cards (index page) */
.aftercare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.aftercare-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.aftercare-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.aftercare-card .card-emoji {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.aftercare-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.aftercare-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  flex: 1;
}

.aftercare-card .card-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-top: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

/* Guide content layout */
.guide-content {
  max-width: 720px;
  margin: 0 auto;
}

.guide-section {
  margin-bottom: var(--space-xl);
}

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

.guide-section-header h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-xs);
}

/* Guide badges */
.guide-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25em 0.75em;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
}

.guide-badge.badge-green {
  background: var(--color-secondary);
  color: var(--color-white);
}

.guide-badge.badge-accent {
  background: var(--color-accent);
  color: var(--color-text);
}

/* Guide lists */
.guide-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.guide-list li {
  padding-left: 1.5em;
  position: relative;
  line-height: 1.7;
}

.guide-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.75em;
  top: 0.35em;
}

.guide-list-numbered {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.guide-list-numbered li {
  padding-left: 2.5em;
  position: relative;
  line-height: 1.7;
  counter-increment: guide-step;
}

.guide-list-numbered li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75em;
  height: 1.75em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--fs-sm);
  font-weight: 700;
}

/* Product recommendations (placeholder) */
.product-rec {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Guide CTA block */
.guide-cta {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-2xl);
}

.guide-cta h3 {
  margin-bottom: var(--space-md);
  font-size: var(--fs-lg);
}

/* Botanical divider (guide pages) */
.botanical-divider {
  text-align: center;
  margin: var(--space-xl) 0;
  color: var(--color-secondary);
  opacity: 0.4;
}

.botanical-divider svg {
  width: 24px;
  height: 24px;
}

/* Text utility */
.text-center {
  text-align: center;
}
