/* ============================================
   AYLIN EMINOVA — MAKEUP ARTIST
   Design tokens
   ============================================ */
:root {
  --ink-plum: #241019;
  --ink-plum-soft: #341823;
  --paper: #fbf6ef;
  --paper-dim: #f3ebe0;
  --rosewood: #7a2e3e;
  --rosewood-light: #a05264;
  --gold: #a67c3d;
  --gold-light: #c39a5c;
  --charcoal: #2b2320;
  --blush: #efdcd9;
  --line: rgba(43, 35, 32, 0.12);
  --line-on-dark: rgba(251, 246, 239, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius: 2px;
  --max-width: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--ink-plum);
}

p { max-width: 62ch; margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink-plum);
  padding: 0.75em 1.25em;
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-plum);
  letter-spacing: 0.01em;
}
.logo span { color: var(--rosewood); }
.logo svg { width: 26px; height: 26px; flex-shrink: 0; }
.footer-brand .logo svg { width: 28px; height: 28px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink-plum);
}
.nav-toggle svg { width: 24px; height: 24px; }

.main-nav ul {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.4em 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--rosewood);
  border-bottom-color: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--rosewood);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-plum); }
.btn-ghost {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-ghost:hover { border-color: var(--rosewood); color: var(--rosewood); }
.btn-on-dark {
  background: var(--gold);
  color: var(--ink-plum);
}
.btn-on-dark:hover { background: var(--gold-light); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.85rem; }

/* ============ Hero ============ */
.hero {
  background: var(--ink-plum);
  color: var(--paper);
  padding: var(--space-6) 0 var(--space-5);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin: 0 0 var(--space-2);
  font-weight: 500;
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-lede {
  color: rgba(251, 246, 239, 0.8);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: var(--space-3);
}
.hero-cta { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-4); }
.hero-stats {
  display: flex;
  gap: var(--space-4);
  border-top: 1px solid var(--line-on-dark);
  padding-top: var(--space-3);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--paper);
}
.hero-stat span {
  font-size: 0.82rem;
  color: rgba(251, 246, 239, 0.65);
}

