/*
Theme Name: Mir Tech Modern V3 PL
Theme URI: https://www.mir-tech.nl/
Author: Rafal Zywolek
Description: Polska wersja motywu WordPress dla Multi installatie's Rafael.
Version: 1.4.3-pl
Text Domain: mir-tech-modern
*/

:root {
  --blue: #0757b8;
  --blue2: #003b88;
  --dark: #020817;
  --navy: #06142f;
  --yellow: #f7c600;
  --white: #ffffff;
  --soft: #dbeafe;
  --muted: #91a6c6;
  --text: #111827;
  --green: #07864a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.55;
}

body.admin-bar .topbar { top: 32px; }

.topbar .brand,
.topbar .brand span,
.topbar .menu a,
.hero,
.hero h1,
.hero .lead,
.hero .profile-info p,
.section.dark,
.section.dark h2,
.section.dark .check,
.contact,
.contact h2,
.contact p,
.question-page,
.question-page h1,
.question-page .lead,
.subpage-hero,
.subpage-hero h1,
.subpage-hero p,
.subpage-hero .container,
.dark-panel,
.dark-panel h2,
.dark-panel p,
.dark-panel li {
  color: var(--white) !important;
}

.topbar .brand small,
.hero .eyebrow,
.hero h1 span,
.question-page h1 span,
.subpage-hero .eyebrow {
  color: var(--yellow) !important;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(2, 8, 23, .72);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(247,198,0,.22));
}

.brand span { display: block; font-size: 18px; }
.brand small {
  display: block;
  color: var(--yellow);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-toggle-icon {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
}

.menu-toggle-icon path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(247,198,0,.28));
}

.menu-item-has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dropdown-toggle:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .9;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 230px;
  transform: translateX(-50%) translateY(8px);
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(2, 8, 23, .95);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .2s ease;
}

.dropdown-menu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.dropdown-menu a {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--soft) !important;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(247,198,0,.12);
  color: var(--yellow) !important;
}

.menu-item-has-dropdown:hover .dropdown-menu,
.menu-item-has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(247,198,0,.26);
  border: 0;
  cursor: pointer;
}

.pill.dark {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 142px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 22%, rgba(247,198,0,.24), transparent 25%),
    radial-gradient(circle at 14% 18%, rgba(7,87,184,.72), transparent 34%),
    linear-gradient(135deg, #020817 0%, #06142f 46%, #003b88 100%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 82%);
}

.hero:after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -160px;
  width: 650px;
  height: 880px;
  background: url("assets/logo-watermark.png") center / contain no-repeat;
  opacity: .18;
  transform: rotate(-8deg);
  filter: drop-shadow(0 0 46px rgba(247,198,0,.16));
  pointer-events: none;
}

.energy-line {
  position: absolute;
  left: -10%;
  top: 58%;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  transform: rotate(-8deg);
  opacity: .7;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  border: 1px solid rgba(247,198,0,.45);
  border-radius: 999px;
  color: var(--yellow);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(247,198,0,.08);
}

h1 {
  margin: 22px 0;
  max-width: 690px;
  font-size: clamp(36px, 5.7vw, 68px);
  line-height: .98;
  letter-spacing: -0.025em;
}

h1 span { color: var(--yellow); }

.hero-title-home {
  max-width: 690px;
  font-size: clamp(34px, 5vw, 60px);
}

.hero-title-home span {
  display: block;
}

.hero-title-home .hero-title-line {
  color: var(--white) !important;
  font-size: .64em;
  line-height: 1.05;
}

.hero-title-home .hero-title-place {
  color: var(--yellow) !important;
  font-size: 1em;
}

.lead {
  max-width: 640px;
  margin: 0 0 34px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.profile-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  box-shadow: 0 34px 100px rgba(0,0,0,.38);
  backdrop-filter: blur(20px);
}

.profile-panel:before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(247,198,0,.22);
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
}

.profile-photo-wrap {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #111;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.profile-photo-wrap:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(2,8,23,.96), transparent);
}

.profile-info {
  position: relative;
  padding: 30px 28px 32px;
  background:
    linear-gradient(145deg, rgba(2,8,23,.98), rgba(6,20,47,.94)),
    url("assets/logo-watermark.png") right -80px bottom -120px / 320px auto no-repeat;
}

.profile-info p {
  margin: 0;
  color: var(--soft);
  font-size: 17px;
}

.section {
  padding: 92px 0;
  background: #f6f9ff;
  color: var(--text);
}

.section.dark {
  background: var(--dark);
  color: var(--white);
}

.title-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  color: var(--blue2);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.dark h2 { color: var(--white); }

