/* ==========================================================================
   Hair by Jessenia - Shared Stylesheet (styles.css)
   Clean, Zero-Build Vanilla CSS (<12 KB)
   ========================================================================== */

:root {
  --brand-pink: #db2777;
  --brand-pink-hover: #be185d;
  --brand-pink-dark: #9d174d;
  --brand-pink-light: #fdf2f8;
  --brand-pink-soft: #fce7f3;
  --brand-pink-border: #fbcfe8;
  
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, Cambria, serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--stone-50);
  color: var(--stone-800);
  line-height: 1.6;
  font-size: 1rem;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* Accessibility & Focus States */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--brand-pink);
  color: #fff;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s ease-in-out;
}
.skip-link:focus {
  top: 0;
}

*:focus-visible {
  outline: 2px solid var(--brand-pink);
  outline-offset: 2px;
}

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

/* Typography Utilities */
.font-serif-display {
  font-family: var(--font-serif);
}

.text-pink-600 { color: var(--brand-pink); }
.text-pink-700 { color: var(--brand-pink-hover); }
.text-stone-500 { color: #78716c; }
.text-stone-600 { color: var(--stone-600); }
.text-stone-700 { color: var(--stone-700); }
.text-stone-800 { color: var(--stone-800); }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.section-white { background-color: #ffffff; }
.section-stone { background-color: var(--stone-50); }
.section-pink { background-color: var(--brand-pink-light); }

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

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-pink);
  letter-spacing: -0.01em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--stone-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--brand-pink);
}

.nav-cta-btn {
  display: inline-block;
  background-color: var(--brand-pink);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 4px rgba(219, 39, 119, 0.25);
  transition: all 0.2s ease;
}
.nav-cta-btn:hover {
  background-color: var(--brand-pink-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(219, 39, 119, 0.35);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--stone-700);
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 860px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--stone-200);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--stone-700);
  border-bottom: 1px solid var(--stone-100);
}
.mobile-menu a:hover {
  color: var(--brand-pink);
}
.mobile-menu .mobile-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  background-color: var(--brand-pink);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.85rem;
  font-weight: 600;
  border-bottom: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #fce7f3 0%, #f5f5f4 50%, #fdf2f8 100%);
  padding: 4rem 1.5rem;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-pink-hover);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--stone-700);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--brand-pink);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.3);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover {
  background-color: var(--brand-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(219, 39, 119, 0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: var(--brand-pink) !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-pink-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-align: center;
}
.btn-secondary:hover {
  background-color: var(--stone-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* About / Profile Portrait */
.about-portrait-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: 100%;
}

.about-portrait-wrapper picture {
  display: block;
  width: 100%;
  max-width: 380px;
}

.about-portrait {
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 480px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
}

@media (max-width: 767px) {
  .about-portrait-wrapper picture {
    max-width: 340px;
  }
  .about-portrait {
    max-width: 340px;
    max-height: 400px;
  }
}

/* Service Cards */
.service-card {
  background-color: #ffffff;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  border: 1px solid var(--stone-200);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-pink-border);
}
.service-icon {
  color: var(--brand-pink);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}
.service-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--stone-800);
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--stone-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--brand-pink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease, gap 0.2s ease;
}
.service-card-link:hover {
  color: var(--brand-pink-hover);
  gap: 0.6rem;
}

/* Testimonial Cards */
.testimonial-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--brand-pink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-quote {
  font-style: italic;
  color: var(--stone-700);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  font-weight: 700;
  color: var(--stone-800);
  font-size: 0.95rem;
}

/* Hybrid Gallery Fallback & Instagram Banner */
.gallery-fallback {
  margin-top: 2rem;
  padding: 2rem;
  background-color: var(--brand-pink-light);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--brand-pink-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
  transition: all 0.25s ease;
}
.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(220, 39, 67, 0.4);
}

/* Tap-First Booking Form Components */
.form-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--stone-200);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .form-card {
    padding: 2.75rem;
  }
}

.form-group {
  margin-bottom: 1.75rem;
}
.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--stone-800);
  margin-bottom: 0.5rem;
}
.form-label .required {
  color: #dc2626;
}
.form-helper {
  font-size: 0.85rem;
  color: var(--stone-500);
  margin-top: 0.25rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--stone-800);
  background-color: #ffffff;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.2);
  outline: none;
}

/* Tap-Friendly Pill Selector Grid */
.pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}
@media (min-width: 500px) {
  .pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 680px) {
  .pill-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pill-option {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
}
.pill-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pill-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background-color: #ffffff;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--stone-700);
  transition: all 0.2s ease;
}
.pill-box:hover {
  border-color: var(--brand-pink-border);
  background-color: var(--brand-pink-light);
}
.pill-option input:checked + .pill-box {
  border-color: var(--brand-pink);
  background-color: var(--brand-pink-light);
  color: var(--brand-pink-hover);
  font-weight: 600;
  box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.15);
}
.pill-option input:focus-visible + .pill-box {
  outline: 2px solid var(--brand-pink);
  outline-offset: 2px;
}
.pill-check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--stone-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: all 0.2s ease;
}
.pill-option input:checked + .pill-box .pill-check-icon {
  background-color: var(--brand-pink);
  border-color: var(--brand-pink);
  color: #ffffff;
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.alert-success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Footer */
.site-footer {
  background-color: var(--stone-900);
  color: #a8a29e;
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a {
  color: var(--brand-pink-border);
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #ffffff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Prose for Privacy Policy */
.prose {
  max-width: 800px;
  margin: 0 auto;
  color: var(--stone-700);
  line-height: 1.75;
}
.prose h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--brand-pink-hover);
  margin-bottom: 0.75rem;
}
.prose h2 {
  font-size: 1.4rem;
  color: var(--stone-900);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose h3 {
  font-size: 1.15rem;
  color: var(--stone-800);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose p {
  margin-bottom: 1.25rem;
}
.prose ul, .prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.35rem;
}
