/* ---------- Fonturi găzduite local (Cormorant Garamond + Manrope; subseturi latin, latin-ext, vietnamese pentru ă ș ț â î) ---------- */
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-vietnamese-5f8136.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-ext-0365c5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-fe99e3.woff2) format('woff2');
  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;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-vietnamese-5f8136.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-ext-0365c5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-italic-latin-fe99e3.woff2) format('woff2');
  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;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-vietnamese-7f5a19.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-ext-211149.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-e99b45.woff2) format('woff2');
  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;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-vietnamese-7f5a19.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-ext-211149.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-e99b45.woff2) format('woff2');
  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;
}

/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-vietnamese-7f5a19.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-ext-211149.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-garamond-normal-latin-e99b45.woff2) format('woff2');
  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;
}

/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-vietnamese-bd6e7f.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-latin-814019.woff2) format('woff2');
  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;
}

/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-vietnamese-bd6e7f.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-latin-814019.woff2) format('woff2');
  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;
}

/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-vietnamese-bd6e7f.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-latin-814019.woff2) format('woff2');
  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;
}

/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-vietnamese-bd6e7f.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-latin-ext-76dcfc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-latin-814019.woff2) format('woff2');
  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;
}

/* =========================================================
   Inna Ungureanu — stiluri principale
   Intro-ul are fișier separat: intro.css
   ========================================================= */

/* ---------- Teme ---------- */
:root {
  --bg: #f6f2eb;
  --ink: #352b2a;
  --muted: #70645f;
  --accent: #652b3a;
  --line: #d9ccc1;
  --panel: #eee4d9;
  --dark: #3b1925;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
body[data-theme="rose"] {
  --bg: #fff3f3;
  --ink: #482e35;
  --muted: #795c65;
  --accent: #a34263;
  --line: #e6cbd2;
  --panel: #f2dce3;
  --dark: #632c43;
}
body[data-theme="noir"] {
  --bg: #181a18;
  --ink: #f2e6d2;
  --muted: #c2b6a4;
  --accent: #d9b67d;
  --line: #494339;
  --panel: #292b26;
  --dark: #090c0a;
}

/* ---------- Bază ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  transition: background 0.5s, color 0.5s;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}
em {
  font-weight: 400;
  color: var(--accent);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 2.4px;
  font-weight: 600;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: var(--bg);
  padding: 15px;
}
.skip:focus {
  top: 10px;
}

/* ---------- Progres scroll ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Header ---------- */
header {
  height: 96px;
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: height 0.3s, background 0.5s;
}
header.compact {
  height: 74px;
}
.brand {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 2px;
  line-height: 1.1;
  white-space: nowrap;
}
.brand span {
  display: block;
  font: 10px var(--sans);
  letter-spacing: 2.2px;
  margin-top: 9px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
nav a {
  position: relative;
  padding: 4px 0;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}
nav a:hover::after,
nav a.current::after {
  transform: scaleX(1);
}
.nav-contact {
  display: none;
}
.nav-cta {
  border: 1px solid var(--ink);
  font-size: 13px;
  padding: 10px 20px;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
}
.menu {
  display: none;
}

/* ---------- Butoane și linkuri ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  padding: 15px 28px;
  font-size: 13px;
  min-height: 50px;
  transition: transform 0.25s, filter 0.25s;
}
.button:hover {
  transform: translateY(-3px);
  filter: brightness(1.13);
}
.button.light {
  background: #f0e3d5;
  color: #492632;
}
.text-link {
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  padding: 48px 5.5% 42px;
  gap: 4%;
  overflow: hidden;
}
.hero-copy {
  padding-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: clamp(64px, 6.8vw, 108px);
  letter-spacing: -3px;
  line-height: 0.98;
  margin: 26px 0;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 30px;
}
.hero-foot {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-top: auto;
  padding-top: 48px;
}
.hero-art {
  position: relative;
  padding: 0 38px 30px 0;
  perspective: 1000px;
}
.hero-photo {
  display: block;
  height: 555px;
  width: 100%;
  padding: 0;
  border-radius: 200px 200px 3px 3px;
  overflow: hidden;
  background: var(--panel);
  position: relative;
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.hero-photo img {
  object-position: 50% 30%;
  transform: scale(1.04);
}
.vertical-note {
  position: absolute;
  right: 1px;
  top: 120px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 3px;
}
.signature {
  font: italic 42px var(--serif);
  color: var(--accent);
}
.hero-art > .signature {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  font-size: 47px;
  transform: rotate(-7deg);
  background: var(--bg);
  padding: 0 15px;
}
.hero-stamp {
  position: absolute;
  top: 53%;
  left: -47px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 1.6px;
  transform: rotate(-15deg);
  animation: stamp-spin 24s linear infinite;
}
.hero-stamp i {
  font: italic 27px var(--serif);
  line-height: 1;
}
@keyframes stamp-spin {
  to {
    transform: rotate(345deg);
  }
}
.photo-plus {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #f6f2ebdf;
  color: #352b2a;
  border-radius: 50%;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.2s;
}
.photo-open:hover .photo-plus,
.photo-open:focus-visible .photo-plus {
  opacity: 1;
}

/* ---------- Panglică în mișcare ---------- */
.ribbon {
  overflow: hidden;
  background: var(--accent);
  color: var(--bg);
  font: italic 24px var(--serif);
  padding: 20px 0;
  white-space: nowrap;
}
.ribbon-track {
  display: inline-flex;
  align-items: center;
  animation: ribbon-move 38s linear infinite;
}
.ribbon-track span {
  margin-right: 72px;
}
@keyframes ribbon-move {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Secțiuni generale ---------- */
.section {
  padding: 100px 7%;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 46px;
  gap: 24px;
}
.section-top h2 {
  font-size: 58px;
  margin-top: 18px;
}
.section-top > p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Servicii ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service {
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.service-image {
  padding: 0;
  height: 380px;
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--panel);
}
.service-image img {
  transition: transform 0.7s;
  object-position: 50% 30%;
}
.service-image:hover img {
  transform: scale(1.07);
}
.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}
.service-head h3 {
  font-size: 31px;
}
.service-head > span {
  font: italic 18px var(--serif);
  color: var(--muted);
}
.service > p {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags span {
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.details-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  width: 100%;
  font-size: 13px;
  margin-top: 23px;
  padding: 12px 0;
  transition: color 0.2s, padding 0.3s;
}
.details-link:hover {
  color: var(--accent);
  padding-left: 8px;
}
.details-link span {
  font-size: 23px;
}

/* ---------- Micropigmentare ---------- */
.pmu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  background: var(--panel);
  overflow: hidden;
}
.pmu h2 {
  font-size: 68px;
  margin: 20px 0 24px;
}
.pmu-lead {
  color: var(--muted);
  font-size: 14px;
  max-width: 460px;
}
.pmu-list {
  margin: 32px 0 34px;
  border-top: 1px solid var(--line);
}
.pmu-item {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease);
}
.pmu-item img {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  filter: grayscale(0.7);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}
.pmu-item b {
  display: block;
  font: 500 30px/1.1 var(--serif);
}
.pmu-item small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.pmu-item.active,
.pmu-item:hover {
  padding-left: 14px;
}
.pmu-item.active img,
.pmu-item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}
.pmu-item.active b {
  color: var(--accent);
}
.pmu-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  width: 100%;
  justify-self: center;
  perspective: 1200px;
}
.pmu-orbit {
  position: absolute;
  inset: -6%;
  border: 1px dashed var(--accent);
  border-radius: 50%;
  opacity: 0.45;
  animation: orbit 60s linear infinite;
}
.pmu-orbit::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 14%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
.pmu-stage {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 70px #0004;
  transition: transform 0.2s ease-out;
}
.pmu-stage img {
  transition: opacity 0.35s, transform 0.8s var(--ease);
}
.pmu-stage img.swap {
  opacity: 0;
  transform: scale(1.1) rotate(2deg);
}
.pmu-float {
  position: absolute;
  width: 31%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 5px solid var(--panel);
  box-shadow: 0 16px 40px #0004;
  animation: float 6s ease-in-out infinite;
}
.float-a {
  right: -4%;
  top: 4%;
}
.float-b {
  left: -5%;
  bottom: 6%;
  animation-delay: -3s;
}
@keyframes float {
  50% {
    translate: 0 -14px;
  }
}

