/* ============================================================
   JENNY BEAUTY SERVICES — styles.css
   Luxury beauty aesthetic: white, rose gold, soft beige.
   Mobile-first · WCAG-conscious · Core Web Vitals friendly.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --white: #FFFFFF;
  --ivory: #FDF9F6;          /* soft warm background */
  --beige: #F4EAE2;          /* section alternate background */
  --sand: #E9DAD0;
  --rose-gold: #B76E79;      /* primary accent */
  --rose-gold-deep: #9C5560; /* hover / AA-contrast accent */
  --rose-gold-soft: #F2DFDD;
  --charcoal: #2E2A28;       /* primary text — high contrast */
  --stone: #6B615C;          /* secondary text */
  --whatsapp: #1FAF57;
  --whatsapp-deep: #128C7E;
  --error: #B3261E;
  --success: #1E6E42;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 30px rgba(46, 42, 40, 0.08);
  --shadow-lift: 0 14px 40px rgba(46, 42, 40, 0.14);
  --container: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem; /* offset for sticky header on anchor jumps */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--charcoal);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h4 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 500; }

p { margin: 0 0 1em; }

a { color: var(--rose-gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }

:focus-visible {
  outline: 3px solid var(--rose-gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow { max-width: 820px; }

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.alt-bg { background: linear-gradient(180deg, var(--ivory) 0%, var(--beige) 100%); }

/* Chinese sub-labels on service names */
.zh {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78em;
  font-weight: 400;
  color: var(--stone);
  margin-left: 0.4em;
  letter-spacing: 0.05em;
}

/* Eyebrow labels */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-gold-deep);
  margin-bottom: 0.9rem;
}

.section-intro {
  max-width: 46rem;
  color: var(--stone);
  font-size: 1.1rem;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.accent { color: var(--rose-gold-deep); font-style: italic; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* Honeypot — visually removed, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;                 /* large tap target */
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-deep) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(183, 110, 121, 0.35);
}
.btn-primary:hover { color: var(--white); box-shadow: 0 10px 26px rgba(183, 110, 121, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--rose-gold);
  color: var(--rose-gold-deep);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--rose-gold-soft); color: var(--rose-gold-deep); }

.btn-soft {
  background: var(--rose-gold-soft);
  color: var(--rose-gold-deep);
  font-size: 0.92rem;
  padding: 0.6rem 1.3rem;
  white-space: nowrap;
}
.btn-soft:hover { background: var(--rose-gold); color: var(--white); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(183, 110, 121, 0.14);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-deep) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--charcoal);
}
.brand-name em { color: var(--rose-gold-deep); font-style: italic; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 26px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a:not(.btn) {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 400;
  font-size: 0.98rem;
  padding: 0.5rem 0.15rem;
}
.nav-menu a:not(.btn):hover { color: var(--rose-gold-deep); }
.btn-nav { font-size: 0.92rem; padding: 0.6rem 1.3rem; min-height: 42px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(183, 110, 121, 0.15);
    box-shadow: var(--shadow-soft);
    padding: 0.6rem var(--gutter) 1.2rem;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { border-bottom: 1px solid rgba(183, 110, 121, 0.1); }
  .nav-menu li:last-child { border-bottom: none; padding-top: 0.9rem; }
  .nav-menu a:not(.btn) { display: block; padding: 0.9rem 0.2rem; font-size: 1.05rem; }
  .btn-nav { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
  background: var(--ivory);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52rem 32rem at 85% 8%, rgba(183, 110, 121, 0.16), transparent 60%),
    radial-gradient(40rem 30rem at 8% 92%, rgba(233, 218, 208, 0.85), transparent 65%),
    linear-gradient(160deg, #FFFFFF 0%, var(--ivory) 55%, var(--beige) 100%);
}
.hero-inner { position: relative; max-width: 860px; }
.hero-summary {
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  color: var(--stone);
  max-width: 42rem;
  margin-bottom: 2.2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.4rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--stone);
  font-size: 0.95rem;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-trust li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose-gold);
  flex-shrink: 0;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(183, 110, 121, 0.12);
  padding-block: 1.8rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.4rem 2rem;
}
.trust-item { display: grid; gap: 0.15rem; }
.trust-item strong { font-weight: 500; letter-spacing: 0.02em; }
.trust-item span { color: var(--stone); font-size: 0.92rem; }

