/*
  Nordic Beauty OÜ — Elegant editorial redesign (2026)
  Self-contained stylesheet. No Bootstrap / jQuery dependency.
*/

/*--------------------------------------------------------------
# Design tokens
--------------------------------------------------------------*/
:root {
  --cream:       #FFFFFF;   /* base background (kept name for cascade) */
  --cream-2:     #FBF1ED;   /* warm blush alt-section background */
  --blush:       #F7E7E0;   /* soft warm blush — panels */
  --blush-deep:  #F0D7CE;
  --ink:         #1C1316;   /* deep warm near-black */
  --ink-soft:    #6B5A5E;
  --ink-faint:   #A8979A;
  --rose:        #FF3F66;   /* the single accent — confident coral-pink */
  --rose-deep:   #E62A52;
  --gold:        #FF3F66;   /* legacy alias → accent */
  --line:        #EFE2DD;   /* warm hairline */
  --white:       #ffffff;
  --panel:       #1C1316;   /* dark editorial panel */

  --shadow-sm: 0 2px 14px rgba(28, 19, 22, 0.05);
  --shadow-md: 0 24px 60px -34px rgba(28, 19, 22, 0.30);
  --shadow-lg: 0 50px 100px -44px rgba(28, 19, 22, 0.42);

  /* var names kept for cascade; --serif is now the display font */
  --serif: "Clash Display", "Space Grotesk", -apple-system, sans-serif;
  --sans:  "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--rose-deep); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--ink); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/*--------------------------------------------------------------
# Shared section bits
--------------------------------------------------------------*/
section { padding: 110px 0; position: relative; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 18px;
  display: inline-block;
}

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 0.4em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
#header.scrolled {
  background: rgba(251, 247, 243, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
#header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header .logo img { max-height: 34px; width: auto; }
.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--rose);
  transition: width 0.3s ease;
}
.main-nav a:hover::after,
.main-nav li.active a::after { width: 100%; }
.main-nav .nav-cta {
  padding: 10px 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 50px;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--rose-deep); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 30px; height: 22px;
  position: relative;
  z-index: 1100;
}
.nav-toggle span {
  position: absolute;
  left: 0; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(90% 70% at 88% 8%, rgba(255,122,89,0.18) 0%, rgba(255,122,89,0) 55%),
    radial-gradient(80% 80% at 12% 100%, rgba(185,140,240,0.16) 0%, rgba(185,140,240,0) 55%),
    linear-gradient(180deg, #FFFFFF 0%, var(--cream-2) 100%);
  overflow: hidden;
}
#hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 90px;
}
#hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
#hero h1 em {
  font-style: normal;
  color: var(--rose);
}
#hero .lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 30em;
  margin-bottom: 18px;
}
#hero .rotator-line {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 36px;
}
#hero .rotator {
  color: var(--rose);
  border-bottom: 1.5px solid var(--blush-deep);
  padding-bottom: 2px;
}
#hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual — editorial dark panel with hairline-ruled stats */
.hero-visual {
  position: relative;
  max-width: 440px;
  margin-left: auto;
}
.hero-panel {
  background: var(--panel);
  color: #fff;
  border-radius: 22px;
  padding: 42px 40px;
  box-shadow: var(--shadow-lg);
}
.hp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.hp-top .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose);
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
}
.hp-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.hp-stat .v {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hp-stat .l {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  max-width: 9em;
}
.hp-markets {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
}
.hp-markets .lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.hp-markets .codes {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.hp-markets .codes b { color: var(--rose); font-weight: 500; }

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.trust-strip .container {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-strip .label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.trust-strip .logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 38px;
  justify-content: center;
}
.trust-strip img {
  height: 26px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.3s ease;
}
.trust-strip img:hover { opacity: 0.9; }

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
#about { background: var(--cream); }
#about .about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
#about .about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 0.6em; }
#about .about-copy p { color: var(--ink-soft); }
.about-panel {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
}
.feature {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(34,28,24,0.10);
}
.feature:first-child { padding-top: 0; }
.feature:last-child { border-bottom: 0; padding-bottom: 0; }
.feature .f-icon {
  flex: 0 0 50px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--rose-deep);
  box-shadow: var(--shadow-sm);
}
.feature h4 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.feature p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
#services { background: var(--cream-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card .num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--rose);
  letter-spacing: 0.1em;
}
.service-card h3 {
  font-size: 1.5rem;
  margin: 14px 0 12px;
}
.service-card p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }

/*--------------------------------------------------------------
# Process
--------------------------------------------------------------*/
#process { background: var(--cream); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--rose);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
.step { border-top: 2px solid var(--ink); }
.step h4 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/*--------------------------------------------------------------
# Stats
--------------------------------------------------------------*/
#stats {
  background: var(--ink);
  color: var(--cream);
}
#stats .section-head h2 { color: var(--cream); }
#stats .section-head p { color: rgba(251,247,243,0.65); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  color: #fff;
  display: block;
}
.stat .num .suffix { color: var(--rose); }
.stat p {
  margin: 12px 0 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,247,243,0.6);
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
#team { background: var(--cream); }
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.member {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  width: 320px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member .avatar {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--rose-deep);
}
.member h4 { font-size: 1.35rem; margin-bottom: 2px; }
.member .role { color: var(--rose); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; }
.member .loc { color: var(--ink-faint); font-size: 0.85rem; margin: 2px 0 14px; }
.member .mail { font-size: 0.92rem; font-weight: 500; }

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
#clients { background: var(--cream-2); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.client-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.client-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.client-cell img {
  max-height: 38px;
  max-width: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.35s ease, filter 0.35s ease;
}
.client-cell:hover img { opacity: 1; filter: none; }

/*--------------------------------------------------------------
# Brands (authorized distributor)
--------------------------------------------------------------*/
#brands { background: var(--cream); }
.brands-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 18px;
  padding: 8px 18px;
  border: 1px solid var(--rose);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.brands-badge::before {
  content: "✓";
  font-weight: 700;
}
.brands-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brand-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 28px;
}
.brand-item img {
  max-height: 40px;
  max-width: 84%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.62;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.brand-item:hover img { opacity: 1; transform: scale(1.04); }

@media (max-width: 900px) {
  .brands-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    border: 0;
  }
  .brand-item {
    flex: 1 1 150px;
    max-width: 220px;
    min-height: 112px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
}

/*--------------------------------------------------------------
# Contact / CTA
--------------------------------------------------------------*/
#contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: stretch;
}
.contact-card {
  background: var(--panel);
  color: #fff;
  border-radius: var(--radius);
  padding: 50px 46px;
  box-shadow: var(--shadow-md);
}
.contact-card h2 { color: #fff; }
.contact-card .eyebrow { color: var(--rose); }
#contact .contact-card p.intro { color: rgba(255,255,255,0.72); }
.contact-card .contact-item { border-top-color: rgba(255,255,255,0.14); }
.contact-card .contact-item .ci-label { color: rgba(255,255,255,0.5); }
.contact-card .contact-item .ci-value { color: #fff; }
.contact-card .contact-item a.ci-value:hover { color: var(--rose); }
.contact-card h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.contact-card p.intro { color: var(--ink-soft); margin-bottom: 30px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(34,28,24,0.12);
}
.contact-item:first-of-type { border-top: 0; }
.contact-item .ci-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); display: block; margin-bottom: 2px;
}
.contact-item .ci-value { font-weight: 500; color: var(--ink); }
.contact-item a.ci-value:hover { color: var(--rose-deep); }
.contact-card .btn { margin-top: 28px; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--ink);
  color: rgba(251,247,243,0.7);
  padding: 70px 0 30px;
  font-size: 14.5px;
}
#footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(251,247,243,0.12);
}
#footer h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--cream);
  margin-bottom: 14px;
}
#footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251,247,243,0.5);
  margin-bottom: 18px;
}
#footer p { color: rgba(251,247,243,0.7); margin-bottom: 0; line-height: 1.8; }
#footer ul { list-style: none; margin: 0; padding: 0; }
#footer ul li { margin-bottom: 10px; }
#footer ul a { color: rgba(251,247,243,0.7); }
#footer ul a:hover { color: var(--rose); }
#footer .footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(251,247,243,0.45);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s ease;
  z-index: 900;
  font-size: 18px;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--rose-deep); color: #fff; }

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 980px) {
  section { padding: 80px 0; }
  #hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  #hero .lead { margin-left: auto; margin-right: auto; }
  #hero .hero-cta { justify-content: center; }
  .hero-visual { max-width: 420px; margin: 10px auto 0; width: 100%; }
  #about .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  #footer .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  }
  body.nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .main-nav a { font-size: 1.4rem; font-family: var(--serif); }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  #footer .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .trust-strip .container { flex-direction: column; gap: 22px; }
}

@media (max-width: 460px) {
  .process-grid, .stats-grid { grid-template-columns: 1fr; }
  .contact-card, .about-panel { padding: 32px 26px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