/* ---------- Proces ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.steps span {
  font: italic 22px var(--serif);
  color: var(--accent);
}
.steps h3 {
  font-size: 32px;
  margin: 10px 0 12px;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Despre ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: center;
  gap: 11%;
  background: var(--panel);
}
.about-photo {
  height: 620px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 250px 250px 3px 3px;
}
.about-photo img {
  object-position: center 25%;
}
.about h2 {
  font-size: 55px;
  margin: 22px 0 28px;
}
.about p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.pillars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
}
.pillars li {
  font-size: 11px;
  letter-spacing: 1.2px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 16px;
}
.about .signature {
  display: block;
  margin-top: 26px;
}

/* ---------- Academie ---------- */
.academy {
  background: var(--dark);
  color: #f6f2eb;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 9%;
  align-items: center;
}
.academy h2 {
  font-size: 70px;
  margin: 22px 0;
}
.academy h2 em {
  color: #d7b4a1;
}
.academy-intro > p {
  color: #d4c5c6;
  font-size: 14px;
  max-width: 420px;
}
.course-tabs {
  display: flex;
  border-bottom: 1px solid #85616c;
  margin-top: 32px;
}
.course-tabs button {
  color: #c8b3ba;
  padding: 12px 0;
  margin-right: 30px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.course-tabs button[aria-selected="true"] {
  color: white;
  border-color: #e4c6b4;
}
.course-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 24px;
  color: #d9bcac;
}
#course-panel h3 {
  font-size: 32px;
  margin: 12px 0;
}
#course-panel p {
  font-size: 14px;
  color: #d4c5c6;
  margin: 12px 0 24px;
}
.academy-visual {
  position: relative;
  height: 570px;
}
.academy-visual img {
  border-radius: 180px 180px 0 0;
  object-position: center 40%;
}
.academy-visual > span {
  position: absolute;
  bottom: -27px;
  left: -20px;
  font: italic 44px var(--serif);
  background: var(--dark);
  padding: 10px;
}
.academy-visual em {
  color: #d9bca9;
}
.academy-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 40px;
}
.academy-strip button {
  height: 360px;
  padding: 0;
  overflow: hidden;
}
.academy-strip img {
  object-position: center 35%;
  transition: transform 0.8s var(--ease);
}
.academy-strip button:hover img {
  transform: scale(1.05);
}

