/* ============================================
   ru.beauty-inna.pro — Promo Landing Styles
   Дизайн-система: cosmetolog-design
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand */
  --color-blush: #F0DAD2;
  --color-blush-light: #F7EBE7;
  --color-blush-dark: #E5C7BD;
  --color-rose: #D4A99A;

  /* Neutral */
  --color-white: #FFFFFF;
  --color-offwhite: #FAFAFA;
  --color-light-gray: #F5F5F5;
  --color-border: #E8E8E8;

  /* Text */
  --color-text-heading: #1A1A1A;
  --color-text-body: #2D2D2D;
  --color-text-muted: #6B6B6B;
  --color-text-light: #9B9B9B;

  /* Buttons */
  --color-btn-primary: #2D2D2D;
  --color-btn-primary-hover: #1A1A1A;
  --color-btn-primary-text: #FFFFFF;

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --max-width: 1280px;
  --header-h: 4rem;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 5rem;
  }
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  height: var(--header-h);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo--footer {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.logo__img {
  display: block;
  width: 140px;      /* desktop */
  height: auto;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .logo__img {
    width: 110px;
  }
}

.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-heading);
  transition: color 0.2s;
  position: relative;
}

.nav__link:hover {
  color: var(--color-rose);
}

.header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .header__cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-heading);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

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

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-heading);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
  text-align: center;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-rose);
}

.btn--primary {
  background: var(--color-btn-primary);
  color: var(--color-btn-primary-text);
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
}

.btn--primary:hover {
  background: var(--color-btn-primary-hover);
}

.btn--sm {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
}

.btn--lg {
  font-size: 1rem;
  padding: 0.75rem 2rem;
}

/* ===========================
   HERO
   =========================== */
.hero {
  background: var(--color-blush);
  padding: 3rem 0 0;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 0;
    min-height: calc(80vh - var(--header-h));
  }
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.hero__content {
  text-align: center;
  padding-bottom: 2rem;
  max-width: 560px;
}

@media (min-width: 768px) {
  .hero__content {
    text-align: left;
    flex: 1;
    padding-bottom: 0;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hero__title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 2.5rem; }
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 1rem;
}

.hero__desc {
  font-size: 1rem;
  color: var(--color-text-body);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.hero__note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.hero__video {
  width: 100%;
  max-width: 360px;
}

@media (min-width: 768px) {
  .hero__video {
    flex: 0 0 45%;
    max-width: 420px;
  }
}

.hero__video-el {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 1rem;
}

.hero__video-el::-webkit-media-controls-mute-button {
  filter: brightness(0) saturate(100%) invert(89%) sepia(19%) saturate(241%) hue-rotate(327deg) brightness(99%) contrast(89%);
}

@media (min-width: 768px) {
  .hero__video-el {
    border-radius: 1.5rem 1.5rem 0 0;
  }
}

/* ===========================
   SECTIONS
   =========================== */
.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section { padding: 4rem 0; }
}

@media (min-width: 1024px) {
  .section { padding: 5rem 0; }
}

.section--white { background: var(--color-white); }
.section--blush { background: var(--color-blush); }
.section--blush-light { background: var(--color-blush-light); }

.section__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-heading);
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section__title { font-size: 2rem; }
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: -1rem;
  margin-bottom: 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section__accent {
  text-align: center;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-top: 2rem;
  font-size: 1.125rem;
}

/* ===========================
   DIRECTIONS
   =========================== */
.directions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .directions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .directions-grid { grid-template-columns: repeat(4, 1fr); }
}

.direction-card {
  background: var(--color-offwhite);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s;
}

.direction-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.direction-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--color-rose);
}

.direction-card__icon svg {
  width: 100%;
  height: 100%;
}

.direction-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 0.5rem;
}

.direction-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===========================
   FOR WHOM
   =========================== */
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .for-whom-grid { grid-template-columns: repeat(4, 1fr); }
}

.for-whom-card {
  text-align: center;
}

.for-whom-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  color: var(--color-rose);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.for-whom-card__text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-heading);
}

/* ===========================
   SPLIT (text + video)
   =========================== */
.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }
  .split--reverse {
    flex-direction: row-reverse;
  }
}

.split__video {
  width: 100%;
  max-width: 340px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .split__video {
    flex: 0 0 40%;
    max-width: 380px;
  }
}

.split__video-el {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 1rem;
}

.split__content {
  flex: 1;
}

.split__note {
  margin-top: 1.5rem;
  color: var(--color-text-heading);
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-blush);
  border: 2px solid var(--color-rose);
}

/* ===========================
   RESULTS
   =========================== */
.results-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-white);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-heading);
}

.result-item__icon {
  color: var(--color-rose);
  font-weight: 700;
  font-size: 1rem;
}

/* ===========================
   WHY US
   =========================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.why-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-blush);
  color: var(--color-rose);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-card__text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-heading);
}

/* ===========================
   FORM
   =========================== */
.form {
  max-width: 640px;
  margin: 0 auto;
}

.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.form__group {
  margin-bottom: 1rem;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-heading);
  margin-bottom: 0.375rem;
}

.form__req {
  color: var(--color-rose);
}

.form__input {
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-body);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.form__input::placeholder {
  color: var(--color-text-light);
}

.form__input:focus {
  outline: none;
  border-color: var(--color-rose);
  box-shadow: 0 0 0 2px rgba(212,169,154,0.25);
}

.form__input.is-invalid {
  border-color: #c44;
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__textarea {
  resize: vertical;
  min-height: 80px;
}

.form__error {
  display: block;
  font-size: 0.75rem;
  color: #c44;
  min-height: 1rem;
  margin-top: 0.25rem;
}

.form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form__message {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  text-align: center;
}

.form__message--success {
  background: rgba(212,169,154,0.2);
  color: var(--color-text-heading);
}

.form__message--error {
  background: rgba(204,68,68,0.1);
  color: #a33;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--color-blush-light);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--color-text-body);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--color-text-heading);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer__contacts {
    align-items: flex-end;
  }
}

.footer__email {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__email:hover {
  color: var(--color-text-heading);
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--color-text-body);
  transition: color 0.2s, background-color 0.2s;
}

.footer__social:hover {
  color: var(--color-text-heading);
  background: rgba(0,0,0,0.05);
}

.footer__copy {
  border-top: 1px solid var(--color-blush-dark);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

.footer__copy p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.1);
}

/* ===========================
   ANIMATIONS (scroll reveal)
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   LANGUAGE SWITCHER
   =========================== */
.lang-switch {
  display: none;
  align-items: center;
  gap: 0.375rem;
}

@media (min-width: 1024px) {
  .lang-switch {
    display: flex;
    margin-right: 0.5rem;
  }
}

.lang-switch__link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  padding: 0.125rem 0;
}

.lang-switch__link:hover {
  color: var(--color-rose);
}

.lang-switch__link.is-active {
  color: var(--color-text-heading);
  font-weight: 600;
  border-bottom: 2px solid var(--color-text-heading);
}

.lang-switch__sep {
  color: var(--color-text-light);
  font-size: 0.625rem;
  user-select: none;
}

/* Mobile lang-switch in mobile menu */
.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.mobile-menu__lang .lang-switch__link {
  font-size: 0.875rem;
}

.mobile-menu__lang .lang-switch__sep {
  font-size: 0.75rem;
}
