/* ================================================================
   einprivatemodels.com — style.css
   Theme: Royal Obsidian & Matte Gold (Restored)
   ================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --ein-bg: #070707;
  --ein-surface: #111111;
  --ein-card: #181818;

  /* Classic Gold Palette */
  --ein-gold: #c5a059;
  --ein-gold-light: #e2c28d;
  --ein-gold-dim: #8a6d3b;

  /* Text */
  --ein-tx: #ffffff;
  --ein-tx-mid: #999999;
  --ein-tx-dim: #444444;

  /* UI */
  --ein-border: rgba(197, 160, 89, 0.15);
  --ein-border-bright: rgba(197, 160, 89, 0.4);
  --ein-glass: rgba(7, 7, 7, 0.95);

  --ein-ff-disp: "Playfair Display", serif;
  --ein-ff-body: "Inter", sans-serif;

  --ein-t-fast: 0.3s ease;
  --ein-t-slow: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

/* ── Reset & Base ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--ein-bg);
  color: var(--ein-tx);
  font-family: var(--ein-ff-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--ein-t-fast);
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ── Typography & Utilities ── */
.ein-wrap {
  width: min(1400px, 94%);
  margin-inline: auto;
}
.ein-display {
  font-family: var(--ein-ff-disp);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.ein-display em {
  font-style: italic;
  color: var(--ein-gold);
}
.ein-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--ein-gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ein-eyebrow::after {
  content: "";
  height: 1px;
  width: 40px;
  background: var(--ein-gold);
}
.ein-text-center {
  text-align: center;
}

/* ── Buttons ── */
.ein-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--ein-t-slow);
}
.ein-btn-gold {
  background: var(--ein-gold);
  color: #000;
}
.ein-btn-gold:hover {
  background: var(--ein-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.ein-btn-outline {
  border: 1px solid var(--ein-tx-mid);
  color: var(--ein-tx);
}
.ein-btn-outline:hover {
  border-color: var(--ein-gold);
  color: var(--ein-gold);
}
.ein-btn-gold-outline {
  border: 1px solid var(--ein-gold);
  color: var(--ein-gold);
}
.ein-btn-gold-outline:hover {
  background: var(--ein-gold);
  color: #000;
}

/* ── Layout ── */
.ein-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ein-glass);
  border-bottom: 1px solid var(--ein-border);
  backdrop-filter: blur(15px);
  padding: 1.2rem 0;
}
.ein-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-btn {
  display: none;
}

@media (min-width: 768px) {
  .header-btn {
    display: block;
  }
}

.ein-logo {
  font-family: var(--ein-ff-disp);
  font-size: 1.7rem;
  letter-spacing: 1px;
}
.ein-logo span {
  color: var(--ein-gold);
  font-weight: 600;
}
.ein-nav {
  display: flex;
  gap: 2.5rem;
}
.ein-nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ein-tx-mid);
}
.ein-nav a:hover {
  color: var(--ein-gold);
}

.ein-hero {
  padding: 3rem 0 6rem;
}
.ein-hero-grid {
  display: grid;
  gap: 5rem;
  align-items: center;
}

.ein-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ein-hero-grid {
    grid-template-columns: 1.6fr 1fr;
  }

  .ein-hero-actions {
    flex-direction: row;
  }

  .ein-hero {
  padding: 10rem 0 6rem;
}
}

.ein-lead {
  font-size: 1.3rem;
  color: var(--ein-tx-mid);
  font-weight: 300;
  margin: 2rem 0;
  max-width: 650px;
}

.ein-about {
  padding: 0;
  background: var(--ein-surface);
  border-top: 1px solid var(--ein-border);
}
.ein-about-banner {
  display: grid;
  gap: 4rem;
  align-items: center;
  background: var(--ein-card);
  padding: 5rem 4rem;
  border: 1px solid var(--ein-border);
}
.ein-stats {
  display: flex;
  gap: 4rem;
}

@media (min-width: 768px) {
  .ein-about-banner {
    grid-template-columns: 1.5fr 1fr;
  }

  .ein-about {
    padding: 8rem 0;
  }
}

@media (max-width: 768px) {
  .ein-stats {
    grid-column: 1 / 2 span;
    flex-direction: column;
  }

  .ein-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .ein-about-banner {
    padding: 0;
    gap: 0;
  }
}

.ein-stat span {
  display: block;
  font-family: var(--ein-ff-disp);
  font-size: 3.5rem;
  color: var(--ein-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.ein-stat label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ein-tx-dim);
}