/* ---------- Portofoliu ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filters button {
  font-size: 12px;
  letter-spacing: 0.8px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filters button:hover {
  border-color: var(--accent);
}
.filters button.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.masonry {
  column-count: 3;
  column-gap: 22px;
}
.masonry button {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 22px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  background: var(--panel);
}
.masonry img {
  height: auto;
  transition: transform 0.8s var(--ease);
}
.masonry button:hover img {
  transform: scale(1.05);
}
.masonry button > span {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  background: linear-gradient(transparent, #000a);
  padding: 34px 18px 14px;
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.masonry button:hover > span,
.masonry button:focus-visible > span {
  opacity: 1;
  transform: none;
}
.masonry b {
  font-weight: 400;
  font-size: 24px;
}
.masonry button.hide {
  display: none;
}

/* ---------- Contact ---------- */
.contact {
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.contact-head {
  text-align: center;
  margin-bottom: 54px;
}
.contact h2 {
  font-size: 80px;
  margin: 25px 0;
}
.contact-head p {
  color: var(--muted);
  font-size: 15px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6%;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: 15px var(--sans);
  letter-spacing: 0;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 14px 16px;
  width: 100%;
  border-radius: 0;
}
.contact-form input:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}
.contact-form small {
  color: var(--muted);
  font-size: 12px;
}
.contact-form .button {
  justify-self: start;
}
.contact-info {
  display: grid;
  gap: 16px;
  align-content: start;
}
.info-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 22px 26px;
  transition: transform 0.3s, border-color 0.3s;
}
a.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.info-card span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}
.info-card b {
  font: 500 30px/1.2 var(--serif);
}

/* ---------- Footer ---------- */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 30px;
  padding: 48px 5.5% 100px;
}
footer > span {
  font-size: 11px;
  color: var(--muted);
}
.footer-nav {
  gap: 22px;
  font-size: 12px;
}
.intro-replay {
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}

/* ---------- Plutitoare: selector temă, WhatsApp, pensulă ---------- */
.theme-picker {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 15px;
  box-shadow: 0 5px 25px #0001;
  white-space: nowrap;
}
.theme-picker > span {
  font-size: 11px;
  margin-right: 6px;
}
.swatch {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  outline: 1px solid transparent;
}
.swatch[aria-pressed="true"] {
  outline-color: var(--ink);
}
.swatch.editorial {
  background: #652b3a;
}
.swatch.rose {
  background: #d599aa;
}
.swatch.noir {
  background: linear-gradient(135deg, #181a18 50%, #d9b67d 50%);
}
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 30;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 8px 24px #0004;
  transition: transform 0.25s;
}
.wa-float:hover {
  transform: scale(1.1);
}

/* ---------- Dialoguri ---------- */
dialog {
  border: 0;
  background: var(--bg);
  color: var(--ink);
  padding: 40px;
  width: min(600px, 90vw);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #160d11d9;
  backdrop-filter: blur(8px);
}
dialog .close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 28px;
  z-index: 2;
}
#lightbox {
  padding: 12px;
  width: max-content;
  max-width: 92vw;
  overflow: hidden;
  /* IMPORTANT: un dialog modal trebuie să rămână position: fixed (nu relative),
     altfel apare la începutul paginii, în afara ecranului, când ești mai jos */
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
}
#lightbox img {
  width: auto;
  max-width: 85vw;
  height: auto;
  max-height: 75dvh;
  object-fit: contain;
}
#lightbox p {
  padding: 12px;
  font-size: 13px;
}
.lb-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  font-size: 30px;
  line-height: 1;
  z-index: 2;
}
.lb-prev {
  left: 20px;
}
.lb-next {
  right: 20px;
}
.lb-nav[hidden] {
  display: none;
}
#service-dialog h2 {
  font-size: 48px;
  margin: 22px 0;
}
#service-dialog p,
#service-dialog li {
  font-size: 15px;
  color: var(--muted);
}
#service-dialog ul {
  padding-left: 20px;
  margin: 20px 0 28px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Ecrane mari ---------- */
@media (min-width: 1500px) {
  .hero {
    max-width: 1600px;
    margin: auto;
  }
  .hero-photo {
    height: 650px;
  }
  .hero h1 {
    font-size: 112px;
  }
}

