/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.header-start {
  display: contents;
}

.logo img { height: 44px; width: auto; }

.header-phone-mobile {
  display: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
}

.header-phone {
  text-align: right;
  text-decoration: none;
}

.header-phone b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.header-phone span {
  display: block;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted);
  white-space: nowrap;
}

.header-cta .btn--header {
  white-space: nowrap;
  padding: 12px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* Hero split */
.hero {
  position: relative;
  background: var(--brand-deep);
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(68,180,231,0.2), transparent),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(18,75,137,0.5), transparent),
    var(--hero-bg, none) center / cover no-repeat;
}

.hero__mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,37,64,0.94) 0%, rgba(10,37,64,0.82) 45%, rgba(10,37,64,0.55) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding-block: clamp(56px, 10vw, 96px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-glow);
}

.hero__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.55;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__actions .btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Trust strip */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Intro split */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.intro-split__img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.intro-split__badge {
  display: inline-block;
  background: var(--accent-soft);
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* Audience row */
.audience-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.audience {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.audience:hover {
  border-color: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.audience h3 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.section--dark .audience {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}

.section--dark .audience:hover {
  border-color: var(--brand-light);
  background: rgba(255,255,255,0.1);
}

.section--dark .audience p {
  color: rgba(255,255,255,0.65);
}

.section--dark .audience h3 {
  color: #fff;
}

.audience p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  padding: clamp(48px, 7vw, 72px) 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  color: #fff;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); max-width: 480px; }

/* Footer */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

.site-footer a:hover { color: var(--brand-glow); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.footer-grid ul li { margin-bottom: 8px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* Mobile sticky call */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
  gap: 10px;
  align-items: center;
}

.mobile-call__phone {
  flex: 1;
  text-align: center;
  text-decoration: none;
}

.mobile-call__messengers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-call__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.mobile-call__msg:hover,
.mobile-call__msg:focus-visible {
  transform: scale(1.05);
  opacity: 0.92;
}

.mobile-call__msg--tg {
  background: #229ED9;
}

.mobile-call__msg--wa {
  background: #25D366;
}

.hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.hero .breadcrumbs a:hover {
  color: var(--brand-glow);
}

.hero .breadcrumbs [aria-current="page"] {
  color: var(--brand-glow);
}

/* Service / inner pages */
.page-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 380px);
  display: flex;
  align-items: flex-end;
  padding: clamp(48px, 8vw, 80px) 0 clamp(32px, 5vw, 48px);
  color: #fff;
  background: var(--brand-deep) center/cover no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.5) 0%, rgba(10, 37, 64, 0.9) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  max-width: 900px;
}

.page-hero__lead {
  margin-top: 12px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.55;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--brand-glow);
}

.prose {
  max-width: 820px;
}

.prose--wide {
  max-width: none;
}

.prose h2 {
  margin: 2em 0 1em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.prose p {
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 1em;
}

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

.prose blockquote {
  margin: 1.5em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--brand-light);
  background: var(--surface-3);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}

.prose ul {
  padding-left: 1.2em;
  color: var(--ink-2);
}

.prose ul li {
  margin-bottom: 0.6em;
  line-height: 1.55;
}

.prose ol {
  padding-left: 1.2em;
  color: var(--ink-2);
}

.prose ol li {
  margin-bottom: 0.6em;
  line-height: 1.55;
}

.prose ol li p,
.prose ul li p {
  margin-bottom: 0.35em;
}

.prose a {
  color: var(--brand);
  text-decoration: underline;
}

.prose a.btn,
.intro-actions .btn {
  text-decoration: none;
}

.prose a.btn--accent,
.intro-actions .btn--accent {
  color: var(--brand-deep);
}

.prose a.btn--accent:hover,
.intro-actions .btn--accent:hover {
  color: var(--brand-deep);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25em 0;
  font-size: 0.92rem;
}

.prose table th,
.prose table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.prose table th {
  background: var(--surface-3);
  font-weight: 600;
}

.prose code {
  font-size: 0.88em;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 4px;
}

.hero--legal {
  padding-bottom: clamp(28px, 4vw, 40px);
}

.hero--legal .container {
  display: block;
}

.hero--legal h1 {
  margin-top: 12px;
  margin-bottom: 0;
}

/* 404 */
.hero--error .container {
  display: block;
  padding-block: clamp(56px, 10vw, 96px);
  max-width: 820px;
}

.error-page__code {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: var(--brand-glow);
  opacity: 0.9;
}

.hero--error h1 {
  margin-bottom: 16px;
}

.error-page__lead {
  max-width: 560px;
}

.error-page__actions {
  margin-top: 8px;
}

.error-page__link-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.error-page__link-label svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .error-page__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.service-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
}

.service-col-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-col-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-col-card__body {
  padding: 22px 24px 26px;
}

.service-col-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.service-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.service-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.service-links a:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-sm);
}

.service-links a svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
}

.service-form-band {
  background: var(--surface);
}

.service-form-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.service-form-band__text h2 {
  margin-bottom: 12px;
}

.service-form-band__text p {
  color: var(--muted);
  line-height: 1.6;
}

.service-form-band__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-form-band__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.service-form-band__list svg {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 2px;
}

/* Archive category hero */
.archive-hero-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.archive-hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand-glow);
  line-height: 1;
  margin-bottom: 8px;
}

.archive-hero-card span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* Contacts page */
.contact-hero-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 16px;
}

.contact-hero-card__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-hero-card__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand-glow);
}

.contact-hero-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
}

.contact-hero-card a,
.contact-hero-card span {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
}

.contact-hero-card a:hover {
  color: var(--brand-glow);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-detail__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-3);
  color: var(--brand);
}

.contact-detail__icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-detail p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink);
}

.contact-detail a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.contact-detail a:hover {
  color: var(--brand-light);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--surface-3);
  min-height: 400px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.contact-form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.contact-form {
  padding: clamp(24px, 4vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  margin-bottom: 8px;
}

.contact-form > p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form-split__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .service-cols,
  .service-form-band .container,
  .contact-page-grid,
  .contact-form-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .header-cta { display: none; }
  .header-start {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    min-width: 0;
  }
  .header-phone-mobile {
    display: block;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
  }
  .header-phone-mobile:hover { color: var(--brand-light); }
  .logo img { height: 38px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; min-width: 0; justify-content: center; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; text-align: center; }
  .intro-split { grid-template-columns: 1fr; }
  .audience-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-call { display: flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), 100% - 24px); }
  .site-header .container { gap: 10px; }
  .header-phone-mobile {
    margin-left: 10px;
    padding-left: 10px;
  }
  .logo img { height: 34px; }
  .trust-strip .container,
  .audience-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-consent { font-size: 0.8rem; }
  .form-card { padding: 20px; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .hero__trust { gap: 8px; }
  .trust-pill { font-size: 0.75rem; padding: 8px 12px; }
  .cta-band .container { flex-direction: column; align-items: stretch; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .section__cta { flex-direction: column; align-items: stretch; }
  .section__cta .btn,
  .section__cta .btn-link { justify-content: center; }
  .mobile-call__phone { padding: 12px 10px; font-size: 0.78rem; }
  .mobile-call__msg { width: 44px; height: 44px; }
}