/* ── Grid ── */
.ein-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  padding: 2rem 0;
}
.ein-card-link {
  display: block;
  position: relative;
  border: 1px solid var(--ein-border);
  overflow: hidden;
  transition: var(--ein-t-slow);
}
.ein-card-link:hover {
  transform: translateY(-8px);
  border-color: var(--ein-gold-dim);
}
.ein-card {
  aspect-ratio: 3/4.2;
  background: var(--ein-card);
  position: relative;
  overflow: hidden;
}
.ein-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ein-t-slow);
}
.ein-card-link:hover img {
  transform: scale(1.1);
}
.ein-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 45%);
  z-index: 1;
}
.ein-card-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
}
.ein-card-name {
  font-family: var(--ein-ff-disp);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 2px;
}
.ein-card-age {
  color: var(--ein-gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ── Services (Grid Structure) ── */
.ein-services {
  padding: 8rem 0;
  border-top: 1px solid var(--ein-border);
}
.ein-services-grid {
  display: grid;
  gap: 2px;
  background: var(--ein-border);
  border: 1px solid var(--ein-border);
  margin-top: 5rem;
}

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

.ein-service-card {
  padding-block: 3rem;
  background: var(--ein-bg);
  transition: var(--ein-t-slow);
}

@media (min-width: 768px) {
  .ein-service-card {
    padding: 4rem;
  }
}

.ein-service-card:hover {
  background: var(--ein-surface);
}
.ein-service-card h3 {
  font-family: var(--ein-ff-disp);
  font-size: 2.2rem;
  color: var(--ein-gold);
  margin-bottom: 1.5rem;
}
.ein-service-card p {
  color: var(--ein-tx-mid);
  margin-bottom: 2rem;
}
.ein-service-price {
  display: inline-block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ein-gold);
  color: var(--ein-gold-light);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* BLOCK SEO */
.ein-seo {
  padding-bottom: 3rem;
}

.ein-seo h4
 {
  font-family: var(--ein-ff-disp);
  font-size: 2.2rem;
  color: var(--ein-gold);
  margin-bottom: 1.5rem;
 }

 .ein-seo p {
  color: var(--ein-tx-mid);
  margin-bottom: 2rem;
}

/* ── Contacts ── */
.ein-contact {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--ein-border);
}

.ein-contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ein-contact {
    padding: 10rem 0;
  }
}

/* ── Стили для кнопок контактов (WhatsApp & Telegram) ── */
.ein-contact-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.ein-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* Отступ между иконкой и текстом */
  padding: 1.2rem 3rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 2px; /* Острые углы для строгого стиля */
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  min-width: 240px;
  cursor: pointer;
}

/* Специфические цвета */
.ein-wa {
  background: #128c7e; /* Приглушенный зеленый WhatsApp */
  color: #ffffff;
}

.ein-tg {
  background: #0088cc; /* Фирменный синий Telegram */
  color: #ffffff;
}

/* Ховер эффекты */
.ein-btn-contact:hover {
  filter: brightness(1.15); /* Кнопка становится чуть светлее */
  transform: translateY(-4px); /* Подпрыгивание */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.ein-btn-contact svg {
  flex-shrink: 0;
  /* Иконка будет наследовать цвет текста */
}

/* Адаптивность: на мобильных кнопках встают друг под друга */
@media (max-width: 768px) {
  .ein-contact-btns {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
  }
  
  .ein-btn-contact {
    width: 100%;
    max-width: 320px;
    padding: 1.1rem 2rem;
  }
}
.ein-btn-messenger {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.3rem 3.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 2px;
}

/* FOOTER */

.ein-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--ein-tx-mid);
}


/* ── 10. SYSTEMA MODAL (GOLD RE-ESTABLISHED) ── */
.ein-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(15px);
  z-index: 9999;
  display: none;
  opacity: 0;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 50px 20px;
  transition: opacity 0.4s ease;
}
.ein-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.ein-modal {
  display: none;
  width: 100%;
  max-width: 1100px;
  background: var(--ein-bg);
  border: 1px solid var(--ein-border-bright);
  position: relative;
  margin: auto;
  box-shadow: 0 0 100px rgba(0, 0, 0, 1);
}
.ein-modal.is-visible {
  display: block;
}