/* ---------- Tabletă ---------- */
@media (max-width: 1000px) {
  nav {
    gap: 16px;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    gap: 20px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-art {
    padding-right: 24px;
  }
  .hero-photo {
    height: 520px;
  }
  .hero-actions {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-foot {
    font-size: 8px;
    gap: 20px;
  }
  .section {
    padding: 75px 5%;
  }
  .section-top h2 {
    font-size: 48px;
  }
  .service-image {
    height: 300px;
  }
  .service-head h3 {
    font-size: 26px;
  }
  .pmu h2 {
    font-size: 54px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 44px 30px;
  }
  .about {
    gap: 6%;
  }
  .about h2 {
    font-size: 46px;
  }
  .academy {
    gap: 6%;
  }
  .academy-visual {
    height: 500px;
  }
  .masonry {
    column-count: 2;
  }
  .contact h2 {
    font-size: 64px;
  }
}

/* ---------- Telefon ---------- */
@media (max-width: 700px) {
  header {
    height: 76px;
    padding: 0 6%;
  }
  header.compact {
    height: 66px;
  }
  .brand {
    font-size: 19px;
  }
  .brand span {
    font-size: 8px;
  }
  .menu {
    display: block;
    font-size: 13px;
    padding: 10px;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--bg);
    box-shadow: 0 15px 20px #0001;
    font-size: 16px;
  }
  nav.open {
    display: flex;
    flex-direction: column;
  }
  .nav-contact {
    display: block;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 30px 6% 42px;
    gap: 30px;
  }
  .hero-copy {
    padding-top: 5px;
  }
  .hero h1 {
    font-size: clamp(56px, 13vw, 80px);
    letter-spacing: -2px;
    margin: 22px 0;
  }
  .hero-foot {
    padding-top: 28px;
  }
  .hero-art {
    padding-left: 23px;
    padding-right: 23px;
    max-width: 500px;
    width: 100%;
    align-self: center;
  }
  .hero-photo {
    height: 470px;
  }
  .hero-stamp {
    left: -4px;
    top: 60%;
    width: 85px;
    height: 85px;
    font-size: 8px;
  }
  .hero-art > .signature {
    font-size: 38px;
    right: 10px;
  }
  .ribbon {
    font-size: 19px;
    padding: 16px 0;
  }
  .section {
    padding: 62px 6%;
  }
  .section-top {
    display: block;
    margin-bottom: 30px;
  }
  .section-top h2 {
    font-size: 46px;
    margin-top: 16px;
  }
  .section-top > p {
    margin-top: 20px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .service-image {
    height: 430px;
  }
  .service-head h3 {
    font-size: 34px;
  }
  .pmu {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .pmu h2 {
    font-size: 52px;
  }
  .pmu-visual {
    order: -1;
    max-width: 340px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-photo {
    height: 500px;
  }
  .about h2 {
    font-size: 46px;
  }
  .academy {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .academy h2 {
    font-size: 58px;
  }
  .academy-visual {
    height: 450px;
    margin-bottom: 20px;
  }
  .academy-visual > span {
    font-size: 38px;
    left: 0;
  }
  .academy-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 0;
  }
  .academy-strip button {
    height: 340px;
  }
  .masonry {
    column-gap: 12px;
  }
  .masonry button {
    margin-bottom: 12px;
  }
  .masonry button > span {
    opacity: 1;
    transform: none;
    font-size: 9px;
    padding: 26px 10px 8px;
  }
  .contact h2 {
    font-size: 54px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-form .button {
    justify-self: stretch;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 6% 110px;
    gap: 20px;
  }
  .footer-nav {
    flex-wrap: wrap;
  }
  .eyebrow {
    font-size: 10px;
  }
  .theme-picker {
    bottom: 12px;
    left: 12px;
    transform: none;
    padding: 7px 12px;
  }
  .theme-picker > span {
    display: none;
  }
  .wa-float {
    right: 12px;
    bottom: 12px;
  }
  .lb-prev {
    left: 8px;
  }
  .lb-next {
    right: 8px;
  }
  .reveal {
    transform: translateY(12px);
  }
}

/* ---------- Mișcare redusă ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .ribbon-track {
    flex-wrap: wrap;
    white-space: normal;
  }
}

.service.reveal.visible {
  transition: transform 0.25s ease-out, opacity 0.8s;
}

/* ---------- Înainte / După ---------- */
.ba {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 8%;
  align-items: center;
}
.ba h2 {
  font-size: 64px;
  margin: 20px 0 24px;
}
.ba-copy > p {
  color: var(--muted);
  font-size: 14px;
  max-width: 440px;
}
.ba-tabs {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.ba-tabs button {
  font-size: 12px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.ba-tabs button.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.ba-slider {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  aspect-ratio: 748 / 883;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 30px 70px #0004;
  user-select: none;
  touch-action: pan-y;
}
.ba-layer {
  position: absolute;
  inset: 0;
}
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--panel) 0 14px, color-mix(in srgb, var(--panel) 88%, var(--ink)) 14px 28px);
}
.ba-missing b {
  font: italic 400 34px var(--serif);
  letter-spacing: 1px;
  color: var(--accent);
}
.ba-tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  background: #fff;
  color: #1a1a1a;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 8px 14px;
  pointer-events: none;
}
.ba-tag-before {
  left: 16px;
}
.ba-tag-after {
  right: 16px;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  z-index: 4;
  pointer-events: none;
}
.ba-handle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  font: normal 13px/1 var(--sans);
  letter-spacing: 1px;
  box-shadow: 0 4px 18px #0005;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.ba-slider:focus-within .ba-handle i {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .ba h2 {
    font-size: 50px;
  }
}
@media (max-width: 700px) {
  .ba {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ba h2 {
    font-size: 48px;
  }
}
.pmu-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

/* ---------- Scenă 3D (hero) ---------- */
.hero {
  position: relative;
}
.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s;
}
.hero-3d.ready {
  opacity: 1;
}

nav a {
  white-space: nowrap;
}
@media (max-width: 1150px) {
  nav {
    gap: 16px;
    font-size: 12px;
  }
  header {
    gap: 14px;
  }
  .brand {
    font-size: 20px;
  }
}

/* ---------- Pagini de serviciu ---------- */
.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6%;
  align-items: center;
  padding: 70px 7% 60px;
}
.page-hero h1 {
  font-size: clamp(54px, 6vw, 92px);
  letter-spacing: -2px;
  margin: 22px 0;
}
.page-hero-copy > p {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
}
.page-hero .hero-actions {
  margin-top: 30px;
}
.hero-actions.center {
  justify-content: center;
}
.page-hero-art {
  position: relative;
  height: 520px;
  border-radius: 220px 220px 3px 3px;
  overflow: hidden;
  box-shadow: 0 30px 70px #0004;
}
.art-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  text-align: center;
  color: #fff;
  font-size: 10px;
  letter-spacing: 3px;
  text-shadow: 0 1px 8px #0008;
}
.svc-section {
  display: grid;
  gap: 90px;
  background: var(--panel);
}
.svc-block {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 9%;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.svc-block.rev {
  grid-template-columns: 1fr 0.8fr;
}
.svc-block.rev .svc-media {
  order: 2;
}
.svc-circle {
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 70px #0004;
  border: 6px solid var(--bg);
}
.svc-text h2 {
  font-size: 56px;
  margin: 18px 0 20px;
}
.svc-text p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
  max-width: 440px;
}
.svc-text .tags {
  margin-bottom: 28px;
}
.note {
  margin-top: 54px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  background: var(--panel);
  max-width: 760px;
}
.note b {
  display: block;
  font: 500 26px/1.2 var(--serif);
  margin-bottom: 8px;
}
.note p {
  color: var(--muted);
  font-size: 14px;
}
.note .button {
  margin-top: 20px;
}
.cta-band {
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.cta-band h2 {
  font-size: 68px;
  margin: 22px 0;
}
.cta-band p {
  color: var(--muted);
}
.cta-band .hero-actions {
  margin-top: 28px;
}
.lang-btn {
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 1000px) {
  .page-hero {
    padding: 50px 5%;
  }
  .page-hero-art {
    height: 420px;
  }
  .svc-text h2 {
    font-size: 44px;
  }
  .cta-band h2 {
    font-size: 54px;
  }
}
@media (max-width: 700px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px 6% 20px;
  }
  .page-hero-art {
    height: 400px;
    order: -1;
  }
  .svc-section {
    gap: 64px;
  }
  .svc-block,
  .svc-block.rev {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .svc-block.rev .svc-media {
    order: 0;
  }
  .svc-circle {
    max-width: 280px;
  }
  .svc-text h2 {
    font-size: 42px;
  }
  .cta-band h2 {
    font-size: 46px;
  }
}

/* poze decupate în cerc: mărite ca să dispară marginile cercului în galerie */
.masonry button.zoom img {
  transform: scale(1.36);
}
.masonry button.zoom:hover img {
  transform: scale(1.44);
}

/* =========================================================
   Fotografii: umbre, rame subțiri și strălucire caldă
   ========================================================= */
:root {
  --photo-shadow: 0 34px 60px -28px rgba(20, 8, 12, 0.55), 0 14px 26px -14px rgba(20, 8, 12, 0.35);
  --photo-shadow-lg: 0 50px 90px -35px rgba(20, 8, 12, 0.65), 0 18px 34px -16px rgba(20, 8, 12, 0.4);
  --frame: color-mix(in srgb, var(--accent) 55%, transparent);
}
body[data-theme="noir"] {
  --photo-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(217, 182, 125, 0.12);
  --photo-shadow-lg: 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(217, 182, 125, 0.14);
}

/* poze mari: umbră + ramă fină decalată (passe-partout) */
.hero-photo,
.about-photo,
.page-hero-art,
.academy-visual img,
.ba-slider {
  box-shadow: var(--photo-shadow-lg);
  outline: 1px solid var(--frame);
  outline-offset: 14px;
}
.academy-visual img {
  outline-color: rgba(228, 198, 180, 0.5);
}
.academy-visual {
  overflow: visible;
}

/* strălucire caldă în spatele pozei din hero */
.hero-art {
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 4% -6% 6% 4%;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent 78%);
  filter: blur(34px);
  opacity: 0.8;
}
.about {
  isolation: isolate;
}
.about-photo {
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  left: 4%;
  top: 12%;
  width: 40%;
  aspect-ratio: 1;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent 75%);
  filter: blur(40px);
}
.about {
  position: relative;
}

