/* ==========================================================
   IT-ОПОРА — design tokens
   ========================================================== */
:root {
  /* colour */
  --navy-950: #0a1e38;
  --navy-900: #0d2748;
  --navy-800: #14335c;
  --navy-700: #1b4276;
  --ink: #172b4d;
  --ink-muted: #61758b;
  --ink-soft: #4d6278;
  --blue: #238df2;
  --blue-light: #3d9cff;
  --blue-pale: #eaf4fe;
  --sky-bg: #eef6fd;
  --paper: #ffffff;
  --line: #e1e9f2;
  --on-dark: #ffffff;
  --on-dark-muted: #b8cbde;
  --on-dark-soft: #9cb9d5;

  /* type */
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* layout */
  --container: 1220px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-card: 0 1px 2px rgba(13, 39, 72, 0.06), 0 12px 28px -14px rgba(13, 39, 72, 0.18);
}

/* ==========================================================
   Reset
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  z-index: 999;
}

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   Type helpers
   ========================================================== */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--blue);
  margin: 0 0 12px;
  text-transform: none;
}
.eyebrow-light { color: var(--blue-light); }

h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h2.light { color: var(--on-dark); }

.section-note {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
}

.text-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }
.text-link--light { color: var(--on-dark); }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(35, 141, 242, 0.55);
}
.btn-primary:hover { background: #1b7bd6; transform: translateY(-1px); }
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { border-color: var(--ink-soft); background: var(--sky-bg); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* On the dark hero the default (dark-text) outline button would be invisible,
   so it gets its own light variant scoped to that section. */
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.hero .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark {
  width: 32px;
  height: auto;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand-tag { font-size: 12px; color: var(--on-dark-soft); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: #dce9f5;
  font-size: 15px;
  font-weight: 500;
}
.main-nav a:hover { color: #fff; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  color: #dce9f5;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
}
.nav-dropdown-trigger:hover { color: #fff; }
.nav-caret { width: 14px; height: 14px; transition: transform 0.15s ease; }
.nav-dropdown.is-open .nav-caret,
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 340px;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-m);
  box-shadow: 0 24px 48px -16px rgba(13, 39, 72, 0.5);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px;
  border-radius: 10px;
}
.nav-dropdown-link:hover { background: rgba(255, 255, 255, 0.07); }
.nav-dropdown-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(35, 141, 242, 0.16);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.nav-dropdown-icon svg { width: 18px; height: 18px; }
.nav-dropdown-link:hover .nav-dropdown-icon { background: rgba(35, 141, 242, 0.3); }
.nav-dropdown-text { display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.nav-dropdown-title { font-size: 14px; font-weight: 700; color: #fff; }
.nav-dropdown-desc { font-size: 12px; color: var(--on-dark-soft); line-height: 1.4; }

.nav-dropdown-footer {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-dropdown-footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-light);
}
.nav-dropdown-footer a:hover { background: rgba(255, 255, 255, 0.06); }
.nav-dropdown-footer svg { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; color: #fff; }
.phone-number { font-weight: 700; font-size: 15px; }
.phone-hours { font-size: 12px; color: var(--on-dark-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(8, 20, 38, 0.94) 0%, rgba(8, 20, 38, 0.82) 32%, rgba(8, 20, 38, 0.35) 60%, rgba(8, 20, 38, 0.25) 100%),
    url("../assets/hero/hero-photo.jpg") center right / cover no-repeat;
  padding: 96px 0;
}
.hero-inner {
  display: block;
}
.hero-copy { max-width: 620px; }
.hero-title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 6px 0 22px;
}
.accent-light { color: var(--blue-light); }
.hero-lead {
  color: #d9e6f1;
  font-size: 18px;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================
   Section head
   ========================================================== */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}
.section-head--dark { align-items: flex-start; }

/* ==========================================================
   Services
   ========================================================== */
.services { padding: 96px 0; background: var(--paper); }
.card-grid { display: grid; gap: 24px; }
.services-grid { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
}
.service-icon svg { width: 24px; height: 24px; }
.service-icon--blue { background: #e7f1fe; color: #2874d6; }
.service-icon--teal { background: #e4f7f3; color: #0f9d80; }
.service-icon--violet { background: #f1ecfd; color: #7c4fe0; }
.service-icon--amber { background: #fdf1e0; color: #c17d13; }
.service-card h3 { font-size: 21px; font-weight: 700; color: var(--ink); }
.service-card > p { color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
.check-list { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 6px; }
.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}
.service-card .text-link { margin-top: auto; }

/* ==========================================================
   Advantages
   ========================================================== */
.advantages { padding: 96px 0; background: var(--sky-bg); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.advantage { display: flex; align-items: flex-start; gap: 14px; }
.adv-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale);
  color: var(--blue);
}
.adv-icon svg { width: 20px; height: 20px; }
.adv-icon--blue { background: #e7f1fe; color: #2874d6; }
.adv-icon--amber { background: #fdf1e0; color: #c17d13; }
.adv-icon--teal { background: #e4f7f3; color: #0f9d80; }
.adv-icon--green { background: #eaf7e4; color: #3f9a3f; }
.adv-icon--violet { background: #f1ecfd; color: #7c4fe0; }
.adv-icon--rose { background: #fdeaf0; color: #c23d72; }
.check-badge--lg { width: 44px; height: 44px; }
.check-badge--lg svg { width: 22px; height: 22px; }
.advantage h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.advantage p { font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }

/* ==========================================================
   Technologies
   ========================================================== */
.technologies { padding: 96px 0 64px; background: var(--paper); }
.tech-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}
.tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}
.tech-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  flex: 0 0 auto;
}
.tech-logo { display: block; height: 31px; width: auto; max-width: 100%; }

/* ==========================================================
   CTA
   ========================================================== */
.cta { padding: 56px 0; background: var(--sky-bg); }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-text { display: flex; align-items: flex-start; gap: 16px; max-width: 560px; }
.cta-text h2 { font-size: 22px; margin-bottom: 4px; }
.cta-text p { color: var(--ink-muted); font-size: 15px; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--navy-900); color: #fff; padding-top: 56px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: #dce9f5; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.footer-phone { font-weight: 700; font-size: 14px; color: #fff; }
.footer-hours, .footer-email { font-size: 12.5px; color: var(--on-dark-soft); }
.footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-muted);
}
.footer-social a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px 26px;
  font-size: 12px;
  color: #7f9ab4;
}

/* ==========================================================
   Modal
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 56, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
/* [hidden] must win over the display:flex above — without this rule the
   modal stays visible on load and ignores the `hidden` attribute entirely */
.modal-overlay[hidden] {
  display: none;
}
.modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius-l);
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 30px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--sky-bg);
  font-size: 18px;
  color: var(--ink-muted);
}
.modal h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modal-sub { color: var(--ink-muted); font-size: 14px; margin-bottom: 22px; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.modal-form input,
.modal-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  resize: vertical;
}
.modal-form input:focus,
.modal-form textarea:focus { border-color: var(--blue); }
.modal-fineprint { font-size: 11.5px; color: var(--ink-muted); text-align: center; margin-top: -4px; }

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.modal-error {
  font-size: 13px;
  color: #c22b2b;
  background: #fdf3f3;
  border: 1px solid #f7d3d3;
  border-radius: 8px;
  padding: 10px 12px;
  margin: -4px 0 0;
}
.btn.is-loading { opacity: 0.7; pointer-events: none; }

.modal-step--success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.modal-step--success .check-badge--lg { margin-bottom: 4px; }
.modal-step--success p { color: var(--ink-muted); margin-bottom: 12px; }
/* [hidden] must win over the display:flex above, or the success step shows
   immediately instead of only after the form is submitted. */
.modal-step[hidden] { display: none; }

/* ==========================================================
   Service detail pages
   ========================================================== */
.page-hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  padding: 48px 0 64px;
}
.breadcrumb { font-size: 13px; color: var(--on-dark-soft); margin-bottom: 20px; }
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 6px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 720px;
}
.page-hero-lead {
  color: #d9e6f1;
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 28px;
}

.content-section { padding: 72px 0; }
.content-section--alt { background: var(--sky-bg); }
.content-section .eyebrow { margin-bottom: 10px; }
.content-section h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.content-lead {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 40px;
}

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.feature-card--wide {
  grid-column: 1 / -1;
  background: var(--blue-pale);
  border-color: #cfe4fb;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.feature-card h3 svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.feature-card p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.55; }

.process-list { display: flex; flex-direction: column; }
.process-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.process-step h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.process-step p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.55; }

.fit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 20px;
}
.fit-item svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.fit-item p { font-size: 14.5px; color: var(--ink); line-height: 1.5; }

