/* ==========================================================================
   She Rises Makeup & Hair Studio — Design tokens & shared styles
   ========================================================================== */

:root {
  --ink:           #000000;
  --grey:          #6b6b6b;
  --grey-light:    #e2e2e2;
  --surface:       #f4f4f4;
  --bg:            #ffffff;
  --white:         #ffffff;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius: 0;

  --gradient-accent: linear-gradient(135deg, #faf1e8 0%, #f2d9cc 35%, #e8bdb5 70%, #d9a0a0 100%);
  --accent-deep: #b5726f;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 var(--space-sm);
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.005em; }
p { margin: 0 0 var(--space-sm); color: var(--grey); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: var(--space-xl) 0; }
.section-tight { padding: var(--space-lg) 0; }
.text-center { text-align: center; }
.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-head p { margin: 0 auto; }

.rule {
  border: none;
  border-top: 1px solid var(--ink);
  margin: 0;
}
.rule-soft {
  border: none;
  border-top: 1px solid var(--grey-light);
  margin: 0;
}

.grid {
  display: grid;
  gap: var(--space-md);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem calc(2.2rem - 0.16em) 1rem 2.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  background: transparent;
}
.btn-primary { background: var(--gradient-accent); border-color: var(--accent-deep); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-whatsapp {
  border-color: #1f1f1f;
  color: var(--ink);
}
.btn-whatsapp:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a.active:not(.btn) { color: var(--ink); border-color: var(--ink); }
.nav-links .btn { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--bg);
    border-left: 2px solid var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2.5rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { font-size: 0.95rem; }
  .nav-links .btn { margin-left: 0; margin-top: 0.5rem; }
}

/* ---------- Hero ---------- */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}
.hero-meta {
  margin-top: var(--space-lg);
  display: flex;
  gap: 2.2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- Full-bleed gradient hero ---------- */
.hero-full {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-accent);
}
.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(120,70,60,0) 35%, rgba(120,70,60,0.22) 100%);
  z-index: 1;
}
.hero-full-portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 82%;
  width: auto;
  max-width: 38%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-full-portrait { display: none; }
}
.hero-full-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: var(--space-xl) 1.5rem;
  color: var(--ink);
}
.hero-full-content .logo-mark-sm {
  max-width: 150px;
  margin-bottom: var(--space-sm);
}
.hero-full-content .tagline {
  max-width: 480px;
  margin: 0 0 var(--space-md);
  font-size: 1.05rem;
  color: var(--grey);
}
.hero-full-content .hero-actions { justify-content: flex-start; }
.hero-full-content .hero-meta {
  justify-content: flex-start;
  margin-top: var(--space-md);
  gap: 1.6rem;
  color: var(--grey);
}
.hero-full-content .btn-primary { background: var(--accent-deep); color: var(--ink); border-color: var(--accent-deep); }
.hero-full-content .btn-primary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero-full-content .btn-outline { color: var(--ink); border-color: var(--ink); }
.hero-full-content .btn-outline:hover { background: var(--ink); color: var(--white); }

@media (max-width: 900px) {
  .hero-full { min-height: 440px; height: auto; overflow: visible; text-align: center; }
  .hero-full-overlay { background: linear-gradient(180deg, rgba(120,70,60,0.08) 0%, rgba(120,70,60,0.22) 100%); }
  .hero-full-content { text-align: center; padding: var(--space-lg) 1.5rem; }
  .hero-full-content .tagline { margin-left: auto; margin-right: auto; }
  .hero-full-content .hero-actions,
  .hero-full-content .hero-meta { justify-content: center; }
  .hero-full-content .logo-mark-sm { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .hero-full { min-height: 360px; }
  .hero-full-content { padding: 2.75rem 1.25rem; }
}

/* ---------- Photo blocks ---------- */
.photo-frame {
  border: 1px solid var(--ink);
  overflow: hidden;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.gallery-strip a {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg);
}
.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.gallery-strip a:hover img { transform: scale(1.05); }
@media (max-width: 860px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Page header (non-home) ---------- */
.page-hero {
  padding: var(--space-lg) 0 var(--space-md);
  text-align: center;
  border-bottom: 2px solid var(--ink);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Photo cards (services) ---------- */
.card-photo {
  background: var(--bg);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card-photo:hover { border-color: var(--ink); transform: translateY(-2px); }
.card-photo .card-photo-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-photo .card-photo-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.card-photo:hover .card-photo-img img { transform: scale(1.04); }
.card-photo .card-photo-body { padding: var(--space-sm) var(--space-md) var(--space-md); position: relative; }
.card-index {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-bottom: 0.4rem;
}
.card-photo h3 { margin-bottom: 0.4rem; }
.card-photo p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Quote / verse ---------- */
.verse {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
  margin: var(--space-md) auto;
  text-align: center;
}
.verse cite {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.8rem;
}

/* ---------- Instagram strip ---------- */
.ig-strip { background: var(--surface); border-top: 1px solid var(--grey-light); border-bottom: 1px solid var(--grey-light); }
.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.2rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 60px; }
.form-note { font-size: 0.85rem; color: var(--grey); margin-top: var(--space-sm); }

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

/* ---------- Alert / notice ---------- */
.notice {
  border: 1px solid var(--ink);
  background: var(--surface);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}
.notice.error { border-color: #b3554a; color: #7a2e25; }
.notice.success { border-color: var(--ink); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gradient-accent);
  color: var(--ink);
  padding: var(--space-lg) 0 var(--space-md);
}
.site-footer a { color: var(--ink); opacity: 0.75; }
.site-footer a:hover { opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.footer-grid img { height: 32px; margin-bottom: 0.8rem; }
.footer-grid h4 {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid p, .footer-grid li { font-size: 0.9rem; opacity: 0.8; margin-bottom: 0.6rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: var(--space-md);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  opacity: 0.6;
}
.social-row { display: flex; gap: 1rem; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Misc ---------- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--ink);
  margin: var(--space-sm) auto;
}
.badge-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.badge {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  color: var(--ink);
}

/* ---------- Booking page (single-screen, no scroll) ---------- */
body.booking-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}
body.booking-page main {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 0;
  overflow: auto;
  background: var(--gradient-accent);
}
.booking-section {
  width: 100%;
  padding: 1.25rem 0;
}
.booking-intro { margin-bottom: 1rem; }
.booking-intro .eyebrow { color: var(--ink); }
.booking-intro h1 { color: var(--ink); }
.booking-intro p { color: var(--grey); }
.booking-intro p a { color: var(--ink); }
.wizard-card {
  background: var(--bg);
  border: 1px solid var(--accent-deep);
  padding: 1.1rem 1.25rem;
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 560px) {
  .wizard-card { padding: 0.85rem; }
}

/* ---------- Booking wizard ---------- */
.wizard-steps {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--grey-light);
}
.wizard-steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--grey);
  cursor: default;
}
.wizard-steps li.done { cursor: pointer; }
.wizard-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
}
.wizard-step-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: none;
}
.wizard-steps li.active,
.wizard-steps li.done { color: var(--ink); border-color: var(--ink); }
@media (min-width: 640px) {
  .wizard-step-label { display: inline; }
}

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-panel h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}
.wizard-card .btn { padding: 0.65rem 1.3rem; font-size: 0.7rem; }