/* carduri de servicii */
.service-image {
  box-shadow: var(--photo-shadow);
  outline: 1px solid var(--line);
  outline-offset: 8px;
  transition: box-shadow 0.4s, outline-color 0.4s;
}
.service:hover .service-image {
  box-shadow: var(--photo-shadow-lg);
  outline-color: var(--frame);
}
.service {
  padding: 8px;
}

/* galerie și poze mici */
.masonry button,
.academy-strip button {
  border-radius: 3px;
  box-shadow: var(--photo-shadow);
  transition: box-shadow 0.4s, transform 0.4s var(--ease);
}
.masonry button:hover,
.academy-strip button:hover {
  box-shadow: var(--photo-shadow-lg);
  transform: translateY(-4px);
}
.pmu-item img,
.pmu-float,
.pmu-stage,
.svc-circle {
  box-shadow: var(--photo-shadow);
}
.svc-circle {
  outline: 1px solid var(--frame);
  outline-offset: 12px;
}
.pmu-stage {
  box-shadow: var(--photo-shadow-lg);
}

/* lightbox */
#lightbox {
  box-shadow: 0 0 0 1px var(--frame), 0 60px 120px -30px #000;
}
#lightbox img {
  box-shadow: 0 20px 50px -20px #0007;
}

@media (max-width: 700px) {
  .hero-photo,
  .about-photo,
  .page-hero-art,
  .academy-visual img,
  .ba-slider {
    outline-offset: 9px;
  }
  .page-hero-art,
  .about-photo {
    margin: 9px;
  }
  .service {
    padding: 6px;
  }
}