.ein-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 45px;
  line-height: 1;
  color: #fff;
  z-index: 100;
  opacity: 0.6;
  transition: var(--ein-t-fast);
}
.ein-modal-close:hover {
  opacity: 1;
  color: var(--ein-gold);
  transform: rotate(90deg);
}

.ein-modal-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
}

/* Modal Gallery */
.ein-modal-gallery {
  background: #000;
  border-right: 1px solid var(--ein-border);
}
.ein-gallery-main-img {
  width: 100%;
  aspect-ratio: 3/4.2;
  object-fit: cover;
}
.ein-gallery-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  background: var(--ein-surface);
}
.ein-gallery-thumb {
  width: 70px;
  height: 95px;
  cursor: pointer;
  border: 1px solid transparent;
  opacity: 0.3;
  transition: 0.3s;
}
.ein-gallery-thumb.ein-gallery-thumb--active,
.ein-gallery-thumb:hover {
  opacity: 1;
  border-color: var(--ein-gold);
}
.ein-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Details */
.ein-modal-detail {
  padding: 4rem;
}
.ein-modal-name {
  font-family: var(--ein-ff-disp);
  font-size: 3rem;
  color: #fff;
  line-height: 1.1;
}
.ein-modal-tagline {
  color: var(--ein-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.ein-modal-badges {
  display: flex;
  gap: 8px;
  margin-top: 1.5rem;
}
.ein-badge {
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ein-badge--gold {
  background: var(--ein-gold);
  color: #000;
}
.ein-badge--outline {
  border: 1px solid var(--ein-gold);
  color: var(--ein-gold);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ein-modal-section {
  margin-top: 3rem;
}
.ein-modal-section label {
  display: block;
  color: var(--ein-tx-dim);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.65rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--ein-border);
  padding-bottom: 8px;
}

/* Stats Grid */
.ein-modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ein-stat-cell dt {
  color: var(--ein-tx-dim);
  font-size: 0.6rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ein-stat-cell dd {
  font-size: 1.05rem;
  color: #fff;
}
.ein-stat-cell--full {
  grid-column: 1 / -1;
}

/* Rates */
.ein-modal-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.ein-rate-cell {
  flex: 1;
  min-width: 100px;
  padding: 15px;
  background: var(--ein-surface);
  border: 1px solid var(--ein-border);
  text-align: center;
}
.ein-rate-cell dt {
  color: var(--ein-gold);
  font-size: 0.65rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.ein-rate-cell dd {
  font-size: 1.1rem;
  color: #fff;
}
.ein-rate-currency {
  font-size: 0.7em;
  color: var(--ein-tx-mid);
  margin-left: 2px;
}

/* Contacts */
.ein-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

/* Services */
.ein-modal-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ein-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--ein-tx-mid);
  background: var(--ein-surface);
  border: 1px solid var(--ein-border);
}

/* Bio & Reviews Footer */
.ein-modal-bio {
  padding: 4rem;
  border-top: 1px solid var(--ein-border);
}
.ein-bio-content {
  font-size: 1rem;
  color: var(--ein-tx-mid);
  line-height: 1.8;
}
.ein-bio-content h1,
.ein-bio-content h2 {
  color: var(--ein-gold);
  font-family: var(--ein-ff-disp);
  margin-bottom: 1rem;
}

.ein-modal-reviews {
  padding: 0 0 4rem;
  background: var(--ein-surface);
  border-top: 1px solid var(--ein-border);
}
.ein-modal-reviews .ein-modal-section {
  padding: 4rem 4rem 0;
  margin-top: 0;
}
.ein-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.ein-review-card {
  padding: 2rem;
  background: var(--ein-bg);
  border: 1px solid var(--ein-border);
}
.ein-rev-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.ein-rev-stars {
  display: flex;
  gap: 3px;
  color: var(--ein-gold);
}
.ein-rev-body {
  font-size: 0.9rem;
  color: var(--ein-tx-mid);
  font-style: italic;
}

/* ── Mobile ── */
@media (max-width: 1024px) {
  .ein-modal-grid {
    grid-template-columns: 1fr;
  }
  .ein-modal-gallery {
    border-right: none;
  }
  .ein-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .ein-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ein-nav {
    display: none;
  }
  .ein-modal-actions {
    flex-direction: column;
  }
  .ein-reviews-grid {
    grid-template-columns: 1fr;
  }
  .ein-modal-detail,
  .ein-modal-bio,
  .ein-modal-reviews .ein-modal-section {
    padding: 2rem;
  }
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--ein-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--ein-gold-dim);
}