/* Service picker */
.service-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 560px) {
  .service-picker { grid-template-columns: repeat(3, 1fr); }
}
.service-option {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  text-align: left;
  padding: 0.45rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.service-option:hover { border-color: var(--ink); }
.service-option.selected { background: var(--gradient-accent); color: var(--ink); border-color: var(--accent-deep); }

/* Calendar */
.calendar { border: 1px solid var(--grey-light); }
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--grey-light);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.calendar-nav {
  background: none;
  border: 1px solid var(--grey-light);
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 0.8rem;
}
.calendar-nav:hover { border-color: var(--ink); }
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar-weekdays {
  padding: 0.4rem 0.4rem 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: center;
}
.calendar-grid { padding: 0.3rem; gap: 2px; }
.cal-day {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  background: var(--bg);
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--ink);
}
.cal-day:hover:not(.disabled) { border-color: var(--ink); }
.cal-day.disabled { color: var(--grey-light); cursor: not-allowed; }
.cal-day.cal-blank { visibility: hidden; cursor: default; }
.cal-day.today { font-weight: 700; text-decoration: underline; }
.cal-day.selected { background: var(--gradient-accent); color: var(--ink); font-weight: 700; }

/* Time slots */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (min-width: 560px) {
  .time-slots { grid-template-columns: repeat(4, 1fr); }
}
.time-slot {
  padding: 0.4rem 0.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  background: var(--bg);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  cursor: pointer;
}
.time-slot:hover { border-color: var(--ink); }
.time-slot.selected { background: var(--gradient-accent); color: var(--ink); border-color: var(--accent-deep); }

/* Review summary */
.review-summary { margin: 0 0 0.75rem; }
.review-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.review-row dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0;
}
.review-row dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  max-width: 65%;
}

/* ---------- Service menu (services.html price list) ---------- */
.service-category {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--grey-light);
}
.service-category:first-child { padding-top: 0; }
.service-category:last-child { border-bottom: none; padding-bottom: 0; }
.service-category-full { grid-template-columns: 1fr; }
.service-category-media { aspect-ratio: 4 / 5; }
@media (max-width: 780px) {
  .service-category { grid-template-columns: 1fr; }
  .service-category-media { aspect-ratio: 16 / 9; }
}

.service-menu { margin: var(--space-sm) 0 0; }
.service-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.service-menu-item:last-child { border-bottom: none; }
.service-menu-name { font-weight: 700; }
.service-menu-duration {
  font-size: 0.76rem;
  color: var(--grey);
  font-weight: 400;
  margin-left: 0.6rem;
}
.service-menu-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--grey);
  font-weight: 400;
  margin-top: 0.3rem;
  max-width: 46ch;
}
.service-menu-price {
  font-family: var(--font-display);
  font-weight: 800;
  white-space: nowrap;
}
.service-menu-columns {
  columns: 2;
  column-gap: var(--space-lg);
}
.service-menu-columns .service-menu-item { break-inside: avoid; }
@media (max-width: 640px) {
  .service-menu-columns { columns: 1; }
}
