/* Drakkar redesign — fresh stylesheet */

:root {
  --navy: #071525;
  --navy-2: #10253d;
  --accent: #08aeef;
  --accent-hover: #078fca;
  --tint: #e8f7fc;
  --bg: #f6f8fa;
  --white: #ffffff;
  --text: #172334;
  --muted: #64748b;
  --line: #dce3ea;
  --radius: 20px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(7, 21, 37, 0.06);
  --shadow-hover: 0 14px 40px rgba(7, 21, 37, 0.1);
  --container: 1200px;
  --header-h: 76px;
  --font-display: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 860px);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

.section {
  padding: 100px 0;
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--navy);
  color: #fff;
}

.section-title {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 18px;
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--muted);
}

.section-lead--left {
  margin-left: 0;
  text-align: left;
}

.section-cta {
  margin-top: 48px;
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--ghost:hover {
  background: var(--tint);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Header / Navbar */

.site-header {
  position: relative;
}

.navbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.is-fixed {
  position: fixed;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), var(--shadow);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  width: 44px;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand__tag {
  font-size: 11px;
  color: var(--muted);
}

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--accent);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 40;
  background: var(--white);
  padding: 28px 20px 40px;
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__list {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.mobile-menu__link {
  display: block;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.mobile-menu__phone {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* Hero */

.hero {
  padding: calc(var(--header-h) + 48px) 0 72px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(8, 174, 239, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero__content {
  grid-column: 1;
  grid-row: 1;
}

.hero__title {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero__lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.trust-row li {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding-left: 14px;
}

.trust-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__media {
  grid-column: 2;
  grid-row: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 0.92;
  background: var(--navy-2);
}

.hero__media picture,
.about-grid__media picture,
.license-card picture,
.review-card picture {
  display: contents;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Why */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.why-card__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.why-card__title {
  font-size: 20px;
  margin-bottom: 10px;
}

.why-card__text {
  font-size: 15px;
  color: var(--muted);
}

/* Services */

.services-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-cat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-cat:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 174, 239, 0.45);
  box-shadow: var(--shadow-hover);
}

.service-cat__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.service-cat__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(14%) sepia(24%) saturate(1200%) hue-rotate(178deg);
}

.service-cat__title {
  font-size: 22px;
}

.service-cat__list {
  display: grid;
  gap: 18px;
}

.service-cat__list li {
  display: grid;
  gap: 4px;
}

.service-cat__link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease;
}

.service-cat__link:hover {
  color: var(--accent);
}

.service-cat__list span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* CTA band */

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta-band__title {
  color: #fff;
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 14px;
}

.cta-band__text {
  max-width: 560px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band__phone {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band__phone:hover {
  color: #fff;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-grid__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--tint);
}

.about-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-grid__content p {
  color: var(--muted);
  margin-bottom: 14px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  line-height: 1.1;
}

.about-facts span {
  font-size: 13px;
  color: var(--muted);
}

/* Licenses */

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.license-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.license-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.license-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.license-card span {
  position: absolute;
  inset: auto 16px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: rgba(7, 21, 37, 0.88);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.license-card:hover span {
  opacity: 1;
  transform: translateY(0);
}

/* Process */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: none;
  margin-top: 48px;
}

.process-item {
  position: relative;
  padding: 8px 8px 8px 0;
}

.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -12px;
  width: calc(100% - 56px);
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.process-item__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.process-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.process-item p {
  font-size: 15px;
  color: var(--muted);
}

/* Stats */

.stats {
  background: var(--tint);
  padding: 64px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stats__item span {
  color: var(--muted);
  font-size: 15px;
}

/* Reviews */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.review-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  aspect-ratio: 3 / 4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.review-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 22px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  padding: 20px 36px 20px 0;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Final form CTA */

.form-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-cta__title {
  color: #fff;
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 16px;
}

.form-cta__copy p {
  color: rgba(255, 255, 255, 0.72);
}

.form-cta__contacts {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.form-cta__contacts a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.form--cta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 16px;
}

.form__field {
  display: grid;
  gap: 8px;
}

.form__field span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.form__field span em {
  font-style: normal;
  opacity: 0.65;
}

.form__field input,
.form__field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form__field textarea {
  min-height: 110px;
  resize: vertical;
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.form__check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form__check a {
  color: var(--accent);
  text-decoration: underline;
}

/* Footer */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
  width: 48px;
  margin-bottom: 14px;
}

.footer__brand p {
  margin-bottom: 6px;
}

.footer__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__title {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.footer__col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
}

/* Hidden / popups content */

.hidden {
  display: none;
}

.thanks,
.service__info,
.politic {
  position: relative;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  max-width: min(920px, 92vw);
  margin: 24px auto;
  padding: 40px 36px;
  text-align: left;
  max-height: 85vh;
  overflow: auto;
}

.thanks {
  text-align: center;
  padding: 56px 40px;
}

.thanks__header {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.thanks__subheader {
  font-size: 18px;
  color: var(--muted);
}

.service__info h4,
.politic h4 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 20px;
  color: var(--navy);
}

.service__info h5,
.politic h5,
.politic h3 {
  font-family: var(--font-display);
  margin: 24px 0 12px;
  color: var(--navy);
}

.service__info p,
.politic p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 15px;
}

.service__info ul {
  list-style: disc;
  padding-left: 20px;
  margin: 8px 0 16px;
  color: var(--muted);
}

.service__info li {
  margin-bottom: 6px;
}

.service__btn,
.politic__btn {
  margin-top: 24px;
}

.politic table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}

.politic td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
}

.accordion {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}

.panel {
  display: none;
  padding: 12px 4px 8px;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Magnific Popup (minimal) */

.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b1220;
  opacity: 0.8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-hide {
  display: none !important;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.7;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
  background: transparent;
  border: 0;
  z-index: 1046;
}

.mfp-close:hover {
  opacity: 1;
}

.mfp-close-btn-in .mfp-close {
  color: var(--navy);
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}

img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

body.mfp-zoom-out-cur,
body.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: zoom-out;
}

/* Responsive */

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .navbar__phone {
    display: none;
  }

  .navbar__actions .btn--sm {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .why-grid,
  .services-cats,
  .process-list,
  .stats__grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-item:not(:last-child)::after {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .about-grid,
  .form-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--header-h) + 28px);
  }

  .hero__content,
  .hero__media {
    grid-column: auto;
    grid-row: auto;
  }

  .hero__media {
    max-height: 360px;
    aspect-ratio: 16 / 10;
  }

  .licenses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .about-grid__media {
    order: -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: 72px 0;
  }

  .container,
  .container--narrow {
    width: min(100% - 32px, var(--container));
  }

  .why-grid,
  .services-cats,
  .process-list,
  .stats__grid,
  .reviews-grid,
  .licenses-grid,
  .footer__grid,
  .about-facts {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .navbar__inner {
    gap: 12px;
  }

  .brand__tag {
    display: none;
  }

  .form--cta {
    padding: 24px 18px;
  }

  .thanks,
  .service__info,
  .politic {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .service__info h4,
  .politic h4 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Inner pages */

.page-inner .navbar.is-static,
.site-header--inner .navbar {
  position: fixed;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), var(--shadow);
}

.page-hero {
  padding: calc(var(--header-h) + 48px) 0 56px;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(8, 174, 239, 0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}

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

.page-hero__title {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 18em;
}

.page-hero__lead {
  max-width: 40em;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: start;
}

.service-copy {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 18px;
}

.service-h2 {
  font-size: 28px;
  margin: 40px 0 18px;
}

.service-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 16px;
}

.aside-card--soft {
  position: static;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
}

.aside-card__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  color: inherit;
}

.aside-card__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  margin-bottom: 20px;
}

.aside-card--soft .aside-card__text {
  color: var(--muted);
}

.aside-card .btn {
  width: 100%;
  margin-bottom: 14px;
}

.aside-card__phone {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.aside-links {
  display: grid;
  gap: 10px;
}

.aside-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
}

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

.catalog-group {
  margin-bottom: 48px;
}

.catalog-group__title {
  font-size: 28px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 100%;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 174, 239, 0.45);
  box-shadow: var(--shadow-hover);
}

.catalog-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(14%) sepia(24%) saturate(1200%) hue-rotate(178deg);
}

