*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #F7F7F4;
  --bg-soft: #F1F2EF;
  --white: #FFFFFF;
  --ink: #0F1C2E;
  --ink-soft: #5E6673;
  --accent: #071A33;
  --accent-2: #0A1D36;
  --border: #E3E6EA;
  --shadow: rgba(15, 28, 46, 0.08);
  --shadow-md: rgba(15, 28, 46, 0.14);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.page { display: none; }
.page.active { display: block; }
.section { padding: 76px 0; }
.section.white { background: var(--white); }
.section.compact { padding: 56px 0; }
.eyebrow, .section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
h1 { font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.08; margin-bottom: 22px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); line-height: 1.18; margin-bottom: 18px; }
h3 { font-size: 1.02rem; line-height: 1.3; }
p { color: var(--ink-soft); }

/* Header & Logo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(247, 247, 244, .9);
  border-bottom: 1px solid rgba(227, 230, 234, .9);
  backdrop-filter: blur(16px);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo-img {
  height: 44.2px;
  width: auto;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); opacity: .82; text-decoration: none; font-size: .91rem; transition: opacity .18s ease; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-cta {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: .86rem;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: .92; }
.burger { display: none; border: 0; background: transparent; width: 40px; height: 40px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 1.5px; margin: 6px auto; background: var(--ink); }
.mobile-menu {
  position: fixed;
  inset: 72px 0 auto 0;
  z-index: 900;
  display: none;
  background: rgba(247, 247, 244, .98);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px 28px;
  box-shadow: 0 18px 48px var(--shadow);
}
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 15px 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  cursor: pointer;
}
.mobile-menu button { font-family: var(--sans); font-size: 1rem; margin-top: 14px; border-radius: 14px; text-align: center; background: var(--accent); color: #fff; border-bottom: 0; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-primary, .btn-outline, .btn-soft {
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary { border: 1px solid var(--accent); background: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(7, 26, 51, .18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(7, 26, 51, .22); }
.btn-outline { border: 1px solid rgba(7, 26, 51, .28); background: transparent; color: var(--accent); }
.btn-outline:hover { border-color: var(--accent); background: rgba(7, 26, 51, .035); }
.btn-soft { border: 1px solid var(--border); background: var(--white); color: var(--ink); box-shadow: 0 6px 18px var(--shadow); }
.btn-soft:hover { transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  padding: 82px 0 52px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: 54vw;
  height: 100%;
  background: radial-gradient(circle at 60% 25%, rgba(255,255,255,.95), rgba(255,255,255,0) 48%), linear-gradient(140deg, transparent, rgba(227,230,234,.75));
  z-index: -1;
}
.hero-grid { display: block; }
.hero-text { max-width: 700px; }
.hero-sub { font-size: 1.03rem; line-height: 1.78; max-width: 640px; margin-bottom: 34px; }
.hero-visual { min-height: 360px; display: grid; place-items: center; }
.visual-card {
  width: min(360px, 100%);
  aspect-ratio: 1.25 / 1;
  border: 1px solid rgba(227,230,234,.85);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(243,244,241,.76));
  box-shadow: 0 30px 75px rgba(15, 28, 46, .13);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.visual-card::before { content:''; position:absolute; inset: 34px; border: 1px solid rgba(7,26,51,.08); border-radius: 22px; }
.visual-card::after { content:''; position:absolute; width: 220px; height: 220px; border-radius: 999px; background: rgba(7,26,51,.04); right:-80px; bottom:-90px; }
.visual-logo .brand-logo-img { transform: scale(1.25); z-index: 1; }
.direction-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.dir-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 30px var(--shadow);
  border-radius: var(--radius);
  padding: 24px;
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: 48px 1fr 20px;
  gap: 16px;
  align-items: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dir-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px var(--shadow-md); border-color: rgba(7,26,51,.22); }
.dir-icon { width: 48px; height: 48px; border-radius: 15px; border: 1px solid var(--border); background: var(--bg); display: grid; place-items: center; }
.dir-icon img { width: 24px; height: 24px; object-fit: contain; }
.dir-card strong { display: block; margin-bottom: 3px; font-size: 1rem; }
.dir-card span { display: block; color: var(--ink-soft); font-size: .82rem; line-height: 1.45; }
.dir-arrow { font-size: 1.7rem; color: var(--ink-soft); }

/* Cards / sections */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.section-head p { max-width: 580px; }
.section-head .directions-intro {
  max-width: 720px;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.55;
}
.popular-grid, .biz-popular, .prime-grid, .prime-packages, .contact-grid, .about-approach {
  display: grid;
  gap: 14px;
}

