:root {
  --ink: #142322;
  --muted: #61706e;
  --line: #d8e2df;
  --soft: #f2f7f5;
  --paper: #fffdf9;
  --accent: #1f8f7a;
  --accent-dark: #146858;
  --coral: #d87562;
  --gold: #c99a45;
  --shadow: 0 24px 60px rgba(31, 77, 68, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid rgba(216, 226, 223, 0.9);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 142px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a:hover,
.header-call:hover {
  color: var(--accent-dark);
}

.header-call {
  color: var(--accent);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.02fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(36px, 6vw, 82px) clamp(18px, 5vw, 72px) 44px;
  background:
    linear-gradient(110deg, rgba(242, 247, 245, 0.92) 0%, rgba(255, 253, 249, 0.98) 52%, rgba(255, 253, 249, 0.86) 100%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.06;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 82px);
}

h2 {
  font-size: clamp(32px, 4.4vw, 54px);
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #40504e;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 26px rgba(31, 143, 122, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--accent-dark);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-media {
  align-self: stretch;
  overflow: hidden;
  border-radius: 8px;
  background: #e7f0ed;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: min(680px, 74vh);
  object-fit: cover;
  object-position: center top;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info div {
  padding: 28px clamp(18px, 4vw, 48px);
  background: white;
}

.quick-info strong,
.quick-info span {
  display: block;
}

.quick-info strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.quick-info span {
  color: var(--muted);
}

.section,
.about-section,
.cta-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-card p,
.steps p,
.about-copy p,
.cta-section p,
.site-footer p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 800;
}

.service-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 26px;
  object-fit: contain;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--soft);
}

.about-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy {
  max-width: 740px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 700;
}

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

.inline-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.page-hero {
  padding: clamp(58px, 8vw, 106px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.page-hero > div {
  max-width: 860px;
}

.qualification-hero {
  border-bottom: 1px solid var(--line);
}

.reviews-hero {
  border-bottom: 1px solid var(--line);
}

.qualification-section {
  padding-bottom: clamp(36px, 5vw, 72px);
}

.document-grid,
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.document-card,
.pdf-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(31, 77, 68, 0.08);
}

.featured-document img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f8faf9;
  border-bottom: 1px solid var(--line);
}

.document-copy,
.pdf-card > div:not(.pdf-preview) {
  padding: 24px;
}

.document-copy p:not(.eyebrow),
.pdf-card p:not(.eyebrow) {
  color: var(--muted);
}

.pdf-preview {
  height: 360px;
  background: #f8faf9;
  border-bottom: 1px solid var(--line);
}

.pdf-preview object {
  width: 100%;
  height: 100%;
}

.file-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.file-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: var(--ink);
  color: white;
  border-right: 1px solid var(--line);
}

.file-preview span {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-weight: 800;
}

.button.compact {
  min-height: 44px;
  margin-top: 8px;
  padding: 0 18px;
  font-size: 14px;
}

.reviews-section {
  background: #fbf7ef;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.review-shot {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070707;
  box-shadow: 0 14px 36px rgba(31, 77, 68, 0.1);
}

.review-shot img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
}

.review-shot.wide {
  grid-column: span 2;
}

.review-shot.tall img {
  max-height: 680px;
}

.soft {
  background: #fbf7ef;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 940px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid #eadfc9;
  border-radius: 8px;
  background: white;
}

.price-row strong {
  color: var(--accent-dark);
  white-space: nowrap;
}

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

.steps div {
  padding: 28px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--ink);
  color: white;
}

.cta-section .eyebrow {
  color: #9ee2d3;
}

.cta-section p {
  max-width: 620px;
  color: #c8d4d2;
  font-size: 18px;
}

.contact-panel {
  display: grid;
  gap: 10px;
}

.contact-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px;
  column-gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-line span {
  grid-column: 2;
  color: #9fb4b1;
  font-size: 14px;
}

.contact-line strong {
  grid-column: 2;
  font-size: 20px;
}

.contact-icon {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(158, 226, 211, 0.14);
  color: #9ee2d3;
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
}

.contact-icon.phone {
  background: rgba(31, 143, 122, 0.18);
  color: #35d0ad;
}

.contact-icon.viber {
  background: rgba(116, 82, 210, 0.2);
  color: #a98cff;
}

.contact-icon.instagram {
  background: linear-gradient(135deg, #feda75, #fa7e1e 35%, #d62976 65%, #962fbf);
  color: white;
}

.contact-icon.location {
  background: rgba(201, 154, 69, 0.2);
  color: #f0bc5b;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 120px;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  text-align: right;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .about-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 22px;
    padding-top: 24px;
  }

  .hero-media {
    max-width: 520px;
    order: -1;
  }

  .hero-media img {
    min-height: 420px;
  }

  .quick-info,
  .service-grid,
  .steps,
  .price-grid,
  .document-grid,
  .pdf-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-shot.wide {
    grid-column: auto;
  }

  .pdf-preview {
    height: 300px;
  }

  .file-card {
    grid-template-columns: 1fr;
  }

  .file-preview {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
    gap: 12px;
  }

  .brand img {
    width: 112px;
  }

  .header-call {
    font-size: 14px;
  }

  .hero {
    padding: 14px 18px 28px;
    gap: 14px;
  }

  .hero-copy {
    display: grid;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .lead {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-media {
    max-width: 100%;
  }

  .hero-media img {
    min-height: 300px;
    max-height: 36vh;
    object-position: center 10%;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .trust-row {
    display: none;
  }

  .service-card {
    min-height: 0;
  }

  .price-row,
  .site-footer {
    display: grid;
  }

  .price-row strong {
    white-space: normal;
  }

  .site-footer p {
    text-align: left;
  }
}