.catalog-card__title {
  font-size: 20px;
}

.catalog-card__text {
  color: var(--muted);
  font-size: 15px;
  flex-grow: 1;
}

.catalog-card__more {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .service-layout,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .aside-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* Documents page */

.docs-page .docs-list {
  display: grid;
  gap: 10px;
}

.docs-page .accordion {
  width: 100%;
  text-align: left;
  padding: 18px 52px 18px 20px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.docs-page .accordion:hover,
.docs-page .accordion.active {
  border-color: rgba(8, 174, 239, 0.45);
  background: #fff;
}

.docs-page .accordion::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 500;
}

.docs-page .accordion.active::after {
  content: "−";
}

.docs-page .panel {
  display: none;
  padding: 8px 4px 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.docs-page .panel p,
.docs-page .panel li,
.docs-page .panel td {
  color: var(--muted);
}

.docs-page .panel a {
  color: var(--accent);
  text-decoration: underline;
  word-break: break-word;
}

.docs-page .panel table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 8px;
  font-size: 14px;
  background: #fff;
}

.docs-page .panel td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
}

.docs-page .panel h3 {
  font-size: 18px;
  margin: 16px 0 10px;
}

.docs-page__back {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .docs-page__back .btn {
    width: 100%;
  }
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 16px;
  background: rgba(7, 21, 37, 0.96);
  color: #fff;
  box-shadow: 0 -8px 30px rgba(7, 21, 37, 0.18);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner__text a {
  color: #7dd3fc;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.cookie-banner__decline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cookie-banner__decline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}