.home-method-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.home-method-head { margin-bottom: 38px; }
.home-method-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.home-method-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 16px 38px var(--shadow);
}
.home-method-panel-head {
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.home-method-panel-head h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 500;
}
.home-method-panel-head p { font-size: .86rem; line-height: 1.55; }
.home-risk-list, .home-work-list { list-style: none; }
.home-risk-row {
  display: grid;
  grid-template-columns: 10px 92px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border-bottom: 1px solid var(--border);
}
.home-risk-row:last-child, .home-work-list li:last-child { border-bottom: 0; }
.home-risk-dot { width: 9px; height: 9px; border-radius: 50%; }
.home-risk-row.low .home-risk-dot { background: #5BAD6F; }
.home-risk-row.medium .home-risk-dot { background: #E3A03A; }
.home-risk-row.high .home-risk-dot { background: #E06B3A; }
.home-risk-row.critical .home-risk-dot { background: #D94040; }
.home-risk-row strong { color: var(--ink); font-size: .82rem; }
.home-risk-row p { font-size: .82rem; line-height: 1.45; }
.home-work-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.home-work-list li > span {
  color: rgba(15, 28, 46, .38);
  font-family: var(--serif);
  font-size: .82rem;
}
.home-work-list strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: .9rem; }
.home-work-list p { font-size: .82rem; line-height: 1.48; }
.popular-grid { grid-template-columns: repeat(3, 1fr); }
.pop-card { padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.pop-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px var(--shadow-md); }
.pop-title { font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.pop-desc { font-size: .82rem; line-height: 1.45; }
.pop-price { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* Inner pages */
.page-hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 58px 0 46px; }
.page-hero.dark { background: var(--accent); color: #fff; }
.page-hero.dark h1, .page-hero.dark .eyebrow { color: #fff; }
.page-hero.dark p { color: rgba(255,255,255,.72); }
.page-hero p { max-width: 760px; font-size: 1.02rem; line-height: 1.76; margin-bottom: 30px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-actions .btn-soft { box-shadow: none; }

/* Accordion */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 16px 38px var(--shadow); }
.acc-item + .acc-item { border-top: 1px solid var(--border); }

.acc-header {
  width: 100%;
  border: 0;
  background: var(--white);
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 32px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  color: var(--ink);
  transition: background 0.2s ease;
}
.acc-header:hover { background: #FAFAF8; }

.acc-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity 0.3s ease;
}
.acc-item.active .acc-header-text {
  opacity: 0;
  pointer-events: none;
}

.acc-title { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 3px; }
.acc-sub { color: var(--ink-soft); font-size: .82rem; }

.acc-chevron {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
  transform-origin: center center;
  flex-shrink: 0;
}
.acc-chevron svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink-soft);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.acc-item.active .acc-chevron {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
}
.acc-item.active .acc-chevron svg {
  stroke: #ffffff;
}

.acc-body { max-height: 0; overflow: hidden; background: var(--bg); transition: max-height 0.4s ease; border-top: 1px solid transparent; }
.acc-item.active .acc-body { border-top-color: var(--border); }
.acc-content { padding: 26px 28px 30px; }
.detailed-content { padding: 32px 28px 40px; }
.acc-desc { max-width: 880px; line-height: 1.74; margin-bottom: 22px; }
.acc-list-title { margin: 20px 0 10px; color: var(--ink); font-weight: 800; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.acc-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 7px 18px; }
.acc-list li { color: var(--ink-soft); font-size: .86rem; position: relative; padding-left: 16px; }
.acc-list li::before { content: '—'; position: absolute; left: 0; color: var(--ink); opacity: .45; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 10px; margin-top: 12px; }
.price-row {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.price-row span { color: var(--ink-soft); font-size: .84rem; line-height: 1.35; }
.price-row strong { color: var(--ink); font-size: .88rem; white-space: nowrap; text-align: right; }
.acc-cta { margin-top: 24px; }

/* Private direction cards and modal */
body.modal-open { overflow: hidden; }

.private-direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.private-direction-card {
  width: 100%;
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 24px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 18px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.private-direction-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 26, 51, .22);
  box-shadow: 0 18px 40px var(--shadow-md);
}

.private-direction-card:focus-visible,
.service-modal-close:focus-visible {
  outline: 3px solid rgba(7, 26, 51, .25);
  outline-offset: 3px;
}

.private-direction-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.private-direction-card-icon svg {
  width: 27px;
  height: 27px;
}

.private-direction-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.private-direction-card-content strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.private-direction-card-content > span {
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.55;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.service-modal.open { display: flex; }

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 34, .68);
  backdrop-filter: blur(6px);
}

.service-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
}

.service-modal-close {
  align-self: flex-end;
  margin: 18px 22px 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}

.service-modal-close span:first-child {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: .8;
}

.service-modal-content {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.service-modal-content .detailed-content { padding-top: 14px; }

/* Business / prime */
.biz-popular { grid-template-columns: repeat(3, 1fr); }
.biz-pop-item { padding: 20px; }
.biz-pop-item .price { font-weight: 800; color: var(--ink); margin-top: 10px; }
.prime-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.prime-card { padding: 18px 20px; box-shadow: none; }
.prime-card::before { content: '—'; color: var(--ink-soft); margin-right: 8px; }
.prime-packages { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.prime-pkg {
  min-width: 0;
  height: 100%;
  padding: 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.prime-pkg.featured { border-color: var(--accent); box-shadow: 0 18px 42px var(--shadow-md); }
.pkg-badge { position: absolute; top: 18px; right: 18px; background: var(--accent); color: #fff; border-radius: 999px; padding: 5px 10px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.pkg-name { font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-soft); font-size: .76rem; margin-bottom: 8px; }
.pkg-price { font-family: var(--serif); font-size: 2rem; color: var(--ink); margin-bottom: 5px; }
.pkg-desc { border-top: 1px solid var(--border); padding-top: 16px; margin: 16px 0; font-size: .86rem; }
.pkg-list { list-style: none; flex: 1; }
.pkg-list li { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--ink-soft); font-size: .86rem; }
.pkg-list li::before { content: '✓'; color: var(--ink); font-size: .8rem; }
.notice { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-top: 20px; color: var(--ink-soft); font-size: .86rem; }

/* Prime page redesign */
.prime-overview-section {
  padding-top: 74px;
  padding-bottom: 60px;
}

.prime-control-section {
  position: relative;
  padding-top: 58px;
}

.prime-section-head {
  margin-bottom: 28px;
}

.prime-section-head h2 {
  max-width: 760px;
}

.prime-cards {
  display: grid;
  gap: 18px;
}

.prime-cards-need {
  grid-template-columns: repeat(4, 1fr);
}

.prime-cards-control {
  grid-template-columns: repeat(4, 1fr);
}

.prime-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 28px rgba(15, 28, 46, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.prime-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 28, 46, .09);
  border-color: rgba(7,26,51,.16);
}

.prime-card::before {
  content: none;
}

.prime-info-card {
  min-height: 168px;
  padding: 24px 24px 22px;
}

.prime-control-card {
  min-height: 112px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
}

.prime-card-wide {
  grid-column: span 2;
}

.prime-card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.prime-control-card .prime-card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 0;
}

.prime-card-icon svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prime-control-card .prime-card-icon svg {
  width: 27px;
  height: 27px;
}

.prime-info-card strong,
.prime-control-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.prime-info-card strong {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.prime-control-card strong {
  font-size: 1.02rem;
  margin-bottom: 5px;
}

.prime-info-card p,
.prime-control-card p {
  color: var(--ink-soft);
  line-height: 1.45;
}

.prime-info-card p {
  font-size: .92rem;
}

.prime-control-card p {
  font-size: .82rem;
}

.prime-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  color: rgba(15,28,46,.22);
}

.prime-divider::before,
.prime-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(15,28,46,.12), transparent);
}

.prime-divider span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(7,26,51,.18);
  transform: rotate(45deg);
}

/* Contacts */
.contacts-section { background: var(--white); }
.contacts-wrap { display: grid; grid-template-columns: .86fr 1.14fr; gap: 44px; align-items: start; }
.contact-grid { grid-template-columns: repeat(2, 1fr); }
.contact-card {
  padding: 14px 18px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: rgba(7,26,51,.25); box-shadow: 0 18px 38px var(--shadow-md); }
.contact-icon { width: 42px; height: 42px; border: 1px solid var(--border); background: var(--bg); border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; display: block; color: var(--accent); }
.contact-card strong { display: block; }
.contact-card span { display: block; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }
.contact-privacy-note {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: .76rem;
  line-height: 1.55;
}
.contact-privacy-note a { color: var(--ink); text-underline-offset: 3px; }

/* About / footer */
.about-text { max-width: 900px; }
.about-text p { font-size: 1rem; line-height: 1.85; margin-bottom: 18px; }
.about-text p:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.68;
  letter-spacing: -.01em;
}
.about-approach { grid-template-columns: repeat(5, 1fr); }
.approach-card { padding: 22px; box-shadow: none; }
.approach-num { font-size: .72rem; color: var(--ink-soft); font-weight: 800; letter-spacing: .1em; margin-bottom: 12px; }
.approach-card strong { display: block; margin-bottom: 7px; }
.approach-card p { font-size: .82rem; line-height: 1.5; }
footer { background: var(--white); border-top: 1px solid var(--border); padding: 38px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 2fr; gap: 42px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink-soft); text-decoration: none; margin-bottom: 7px; font-size: .84rem; }
.footer-link-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: .84rem;
  text-align: left;
  cursor: pointer;
}
.footer-col a:hover, .footer-link-button:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 18px; display: flex; gap: 22px; justify-content: space-between; flex-wrap: wrap; }
.footer-bottom p { font-size: .76rem; max-width: 720px; }
.float-cta { position: fixed; right: 22px; bottom: 22px; z-index: 800; border: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 14px 20px; box-shadow: 0 14px 34px rgba(7,26,51,.28); cursor: pointer; font-weight: 700; }

