:root {
  --bg: #f6f7fc;
  --bg-muted: #eceef8;
  --surface: #ffffff;
  --text: #201879;
  --text-muted: #5c5f8a;
  --navy: #201879;
  --navy-2: #17125c;
  --brand: #201879;
  --accent: #f9ce00;
  --accent-hover: #e0b800;
  --accent-soft: rgba(249, 206, 0, 0.16);
  --brand-soft: rgba(32, 24, 121, 0.08);
  --radius: 16px;
  --shadow: 0 20px 50px rgba(32, 24, 121, 0.12);
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light {
  color: var(--accent);
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section--compact {
  padding: 3.5rem 0;
}

.section--dark,
.section--contact {
  color: #fff;
}

.section--muted {
  background: var(--bg-muted);
}

.section__head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section__head--light h2,
.section__head--light p {
  color: #fff;
}

.section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section__head--light p {
  color: rgba(255, 255, 255, 0.78);
}

.section__cta {
  margin-top: 2.5rem;
  text-align: center;
}

.section__cta--end {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.75rem;
  text-align: right;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

.btn--lg {
  padding: 1rem 1.6rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy-2);
}

.btn--light {
  background: var(--accent);
  color: var(--brand);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--accent {
  background: var(--accent);
  color: var(--brand);
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--text);
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
  color: var(--brand);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header__phone {
  font-weight: 700;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: 0.2s ease;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  padding-top: var(--header-h);
}

.hero--compact {
  min-height: 100vh;
}

.hero__bg,
.services__bg,
.contact__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay,
.services__overlay,
.contact__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg--design {
  background-image: url("/images/Group_1.svg");
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  background: linear-gradient(
    115deg,
    rgba(32, 24, 121, 0.55) 0%,
    rgba(32, 24, 121, 0.2) 55%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 4rem 0 5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 760px;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 1.08;
}

.hero__lead {
  max-width: 620px;
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about__media img {
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about__content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.about__content p {
  color: var(--text-muted);
}

.about__facts {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.about__facts li {
  padding-left: 1.4rem;
  position: relative;
  font-weight: 600;
}

.about__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.services__overlay {
  background: linear-gradient(180deg, rgba(32, 24, 121, 0.9), rgba(23, 18, 92, 0.96));
}

.section__inner {
  position: relative;
  z-index: 1;
}

.services__group {
  margin-bottom: 2.5rem;
}

.services__group--secondary {
  margin-bottom: 0;
}

.services__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.services__actions .card__link--light {
  margin-top: 0;
  margin-right: auto;
}

.card__link {
  display: inline-flex;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
}

.card__link:hover {
  text-decoration: underline;
}

.services__group h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.services__intro,
.services__group p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
}

.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.card__num {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
}

.card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tag-list span,
.tag-list__link {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 0.9rem;
}

.tag-list__link {
  color: #fff;
  transition: background 0.2s ease;
}

.tag-list__link:hover {
  background: rgba(249, 206, 0, 0.2);
}

.card__link--light {
  display: inline-flex;
  margin-top: 1rem;
}

.docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.doc-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
}

.doc-card span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.advantage {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.advantage__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.advantage h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.advantage p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.portfolio__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.portfolio__track::-webkit-scrollbar {
  display: none;
}

.portfolio__slide {
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.portfolio__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dfe5ef;
}

.portfolio__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio__media--crop img {
  object-position: center 15%;
}

.portfolio__caption {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}

.portfolio__caption h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.portfolio__caption p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.portfolio__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.portfolio__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--brand);
}

.ba-showcase {
  display: grid;
  gap: 1.5rem;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  user-select: none;
  touch-action: none;
}

.ba-slider__after,
.ba-slider__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ba-slider__before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #fff;
  z-index: 2;
}

.ba-slider__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  cursor: ew-resize;
}

.ba-slider__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.ba-slider__handle span::before {
  content: "↔";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 700;
}

.ba-slider__label {
  position: absolute;
  top: 1rem;
  z-index: 4;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.ba-slider__label--before {
  left: 1rem;
}

.ba-slider__label--after {
  right: 1rem;
}

.ba-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ba-card {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ba-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ba-card figcaption {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.partner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.partner-badge img {
  width: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.partner-badge img[src*="nornickel"] {
  max-height: 52px;
}

.contact__overlay {
  background: linear-gradient(180deg, rgba(32, 24, 121, 0.9), rgba(23, 18, 92, 0.96));
}

.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact__intro p {
  color: rgba(255, 255, 255, 0.78);
}

.contact__list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.contact__list a {
  color: #fff;
  font-weight: 700;
}

.form {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #dbe3f0;
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--brand);
}

.form__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form__status {
  margin: 0;
  font-weight: 700;
  min-height: 1.2em;
}

.form__status--ok {
  color: #15803d;
}

.form__status--err {
  color: #b91c1c;
}

.footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer h4 {
  margin: 0 0 1rem;
  color: #fff;
}

.footer__logo {
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer__copy {
  margin: 0;
  font-size: 0.9rem;
}

.footer__nav,
.footer__contacts {
  display: grid;
  gap: 0.5rem;
}

.footer__nav a,
.footer__contacts a {
  color: rgba(255, 255, 255, 0.82);
}

.footer__nav a:hover,
.footer__contacts a:hover {
  color: #fff;
}

.footer__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .about,
  .contact,
  .footer__grid,
  .cards--3,
  .advantages {
    grid-template-columns: 1fr 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

.service-page__hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--navy-2) 100%);
  color: #fff;
}

.service-page__hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.service-page__hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
}

.service-page__back {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.service-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.service-nav a:hover {
  background: rgba(249, 206, 0, 0.2);
}

.service-section__inner {
  max-width: 820px;
}

.service-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--brand);
}

.service-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(32, 24, 121, 0.1);
}

.service-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.service-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.service-block h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.service-block p,
.service-section p {
  color: var(--text-muted);
}

.service-block ul,
.service-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.service-block li + li,
.service-section li + li {
  margin-top: 0.35rem;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.service-meta span {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
}

.service-page__cta {
  background: var(--brand);
  color: #fff;
  text-align: center;
}

.service-page__cta-inner h2 {
  margin: 0 0 0.5rem;
  color: #fff;
}

.service-page__cta-inner p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: block;
  }

  .header__phone {
    display: none;
  }

  .about,
  .cards--3,
  .advantages,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .ba-gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .section--compact {
    padding: 3rem 0;
  }
}

