/* Lubov Yakimchuk — Cosmetology Studio */

:root {
  --bg-nude: #E8C9B9;
  --bg-nude-light: #F5E6DC;
  --bg-nude-dark: #DDC3B5;
  --rose-gold: #9E6F55;
  --rose-gold-light: #B8896E;
  --rose-gold-dark: #7A5540;
  --text-primary: #5C4033;
  --text-secondary: #8B6F5E;
  --white-cream: #FFFAF7;
  --whatsapp: #4E8C6A;
  --shadow-soft: rgba(126, 85, 64, 0.12);
  --shadow-leaf: rgba(94, 60, 45, 0.08);
  --header-height: 72px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Lato', 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: linear-gradient(160deg, var(--bg-nude-light) 0%, var(--bg-nude) 40%, var(--bg-nude-dark) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--shadow-leaf) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::before { top: -60px; left: -60px; }
body::after { bottom: -60px; right: -60px; }

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

a {
  color: var(--rose-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--rose-gold-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
  color: var(--rose-gold-dark);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(158, 111, 85, 0.15);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--rose-gold-dark);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  white-space: nowrap;
}

.logo-link img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text { display: none; }

@media (min-width: 480px) {
  .logo-text { display: inline; }
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rose-gold);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--rose-gold);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  border: 1px solid rgba(158, 111, 85, 0.3);
  border-radius: 6px;
  overflow: hidden;
}

.lang-switcher button {
  background: transparent;
  border: none;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition);
}

.lang-switcher button.active {
  background: var(--rose-gold);
  color: var(--white-cream);
}

.lang-switcher button:hover:not(.active) {
  background: rgba(158, 111, 85, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rose-gold);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 250, 247, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid rgba(158, 111, 85, 0.15);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    text-align: center;
  }
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.hero-logo {
  width: min(220px, 60vw);
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 8px 32px var(--shadow-soft);
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero-credentials {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--rose-gold);
  margin-bottom: 1.5rem;
}

.hero-description {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ── Lotus Divider ── */

.lotus-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 320px;
}

.lotus-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--divider-dir, right), transparent, var(--rose-gold-light), transparent);
}

[dir="rtl"] .lotus-divider .line:first-child {
  --divider-dir: left;
}

.lotus-divider svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ── Buttons & CTA ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-gold-light), var(--rose-gold));
  color: var(--white-cream);
  box-shadow: 0 4px 16px var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--shadow-soft);
  color: var(--white-cream);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--rose-gold);
  color: var(--rose-gold);
}

.btn-outline:hover {
  background: var(--rose-gold);
  color: var(--white-cream);
}

.btn-whatsapp {
  background: transparent;
  border: 1.5px solid var(--whatsapp);
  color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp);
  color: var(--white-cream);
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.cta-phone {
  text-align: center;
  padding: 2rem 0;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cta-phone .phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--rose-gold-dark);
}

/* ── Cards ── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0 3rem;
}

.card {
  background: var(--white-cream);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(158, 111, 85, 0.08);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow-soft);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--rose-gold);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* ── Bio Section ── */

.bio-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

@media (min-width: 640px) {
  .bio-section {
    grid-template-columns: 230px 1fr;
  }
}

.bio-photo {
  width: 230px;
  height: 300px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center 32%;
  display: block;
  margin: 0 auto;
  border: 2px solid rgba(158, 111, 85, 0.15);
  box-shadow: 0 6px 24px var(--shadow-soft);
}

.bio-text h2 {
  margin-bottom: 1rem;
}

.bio-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ── Pricelist ── */

.page-header {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0.75rem auto 0;
}

.pdf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1.5rem 0 2.5rem;
}

.price-category {
  margin-bottom: 2.5rem;
}

.price-category h2 {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(158, 111, 85, 0.2);
}

.price-category .category-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(158, 111, 85, 0.1);
  transition: background var(--transition);
}

.service-row:hover {
  background: rgba(255, 250, 247, 0.6);
}

.service-info {
  flex: 1;
  min-width: 0;
}

.service-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.service-info h3 a {
  color: var(--rose-gold-dark);
}

.service-info h3 a:hover {
  color: var(--rose-gold);
}

.service-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--rose-gold);
  white-space: nowrap;
}

.service-price .currency {
  font-size: 0.85rem;
}

.service-arrow {
  color: var(--rose-gold-light);
  flex-shrink: 0;
}

[dir="rtl"] .service-arrow {
  transform: scaleX(-1);
}

/* ── Service Detail ── */

.service-detail {
  padding: 2rem 0 3rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-nude-light), var(--bg-nude-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border: 1px solid rgba(158, 111, 85, 0.12);
}

.media-placeholder.video {
  aspect-ratio: 16/9;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.meta-item {
  text-align: center;
}

.meta-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.meta-item .value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--rose-gold-dark);
}

.service-includes {
  margin: 1.5rem 0;
}

.service-includes h3 {
  margin-bottom: 0.75rem;
}

.service-includes ul {
  list-style: none;
  padding: 0;
}

.service-includes li {
  padding: 0.4rem 0;
  padding-inline-start: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.service-includes li::before {
  content: '✦';
  position: absolute;
  inset-inline-start: 0;
  color: var(--rose-gold-light);
  font-size: 0.7rem;
  top: 0.55rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

[dir="rtl"] .back-link svg {
  transform: scaleX(-1);
}

/* ── Gallery ── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  padding: 1.5rem 0 3rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-nude-light), var(--bg-nude-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border: 1px solid rgba(158, 111, 85, 0.1);
  transition: transform var(--transition);
  overflow: hidden;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:nth-child(3n+1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(3n+2) { aspect-ratio: 1; }
.gallery-item:nth-child(3n)   { aspect-ratio: 3/4; }

/* ── Footer ── */

.site-footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(158, 111, 85, 0.15);
  color: var(--text-secondary);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: var(--rose-gold);
  font-weight: 600;
}

/* ── Utilities ── */

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

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

/* ── Contact form ── */

.contact-section {
  padding: 1rem 0 3rem;
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white-cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 4px 20px var(--shadow-soft);
  border: 1px solid rgba(158, 111, 85, 0.08);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rose-gold-dark);
  text-align: start;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid rgba(158, 111, 85, 0.25);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--rose-gold-light);
  outline-offset: 1px;
  border-color: var(--rose-gold);
}

.contact-form .cta-buttons {
  margin-top: 0.25rem;
}

.contact-form .cta-buttons .btn {
  justify-content: center;
}

.form-status {
  font-size: 0.9rem;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.form-status.ok {
  color: var(--whatsapp);
  background: rgba(78, 140, 106, 0.1);
}

.form-status.error {
  color: #8a3a32;
  background: rgba(158, 70, 60, 0.1);
}

[data-booking-nav] {
  display: none;
}

body.booking-enabled [data-booking-nav] {
  display: list-item;
}

.slot-legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rose-gold-dark);
  margin-bottom: 0.5rem;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
}

.slot-btn {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rose-gold-dark);
  background: #fff;
  border: 1px solid rgba(158, 111, 85, 0.28);
  border-radius: 10px;
  padding: 0.55rem 0.4rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.slot-btn:hover {
  border-color: var(--rose-gold);
}

.slot-btn.selected {
  background: var(--rose-gold);
  border-color: var(--rose-gold);
  color: var(--white-cream);
}

.slot-empty {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.turnstile-wrap {
  min-height: 0;
}

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