/* ---------- Hero: chenare pe colțurile pozei ---------- */
.hero-chip {
  position: absolute;
  z-index: 5;
  padding: 11px 18px;
  font-size: 10px;
  letter-spacing: 2px;
  white-space: nowrap;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border: 1px solid var(--frame);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 34px -10px rgba(0, 0, 0, 0.45), 0 0 24px -8px color-mix(in srgb, var(--accent) 30%, transparent);
  pointer-events: none;
  animation: label-hover 5s ease-in-out infinite;
}
.chip-tl {
  top: 0;
  left: 0;
  transform: translate(-30%, -70%) rotate(-6deg);
}
.chip-br {
  right: 38px;
  bottom: 30px;
  transform: translate(50%, 70%) rotate(4deg);
  animation-delay: -2.5s;
}
/* semnătura trece în stânga-jos, ca să elibereze colțul din dreapta */
.hero-art > .signature {
  right: auto;
  left: 8%;
  bottom: -4px;
  transform: rotate(-5deg);
}
@media (max-width: 1000px) {
  .chip-br {
    right: 24px;
    transform: translate(26%, 70%) rotate(4deg);
  }
  .hero-art > .signature {
    font-size: 34px;
    left: 0;
    bottom: -24px;
    padding: 0 8px;
  }
}
@media (max-width: 700px) {
  .hero-chip {
    font-size: 8px;
    padding: 8px 12px;
    letter-spacing: 1.5px;
  }
  .chip-tl {
    transform: translate(-22%, -75%) rotate(-6deg);
  }
  .chip-br {
    right: 23px;
    bottom: 30px;
    transform: translate(40%, 75%) rotate(4deg);
  }
  .hero-art > .signature {
    right: auto;
    left: 6%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chip {
    animation: none;
  }
}
.hero-art > .signature {
  white-space: nowrap;
}

/* ---------- Instagram ---------- */
.ig-float {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 30;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 8px 24px #0004;
  transition: transform 0.25s;
}
.ig-float:hover {
  transform: scale(1.1);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button.ig {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--accent);
}
.button.ig:hover {
  background: var(--accent);
  color: var(--bg);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 80;
  max-width: min(420px, 88vw);
  padding: 14px 20px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  text-align: center;
  box-shadow: 0 20px 40px -10px #0006;
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 700px) {
  .ig-float {
    right: 12px;
    bottom: 78px;
  }
  .form-actions .button {
    flex: 1 1 100%;
  }
}

/* ---------- Pagina Academiei ---------- */
.svc-circle.arch {
  aspect-ratio: 4 / 5;
  max-width: 400px;
  border-radius: 200px 200px 3px 3px;
}
.academy-more {
  display: inline-block;
  margin-left: 22px;
  color: #e4c6b4;
  border-color: #85616c;
}
@media (max-width: 700px) {
  .svc-circle.arch {
    max-width: 280px;
  }
  .academy-more {
    margin: 18px 0 0;
  }
}

/* secțiunile cu atributul hidden rămân ascunse (ex. #rezultate până avem poza „înainte") */
[hidden] {
  display: none !important;
}

/* ---------- Telefoane foarte înguste (<= 400px): antetul trebuie să încapă ---------- */
@media (max-width: 400px) {
  header {
    gap: 8px;
    padding: 0 4%;
  }
  .brand {
    font-size: 16px;
    letter-spacing: 1px;
  }
  .brand span {
    font-size: 7px;
    letter-spacing: 1.4px;
    margin-top: 7px;
  }
  .lang-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  .menu {
    padding: 8px 4px;
    font-size: 12px;
  }
}

/* pagini scurte (ex. 404): subsolul nu urcă sub mijlocul ecranului */
body.subpage main {
  min-height: 60vh;
}

/* =========================================================
   Pozele se încadrează mereu în ecran (înălțime + lățime)
   Valorile maxime vechi rămân, dar nu depășesc înălțimea ecranului.
   vh = rezervă pentru browsere vechi, svh = înălțimea reală pe telefon
   ========================================================= */
.hero {
  min-height: 0;
}
.hero-photo {
  height: clamp(340px, calc(100vh - 235px), 650px);
  height: clamp(340px, calc(100svh - 235px), 650px);
}
.page-hero-art {
  height: clamp(320px, calc(100vh - 250px), 560px);
  height: clamp(320px, calc(100svh - 250px), 560px);
}
.about-photo {
  height: clamp(360px, calc(100vh - 190px), 620px);
  height: clamp(360px, calc(100svh - 190px), 620px);
}
.academy-visual {
  height: clamp(340px, calc(100vh - 220px), 570px);
  height: clamp(340px, calc(100svh - 220px), 570px);
}
.service-image {
  height: clamp(260px, 52vh, 380px);
  height: clamp(260px, 52svh, 380px);
}
.academy-strip button {
  height: clamp(260px, 50vh, 360px);
  height: clamp(260px, 50svh, 360px);
}
.svc-circle {
  max-width: min(420px, calc(100vh - 220px));
  max-width: min(420px, calc(100svh - 220px));
}
.svc-circle.arch {
  max-width: min(400px, calc((100vh - 200px) * 0.8));
  max-width: min(400px, calc((100svh - 200px) * 0.8));
}
.pmu-visual {
  max-width: min(560px, calc(100vh - 170px));
  max-width: min(560px, calc(100svh - 170px));
}
.ba-slider {
  max-width: min(560px, calc((100vh - 170px) * 0.847));
  max-width: min(560px, calc((100svh - 170px) * 0.847));
}

@media (max-width: 1000px) {
  .hero-photo {
    height: clamp(340px, calc(100vh - 235px), 520px);
    height: clamp(340px, calc(100svh - 235px), 520px);
  }
  .page-hero-art {
    height: clamp(320px, calc(100vh - 230px), 420px);
    height: clamp(320px, calc(100svh - 230px), 420px);
  }
  .academy-visual {
    height: clamp(340px, calc(100vh - 220px), 500px);
    height: clamp(340px, calc(100svh - 220px), 500px);
  }
  .service-image {
    height: clamp(240px, 46vh, 300px);
    height: clamp(240px, 46svh, 300px);
  }
}

@media (max-width: 700px) {
  /* telefon: poza nu trece de un ecran, cu loc pentru antet */
  .hero-photo {
    height: clamp(300px, calc(100vh - 170px), 470px);
    height: clamp(300px, calc(100svh - 170px), 470px);
  }
  .page-hero-art {
    height: clamp(280px, calc(100vh - 190px), 400px);
    height: clamp(280px, calc(100svh - 190px), 400px);
  }
  .about-photo {
    height: clamp(320px, calc(100vh - 170px), 500px);
    height: clamp(320px, calc(100svh - 170px), 500px);
  }
  .academy-visual {
    height: clamp(300px, calc(100vh - 200px), 450px);
    height: clamp(300px, calc(100svh - 200px), 450px);
  }
  .service-image {
    height: clamp(280px, calc(100vh - 220px), 430px);
    height: clamp(280px, calc(100svh - 220px), 430px);
  }
  .academy-strip button {
    height: clamp(240px, 46svh, 340px);
  }
  .svc-circle,
  .svc-circle.arch {
    max-width: min(280px, 80vw);
  }
  .pmu-visual {
    max-width: min(340px, 88vw);
  }
}

/* ecrane foarte late dar scunde (laptop 1366x768 etc.): hero compact */
@media (min-width: 1001px) and (max-height: 760px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero-copy {
    padding-top: 20px;
  }
  .hero h1 {
    margin: 16px 0;
  }
  .hero-photo {
    height: clamp(320px, calc(100vh - 205px), 650px);
    height: clamp(320px, calc(100svh - 205px), 650px);
  }
}

/* =========================================================
   Colțuri rotunjite concentrice cu chenarul
   Chenarul (outline) urmărește automat forma pozei: raza lui = raza pozei + decalajul,
   deci poza și chenarul rămân paralele pe tot conturul.
   ========================================================= */
:root {
  --r-bottom: 32px; /* colțurile de jos ale pozelor în arcadă */
  --r-card: 20px; /* pozele dreptunghiulare */
}
.hero-photo {
  border-radius: 200px 200px var(--r-bottom) var(--r-bottom);
}
.about-photo {
  border-radius: 250px 250px var(--r-bottom) var(--r-bottom);
}
.page-hero-art {
  border-radius: 220px 220px var(--r-bottom) var(--r-bottom);
}
.academy-visual img {
  border-radius: 180px 180px var(--r-bottom) var(--r-bottom);
}
.svc-circle.arch {
  border-radius: 200px 200px var(--r-bottom) var(--r-bottom);
}
.service-image,
.ba-slider {
  border-radius: var(--r-card);
}
.masonry button,
.academy-strip button {
  border-radius: var(--r-card);
}
#lightbox {
  border-radius: calc(var(--r-card) + 6px);
}
#lightbox img {
  border-radius: var(--r-card);
}
/* etichetele peste poze rămân în interiorul colțurilor rotunjite */
.service-image .masonry button > span {
  border-radius: 0 0 var(--r-card) var(--r-card);
}
@media (max-width: 700px) {
  :root {
    --r-bottom: 24px;
    --r-card: 16px;
  }
  .hero-photo {
    border-radius: 160px 160px var(--r-bottom) var(--r-bottom);
  }
  .about-photo {
    border-radius: 180px 180px var(--r-bottom) var(--r-bottom);
  }
  .page-hero-art {
    border-radius: 160px 160px var(--r-bottom) var(--r-bottom);
  }
  .academy-visual img {
    border-radius: 150px 150px var(--r-bottom) var(--r-bottom);
  }
  .svc-circle.arch {
    border-radius: 140px 140px var(--r-bottom) var(--r-bottom);
  }
}