/* Privacy controls */
[hidden] { display: none !important; }
.privacy-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 2600;
  width: min(860px, calc(100% - 40px));
  transform: translateX(-50%);
  border: 1px solid rgba(7, 26, 51, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 70px rgba(7, 26, 51, .2);
  backdrop-filter: blur(18px);
}
.privacy-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
}
.privacy-banner__copy strong { display: block; color: var(--ink); margin-bottom: 5px; }
.privacy-banner__copy p { font-size: .82rem; line-height: 1.55; }
.privacy-banner__copy a { color: var(--ink); text-underline-offset: 3px; }
.privacy-banner__actions { display: flex; gap: 9px; }
.privacy-banner__actions .btn-primary,
.privacy-banner__actions .btn-outline { padding: 11px 15px; white-space: nowrap; }

/* Legal documents */
.legal-page { min-height: 100vh; background: var(--bg); }
.legal-header {
  border-bottom: 1px solid var(--border);
  background: rgba(247, 247, 244, .96);
}
.legal-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-back { color: var(--ink-soft); font-size: .86rem; text-decoration: none; }
.legal-back:hover { color: var(--ink); }
.legal-main { padding: 58px 0 80px; }
.legal-card {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 50px var(--shadow);
}
.legal-card h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.legal-meta {
  margin: 0 0 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
}
.legal-card h2 { margin: 38px 0 14px; font-family: var(--sans); font-size: 1.12rem; font-weight: 700; }
.legal-card h3 { margin: 24px 0 10px; font-size: .98rem; }
.legal-card p, .legal-card li { color: var(--ink-soft); font-size: .92rem; line-height: 1.75; }
.legal-card p { margin-bottom: 12px; }
.legal-card ul, .legal-card ol { padding-left: 22px; margin: 10px 0 18px; }
.legal-card a { color: var(--ink); text-underline-offset: 3px; }
.legal-note {
  margin: 24px 0;
  padding: 17px 19px;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
}
.legal-footer { padding: 0 0 40px; text-align: center; }
.legal-footer p { font-size: .76rem; }