.related-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px 24px;
  transition: border-color 0.15s ease;
}
.related-card:hover { border-color: var(--blue); }
.related-card span { font-weight: 700; color: var(--ink); font-size: 15px; }
.related-card svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .services-grid,
  .advantages-grid,
  .related-services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  /* On desktop the nav's margin-left:auto pushes the actions right; with the nav
     hidden on mobile that push disappears, so the actions take it over —
     otherwise the hamburger floats mid-header instead of the top-right corner. */
  .header-actions { margin-left: auto; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    padding: 8px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  /* The list must span the full width; when it shrank to its content the items
     were centred inside a narrow box pinned to the left edge. */
  .main-nav.is-open > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    text-align: center;
  }
  /* Only top-level links become blocks — a broader `a` selector also hit the
     Services sub-links and stacked each icon above its text. */
  .main-nav.is-open > ul > li > a { display: block; padding: 12px 0; }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: center;
    /* left padding = caret + gap, so the word itself lines up with the other items */
    padding: 12px 0 12px 19px;
    color: #dce9f5;
  }
  .nav-dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    /* wide enough for "Системное администрирование" on one line in Inter */
    max-width: 330px;
    margin: 0 auto 6px;
    padding: 8px;
    gap: 2px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    box-shadow: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: flex; }
  .nav-dropdown-desc { display: none; }
  /* Icon and title on one row, rows left-aligned inside the centred panel so
     the icons form a straight column and every title starts at the same x. */
  .nav-dropdown-link {
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    text-align: left;
  }
  .nav-dropdown-icon { width: 30px; height: 30px; border-radius: 8px; }
  .nav-dropdown-icon svg { width: 15px; height: 15px; }
  .nav-dropdown-text { padding-top: 0; }
  .nav-dropdown-title { font-size: 14px; }
  .nav-dropdown-footer { margin-top: 6px; padding-top: 6px; }
  .nav-dropdown-footer a { justify-content: center; gap: 6px; }

  .hero {
    padding: 64px 0;
    background:
      linear-gradient(180deg, rgba(8, 20, 38, 0.93) 0%, rgba(8, 20, 38, 0.88) 55%, rgba(8, 20, 38, 0.75) 100%),
      url("../assets/hero/hero-photo.jpg") center right / cover no-repeat;
  }
}

@media (max-width: 680px) {
  .services-grid,
  .advantages-grid { grid-template-columns: 1fr; }
  .tech-pill { padding: 16px 14px; }
  .tech-logo { height: 28px; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .brand-name { font-size: 15px; white-space: nowrap; }
  .brand-tag { display: none; }
  .header-actions { gap: 10px; }
  .btn-sm { padding: 8px 13px; font-size: 12.5px; white-space: nowrap; }
  .hero { padding: 44px 0 56px; }
  .services, .advantages, .technologies { padding: 64px 0; }
  .footer-inner { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .feature-grid,
  .fit-list,
  .related-services { grid-template-columns: 1fr; }
  .content-section { padding: 56px 0; }
  .process-step { gap: 14px; }
}