.title-row p {
  max-width: 470px;
  margin: 0;
  color: #51627a;
  font-size: 18px;
}

.dark .title-row p { color: var(--muted); }

.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service {
  display: block;
  grid-column: span 2;
  min-height: 260px;
  padding: 25px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #dbe7f7;
  box-shadow: 0 18px 50px rgba(5,34,78,.08);
  position: relative;
  overflow: hidden;
}

.service:after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 140px;
  height: 140px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: .15;
}

.num {
  color: var(--yellow);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.service h3 {
  margin: 48px 0 10px;
  color: var(--blue2);
  font-size: 24px;
  line-height: 1.05;
}

.service p {
  margin: 0;
  color: #51627a;
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.about-card {
  border-radius: 28px;
  padding: 38px;
  background:
    linear-gradient(145deg, rgba(7,87,184,.86), rgba(2,8,23,.94)),
    url("assets/logo-watermark.png") right -80px center / 360px auto no-repeat;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  color: var(--white);
}

.about-card h2 { color: var(--white); }
.about-card p { color: #e4eeff; font-size: 18px; }

.checks {
  display: grid;
  gap: 14px;
}

.check {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #dceaff;
  font-weight: 800;
}

.check span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}

.quality-seal {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: white;
  border: 1px solid #dbe7f7;
  box-shadow: 0 18px 50px rgba(5,34,78,.08);
}

.quality-seal img {
  width: 140px;
  border-radius: 14px;
  display: block;
}

.quality-seal strong {
  display: block;
  color: var(--green);
  font-size: 24px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.quality-seal p {
  margin: 0;
  color: #51627a;
  font-weight: 700;
}

.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue2), var(--dark));
  padding: 86px 0;
}

.contact:after {
  content: "";
  position: absolute;
  left: -150px;
  top: -140px;
  width: 450px;
  height: 600px;
  background: url("assets/logo-watermark.png") center / contain no-repeat;
  opacity: .12;
  transform: rotate(10deg);
}

.contact-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.contact h2 { color: var(--white); margin-bottom: 18px; }
.contact p { color: var(--soft); font-size: 20px; margin: 0; }

.contact .contact-subline {
  max-width: 760px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.45;
  white-space: nowrap;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list span.item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: var(--white);
  font-weight: 900;
}

.question-page {
  position: relative;
  padding: 136px 0 96px;
  overflow: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 20%, rgba(247,198,0,.22), transparent 24%),
    radial-gradient(circle at 12% 12%, rgba(7,87,184,.75), transparent 34%),
    linear-gradient(135deg, #020817 0%, #06142f 50%, #003b88 100%);
}

.question-page:after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -170px;
  width: 620px;
  height: 820px;
  background: url("assets/logo-watermark.png") center / contain no-repeat;
  opacity: .13;
  transform: rotate(-8deg);
  pointer-events: none;
}

.subpage-hero {
  position: relative;
  padding: 148px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(247,198,0,.18), transparent 24%),
    radial-gradient(circle at 12% 15%, rgba(7,87,184,.72), transparent 34%),
    linear-gradient(135deg, #020817 0%, #06142f 52%, #003b88 100%);
}

.subpage-hero:after {
  content: "";
  position: absolute;
  right: -190px;
  bottom: -210px;
  width: 620px;
  height: 840px;
  background: url("assets/logo-watermark.png") center / contain no-repeat;
  opacity: .12;
  transform: rotate(-8deg);
  pointer-events: none;
}

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

.subpage-hero h1,
.question-page h1 {
  margin: 18px 0;
  max-width: 820px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: .98;
  letter-spacing: -0.025em;
}

.subpage-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 22px);
}

.subpage-hero p.one-line {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(16px, 1.45vw, 20px);
}

.content-band {
  padding: 86px 0;
  background: #f6f9ff;
  color: var(--text);
}

