/* =========================================================
   RAMED ORTOPEDİ — stillər
   ========================================================= */
:root {
  --p: #7E47AF;          /* brend bənövşəyi */
  --p-600: #6A359C;
  --p-700: #522682;
  --p-900: #2A1145;
  --p-50: #F7F2FC;
  --p-100: #EEE4F8;
  --p-200: #DDCBF0;
  --mint: #2BB79E;
  --coral: #FF6B6B;
  --ink: #1F1430;
  --ink-2: #5B5070;
  --line: #E7DFF0;
  --bg: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(62, 26, 110, .25);
  --shadow-lg: 0 30px 60px -20px rgba(62, 26, 110, .35);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--font);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--p); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; transition: transform .2s, background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--p); color: #fff; box-shadow: 0 10px 24px -10px var(--p); }
.btn--primary:hover { background: var(--p-600); }
.btn--white { background: #fff; color: var(--p-700); }
.btn--white:hover { box-shadow: 0 12px 28px -10px rgba(0,0,0,.35); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border-color: var(--p); color: var(--p); }
.btn--outline:hover { background: var(--p); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: .55em 1em; font-size: .85rem; }
.wa-ico { width: 1.25em; height: 1.25em; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--p); margin-bottom: .9rem;
}
.eyebrow--light { color: #E4D3F6; }

/* Top bar */
.topbar { background: var(--p-900); color: #D9C8EE; font-size: .82rem; }
.topbar__in { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar__phone { margin-left: auto; color: #fff; font-weight: 700; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #999; display: inline-block; }
.is-open .dot { background: #3EE0A1; box-shadow: 0 0 0 4px rgba(62,224,161,.2); }
.is-closed .dot { background: var(--coral); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
/* bulanıq fon ayrıca qatdadır ki, mobil menyu (position: fixed) başlığa bağlanmasın */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(62,26,110,.4); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: .5em .8em; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--p); background: var(--p-50); }
.nav a.nav__cta { color: #fff; margin-left: 8px; }
.nav a.nav__cta:hover { color: #fff; background: var(--p-600); }
.header__actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nav + .header__actions { margin-left: 0; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang button {
  border: 0; background: transparent; color: var(--ink-2); font-weight: 800; font-size: .78rem; letter-spacing: .04em;
  padding: 0 10px; height: 36px; border-radius: 999px; transition: background .2s, color .2s;
}
.lang button:hover { color: var(--p); }
.lang button.is-active { background: var(--p); color: #fff; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; color: var(--ink); font-size: 1.4rem; line-height: 1;
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--p); color: var(--p); }
.icon-btn svg { width: 22px; height: 22px; }
.badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.6,1);
}
.badge.has { transform: scale(1); }
.badge.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(90px, 10vw, 140px); }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(43,183,158,.35), transparent 60%),
    linear-gradient(135deg, #8B55BD 0%, var(--p) 40%, var(--p-700) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: #C9F5EC; position: relative; }
.lead { font-size: 1.12rem; color: #EADDF7; max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero__stats { display: flex; gap: 36px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero__stats b { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 600; }
.hero__stats span { color: #DCC9F0; font-size: .9rem; }
.hero__visual { position: relative; }
.hero__card {
  position: relative; border-radius: 32px; padding: 44px 36px; text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.hero__shield { width: 150px; margin: 0 auto 22px; filter: drop-shadow(0 16px 30px rgba(0,0,0,.25)); animation: float 6s ease-in-out infinite; }
.hero__quote { font-family: var(--display); font-size: 1.25rem; margin-bottom: 22px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero__chips span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: .35em .9em; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.float {
  position: absolute; background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 16px; font-size: .9rem;
  box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite;
}
.float b { color: var(--p); }
.float--a { top: -18px; left: -28px; }
.float--b { bottom: -20px; right: -16px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Category strip */
.cats { position: relative; margin-top: -64px; z-index: 2; }
.cats__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; background: #fff; padding: 14px;
  border-radius: 24px; box-shadow: var(--shadow-lg);
}
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: 16px;
  border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: .85rem; text-align: center;
  transition: background .2s, transform .2s;
}
.cat-tile:hover { background: var(--p-50); transform: translateY(-3px); }
.cat-tile__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--p-100); color: var(--p); display: grid; place-items: center; transition: background .2s, color .2s; }
.cat-tile:hover .cat-tile__ico { background: var(--p); color: #fff; }
.cat-tile__ico svg { width: 28px; height: 28px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--soft { background: var(--p-50); }
.section--dark { background: linear-gradient(160deg, var(--p-700), var(--p-900)); color: #fff; }
.section--dark p { color: #D9C8EE; }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head p { color: var(--ink-2); font-size: 1.05rem; }
.section--dark .section__head p { color: #D9C8EE; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.section__head--row h2 { margin: 0; }

/* Body map */
.bodymap { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.bodymap__figure { position: relative; max-width: 300px; margin: 0 auto; width: 100%; }
.body-svg { width: 100%; height: auto; stroke: none; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; background: var(--p); padding: 0;
  box-shadow: 0 0 0 0 rgba(126,71,175,.5); animation: pulse 2.2s infinite;
}
.hotspot span {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.hotspot:hover span, .hotspot:focus-visible span, .hotspot.is-active span { opacity: 1; transform: translateX(-50%); }
.hotspot.is-active { background: var(--mint); animation: none; box-shadow: 0 0 0 8px rgba(43,183,158,.25); }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(126,71,175,0); } 100% { box-shadow: 0 0 0 0 rgba(126,71,175,0); } }
.bodymap__panel { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); min-height: 420px; }
.zone__title { display: flex; align-items: center; gap: 12px; }
.zone__title h3 { font-size: 1.5rem; margin: 0; }
.zone__problems { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.zone__problems li { background: var(--p-50); color: var(--p-700); border: 1px solid var(--p-200); padding: .3em .85em; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.zone__advice { display: flex; gap: 12px; background: #EAF8F4; border-radius: 14px; padding: 14px 16px; color: #1D5E52; font-size: .95rem; }
.zone__advice::before { content: "i"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .8rem; }
.zone__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 20px 0; }
.mini {
  display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 8px; background: #fff;
  text-align: left; transition: border-color .2s, box-shadow .2s;
}
.mini:hover { border-color: var(--p); box-shadow: var(--shadow); }
.mini img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; background: var(--p-50); flex: none; }
.mini b { display: block; font-size: .82rem; line-height: 1.3; }
.mini span { color: var(--p); font-weight: 800; font-size: .9rem; }
.zone__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.zone__empty { display: grid; place-items: center; text-align: center; min-height: 360px; color: var(--ink-2); }
.zone__empty svg { width: 64px; height: 64px; color: var(--p-200); margin: 0 auto 12px; }

/* Toolbar */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--ink-2); }
.search input, .toolbar select {
  height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px 0 42px; font: inherit; font-size: .92rem;
  background: #fff; min-width: 260px; color: var(--ink);
}
.toolbar select { padding: 0 18px; min-width: 0; }
.search input:focus, .toolbar select:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px var(--p-100); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 18px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: .55em 1.1em; border-radius: 999px;
  font-weight: 700; font-size: .88rem; transition: all .2s;
}
.chip:hover { border-color: var(--p); color: var(--p); }
.chip.is-active { background: var(--p); border-color: var(--p); color: #fff; }
.chip small { opacity: .7; margin-left: 4px; }

/* Products */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
  animation: fadeUp .45s both;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.card__media {
  position: relative; aspect-ratio: 1; background: linear-gradient(160deg, var(--p-50), #fff); border: 0; padding: 18px;
  display: grid; place-items: center; overflow: hidden; cursor: pointer;
}
.card__media img {
  position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px);
  object-fit: contain; mix-blend-mode: multiply; transition: transform .4s;
}
.card:hover .card__media img { transform: scale(1.05); }
.card__fallback { width: 45%; height: 45%; color: var(--p-200); }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: var(--p); color: #fff; font-size: .72rem; font-weight: 800; padding: .3em .7em; border-radius: 999px; }
.tag--sale { background: var(--coral); }
.tag--mint { background: var(--mint); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--p); }
.card__title { font-family: var(--font); font-size: 1rem; font-weight: 700; margin: 4px 0 8px; line-height: 1.35; }
.card__title button { all: unset; cursor: pointer; }
.card__title button:hover { color: var(--p); }
.card__sizes { font-size: .8rem; color: var(--ink-2); margin-bottom: 14px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.price s { color: #9C92AE; font-size: .9rem; }
.add-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--p); color: #fff; display: grid; place-items: center;
  transition: background .2s, transform .2s; flex: none;
}
.add-btn:hover { background: var(--p-600); transform: rotate(90deg); }
.add-btn svg { width: 20px; height: 20px; stroke-width: 2.4; }
.empty { text-align: center; padding: 40px; color: var(--ink-2); }
.empty a { color: var(--p); font-weight: 700; text-decoration: underline; }
.catalog__note {
  margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--radius); background: var(--p-50); border: 1px dashed var(--p-200);
}
.catalog__note p { margin: 0; color: var(--ink-2); max-width: 680px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: background .25s, transform .25s;
}
.service:hover { background: rgba(255,255,255,.11); transform: translateY(-4px); }
.service__ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: 18px; color: #C9F5EC; }
.service__ico svg { width: 28px; height: 28px; }
.service h3 { color: #fff; }
.service p { margin: 0; font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.steps li span { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--p-200); display: block; margin-bottom: 12px; }
.steps li p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--p-200); border-right: 2px solid var(--p-200); transform: rotate(45deg);
}

/* Why */
.why { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--p) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.why__panel { background: #fff; border-radius: 32px; padding: 44px 32px; text-align: center; box-shadow: var(--shadow-lg); }
.why__shield { width: 120px; margin: 0 auto 20px; }
.why__quote { font-family: var(--display); font-size: 1.35rem; color: var(--p-700); margin-bottom: 24px; }

/* Size guide */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.sizeguide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.sizeguide__measure { display: flex; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 18px; }
.sizeguide__measure svg { width: 22px; height: 22px; color: var(--p); flex: none; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
th, td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
th { background: var(--p-50); color: var(--p-700); font-weight: 800; }
th:first-child, td:first-child { text-align: left; font-weight: 700; }
tr:hover td { background: #FCFAFE; }

/* Branches */
.branches { display: grid; grid-template-columns: 420px 1fr; gap: 20px; }
.branches__list { display: grid; gap: 12px; }
.branch {
  text-align: left; background: #fff; border: 2px solid transparent; border-radius: var(--radius); padding: 20px 22px;
  box-shadow: 0 2px 10px -6px rgba(62,26,110,.2); transition: border-color .2s, box-shadow .2s;
}
.branch:hover { box-shadow: var(--shadow); }
.branch.is-active { border-color: var(--p); box-shadow: var(--shadow); }
.branch__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.branch h3 { margin: 0; font-size: 1rem; }
.branch__tag { font-size: .72rem; font-weight: 800; color: var(--p); background: var(--p-100); padding: .25em .7em; border-radius: 999px; }
.branch__addr { display: flex; gap: 8px; color: var(--ink-2); margin: 10px 0 14px; font-size: .93rem; }
.branch__addr svg { width: 18px; height: 18px; color: var(--p); flex: none; margin-top: 3px; }
.branch__links { display: flex; gap: 8px; flex-wrap: wrap; }
.branch__links a { font-size: .8rem; font-weight: 700; padding: .45em .9em; border-radius: 999px; background: var(--p-50); color: var(--p-700); transition: background .2s, color .2s; }
.branch__links a:hover { background: var(--p); color: #fff; }
.branches__map { border-radius: var(--radius); overflow: hidden; min-height: 460px; box-shadow: var(--shadow); background: var(--p-100); }
.branches__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--p-200); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--p-50); color: var(--p); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s, background .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--p); color: #fff; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--ink-2); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; }
.contact__list svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.12); color: #C9F5EC; }
.contact__list a:hover { color: #C9F5EC; }
.form { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 24px; padding: 28px; display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: #E4D3F6; }
.form input, .form select, .form textarea {
  font: inherit; font-size: .95rem; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: 12px 14px; resize: vertical;
}
.form select option { color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.5); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #C9F5EC; background: rgba(255,255,255,.12); }
.form input.invalid { border-color: var(--coral); }
.form__msg { margin: 0; font-size: .88rem; min-height: 1.2em; }

/* Footer */
.footer { background: var(--p-900); color: #CBB8E3; padding: 64px 0 24px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 38px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-family: var(--font); font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--p); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }
.footer__bottom p { margin: 0; }
.disclaimer { opacity: .7; }

/* Floating WA */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }

/* Modal */
.modal {
  border: 0; padding: 0; border-radius: 28px; width: min(900px, calc(100% - 32px)); max-height: calc(100% - 32px);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.modal::backdrop { background: rgba(31,20,48,.55); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .3s cubic-bezier(.2,1.2,.4,1); }
@keyframes pop { from { opacity: 0; transform: scale(.95); } }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow); }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm__media { background: linear-gradient(160deg, var(--p-50), #fff); padding: 40px; display: grid; place-items: center; min-height: 360px; }
.pm__media img { max-height: 380px; object-fit: contain; mix-blend-mode: multiply; }
.pm__body { padding: 40px 36px; }
.pm__body h3 { font-size: 1.45rem; }
.pm__desc { color: var(--ink-2); }
.pm__meta { font-size: .9rem; color: var(--ink-2); margin-bottom: 18px; }
.pm__label { font-weight: 800; font-size: .85rem; margin: 18px 0 8px; display: block; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 48px; padding: .5em .9em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .88rem;
  transition: all .15s;
}
.size:hover { border-color: var(--p); }
.size.is-active { background: var(--p); border-color: var(--p); color: #fff; }
.pm__price { margin: 22px 0; }
.pm__price b { font-size: 1.8rem; }
.pm__actions { display: grid; gap: 10px; }
.pm__hint { font-size: .82rem; color: var(--ink-2); margin-top: 14px; }
.pm__hint a { color: var(--p); font-weight: 700; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(31,20,48,.5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.drawer__items { flex: 1; overflow-y: auto; padding: 16px 24px; display: grid; gap: 12px; align-content: start; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ci img { width: 64px; height: 64px; object-fit: contain; background: var(--p-50); border-radius: 12px; mix-blend-mode: multiply; }
.ci b { display: block; font-size: .88rem; line-height: 1.3; }
.ci small { color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--p-50); color: var(--p-700); font-weight: 800; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .88rem; }
.ci__price { text-align: right; font-weight: 800; }
.ci__rm { border: 0; background: none; color: #A79CB8; font-size: .78rem; text-decoration: underline; padding: 0; margin-top: 6px; }
.drawer__empty { text-align: center; color: var(--ink-2); padding: 60px 0; }
.drawer__empty svg { width: 56px; height: 56px; color: var(--p-200); margin: 0 auto 12px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 24px 24px; background: var(--p-50); }
.drawer__foot[hidden] { display: none; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.drawer__total b { font-size: 1.5rem; }
.order-form { display: grid; gap: 10px; }
.order-form input, .order-form select { font: inherit; font-size: .92rem; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: #fff; }
.order-form input:focus, .order-form select:focus { outline: none; border-color: var(--p); }
.order-form input.invalid { border-color: var(--coral); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 160px); background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg);
  visibility: hidden; transition: transform .35s cubic-bezier(.2,1.2,.4,1), visibility .35s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .cats__grid { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .bodymap { grid-template-columns: 300px 1fr; gap: 28px; }
  .branches { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .burger { display: flex; align-items: center; justify-content: center; }
  .nav + .header__actions { margin-left: auto; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 20px 16px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.1rem; padding: .9em 1em; }
  .nav a.nav__cta { margin: 12px 0 0; }
}
@media (max-width: 920px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin: 20px auto 0; width: 100%; }
  .float--a { left: -6px; }
  .float--b { right: -6px; }
  .bodymap { grid-template-columns: 1fr; }
  .bodymap__figure { max-width: 240px; }
  .why, .contact { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pm { grid-template-columns: 1fr; }
  .pm__media { min-height: 240px; padding: 24px; }
  .pm__media img { max-height: 220px; }
  .pm__body { padding: 24px; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .hide-sm, .hero__visual { display: none; }
  .header__logo img { height: 30px; }
  .header__in { gap: 10px; }
  .header__actions { gap: 6px; }
  .lang button { height: 32px; padding: 0 8px; }
  .icon-btn { width: 40px; height: 40px; }
  .cats { margin-top: -50px; }
  .cats__grid { grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; }
  .cat-tile { padding: 10px 2px; font-size: .7rem; gap: 6px; }
  .cat-tile__ico { width: 42px; height: 42px; border-radius: 12px; }
  .cat-tile__ico svg { width: 22px; height: 22px; }
  .services, .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card__body { padding: 12px; }
  .card__title { font-size: .88rem; }
  .card__sizes { display: none; }
  .price b { font-size: 1.05rem; }
  .price s { font-size: .78rem; }
  .add-btn { width: 36px; height: 36px; }
  .toolbar, .search, .search input { width: 100%; min-width: 0; }
  .toolbar select { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .bodymap__panel { padding: 22px; }
  .hero__stats { gap: 22px; }
  .float { font-size: .78rem; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* PWA install banner */
.install {
  position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(440px, calc(100% - 104px));
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); animation: fadeUp .4s both;
}
.install[hidden] { display: none; }
.install img { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.install__text { flex: 1; min-width: 0; line-height: 1.3; }
.install__text b { display: block; font-size: .92rem; }
.install__text span { font-size: .78rem; color: var(--ink-2); }
.install__close { border: 0; background: none; color: #A79CB8; font-size: 1.4rem; line-height: 1; padding: 4px; align-self: flex-start; }
@media (max-width: 600px) {
  .install { left: 10px; bottom: 10px; width: calc(100% - 96px); gap: 8px; padding: 10px; }
  .install img { width: 40px; height: 40px; }
  .install__text span { display: none; }
}
@media (display-mode: standalone) {
  .topbar { padding-top: env(safe-area-inset-top); }
}

.tag--muted { background: #8C8299; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