/* Detailed accordion styles */
.detailed-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.detailed-section {
  margin-top: 36px;
}

.detailed-section-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.detailed-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  list-style: none;
}

.detailed-tag {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.45;
}

.tag-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--accent);
  opacity: .78;
  flex-shrink: 0;
}

.tag-icon svg {
  width: 100%;
  height: 100%;
}

.price-section {
  margin-top: 40px;
  padding: 26px 28px 22px;
  border: 1px solid rgba(7, 26, 51, .12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(241, 242, 239, .82));
  box-shadow: 0 14px 34px rgba(15, 28, 46, .06);
}
.price-section > .detailed-section-label {
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--ink);
  font-size: .78rem;
}

.price-category-detailed {
  margin-top: 28px;
}

.price-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price-category-header::after { content: ''; height: 1px; flex: 1; background: var(--border); }

.price-cards-grid {
  display: block;
}

.price-card-detailed {
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.price-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
  align-items: center;
  gap: 24px;
}

.price-card-name {
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.4;
}

.price-card-price {
  color: var(--ink);
  min-width: 132px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.service-cta-box {
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg), var(--white));
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-logo {
  display: inline-flex;
  align-items: center;
  width: 116px;
  flex-shrink: 0;
}

.cta-logo img { width: 100%; height: auto; display: block; }

.cta-text {
  flex: 1;
}

.cta-text strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 4px;
}

.cta-text p {
  font-size: .86rem;
  line-height: 1.5;
  margin: 0;
}

