/*
Theme Name: IntimOnline
Theme URI: https://intimonline.com/
Author: Codex
Description: IntimOnline private adult portal theme.
Version: 1.3.9
Text Domain: intimonline
*/

@font-face {
  font-family: "Cormorant Garamond";
  src: url('fonts/da119f4d7a96-cormorant-garamond-cyrillic.woff2') format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url('fonts/beec199e7865-cormorant-garamond-latin.woff2') format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url('fonts/a6e0bc088d16-inter-cyrillic.woff2') format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url('fonts/5e3e035e1ba7-inter-latin.woff2') format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070507;
  --panel: #16080c;
  --panel-soft: #240b13;
  --wine: #b32845;
  --rose: #e05d78;
  --milk: #f8e9ed;
  --mauve: #b996a0;
  --text: #f8e9ed;
  --muted: #b996a0;
  --line: rgba(224, 93, 120, 0.42);
  --container: min(1440px, calc(100vw - 48px));
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 10%, rgba(224, 93, 120, 0.14), transparent 34rem),
    linear-gradient(180deg, #070507 0%, #16080c 42%, #070507 100%);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: var(--container); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(159, 136, 76, 0.16);
  background: rgba(7, 5, 7, 0.86);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  min-width: 280px;
  display: grid;
  justify-items: center;
  color: var(--milk);
  font-family: var(--serif);
  text-transform: uppercase;
}
.brand strong {
  display: block;
  font-size: clamp(34px, 4vw, 66px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0.05em;
}
.brand small {
  margin-left: 0;
  color: rgba(224, 93, 120, 0.86);
  font-size: 15px;
  letter-spacing: 0.58em;
  text-align: center;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  color: rgba(255, 255, 255, 0.9);
}
.nav a {
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--rose); }
.header-side {
  min-width: 250px;
  display: grid;
  justify-items: end;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}
.header-side span:first-child { color: var(--rose); }
.menu-toggle, .menu-close { display: none; }

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: start;
  overflow: hidden;
}
.hero-bg,
.hero-photo-link,
.hero::after {
  position: absolute;
  inset: 0;
}
.hero-photo-link {
  display: block;
  z-index: 0;
}
.hero-bg {
  width: 100%;
  height: 100%;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.74) saturate(0.92) contrast(1.04);
}
.hero::after {
  content: "";
  z-index: 1;
  background:
    radial-gradient(circle at 50% 46%, rgba(7, 5, 7, 0.06), rgba(7, 5, 7, 0.48) 48rem),
    linear-gradient(180deg, rgba(7, 5, 7, 0.12), rgba(7, 5, 7, 0.72) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100vw - 48px));
  max-width: none;
  margin: 0 auto 0 clamp(28px, 4.2vw, 76px);
  padding: clamp(42px, 6vh, 72px) 0 56px;
  text-align: left;
}
.hero h1,
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}
.pink { color: var(--rose); }
.hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.65vw, 24px);
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.primary-button,
.outline-button,
.city-button,
.contact-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid var(--rose);
  color: var(--milk);
  background: linear-gradient(135deg, var(--wine), var(--rose));
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.outline-button,
.city-button,
.contact-button {
  border-color: var(--line);
  background: rgba(22, 8, 12, 0.72);
}
.primary-button:hover,
.outline-button:hover,
.city-button:hover,
.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(224, 93, 120, 0.35);
}

.section {
  padding: 96px 0;
}
.section-head {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}
.section-title {
  font-size: clamp(38px, 4.5vw, 62px);
}
.section-title::after {
  content: "";
  display: block;
  width: min(520px, 72vw);
  height: 1px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
}
.section-head p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-city {
  max-width: 490px;
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px;
  border: 1px solid rgba(224, 93, 120, 0.32);
  background: rgba(22, 8, 12, 0.58);
  backdrop-filter: blur(12px);
}
.hero-city span {
  width: 100%;
  color: var(--mauve);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.city-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.city-button.is-active {
  color: var(--milk);
  border-color: var(--rose);
  background: linear-gradient(135deg, var(--wine), var(--rose));
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.master-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg);
}
.master-photo-link,
.master-photo,
.master-overlay {
  position: absolute;
  inset: 0;
}
.master-photo-link {
  display: block;
  z-index: 1;
}
.master-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.74) saturate(0.9);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.master-card:hover .master-photo,
.master-card:focus-within .master-photo {
  transform: scale(1.04);
  filter: brightness(0.52) saturate(0.85);
}
.master-overlay {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.92));
  border: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}
.master-card:hover .master-overlay,
.master-card:focus-within .master-overlay {
  border-color: var(--rose);
  box-shadow: inset 0 0 30px rgba(224, 93, 120, 0.35), 0 0 28px rgba(179, 40, 69, 0.3);
}
.master-name {
  align-self: flex-start;
  max-width: 78%;
  padding: 7px 12px;
  border-radius: 4px;
  background: rgba(32, 32, 32, 0.92);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}
