:root {
  --bg: #05060a;
  --bg-alt: #0c0f16;
  --card-bg: #111523;
  --accent: #f5b642;
  --accent-soft: rgba(245, 182, 66, 0.12);
  --text: #f5f5f7;
  --text-muted: #9ca3af;
  --border-soft: rgba(156, 163, 175, 0.35);
  --danger: #f97373;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  background: radial-gradient(circle at top left, #1f2937 0, #020617 45%, #020617 100%);
  font-family: var(--font-main);
}

body {
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-block--link {
  text-decoration: none;
  color: inherit;
}

.logo-block--link:hover .logo-title,
.logo-block--link:hover .logo-subtitle {
  color: var(--text);
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(245, 182, 66, 0.35);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #facc15, #f97316 55%, #7c2d12 100%);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.55);
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-title {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  color: var(--text);
  border-bottom-color: rgba(249, 250, 251, 0.6);
}

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

.phone-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover {
  text-decoration: underline;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.75rem;
}

.lang-current {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #020617;
  font-weight: 600;
}

.lang-link {
  color: var(--text-muted);
  text-decoration: none;
}

.lang-link:hover {
  color: var(--text);
}

.hero {
  padding: 40px 0 32px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem);
  margin: 0 0 12px;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease, border-color 0.08s ease;
}

.btn-primary {
  background: linear-gradient(to right, #fbbf24, #f97316);
  color: #111827;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(251, 191, 36, 0.6);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 0.7);
}

.btn-full {
  width: 100%;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  max-width: 320px;
}

.hero-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.hero-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 8px;
}

.hero-phone-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-phone-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.hero-phone-number:hover {
  text-decoration: underline;
}

.hero-small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section {
  padding: 32px 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617, #020617 55%, #020617 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

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

.section-header h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 16px;
  padding: 16px 16px 14px;
  border: 1px solid var(--border-soft);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.card p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-list {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.card-link {
  font-size: 0.88rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.card-link:hover {
  text-decoration: underline;
}

.nowrap {
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-item {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid var(--border-soft);
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-area-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cert-intro {
  max-width: 48rem;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cert-intro a {
  color: var(--accent);
}

.cert-note {
  font-size: 0.82rem;
  margin-top: 8px;
  font-style: italic;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cert-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border-soft);
}

.cert-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--accent);
}

.cert-meta {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cert-card p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cert-footer {
  margin: 12px 0 0 !important;
  font-size: 0.8rem !important;
  color: var(--text-muted);
  opacity: 0.9;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr);
  gap: 24px;
  align-items: flex-start;
}

.contact-block {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-phone {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 10px;
}

.contact-phone:hover {
  text-decoration: underline;
}

.contact-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-form {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
}

.contact-form h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.86rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-note {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.98);
  padding: 12px 0 16px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner--wide {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

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

.footer-logo {
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-brand-name {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-legal {
  margin: 0;
  line-height: 1.5;
}

.footer-legal a {
  color: var(--accent);
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .cards-grid--three {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid,
  .service-area-grid,
  .contact-grid,
  .cert-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
  .site-header {
    position: static;
  }

  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 24px;
  }

  .header-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .phone-link {
    font-size: 0.9rem;
  }
}