.content-band.dark {
  background: var(--dark);
  color: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.info-panel,
.dark-panel {
  border-radius: 28px;
  padding: 32px;
}

.info-panel {
  background: white;
  border: 1px solid #dbe7f7;
  box-shadow: 0 18px 50px rgba(5,34,78,.08);
}

.dark-panel {
  background:
    linear-gradient(145deg, rgba(7,87,184,.86), rgba(2,8,23,.94)),
    url("assets/logo-watermark.png") right -90px bottom -120px / 340px auto no-repeat;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.info-panel h2,
.dark-panel h2 {
  margin-bottom: 18px;
}

.info-panel h2 {
  color: var(--blue2) !important;
}

.dark-panel h2 {
  color: var(--white);
}

.info-panel p,
.dark-panel p,
.info-panel li,
.dark-panel li {
  font-size: 18px;
}

.info-panel p,
.info-panel li {
  color: #51627a !important;
}

.dark-panel p,
.dark-panel li {
  color: #e4eeff;
}

.bullet-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.bullet-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.bullet-list li:before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(247,198,0,.14);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
}

.step-card span {
  display: block;
  margin-bottom: 32px;
  color: var(--yellow);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.step-card p {
  margin: 0;
  color: #e4eeff;
  font-size: 17px;
  font-weight: 800;
}

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

.faq-card {
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #dbe7f7;
  box-shadow: 0 18px 50px rgba(5,34,78,.08);
}

.faq-card h3 {
  margin: 0 0 12px;
  color: var(--blue2);
  font-size: 22px;
  line-height: 1.15;
}

.faq-card p {
  margin: 0;
  color: #51627a;
  font-size: 17px;
}

.legal-content {
  max-width: 940px;
}

.legal-content .info-panel {
  padding: clamp(24px, 4vw, 46px);
}

.legal-content h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 48px);
}

.legal-title span {
  display: block;
}

.legal-content h3 {
  margin: 34px 0 10px;
  color: var(--blue2);
  font-size: 24px;
  line-height: 1.15;
}

.legal-content p,
.legal-content li {
  color: #51627a;
  font-size: 18px;
}

.legal-content a {
  color: var(--blue2);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(7,87,184,.28);
  text-underline-offset: 4px;
}

.legal-content ul {
  margin: 12px 0 22px;
  padding-left: 22px;
}

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

.service-link-card {
  min-height: 210px;
  padding: 24px;
  border-radius: 22px;
  background: white;
  border: 1px solid #dbe7f7;
  box-shadow: 0 18px 50px rgba(5,34,78,.08);
  position: relative;
  overflow: hidden;
}

.service-link-card:after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .13;
}

.service-link-card strong {
  display: block;
  color: var(--blue2);
  font-size: 20px;
  line-height: 1.05;
  margin: 34px 0 10px;
}

.service-link-card span {
  color: #51627a;
}

.question-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.quick {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.quick a {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: var(--white) !important;
  font-weight: 900;
}

.quick a:hover {
  border-color: rgba(247,198,0,.5);
  color: var(--yellow) !important;
}

.form-card {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
  box-shadow: 0 34px 100px rgba(0,0,0,.38);
  backdrop-filter: blur(20px);
  padding: 28px;
}

.notice {
  padding: 16px 18px;
  border-radius: 18px;
  margin-bottom: 18px;
  font-weight: 800;
}

.success {
  background: rgba(7,134,74,.18);
  border: 1px solid rgba(7,134,74,.55);
  color: #d1fae5;
}

.error {
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.5);
  color: #fee2e2;
}

form.mirtech-form {
  display: grid;
  gap: 16px;
}

form.mirtech-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-weight: 900;
  font-size: 14px;
}

form.mirtech-form input,
form.mirtech-form select,
form.mirtech-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

form.mirtech-form input[type="file"] {
  padding: 12px;
}

.form-help {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

form.mirtech-form select option {
  color: #111827;
}

form.mirtech-form textarea {
  min-height: 150px;
  resize: vertical;
}

form.mirtech-form input:focus,
form.mirtech-form select:focus,
form.mirtech-form textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(247,198,0,.12);
}

.hidden-field { display: none; }

.social-strip {
  padding: 34px 0;
  background: linear-gradient(180deg, rgba(6, 20, 47, .96), var(--dark));
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(247, 198, 0, .55);
  background: rgba(247, 198, 0, .1);
  color: var(--white);
}

.social-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--yellow);
  color: #08111f;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.social-copy strong,
.social-copy small {
  display: block;
}

.social-copy strong {
  font-size: 17px;
  line-height: 1.15;
}

.social-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px 72px 26px 18px;
  background: var(--dark);
  color: #8fa5c4;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  color: var(--soft);
  font-weight: 800;
}

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

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: white !important;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(37, 211, 102, .32);
}

.whatsapp-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: block;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(37, 211, 102, .42);
}

