:root {
  --primary: #0f2746;
  --primary-dark: #0a1d35;
  --accent: #c7a24a;
  --accent-dark: #a88336;
  --accent-soft: #f4df9d;
  --text: #1f2a37;
  --muted: #6b7280;
  --surface: #f7f7f8;
  --surface-2: #eef2f7;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 50px rgba(15, 39, 70, 0.08);
  --radius: 18px;
  --container: 1320px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section--alt {
  background: var(--surface);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 45px;
}

.section-heading h2,
.page-hero h1,
.hero h1,
.contact-panel h2,
.about-grid h2,
.service-detail-grid h2,
.certificate-grid h2,
.testimonial-card h4,
.team-card h3,
.case-card h3,
.value-card h3,
.adv-card h3,
.document-item h3,
.info-block h3 {
  font-family: 'Manrope', sans-serif;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  color: var(--primary);
}

.section-heading__nowrap {
  white-space: nowrap;
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
}

.top-bar {
  background: var(--primary-dark);
  color: var(--surface);
  font-size: 0.9rem;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  min-height: 46px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.top-bar__inner span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 248, 0.94));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 86px;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.logo__image {
  width: auto;
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.18));
}

.logo__mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 12px;
  font-size: 1.2rem;
}

.logo__text {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.logo__text small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav a {
  color: #21375a;
  font-size: 0.82rem;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.nav a:hover {
  background: linear-gradient(90deg, rgba(15, 39, 70, 0.06), rgba(199, 162, 74, 0.08));
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(199, 162, 74, 0.12);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition), left var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  left: 10px;
  width: calc(100% - 20px);
}



.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(90deg, var(--accent), #e3bf68);
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(199, 162, 74, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn--outline {
  border: 1px solid var(--accent);
  color: var(--primary);
}

.header .btn--outline {
  background: linear-gradient(135deg, #f2d484, var(--accent));
  border: 1px solid #d2ad54;
  color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(199, 162, 74, 0.35);
}

.header .btn--outline:hover {
  background: linear-gradient(135deg, #f5dd9e, #d6ad53);
  box-shadow: 0 14px 28px rgba(199, 162, 74, 0.45);
}

.btn--small {
  min-height: 48px;
  padding: 0 18px;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  background:
    radial-gradient(circle at top left, rgba(199, 162, 74, 0.08), transparent 18%),
    linear-gradient(90deg, #f8f8f7 0%, #f4f5f8 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.35rem);
  line-height: 1;
  color: var(--primary);
  margin-bottom: 18px;
  max-width: 600px;
  font-family: 'Montserrat', sans-serif;
}

.hero__nowrap {
  display: inline-block;
  white-space: nowrap;
}

.hero__accent {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  text-shadow: 0 8px 24px rgba(199, 162, 74, 0.18);
}

.hero__content p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 26px;
}

.hero__stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  align-items: flex-start;
}

.hero__stats div {
  min-width: 120px;
}

.hero__stats strong {
  display: block;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
}

.hero__stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero__card {
  position: absolute;
  left: -30px;
  bottom: 30px;
  width: 280px;
  background: var(--white);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero__card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.hero__card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-section {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  background: var(--white);
  padding: 34px 18px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stat-card__value i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--accent-dark);
  background: linear-gradient(135deg, #f7e8b8, #efd183);
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.advantages-grid,
.services-grid,
.team-grid,
.testimonials-grid,
.values-grid,
.cases-grid,
.documents-stack,
.pricing-table,
.contact-panel,
.certificate-grid,
.service-detail-grid,
.about-grid,
.team-preview,
.footer__inner {
  display: grid;
  gap: 24px;
}

.advantages-grid {
  grid-template-columns: repeat(4, 1fr);
}

.adv-card,
.service-card,
.team-card,
.testimonial-card,
.value-card,
.case-card,
.document-item,
.service-info-card,
.contact-panel,
.info-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.adv-card {
  padding: 32px 22px;
  text-align: left;
}

.service-info-card,
.info-block {
  padding: 28px 30px;
}

.service-info-card {
  background: linear-gradient(135deg, #f2d484, var(--accent));
  border: 1px solid rgba(199, 162, 74, 0.36);
}

.adv-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--surface-2), #f1e7ba);
  color: var(--accent-dark);
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.adv-card h3,
.value-card h3,
.service-info-card h3,
.document-item h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.adv-card p,
.value-card p,
.service-info-card p,
.document-item p,
.testimonial-card p,
.case-card p,
.team-card p,
.contact-panel p,
.about-grid p,
.page-hero p,
.info-block p,
.review-card p,
.faq-item p {
  color: var(--muted);
}

.service-info-card p,
.info-block p {
  line-height: 1.7;
}

.service-info-card p {
  font-size: 1.2rem;
  line-height: 1.75;
  text-align: center;
  color: var(--primary);
  font-weight: 500;
}

.page-real-estate .adv-card,
.page-real-estate .document-item,
.page-transport .adv-card,
.page-transport .document-item,
.page-business .adv-card,
.page-business .document-item,
.page-documents .adv-card,
.page-documents .document-item {
  background: linear-gradient(135deg, #f2d484, var(--accent));
  border: 1px solid rgba(199, 162, 74, 0.36);
}

.page-real-estate .adv-card h3,
.page-real-estate .document-item h3,
.page-transport .adv-card h3,
.page-transport .document-item h3,
.page-business .adv-card h3,
.page-business .document-item h3,
.page-documents .adv-card h3,
.page-documents .document-item h3 {
  color: var(--primary);
}

.page-real-estate .adv-card p,
.page-real-estate .document-item p,
.page-transport .adv-card p,
.page-transport .document-item p,
.page-business .adv-card p,
.page-business .document-item p,
.page-documents .adv-card p,
.page-documents .document-item p {
  color: rgba(15, 39, 70, 0.88);
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(15, 39, 70, 0.12);
}

.service-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.team-preview {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.team-preview__content p {
  margin-bottom: 20px;
  max-width: 580px;
}

.team-preview__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.team-mini {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-mini img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center calc(50% + 88px);
}

body.home-page .team-mini img {
  object-position: center calc(50% + 58px);
}

.team-mini h4,
.team-card h3 {
  padding: 16px 16px 6px;
  color: var(--primary);
}

.team-mini h4 {
  line-height: 1.3;
}

.team-mini span,
.team-card span {
  display: block;
  padding: 0 16px 8px;
  color: var(--accent-dark);
  font-weight: 600;
}

.team-card p {
  padding: 0 16px 18px;
  margin-top: 6px;
  line-height: 1.5;
}

.pricing-table {
  justify-items: center;
  width: 100%;
  overflow-x: auto;
}

.pricing-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
}

.pricing-table th,
.pricing-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: var(--primary);
  color: var(--white);
}

.pricing-table td {
  background: var(--white);
}

.pricing-note {
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 600;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--surface-2));
}

.timeline__item {
  position: relative;
  padding-top: 62px;
  text-align: center;
}

.timeline__item.reveal {
  transform: translateY(22px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline__item.reveal.visible {
  transform: translateY(0) scale(1);
}

.timeline__item.reveal span {
  transition: transform 0.45s ease 0.08s;
}

.timeline__item.reveal.visible span {
  transform: translateX(-50%) scale(1.06);
}

.timeline__item.reveal:nth-child(1) { transition-delay: 0.04s; }
.timeline__item.reveal:nth-child(2) { transition-delay: 0.1s; }
.timeline__item.reveal:nth-child(3) { transition-delay: 0.16s; }
.timeline__item.reveal:nth-child(4) { transition-delay: 0.22s; }
.timeline__item.reveal:nth-child(5) { transition-delay: 0.28s; }
.timeline__item.reveal:nth-child(6) { transition-delay: 0.34s; }
.timeline__item.reveal:nth-child(7) { transition-delay: 0.4s; }

.timeline__item span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
}

.timeline__item h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: 4px;
  line-height: 1.35;
}

.cases-grid {
  grid-template-columns: repeat(3, 1fr);
}

.case-card {
  overflow: hidden;
}

.case-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.case-card h3,
.case-card p {
  padding: 0 18px;
}

.case-card h3 {
  margin-top: 18px;
  color: var(--primary);
}

.case-card p {
  padding-bottom: 18px;
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  padding: 28px;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.contact-panel {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  background: linear-gradient(90deg, var(--primary), #12365f);
  color: var(--white);
  padding: 50px;
}

.contact-panel p,
.contact-panel h2,
.contact-panel .eyebrow {
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 12px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-error {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 6px;
}

.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding-top: 70px;
}

.footer__inner {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding-bottom: 40px;
  align-items: start;
}

.footer-logo {
  align-items: flex-end;
  gap: 14px;
}

.footer-logo__image {
  height: 64px;
  filter: brightness(1.05);
}

.footer-logo__text {
  color: var(--white);
  font-size: 1.18rem;
  line-height: 1.05;
}

.footer-logo__text small {
  font-size: 0.86rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.footer__inner > div:first-child > p {
  max-width: 360px;
  margin-top: 10px;
  line-height: 1.2em;
}

.footer-logo .logo__text small,
.footer p,
.footer ul li,
.footer a {
  color: #d7dde7;
}

.footer h4 {
  margin-bottom: 18px;
  color: var(--white);
}

.footer ul {
  list-style: none;
}

.footer ul li + li {
  margin-top: 10px;
}

.footer__inner > div:last-child ul li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__inner > div:last-child ul li a::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.footer__inner > div:last-child ul li a[href^='tel:']::before {
  content: '\f095';
}

.footer__inner > div:last-child ul li a[href^='mailto:']::before {
  content: '\f0e0';
}

.footer__inner > div:last-child ul li a[href*='contacts.html']::before,
.footer__inner > div:last-child ul li a[href*='2gis.kz']::before {
  content: '\f3c5';
}

.footer__inner > div:last-child ul li a[href*='instagram.com']::before {
  content: '\f16d';
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer__bottom-inner p,
.footer__bottom-inner a {
  font-size: 14px;
}

.whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

.page-hero {
  background: linear-gradient(90deg, #0f2746, #163b63);
  color: var(--white);
  padding: 90px 0;
}

.page-hero--estate { background: linear-gradient(90deg, #0f2746, #22466f); }
.page-hero--transport { background: linear-gradient(90deg, #0e2948, #2e5d8a); }
.page-hero--business { background: linear-gradient(90deg, #122b50, #2d5e79); }

.page-hero__inner {
  min-height: 220px;
  display: flex;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 3.6vw, 3.6rem);
  max-width: 760px;
  line-height: 1.15;
}

.page-hero__title--estate {
  font-size: clamp(2.15rem, 3.35vw, 3.35rem);
}

.page-hero__nowrap {
  white-space: nowrap;
}

.about-grid,
.service-detail-grid,
.certificate-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.values-grid .value-card {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--primary), #1b4a77);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.values-grid .value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #f2d484);
}

.values-grid .value-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  margin-bottom: 10px;
}

.values-grid .value-card h3::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.95rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent-soft);
  flex-shrink: 0;
}

.values-grid .value-card:nth-child(1) h3::before {
  content: '\f023';
}

.values-grid .value-card:nth-child(2) h3::before {
  content: '\f19d';
}

.values-grid .value-card:nth-child(3) h3::before {
  content: '\f06a';
}

.values-grid .value-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center calc(50% + 88px);
}

.certificates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.certificate-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.certificate-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
}

.documents-stack {
  grid-template-columns: repeat(2, 1fr);
}

.document-item {
  padding: 26px 28px;
}

.document-item h3 {
  margin-bottom: 14px;
}

.document-item p {
  line-height: 1.7;
}

.home-docs-grid {
  align-items: stretch;
}

.home-docs__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--surface-2), #f1e7ba);
  color: var(--accent-dark);
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.home-docs__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 700;
}

.home-docs__link i {
  color: var(--accent-dark);
  transition: transform var(--transition);
}

.home-docs__link:hover i {
  transform: translateX(4px);
}

.review-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-author {
  font-weight: 700;
  color: var(--primary);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 0 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 240px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card__title i,
.contact-card__line i {
  color: var(--accent-dark);
}

.contact-card__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card__line:last-child {
  margin-bottom: 0;
}

.contact-card__line i {
  width: 18px;
  flex: 0 0 18px;
  margin-top: 4px;
}

.contact-card__line a {
  color: inherit;
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    font-size: 0.78rem;
  }

  .hero__inner {
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  .header__inner {
    grid-template-columns: auto auto 1fr auto;
  }

  .nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    box-shadow: 0 12px 24px rgba(15, 39, 70, 0.1);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }

  .hero__inner,
  .team-preview,
  .about-grid,
  .service-detail-grid,
  .certificate-grid,
  .contact-panel,
  .footer__inner,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .advantages-grid,
  .services-grid,
  .team-grid,
  .testimonials-grid,
  .cases-grid,
  .values-grid,
  .documents-stack,
  .timeline,
  .contact-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__card {
    position: static;
    margin-top: 18px;
    width: 100%;
  }

  .timeline::before {
    display: none;
  }

  .footer__inner {
    gap: 32px;
  }
}


@media (max-width: 900px) {
  .logo__image {
    height: 62px;
  }

  .btn--small {
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero__content h1 {
    font-size: 3rem;
  }

  .hero__stats {
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 74px 0;
  }

  .team-preview__cards,
  .certificates {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .section-heading__nowrap {
    white-space: normal;
    font-size: clamp(2rem, 3vw, 3rem);
  }

  body.home-page .team-mini img {
    object-position: center calc(50% + 48px);
  }

  .team-mini img,
  .team-card img {
    object-position: center calc(50% + 28px);
  }

  .section {
    padding: 68px 0;
  }

  .top-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
    align-items: center;
    padding: 10px 0;
    gap: 6px 10px;
  }

  .top-bar__inner a {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .top-bar__inner a:nth-child(1) {
    grid-column: 1 / -1;
    white-space: normal;
    justify-self: center;
    justify-content: center;
    text-align: center;
  }

  .top-bar__inner a:nth-child(2) {
    justify-self: start;
  }

  .top-bar__inner a:nth-child(3) {
    justify-self: end;
  }

  .header__inner {
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
  }

  .logo {
    max-width: 180px;
  }

  .logo__image {
    height: 58px;
  }

  .btn--small {
    min-height: 42px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 56px 0;
  }

  .hero__content h1 {
    font-size: 3rem;
  }

  .stats-grid,
  .advantages-grid,
  .services-grid,
  .team-grid,
  .testimonials-grid,
  .cases-grid,
  .values-grid,
  .documents-stack,
  .contact-form,
  .team-preview__cards,
  .certificates,
  .timeline {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 34px 22px;
  }

  .footer__inner,
  .footer__bottom-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 145px;
  }

  .logo__image {
    height: 52px;
  }

  .btn--small {
    display: none;
  }

  .header__inner {
    gap: 10px;
  }

  .nav a {
    font-size: 0.78rem;
    padding: 7px 8px;
  }

  .hero__content h1 {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section-heading h2,
  .page-hero h1,
  .contact-panel h2,
  .about-grid h2 {
    font-size: 2rem;
  }

  .page-hero__nowrap {
    white-space: normal;
  }

  .pricing-table table {
    min-width: 480px;
  }

  .footer-logo__image {
    height: 56px;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(100% - 18px, 100%);
  }

  .hero__content h1 {
    font-size: 1.92rem;
  }

  .nav a {
    font-size: 0.74rem;
    padding: 6px 7px;
  }
}
