/* ============ BASE ============ */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F6F6F2;
  --bg-accent: #EEEEE8;
  --text-primary: #0F0F0F;
  --text-muted: #6B6B6B;
  --accent: #008512;
  --border: #E3E1DC;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
}

body {
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ============ LOGO MARK ============ */
.logo-mark {
  display: inline-block;
  width: 116px;
  height: 28px;
  background-color: var(--accent);
  -webkit-mask: url('assets/logo.svg') no-repeat center / contain;
          mask: url('assets/logo.svg') no-repeat center / contain;
  color: transparent;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.logo-mark:hover {
  opacity: 0.75;
}

.logo-mark--sm {
  width: 100px;
  height: 24px;
}

@media (min-width: 768px) {
  .logo-mark {
    width: 137px;
    height: 34px;
  }
}

/* ============ HEADER ============ */
.header-inner {
  background: rgba(13, 13, 13, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

#header.scrolled .header-inner {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

#header.hide {
  transform: translateY(-100%);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

/* ============ MOBILE MENU ============ */
#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

#menu-toggle.open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
  width: 24px;
}

#menu-toggle.open span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
  width: 24px;
}

.mobile-link {
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.mobile-link:hover {
  color: var(--accent);
}

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(ellipse 90% 60% at 25% 35%, rgba(0, 133, 18, 0.05), transparent 70%),
    var(--bg-primary);
}

/* ----- Photo-hero variant (main + subpages share this look) ----- */
.hero--photo {
  background-color: #0a1520;
  isolation: isolate;
}

.hero--photo {
  min-height: 100vh !important;
}

.hero--photo .hero-shadow {
  display: none !important;
}

/* Hard border instead of smooth fade-out into the next section. */
.hero--photo > .bg-gradient-to-b {
  display: none !important;
}

.hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/hero/main.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,28,0.78) 0%, rgba(8,18,28,0.45) 55%, rgba(8,18,28,0.15) 100%),
    linear-gradient(180deg, rgba(8,18,28,0.35) 0%, transparent 25%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero--photo > .max-w-content {
  position: relative;
  z-index: 2;
}

.hero--photo h1,
.hero--photo .hero-title {
  color: #ffffff !important;
}

.hero--photo p,
.hero--photo .hero-sub {
  color: rgba(255, 255, 255, 0.82) !important;
}

.hero--photo a[href="#directions"] {
  color: rgba(255, 255, 255, 0.85) !important;
}

.hero--photo a[href="#directions"]:hover {
  color: #ffffff !important;
}

.hero--photo .text-accent {
  color: #3fc956 !important;
}

/* ----- Ethereal shadow background ----- */
.hero-shadow {
  overflow: hidden;
}

.shadow-displaced {
  position: absolute;
  inset: -100px;
  filter: url(#hero-shadow-filter) blur(4px);
  will-change: filter;
}

.shadow-filter-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.shadow-mask {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 133, 18, 0.18);
  -webkit-mask-image: url('https://framerusercontent.com/images/ceBGguIpUU8luwByxuQz79t7To.png');
  mask-image: url('https://framerusercontent.com/images/ceBGguIpUU8luwByxuQz79t7To.png');
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.shadow-noise {
  position: absolute;
  inset: 0;
  background-image: url('https://framerusercontent.com/images/g0QcWrxr87K0ufOxIUFBakwYA8.png');
  background-size: 240px 240px;
  background-repeat: repeat;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

@media (prefers-reduced-motion: reduce) {
  .shadow-displaced {
    filter: none;
  }
}

/* ============ DIRECTION CARDS ============ */
.direction-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 36px 32px;
  border-radius: 4px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.direction-card:hover {
  border-color: var(--accent);
  background: var(--bg-accent);
  transform: translateY(-2px);
}

a.direction-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.direction-card__link {
  display: inline-block;
  margin-top: auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a.direction-card:hover .direction-card__link {
  transform: translateX(2px);
}

/* ============ TASK CLOUD ============ */
.task-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.task-cloud .task {
  color: var(--text-primary);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.task-cloud .task:hover {
  color: var(--accent);
}

.task-cloud .bullet {
  color: var(--accent);
  font-size: 0.45em;
  opacity: 0.65;
  line-height: 1;
  transform: translateY(-2px);
}

.task-cloud .task--accent {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

@media (max-width: 640px) {
  .task-cloud {
    gap: 10px 18px;
  }
  .task-cloud .task {
    white-space: normal;
  }
}

/* ============ STATS ============ */
.stat-num {
  color: var(--accent);
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  white-space: nowrap;
}

.stat-label {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* ============ PROCESS ============ */
.process-step {
  position: relative;
}

.process-num {
  font-size: 52px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .process-step::after {
    content: "";
    position: absolute;
    top: 26px;
    right: -16px;
    width: 32px;
    height: 1px;
    background: var(--border);
  }
  .process-step:last-child::after {
    display: none;
  }
}

/* ============ CASE CARDS ============ */
.case-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s ease;
}

.case-card:hover {
  border-color: var(--accent);
}

.case-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.case-block .case-label {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-block p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
}

.case-result {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

/* ============ ARTICLES ============ */
.article-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 0 0 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  font: inherit;
  color: inherit;
  width: 100%;
  overflow: hidden;
}

.article-card:hover {
  border-color: var(--accent);
  background: var(--bg-accent);
  transform: translateY(-2px);
}

.article-card:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

/* --- Image (mesh gradient) --- */
.article-image {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  transition: filter 0.3s ease;
}

.article-card:hover .article-image {
  filter: brightness(1.08) saturate(1.05);
}

.article-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://framerusercontent.com/images/g0QcWrxr87K0ufOxIUFBakwYA8.png');
  background-size: 220px 220px;
  background-repeat: repeat;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-accent);
}

.article-image {
  background: var(--bg-accent);
}

/* Date chip on image */
.article-date-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.02em;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* Card body */
.article-body {
  padding: 24px 28px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.article-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}

.article-date {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.article-title {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 14px 0;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.article-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 22px 0;
  flex-grow: 1;
}

.article-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.article-card:hover .article-link {
  opacity: 0.75;
}

/* ============ NEWS (horizontal scroll) ============ */
.news-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.news-scroll::-webkit-scrollbar {
  display: none;
}

.news-track {
  display: flex;
  gap: 18px;
  padding: 4px 32px 16px;
  width: max-content;
}

@media (min-width: 768px) {
  .news-track {
    gap: 22px;
    padding-left: max(96px, calc((100vw - 1200px) / 2 + 96px));
    padding-right: max(96px, calc((100vw - 1200px) / 2 + 96px));
    padding-bottom: 20px;
  }
}

.news-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 0;
}

.news-card:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .news-card {
    flex-basis: 340px;
  }
}

.news-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.news-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  background: var(--bg-accent);
  transition: filter 0.3s ease;
}

.news-card:hover .news-img {
  filter: brightness(1.05);
}

.news-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.news-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.005em;
}

.news-excerpt {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ============ ARTICLE MODAL ============ */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.article-modal.open {
  display: flex;
  animation: modal-fade 0.2s ease;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.article-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.article-modal__content {
  position: relative;
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 56px 56px 48px;
  border-radius: 4px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  animation: modal-rise 0.25s ease;
}

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.article-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.article-modal__close:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.article-modal__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-modal__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 28px 0;
  color: var(--text-primary);
}

.article-modal__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
}

.article-modal__body p {
  margin: 0 0 16px 0;
}

.article-modal__body h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 28px 0 12px 0;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.article-modal__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .article-modal {
    padding: 12px;
  }
  .article-modal__content {
    padding: 40px 24px 32px;
    max-height: 92vh;
  }
  .article-modal__close {
    top: 10px;
    right: 12px;
  }
}