@media (max-width: 1180px) {
  .container { width: min(1040px, calc(100% - 28px)); }
  .menu { gap: 14px; font-size: 13px; }
  .brand span { font-size: 16px; }
  .brand small { font-size: 10px; }
  .pill { padding: 0 15px; }
  .hero-grid { gap: 34px; }
  .profile-photo-wrap { height: 390px; }
  .service-links-grid { grid-template-columns: repeat(3, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1020px) {
  body.admin-bar .topbar { top: 46px; }
  .nav {
    position: relative;
    min-height: 72px;
  }
  .brand img {
    width: 48px;
    height: 48px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(2, 8, 23, .96);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 26px 70px rgba(0,0,0,.34);
  }
  .nav.is-open .menu {
    display: grid;
  }
  .menu a,
  .menu .pill {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
  }
  .menu .pill {
    justify-content: center;
    color: #111 !important;
  }
  .menu-item-has-dropdown {
    display: grid;
    gap: 8px;
    width: 100%;
  }
  .dropdown-toggle:after {
    display: block;
    margin-left: auto;
  }
  .dropdown-menu {
    position: static;
    min-width: 0;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    box-shadow: none;
  }
  .menu-item-has-dropdown.is-active .dropdown-menu {
    display: grid;
  }
  .menu-item-has-dropdown:hover .dropdown-menu,
  .menu-item-has-dropdown:focus-within .dropdown-menu {
    transform: none;
  }
  .dropdown-menu:before {
    display: none;
  }
  .dropdown-menu a {
    min-height: 42px;
  }
  .hero { min-height: auto; padding-top: 124px; }
  .hero-grid, .split, .contact-box, .quality-grid, .question-grid, .content-grid { grid-template-columns: 1fr; }
  .contact .contact-subline { white-space: normal; }
  .subpage-hero p.one-line { white-space: normal; }
  .title-row { display: block; }
  .title-row p { margin-top: 16px; }
  .services { grid-template-columns: 1fr; }
  .service { grid-column: auto; min-height: auto; }
  .hero:after { right: -220px; bottom: -220px; opacity: .14; }
  .profile-photo-wrap { height: 360px; }
  .quality-seal { grid-template-columns: 1fr; }
  .quality-seal img { width: 120px; }
  .question-page { padding-top: 112px; }
  .question-page:after { right: -260px; opacity: .1; }
  .service-links-grid { grid-template-columns: 1fr; }
  .step-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    min-height: 52px;
    padding-right: 14px;
  }
  .whatsapp-float span {
    display: none;
  }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 24px); }
  .brand { gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  .brand span { font-size: 14px; max-width: 190px; }
  .brand small { font-size: 9px; letter-spacing: .09em; }
  .menu-toggle { width: 44px; height: 44px; border-radius: 12px; }
  .hero { padding: 108px 0 54px; }
  .hero:after { width: 430px; height: 580px; right: -250px; bottom: -180px; }
  .hero-grid { gap: 26px; }
  h1,
  .subpage-hero h1,
  .question-page h1 {
    max-width: 100%;
    font-size: clamp(32px, 11vw, 44px);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .lead,
  .subpage-hero p,
  .question-page .lead {
    font-size: 17px;
  }
  .eyebrow {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }
  .subpage-hero p.one-line {
    white-space: normal;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .pill,
  .quick a,
  .contact-list a,
  .contact-list span.item {
    width: 100%;
  }
  .profile-panel,
  .info-panel,
  .dark-panel,
  .form-card,
  .about-card,
  .quality-seal {
    border-radius: 20px;
  }
  .profile-photo-wrap { height: 310px; }
  .profile-info,
  .info-panel,
  .dark-panel,
  .form-card,
  .about-card,
  .quality-seal {
    padding: 22px;
  }
  .section,
  .content-band {
    padding: 58px 0;
  }
  .subpage-hero,
  .question-page {
    padding: 112px 0 58px;
  }
  h2 {
    font-size: clamp(30px, 10vw, 42px);
  }
  .service,
  .service-link-card {
    min-height: 0;
    padding: 22px;
  }
  .service h3,
  .service-link-card strong {
    margin-top: 28px;
  }
  .contact {
    padding: 62px 0;
  }
  .contact-list a,
  .contact-list span.item {
    display: grid;
    gap: 6px;
  }
  .contact-list strong {
    overflow-wrap: anywhere;
  }
  .social-strip {
    padding: 26px 0;
  }
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .social-card {
    min-height: 84px;
    padding: 14px;
    border-radius: 18px;
  }
  .social-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
    font-size: 15px;
  }
  .social-copy strong {
    font-size: 15px;
  }
  .social-copy small {
    font-size: 11px;
  }
  form.mirtech-form input,
  form.mirtech-form select,
  form.mirtech-form textarea {
    font-size: 16px;
  }
  .site-footer {
    gap: 12px;
    padding: 22px 70px 22px 12px;
  }
  .site-footer span {
    white-space: nowrap;
    font-size: clamp(9px, 2.6vw, 11px);
    line-height: 1.2;
  }
  .site-footer a {
    font-size: 14px;
  }
}