/* Digital contact card (/card) */
.vcard-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.vcard-page__bg {
  position: fixed;
  inset: 0;
  background: url("/images/portfolio/04.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.vcard-page__overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 12, 48, 0.55), rgba(32, 24, 121, 0.88)),
    repeating-linear-gradient(
      -45deg,
      rgba(249, 206, 0, 0.03) 0,
      rgba(249, 206, 0, 0.03) 2px,
      transparent 2px,
      transparent 10px
    );
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}

.vcard-page__shell {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vcard-hero {
  text-align: center;
}

.vcard-hero__avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 0.9rem;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.vcard-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.vcard-hero__company {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.vcard-hero__name {
  margin: 0;
  font-size: clamp(1.45rem, 5.5vw, 1.75rem);
  line-height: 1.12;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vcard-actions {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.vcard-actions__btn {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: rgba(15, 12, 48, 0.55);
  border: 1px solid rgba(249, 206, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.vcard-actions__btn:hover {
  transform: translateY(-1px);
  background: rgba(32, 24, 121, 0.75);
  border-color: var(--accent);
}

.vcard-actions__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.vcard-details {
  border-radius: 4px;
  overflow: hidden;
  background: rgba(15, 12, 48, 0.62);
  border: 1px solid rgba(249, 206, 0, 0.35);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.vcard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vcard-row:last-child {
  border-bottom: 0;
}

.vcard-row:hover:not(.vcard-row--static) {
  background: rgba(249, 206, 0, 0.08);
}

.vcard-row__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249, 206, 0, 0.78);
  margin-bottom: 0.2rem;
}

.vcard-row__value {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.vcard-row svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
}

.vcard-page .btn {
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vcard-save {
  width: 100%;
  border: none;
  cursor: pointer;
  font: inherit;
  margin-top: 0.15rem;
  box-shadow: 0 8px 24px rgba(249, 206, 0, 0.22);
  text-decoration: none;
}

.vcard-save-hint {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
  white-space: pre-line;
}

.vcard-android-help {
  margin-top: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(249, 206, 0, 0.35);
  background: rgba(15, 12, 48, 0.55);
  font-size: 0.82rem;
  line-height: 1.45;
}

.vcard-android-help__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.vcard-android-help__list {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
}

.vcard-android-help__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .vcard-save-hint {
    display: none;
  }
}

.vcard-site-link {
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vcard-site-link:hover {
  color: var(--accent);
}