.service-cta-box .btn-primary {
  flex-shrink: 0;
  padding: 14px 28px;
}

@media (max-width: 980px) {
  .direction-cards, .home-method-layout, .popular-grid, .biz-popular, .prime-packages, .contacts-wrap, .footer-grid, .about-approach { grid-template-columns: 1fr; }
  .prime-cards-need, .prime-cards-control { grid-template-columns: repeat(2, 1fr); }
  .prime-card-wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero::before { width: 100%; opacity: .7; }
}
@media (min-width: 981px) {
  .prime-pkg .pkg-desc { min-height: 118px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--max)); }
  .site-header, .nav-inner { height: 66px; }
  .mobile-menu { inset: 66px 0 auto 0; }
  .brand-logo-img { height: 39px; }
  .section { padding: 54px 0; }
  .section-head .directions-intro { font-size: 1.02rem; }
  .hero { padding: 52px 0 38px; }
  .hero-sub, .page-hero p { font-size: .96rem; }
  .btn-row, .page-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline, .btn-soft { width: 100%; }
  .dir-card { grid-template-columns: 44px 1fr 18px; padding: 18px; }
  .home-method-head { margin-bottom: 28px; }
  .home-method-panel { padding: 22px 18px; border-radius: 18px; }
  .home-method-panel-head { padding-bottom: 20px; }
  .home-risk-row { grid-template-columns: 9px 1fr; gap: 8px 12px; padding: 13px 0; }
  .home-risk-row p { grid-column: 2; }
  .prime-packages {
    display: flex;
    gap: 14px;
    margin-inline: -16px;
    padding: 4px 16px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .prime-packages::-webkit-scrollbar { display: none; }
  .prime-pkg {
    flex: 0 0 min(84vw, 340px);
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .private-direction-grid { grid-template-columns: 1fr; gap: 12px; }
  .private-direction-card {
    min-height: auto;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px 16px;
  }
  .private-direction-card-icon { width: 44px; height: 44px; border-radius: 12px; }
  .private-direction-card-icon svg { width: 24px; height: 24px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col a[href^="tel:"] { white-space: nowrap; }
  .privacy-banner {
    bottom: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    transform: translateX(-50%);
  }
  .privacy-banner__content { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px 18px; }
  .privacy-banner__actions { display: grid; grid-template-columns: 1fr; }
  .privacy-banner__actions .btn-primary,
  .privacy-banner__actions .btn-outline { width: 100%; }
  .legal-header__inner { min-height: 66px; }
  .legal-header .brand-logo-img { height: 34px; }
  .legal-main { padding: 24px 0 52px; }
  .legal-card { padding: 24px 18px; border-radius: 18px; }
  .legal-card h2 { margin-top: 32px; }
  .service-modal { align-items: stretch; padding: 0; }
  .service-modal-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .service-modal-close { margin: 12px 16px 0; }
  .service-modal-content .detailed-content { padding-top: 12px; }
  .acc-header { grid-template-columns: 1fr 32px; gap: 10px; padding: 18px 16px; }
  .acc-content { padding: 20px 16px 24px 16px; }
  .detailed-content { padding: 24px 16px 32px; }
  .price-grid, .contact-grid { grid-template-columns: 1fr; }
  .price-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .price-row strong { text-align: left; white-space: normal; }
  .prime-cards-need, .prime-cards-control { grid-template-columns: 1fr; }
  .prime-card-wide { grid-column: span 1; }
  .prime-info-card { min-height: auto; padding: 20px 18px; }
  .prime-control-card { min-height: auto; grid-template-columns: 32px 1fr; gap: 13px; padding: 18px; }
  .prime-card-icon { width: 34px; height: 34px; margin-bottom: 16px; }
  .prime-card-icon svg { width: 25px; height: 25px; }
  .prime-control-card .prime-card-icon svg { width: 24px; height: 24px; }
  .float-cta { left: 16px; right: 16px; bottom: 14px; width: calc(100% - 32px); border-radius: 14px; }
  footer { padding-bottom: 82px; }
  
  .detailed-title { font-size: 1.6rem; }
  .detailed-tags { grid-template-columns: 1fr; column-gap: 0; }
  .price-card-detailed { padding: 15px 0; }
  .price-card-content { grid-template-columns: 1fr; gap: 5px; }
  .price-card-price { min-width: 0; text-align: left; white-space: normal; }
  .price-section { margin-top: 32px; padding: 22px 18px 18px; border-radius: 16px; }
  .service-cta-box { flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-cta-box .btn-primary { width: 100%; }
}