/* =========================================================
   Stabilitate pe iPhone/Android: fără straturi grele, fără efecte care fac pozele să dispară
   ========================================================= */
.service,
.hero-photo,
.pmu-stage {
  will-change: auto;
}
.service {
  transform-style: flat;
}

/* Galerie: coloane flex construite din JS (coloanele CSS dispar pozele pe iOS la animații) */
.masonry {
  column-count: auto;
  column-gap: normal;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.mcol {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.masonry button {
  margin: 0;
  opacity: 1;
  transform: none;
}

/* ecrane tactile: fără efecte de hover care rămân „lipite" după atingere */
@media (hover: none), (pointer: coarse) {
  .service-image:hover img,
  .masonry button:hover img,
  .academy-strip button:hover img {
    transform: none;
  }
  .masonry button.zoom:hover img {
    transform: scale(1.36);
  }
  .masonry button:hover,
  .academy-strip button:hover {
    transform: none;
  }
  .photo-plus {
    opacity: 0.9;
  }
  .masonry button > span {
    opacity: 1;
    transform: none;
  }
}

.pmu-desc {
  display: none;
}

@media (max-width: 700px) {
  .masonry,
  .mcol {
    gap: 12px;
  }
  /* efecte costisitoare dezactivate pe telefon */
  .hero-art::before,
  .about::before {
    display: none;
  }
  header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero-chip,
  .label-two,
  .lb-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  dialog::backdrop {
    backdrop-filter: none;
    background: #160d11f2;
  }

  /* ---------- Micropigmentare pe telefon: poza + butoanele + descrierea, totul într-un singur ecran ---------- */
  .pmu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pmu-copy {
    display: contents;
  }
  .pmu-copy > .eyebrow {
    order: 1;
  }
  .pmu h2 {
    order: 2;
    margin: 14px 0 16px;
  }
  .pmu-lead {
    order: 3;
    margin-bottom: 20px;
  }
  .pmu-visual {
    order: 5;
    max-width: min(290px, 78vw);
    margin: 22px auto 0;
  }
  .pmu-list {
    order: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
    border-top: 0;
  }
  .pmu-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 10px 4px 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .pmu-item.active,
  .pmu-item:hover {
    padding: 10px 4px 12px;
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
  }
  .pmu-item img {
    width: 54px;
    height: 54px;
  }
  .pmu-item b {
    font-size: 20px;
  }
  .pmu-item small {
    display: none;
  }
  .pmu-desc {
    order: 6;
    display: block;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    min-height: 44px;
    margin: 20px 0 6px;
  }
  .pmu-actions {
    order: 7;
    justify-content: center;
    margin-top: 12px;
  }
}

/* =========================================================
   Linkurile „Descoperă experiența / Vezi serviciile PMU / Extensii de gene & curs" -> butoane
   ========================================================= */
.service {
  display: flex;
  flex-direction: column;
}
.service .tags {
  margin-bottom: 26px;
}
.details-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 14px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  font-size: 13px;
  letter-spacing: 0.4px;
  text-align: left;
  transition: background 0.3s, color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.details-link:hover,
.details-link:focus-visible {
  background: var(--accent);
  color: var(--bg);
  padding: 14px 22px;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--accent) 70%, transparent);
}
.details-link span {
  font: 400 24px/1 var(--sans);
  transition: transform 0.3s;
}
.details-link:hover span,
.details-link:focus-visible span {
  transform: rotate(90deg);
}
@media (hover: none), (pointer: coarse) {
  .details-link:hover {
    background: transparent;
    color: var(--ink);
    transform: none;
    box-shadow: none;
  }
  .details-link:active {
    background: var(--accent);
    color: var(--bg);
  }
  .details-link:hover span {
    transform: none;
  }
}