.master-details {
  display: grid;
  gap: 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.master-details a {
  pointer-events: auto;
}
.master-card:hover .master-details,
.master-card:focus-within .master-details {
  opacity: 1;
  transform: translateY(0);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.stats span {
  display: grid;
  gap: 4px;
  text-align: center;
}
.stats small {
  color: var(--rose);
  font-size: 13px;
}
.stats strong {
  font-size: 15px;
}
.contact-button {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.programs-list {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.program-item {
  border-radius: 4px;
  background: var(--panel);
}
.program-toggle {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 170px 42px;
  align-items: center;
  gap: 20px;
  padding: 0 34px;
  border: 0;
  color: var(--milk);
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.program-toggle strong {
  font-size: 22px;
}
.program-toggle span {
  color: var(--rose);
}
.program-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.program-arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--milk);
  border-bottom: 2px solid var(--milk);
  transform: translateY(-2px) rotate(45deg);
}
.program-item.is-open .program-arrow { transform: rotate(180deg); }
.program-detail {
  display: none;
  padding: 0 34px 28px;
  color: var(--muted);
}
.program-detail p {
  margin: 0 0 12px;
}
.program-detail small {
  display: block;
  color: rgba(248, 233, 237, 0.72);
  font-size: 15px;
}
.program-item.is-open .program-detail { display: block; }

.about-editorial {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 4.5vw, 60px);
  border: 1px solid rgba(224, 93, 120, 0.26);
  background:
    radial-gradient(circle at 18% 18%, rgba(224, 93, 120, 0.12), transparent 24rem),
    linear-gradient(135deg, rgba(36, 11, 19, 0.92), rgba(7, 5, 7, 0.96));
}
.about-intro span {
  display: block;
  margin-bottom: clamp(42px, 5vw, 64px);
  color: var(--milk);
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 62px);
  text-align: center;
}
.about-intro h2 {
  margin: 0 auto;
  max-width: 360px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  text-align: center;
}
.about-text {
  display: grid;
  max-width: 620px;
  gap: 18px;
}
.about-text p {
  margin: 0;
  color: var(--milk);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 700;
  line-height: 1.42;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}
.review-card {
  position: relative;
  min-height: 300px;
  padding: 30px 30px 34px;
  border-bottom: 2px solid var(--rose);
  background: var(--panel);
  cursor: pointer;
  align-self: start;
}
.review-card::before {
  content: "“";
  position: absolute;
  top: -24px;
  right: 30px;
  color: var(--rose);
  font: 96px/1 var(--serif);
}
.review-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}
.stars {
  color: var(--rose);
  letter-spacing: 3px;
}
.review-text {
  max-height: 98px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  transition: max-height 0.25s ease;
}
.review-card.is-open .review-text {
  max-height: 380px;
}
.review-more {
  margin-top: 18px;
  color: var(--rose);
  font-size: 14px;
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid rgba(159, 136, 76, 0.22);
  color: var(--muted);
  background: #070507;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.offcanvas {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(360px, 86vw);
  padding: 84px 30px 30px;
  display: grid;
  align-content: start;
  gap: 22px;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  border-left: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.96);
}
.menu-open .offcanvas { transform: translateX(0); }
.offcanvas a {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(159, 136, 76, 0.24);
  font-size: 24px;
}

@media (max-width: 1120px) {
  .nav, .header-side { display: none; }
  .menu-toggle, .menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .menu-toggle {
    width: 56px;
    height: 50px;
    border: 1px solid var(--line);
    background: transparent;
    flex-direction: column;
    gap: 7px;
  }
  .menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--rose);
  }
  .menu-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    color: var(--rose);
    background: transparent;
    font-size: 30px;
  }
  .masters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-editorial, .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --container: min(100vw - 28px, 520px); }
  .header-inner { min-height: 72px; }
  .brand { min-width: 0; }
  .brand strong { font-size: 32px; }
  .brand small { margin-left: 0; font-size: 10px; letter-spacing: 0.35em; }
  .hero { min-height: 690px; }
  .hero-content { padding: 70px 0 90px; }
  .section { padding: 68px 0; }
  .hero-city { padding: 14px; }
  .city-button { width: 100%; }
  .masters-grid { grid-template-columns: 1fr; }
  .master-card { min-height: 540px; }
  .master-details {
    opacity: 1;
    transform: none;
  }
  .master-overlay {
    border-color: rgba(159, 136, 76, 0.42);
    box-shadow: inset 0 0 22px rgba(211, 189, 115, 0.18);
  }
  .program-toggle {
    grid-template-columns: 1fr 44px;
    gap: 12px;
    padding: 18px;
  }
  .program-toggle span { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