/* ============ FORM ============ */
.form-input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 16px 18px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
  border-radius: 2px;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-secondary);
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============ SUBPAGE HERO ============ */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: #0a1520;
  color: #ffffff;
  isolation: isolate;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 180px;
    padding-bottom: 110px;
  }
}

.page-hero > .max-w-content {
  width: 100%;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,28,0.80) 0%, rgba(8,18,28,0.48) 55%, rgba(8,18,28,0.20) 100%),
    linear-gradient(180deg, rgba(8,18,28,0.4) 0%, transparent 25%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero > .max-w-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #ffffff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.page-hero .text-accent {
  color: #3fc956 !important;
}

.page-hero--vodo::before { background-image: url('/assets/hero/vodopolzovanie.jpg'); }
.page-hero--imush::before { background-image: url('/assets/hero/imushchestvennye.jpg'); }
.page-hero--okn::before { background-image: url('/assets/hero/okn.jpg'); }

/* Light header over dark photo hero (while not scrolled).
   When scrolled, blur+white background kicks in and links revert to dark. */
body:has(.hero--photo, .page-hero) #header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.92);
}
body:has(.hero--photo, .page-hero) #header:not(.scrolled) .nav-link:hover {
  color: #ffffff;
}
body:has(.hero--photo, .page-hero) #header:not(.scrolled) #menu-toggle span {
  background: #ffffff;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .sep {
  margin: 0 10px;
  opacity: 0.5;
}

/* Light breadcrumbs on dark photo hero */
.page-hero .breadcrumbs,
.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.65);
}

.page-hero .breadcrumbs a:hover {
  color: #ffffff;
}

/* ============ SERVICES LIST (vertical with ✦) ============ */
.services-list {
  display: flex;
  flex-direction: column;
}

.services-list__item {
  position: relative;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  transition: padding-left 0.25s ease;
}

@media (min-width: 768px) {
  .services-list__item {
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 32px 0;
  }
}

.services-list__item:first-child {
  border-top: 1px solid var(--border);
}

.services-list__item:hover {
  padding-left: 8px;
}

.services-list__name {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.services-list__name::before {
  content: "✦";
  color: var(--accent);
  font-size: 14px;
  opacity: 0.8;
  flex-shrink: 0;
}

.services-list__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============ INFO CALLOUT (terms / pricing) ============ */
.info-callout {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .info-callout {
    grid-template-columns: repeat(3, 1fr);
    padding: 48px 44px;
  }
  .info-callout > * + * {
    border-left: 1px solid var(--border);
    padding-left: 32px;
  }
}

.info-callout__label {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.info-callout__value {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.info-callout__note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ============ TRIGGERS (when to come) ============ */
.trigger-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.trigger-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.trigger-card__num {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.trigger-card__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
}

/* ============ FAQ (details/summary) ============ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  position: relative;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item__body {
  padding: 0 0 28px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.faq-item__body p {
  margin: 0 0 12px 0;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

/* ============ FOCUS STYLES ============ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}