/* Butoanele din carduri: pline, aurii (culoarea temei), rotunjite */
.details-link {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 600;
  box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--accent) 80%, transparent);
}
.details-link:hover,
.details-link:focus-visible {
  background: var(--accent);
  color: var(--bg);
  filter: brightness(1.12);
  padding: 15px 26px;
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -14px color-mix(in srgb, var(--accent) 85%, transparent);
}
.details-link span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 18%, transparent);
  font-size: 20px;
}
@media (hover: none), (pointer: coarse) {
  .details-link:hover {
    background: var(--accent);
    color: var(--bg);
    filter: none;
    transform: none;
  }
  .details-link:active {
    filter: brightness(1.12);
  }
}

/* =========================================================
   Toate butoanele: pline, aurii (culoarea temei) și rotunjite
   ========================================================= */
.button,
.nav-cta,
.button.ig {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--accent) 80%, transparent);
  transition: transform 0.25s, filter 0.25s, box-shadow 0.3s;
}
.button {
  padding: 15px 32px;
}
.nav-cta {
  padding: 11px 24px;
}
.button:hover,
.nav-cta:hover,
.button.ig:hover {
  background: var(--accent);
  color: var(--bg);
  filter: brightness(1.12);
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -14px color-mix(in srgb, var(--accent) 85%, transparent);
}
/* în secțiunea Academie (fundal închis) butonul rămâne auriu, indiferent de temă */
.button.light {
  background: #d9b67d;
  color: #241a14;
}
.button.light:hover {
  background: #d9b67d;
  color: #241a14;
}
.button:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}
@media (hover: none), (pointer: coarse) {
  .button:hover,
  .nav-cta:hover,
  .button.ig:hover {
    transform: none;
    filter: none;
  }
  .button:active,
  .nav-cta:active {
    filter: brightness(1.12);
  }
}

/* =========================================================
   Magazin și coș de cumpărături
   ========================================================= */
.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s, transform 0.3s;
}
.cart-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cart-btn.bump {
  transform: scale(1.18);
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--accent);
  color: var(--bg);
  font: 700 11px/1 var(--sans);
}

dialog.cart {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border-radius: 28px 0 0 28px;
  overflow: hidden;
  box-shadow: -30px 0 80px -20px #000a, 0 0 0 1px var(--line);
}
dialog.cart[open] {
  display: flex;
  flex-direction: column;
  animation: cart-in 0.35s var(--ease);
}
@keyframes cart-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 26px 18px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 {
  font-size: 34px;
}
dialog.cart .cart-close {
  position: static;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
}
dialog.cart .cart-close::before {
  content: "×";
}
.cart-demo,
.shop-demo {
  margin: 0;
  padding: 8px 26px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 1.6px;
}
.shop-demo {
  margin-bottom: 30px;
  border-radius: 30px;
  display: inline-block;
}
.cart-body {
  flex: 1;
  overflow: auto;
  padding: 10px 26px;
}
.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 60px 0;
}
.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-list li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-list img {
  width: 64px;
  height: 80px;
  border-radius: 12px;
}
.cart-line b {
  display: block;
  font: 500 20px/1.2 var(--serif);
}
.cart-line > span {
  color: var(--muted);
  font-size: 13px;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.qty button {
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 1;
}
.qty output {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
}
.cart-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}
.cart-remove:hover {
  color: var(--accent);
}
.cart-foot {
  padding: 18px 26px 26px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cart-total b {
  font: 500 30px/1 var(--serif);
}
.cart-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 34px 28px;
}
.product {
  display: flex;
  flex-direction: column;
}
.product-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-card);
  box-shadow: var(--photo-shadow);
  background: var(--panel);
}
.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 30px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 1.6px;
}
.product h3 {
  font-size: 28px;
  margin: 18px 0 8px;
}
.product > p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.product-foot b {
  font: 500 28px/1 var(--serif);
}
@media (max-width: 700px) {
  dialog.cart {
    width: 100vw;
    border-radius: 0;
  }
  .cart-btn {
    width: 38px;
    height: 38px;
  }
  .shop-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 400px) {
  .cart-btn {
    width: 34px;
    height: 34px;
  }
  .cart-btn svg {
    width: 18px;
    height: 18px;
  }
  header {
    gap: 6px;
  }
}

/* antet: cu iconița de coș, butonul „Programează-te" nu se rupe pe 2 rânduri */
.nav-cta {
  white-space: nowrap;
}
@media (max-width: 1280px) and (min-width: 1001px) {
  header nav {
    gap: 18px;
    font-size: 12.5px;
  }
  header .brand {
    font-size: 21px;
    letter-spacing: 1.4px;
  }
  .nav-cta {
    padding: 10px 18px;
  }
}
