:root {
  --ink: #2e2e2e;
  --muted: #6d6a66;
  --line: #e7e2dc;
  --soft: #f6f4f1;
  --gold: #a88435;
  --footer: #252a2d;
  --footer-2: #202427;
  --white: #ffffff;
  --max: 1440px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 64px, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(45,45,45,.08);
  backdrop-filter: blur(10px);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img {
  width: 170px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; color: #555; }
.main-nav a { position: relative; padding: 29px 0 26px; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  height: 1px;
  background: transparent;
  transform: scaleX(.2);
  transition: .22s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { background: var(--gold); transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #333; margin: 5px 0; }

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 47% 53%;
  background: #f8f8f7;
}
.hero-copy {
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 92% 78%, rgba(176,178,162,.18), transparent 34%),
    linear-gradient(100deg,#fbfbfb 0%,#f8f8f8 72%,#f1f1ef 100%);
}
.hero-copy-inner { width: min(560px, 76%); margin-left: max(7vw, 64px); padding: 72px 0; }
.eyebrow { margin: 0 0 26px; font-size: 12px; letter-spacing: .38em; color: #696969; }
.hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 5vw, 82px);
  line-height: .96;
  letter-spacing: .01em;
}
.hero-lead { max-width: 510px; margin: 0 0 34px; font-size: 19px; line-height: 1.6; color: #4e4e4e; }
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 205px;
  padding: 16px 20px;
  border: 1px solid #4d4d4d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: .2s ease;
  background: rgba(255,255,255,.55);
}
.outline-button:hover { background: #292929; color: #fff; }
.outline-button.compact { min-width: 180px; padding: 14px 18px; }
.outline-button.gold { color: #896719; border-color: #ad8b42; }
.outline-button.gold:hover { background: #9a772b; color: #fff; }
.hero-image {
  min-height: 640px;
  background-image: url('assets/hero-master.png');
  background-size: cover;
  background-position: 53% center;
}

.brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.brand-panel {
  min-height: 485px;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  background: #fff;
}
.brand-panel + .brand-panel { border-left: 1px solid #eee; }
.brand-copy {
  padding: 54px 44px 48px max(52px, 6vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.brand-panel-estetik .brand-copy { padding-left: 48px; }
.brand-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 2.1vw, 36px);
  line-height: 1.08;
  margin: 24px 0 20px;
}
.brand-copy p { margin: 0 0 13px; max-width: 500px; font-size: 14px; line-height: 1.65; color: #5b5b5b; }
.brand-copy .outline-button { margin-top: 14px; }
.brand-image { min-height: 485px; background-size: cover; background-position: center; }
.soskin-image { background-image: url('assets/soskin-product.jpg'); background-position: 54% center; }
.estetik-image { background-image: url('assets/as-estetik-face.jpg'); background-position: 52% center; }
.soskin-brandmark { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.soskin-mark-box {   display: flex; align-items: center; justify-content: center; }
.soskin-mark-box img { width: 210px; max-height: 80px; object-fit: contain; }
.soskin-wordmark { width: 210px; max-height: 80px; object-fit: contain; object-position: left; }
.as-estetik-logo { width: min(300px, 88%); max-height: 145px; object-fit: contain; object-position: left center; }

.advantages {
  padding: 36px max(30px, 6vw) 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
}
.advantage-item {
  text-align: center;
  padding: 4px 28px;
  min-height: 150px;
  position: relative;
}
.advantage-item + .advantage-item::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 16px;
  width: 1px;
  background: #ece9e5;
}
.advantage-item img { height: 44px; width: 54px; object-fit: contain; margin: 0 auto 14px; }
.advantage-item h3 { margin: 0 0 10px; font-size: 12px; letter-spacing: .17em; }
.advantage-item p { margin: 0; color: #777; font-size: 13px; line-height: 1.6; }

.about {
  display: grid;
  grid-template-columns: 56.5% 43.5%;
  min-height: 490px;
  border-top: 1px solid #eee;
}
.about-copy {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg,#fff 0%,#fff 72%,#faf9f7 100%);
}
.about-copy-inner { width: min(620px, 77%); margin-left: max(7vw, 64px); padding: 68px 0; }
.about-copy h2 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(38px, 3.6vw, 58px); font-weight: 400; }
.about-copy p:not(.eyebrow) { margin: 0 0 17px; font-size: 15px; line-height: 1.75; color: #6a6a6a; max-width: 600px; }
.about-image {
  min-height: 490px;
  background-image: url('assets/about-locked.jpg');
  background-size: cover;
  background-position: center;
}

.site-footer { color: #e9e9e9; background: linear-gradient(115deg,var(--footer) 0%,var(--footer-2) 100%); }
.footer-main { display: grid; grid-template-columns: 1.15fr 1.35fr .8fr; gap: 0; padding: 44px 0 30px; }
.footer-col { min-height: 170px; padding: 0 44px; }
.footer-col:first-child { padding-left: 0; }
.footer-col + .footer-col { border-left: 1px solid rgba(255,255,255,.12); }
.footer-logo { width: 150px; height: 118px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-brand p { margin: 0; max-width: 260px; color: #c4c7c9; font-size: 14px; line-height: 1.6; }
.footer-col h3 { margin: 0 0 18px; font-size: 12px; letter-spacing: .18em; font-weight: 700; color: #fff; }
.footer-contact address { font-style: normal; }
.footer-contact p { margin: 0 0 9px; font-size: 13px; line-height: 1.45; color: #d3d5d6; }
.footer-contact p span { display: inline-block; width: 22px; color: #fff; }
.footer-contact a:hover, .footer-links a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links h3 { width: 100%; }
.footer-links a { margin: 0 0 11px; font-size: 14px; color: #d0d2d3; }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; border-top: 1px solid rgba(255,255,255,.10); font-size: 12px; color: #aeb1b3; padding-right: 52px; }
.footer-bottom p { margin: 0; }
.to-top { position: absolute; right: 0; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.45); display: grid; place-items: center; color: #fff; }

@media (max-width: 1180px) {
  .container { width: min(100% - 40px, var(--max)); }
  .main-nav { gap: 22px; }
  .hero-copy-inner, .about-copy-inner { margin-left: 48px; width: calc(100% - 86px); }
  .brand-copy { padding-left: 36px; padding-right: 30px; }
}

@media (max-width: 900px) {
  .header-inner { height: 70px; }
  .brand img { width: 140px; height: 50px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 70px; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    background: #fff;
    border-bottom: 1px solid #eee;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .main-nav a::after { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-image { min-height: 54vw; max-height: 540px; order: 1; background-position: 48% center; }
  .hero-copy-inner { margin-left: 0; width: 100%; padding: 58px 32px 64px; }
  .hero h1 { font-size: clamp(48px, 12vw, 72px); }
  .hero-lead { font-size: 17px; }

  .brands { grid-template-columns: 1fr; }
  .brand-panel + .brand-panel { border-left: 0; border-top: 1px solid #eee; }
  .brand-panel { grid-template-columns: 58% 42%; }
  .brand-copy { padding: 48px 34px; }

  .advantages { grid-template-columns: 1fr 1fr; padding: 30px 22px; }
  .advantage-item { padding: 22px 14px; }
  .advantage-item + .advantage-item::before { top: 18px; bottom: 18px; }
  .advantage-item:nth-child(3)::before { display: none; }
  .advantage-item:nth-child(n+3) { border-top: 1px solid #ece9e5; }

  .about { grid-template-columns: 1fr; }
  .about-copy-inner { width: 100%; margin-left: 0; padding: 58px 34px; }
  .about-image { min-height: 56vw; background-position: center; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-col { padding: 0 28px 28px; }
  .footer-brand { padding-left: 0; }
  .footer-links { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.12); grid-column: 1 / -1; padding: 28px 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 18px; }
  .footer-links h3 { grid-column: 1 / -1; margin-bottom: 4px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero-image { min-height: 70vw; }
  .hero-copy-inner { padding: 48px 22px 54px; }
  .eyebrow { font-size: 10px; letter-spacing: .28em; margin-bottom: 18px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 16px; }

  .brand-panel { grid-template-columns: 1fr; }
  .brand-copy { padding: 44px 24px 38px; }
  .brand-image { min-height: 290px; }
  .brand-panel-estetik .brand-copy { padding-left: 24px; }
  .soskin-wordmark { width: 180px; }
  .as-estetik-logo { width: min(275px, 94%); }

  .advantages { grid-template-columns: 1fr; padding: 18px 22px; }
  .advantage-item { padding: 28px 10px; }
  .advantage-item + .advantage-item::before { display: none; }
  .advantage-item:nth-child(n+2) { border-top: 1px solid #ece9e5; }

  .about-copy-inner { padding: 50px 24px; }
  .about-copy h2 { font-size: 40px; }
  .about-image { min-height: 72vw; background-position: 48% center; }

  .footer-main { grid-template-columns: 1fr; padding-top: 34px; }
  .footer-col, .footer-col:first-child { padding: 0 0 28px; min-height: 0; }
  .footer-col + .footer-col { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; }
  .footer-links { display: flex; gap: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 22px 48px 22px 0; min-height: auto; }
  .to-top { top: 22px; }
}