/* ---------- Services ---------- */
.service-category { margin-bottom: clamp(2.8rem, 6vw, 4.2rem); }
.service-category:last-of-type { margin-bottom: 0; }
.service-category-head { max-width: 46rem; margin-bottom: 1.6rem; }
.service-category-head p { color: var(--stone); }

/* Category header with photo */
.service-category-head.has-photo {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: center;
}
.service-category-head.has-photo .service-category-text { max-width: 46rem; }
.service-category-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 860px) {
  .service-category-head.has-photo { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
  .service-category-photo { height: 190px; }
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(183, 110, 121, 0.16);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.7rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.service-info h4 { margin-bottom: 0.25rem; }
.service-meta {
  margin: 0;
  color: var(--rose-gold-deep);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.service-note { margin: 0.15rem 0 0; color: var(--stone); font-size: 0.9rem; }

.section-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section-cta p { color: var(--stone); margin-bottom: 0.9rem; }

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.benefit-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(183, 110, 121, 0.14);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--rose-gold-soft);
  color: var(--rose-gold-deep);
  font-size: 1.4rem;
}
.benefit-card h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.15rem; }
.benefit-card p { color: var(--stone); font-size: 0.98rem; margin: 0; }

/* ---------- Meet Jenny (about) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}
@media (min-width: 820px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }
}
.about-photo-wrap {
  margin: 0;
  position: relative;
  max-width: 420px;
  justify-self: center;
}
.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1.5px solid var(--rose-gold);
  border-radius: var(--radius-lg);
  opacity: 0.45;
  pointer-events: none;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  position: relative;
}
.about-text .hero-ctas { margin-bottom: 0; margin-top: 1.6rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.testimonial-card {
  margin: 0;
  background: linear-gradient(170deg, var(--white) 0%, var(--ivory) 100%);
  border: 1px solid rgba(183, 110, 121, 0.16);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card blockquote { margin: 0 0 1.2rem; }
.testimonial-card blockquote p {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.55;
  margin: 0;
}
.testimonial-card figcaption { color: var(--stone); font-size: 0.92rem; }
.testimonial-card figcaption strong { color: var(--charcoal); font-weight: 500; }
.testimonial-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--stone);
  font-size: 0.92rem;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.9rem; }
.faq-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(183, 110, 121, 0.16);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.5rem;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--rose-gold-deep);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.3rem; color: var(--stone); }
.faq-answer p { margin: 0; }

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 860px) {
  .location-grid { grid-template-columns: 1fr 1.15fr; gap: 3rem; }
}
.location-info address { font-style: normal; font-size: 1.1rem; margin-bottom: 1.2rem; }
.location-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--stone);
}
.location-list strong { color: var(--charcoal); font-weight: 500; }
.location-note { color: var(--stone); font-size: 0.95rem; margin-bottom: 1.4rem; }
.location-map { display: grid; gap: 1.2rem; }
.location-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.location-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

/* ---------- Contact form ---------- */
.contact-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(183, 110, 121, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { margin-bottom: 1.1rem; display: grid; gap: 0.35rem; }
.form-field label { font-weight: 500; font-size: 0.95rem; }
.form-field label span { color: var(--rose-gold-deep); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--rose-gold);
  box-shadow: 0 0 0 4px rgba(183, 110, 121, 0.15);
}
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: var(--error);
}

.form-privacy {
  margin-top: 1rem;
  text-align: center;
  color: var(--stone);
  font-size: 0.88rem;
}

.form-status {
  margin-top: 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-align: center;
}
.form-status.is-error {
  background: #FDECEA;
  color: var(--error);
  padding: 0.9rem 1.2rem;
}
.form-status.is-success {
  background: #E8F5EE;
  color: var(--success);
  padding: 0.9rem 1.2rem;
}

.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #D9D2CD;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.96rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; } }

.footer-brand .brand-name { color: var(--white); font-size: 1.5rem; margin-bottom: 0.6rem; }
.footer-brand em { color: var(--rose-gold); }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: #D9D2CD; text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.85rem;
  color: #A79E98;
}
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-deep) 100%);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(18, 140, 126, 0.55);
  color: var(--white);
}
@media (max-width: 540px) {
  .whatsapp-float-label { display: none; }       /* icon-only on small screens */
  .whatsapp-float { padding: 0.95rem; border-radius: 50%; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .whatsapp-float, .nav-toggle, .contact-form button { display: none !important; }
  body { background: #fff; color: #000; }
}