/* ============ Before/After slider ============ */
.ba-widget {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  user-select: none;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.ba-demo-tag {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 5;
  background: rgba(36, 16, 25, 0.85);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4em 0.8em;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
}
.ba-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-after {
  background:
    radial-gradient(circle at 35% 30%, rgba(196,154,92,0.35), transparent 55%),
    linear-gradient(150deg, #7a2e3e 0%, #a0526420 40%, #24101940 100%),
    var(--ink-plum-soft);
}
.ba-before {
  background: linear-gradient(150deg, #4a4038 0%, #2b2320 100%);
  clip-path: inset(0 0 0 var(--ba-pos, 50%));
}
.ba-face {
  width: 62%;
  opacity: 0.9;
}
.ba-slider-track {
  position: absolute;
  inset: 0;
  cursor: ew-resize;
  z-index: 4;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background: var(--paper);
  transform: translateX(-1px);
  z-index: 4;
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241019' stroke-width='2'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5'/%3E%3C/svg%3E") center/20px no-repeat;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.ba-label {
  position: absolute;
  bottom: var(--space-2);
  z-index: 5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: rgba(36,16,25,0.7);
  padding: 0.35em 0.8em;
  border-radius: var(--radius);
}
.ba-label.left { left: var(--space-2); }
.ba-label.right { right: var(--space-2); }

/* ============ Sections ============ */
.section { padding: var(--space-6) 0; }
.section-dim { background: var(--paper-dim); }
.section-dark { background: var(--ink-plum); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
}
.section-kicker {
  color: var(--rosewood);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.6em;
}
.section-dark .section-kicker { color: var(--gold-light); }
.section-desc { color: rgba(43,35,32,0.7); max-width: 48ch; }

/* ============ Services ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--paper);
  padding: var(--space-4) var(--space-3);
}
.service-card .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.5em; font-weight: 500; }
.service-card p { font-size: 0.94rem; color: rgba(43,35,32,0.72); margin-bottom: 0.8em; }
.service-price {
  font-weight: 600;
  color: var(--rosewood);
  font-size: 0.9rem;
}

/* ============ Portfolio / gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.gallery-item {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.gallery-item .tag {
  position: relative;
  z-index: 2;
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
  padding: var(--space-2);
}
.gallery-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(36,16,25,0.75) 0%, rgba(36,16,25,0.1) 55%);
  z-index: 1;
}

/* ============ Booking ============ */
.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.booking-steps { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.booking-steps li {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.booking-steps li:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.1rem;
  min-width: 1.6em;
}
.step-body strong { display: block; margin-bottom: 0.2em; }
.step-body span { font-size: 0.9rem; color: rgba(251,246,239,0.65); }

.booking-form {
  background: var(--paper);
  color: var(--charcoal);
  padding: var(--space-4);
  border-radius: var(--radius);
}
.form-row { margin-bottom: var(--space-2); }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--charcoal);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--rosewood);
}
.form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.form-note { font-size: 0.82rem; color: rgba(43,35,32,0.6); margin-top: var(--space-2); }

/* ============ Testimonials ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--space-3);
  border-radius: var(--radius);
}
.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-plum);
}
.testimonial-name { font-weight: 600; font-size: 0.88rem; }
.testimonial-role { font-size: 0.82rem; color: rgba(43,35,32,0.6); }

/* ============ Blog ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.blog-card {
  text-decoration: none;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(36,16,25,0.25); }
.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blush), var(--paper-dim));
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-thumb svg { width: 40%; opacity: 0.55; }
.blog-card-body { padding: var(--space-3); }
.blog-series {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rosewood);
  margin-bottom: 0.5em;
}
.blog-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.4em; color: var(--ink-plum); }
.blog-card p { font-size: 0.9rem; color: rgba(43,35,32,0.68); margin-bottom: 0; }
.blog-meta { font-size: 0.78rem; color: rgba(43,35,32,0.5); margin-top: 0.8em; }

/* ============ CTA band ============ */
.cta-band {
  background: var(--rosewood);
  color: var(--paper);
  text-align: center;
  padding: var(--space-5) 0;
}
.cta-band h2 { color: var(--paper); margin-bottom: var(--space-2); }
.cta-band .container { display: flex; flex-direction: column; align-items: center; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink-plum);
  color: rgba(251,246,239,0.75);
  padding: var(--space-5) 0 var(--space-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line-on-dark);
  margin-bottom: var(--space-3);
}
.footer-brand .logo { color: var(--paper); }
.footer-brand p { font-size: 0.88rem; margin-top: var(--space-2); color: rgba(251,246,239,0.6); }
.footer-col h4 {
  color: var(--paper);
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.6em; }
.footer-col a { text-decoration: none; font-size: 0.88rem; color: rgba(251,246,239,0.65); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(251,246,239,0.45);
  flex-wrap: wrap;
  gap: var(--space-2);
}
.social-row { display: flex; gap: var(--space-2); }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  text-decoration: none;
}
.social-row a:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  bottom: var(--space-3);
  right: var(--space-3);
  z-index: 200;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ============ Article page ============ */
.article-hero {
  background: var(--ink-plum);
  color: var(--paper);
  padding: var(--space-5) 0 var(--space-4);
}
.article-hero .container { max-width: 760px; }
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(251,246,239,0.55);
  margin-bottom: var(--space-2);
}
.breadcrumb a { color: rgba(251,246,239,0.75); text-decoration: none; }
.article-hero h1 { color: var(--paper); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; }
.article-meta { margin-top: var(--space-2); font-size: 0.88rem; color: rgba(251,246,239,0.6); }

.article-body { max-width: 720px; margin: 0 auto; padding: var(--space-5) var(--space-3); }
.article-body h2 { font-size: 1.5rem; font-weight: 500; margin: 1.6em 0 0.6em; }
.article-body h3 { font-size: 1.2rem; font-weight: 500; margin: 1.4em 0 0.5em; }
.article-body p { max-width: none; font-size: 1.03rem; color: var(--charcoal); }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.5em; }
.pull-note {
  border-left: 3px solid var(--gold);
  background: var(--paper-dim);
  padding: var(--space-2) var(--space-3);
  font-size: 0.94rem;
  margin: var(--space-3) 0;
}
.series-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.series-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--rosewood);
  font-size: 0.92rem;
}

/* ============ Utilities ============ */
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ Mobile ============ */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .ba-widget { max-width: 420px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-wrap { grid-template-columns: 1fr; gap: var(--space-4); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--ink-plum);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    padding: var(--space-6) var(--space-3);
    z-index: 150;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: var(--space-2); }
  .main-nav a { color: var(--paper); font-size: 1.1rem; }
  .header-actions .btn-ghost { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-wrap: wrap; gap: var(--space-3); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row-double { grid-template-columns: 1fr; }
}
