:root {
  --blue: #064bff;
  --blue-dark: #061b74;
  --green: #ff3a21;
  --orange: #ff6a1a;
  --charcoal: #161d2b;
  --slate: #526073;
  --light: #f4f7ff;
  --line: #dfe6ef;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 39, 65, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--white);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--slate);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: var(--charcoal);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.18rem;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 230, 239, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
  font-size: 1.08rem;
  color: var(--blue-dark);
  white-space: nowrap;
}

.brand-logo {
  width: 254px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(6, 75, 255, 0.14));
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 12px;
  color: #3d4a5c;
  font-weight: 750;
  font-size: 0.95rem;
  border-radius: 6px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  background: #edf4ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(20, 87, 217, 0.2);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: #b8c8dc;
  box-shadow: 0 12px 26px rgba(32, 41, 54, 0.08);
}

.btn-green {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--orange));
  box-shadow: 0 14px 28px rgba(255, 58, 33, 0.18);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--blue-dark);
  font-weight: 850;
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.18) 100%),
    url("assets/pro360-hero.jpg") center right / cover no-repeat;
  min-height: min(620px, calc(88vh - 82px));
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: 46px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
}

.hero p {
  max-width: 690px;
  margin-top: 20px;
  font-size: clamp(1.03rem, 1.7vw, 1.16rem);
  color: #3f4c5d;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  max-width: 820px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li,
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #334155;
  font-weight: 750;
}

.trust-list li {
  font-size: 0.95rem;
}

.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  margin-top: 1px;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--light);
}

.section-head {
  max-width: 820px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.08rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.4rem;
  line-height: 1.15;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--slate);
  font-weight: 700;
}

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

.feature-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.mini-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  font-weight: 850;
  color: var(--charcoal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 41, 54, 0.06);
}

.card p {
  margin-top: 12px;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue);
  border-radius: var(--radius);
  background: #edf4ff;
}

.icon.green {
  color: var(--green);
  background: #e9f9ef;
}

.icon.orange {
  color: var(--orange);
  background: #fff3e8;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.response-card {
  padding: 30px;
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.response-card:nth-child(2) {
  border-top-color: var(--orange);
}

.response-card:nth-child(3) {
  border-top-color: var(--green);
}

.response-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--charcoal);
  font-size: 1.45rem;
}

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

.client-card {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  color: var(--blue-dark);
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(32, 41, 54, 0.05);
}

.faq-list summary {
  padding: 20px 24px;
  color: var(--charcoal);
  font-weight: 900;
  cursor: pointer;
}

.faq-list details p {
  padding: 0 24px 22px;
}

.cta-band {
  padding: 58px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  margin-top: 12px;
  opacity: 0.88;
}

.page-hero {
  padding: 88px 0 72px;
  background:
    linear-gradient(135deg, rgba(20, 87, 217, 0.08), rgba(36, 185, 79, 0.08)),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 1.15rem;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--charcoal);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  color: var(--charcoal);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(20, 87, 217, 0.18);
  border-color: var(--blue);
}

.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--slate);
  font-size: 0.94rem;
}

.checkbox input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
}

.contact-card h2,
.contact-card h3,
.contact-card p,
.contact-card a {
  color: var(--white);
}

.contact-card p {
  opacity: 0.86;
}

.contact-lines {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.policy-content {
  max-width: 920px;
}

.policy-content section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-bottom: 12px;
}

.policy-content ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--slate);
}

.site-footer {
  color: #cdd7e4;
  background: #151d29;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.7fr;
  gap: 34px;
  padding: 54px 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-logo {
  width: 300px;
  height: auto;
  object-fit: contain;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.footer-main h2,
.footer-main h3 {
  color: var(--white);
}

.footer-main p,
.footer-main a {
  color: #cdd7e4;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aab7c7;
  font-size: 0.94rem;
}

@media (max-width: 1040px) {
  .header-actions .phone-link {
    display: none;
  }

  .stats-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-wrap {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .nav-wrap.is-open {
    display: grid;
    gap: 14px;
  }

  .nav,
  .header-actions {
    display: grid;
    width: min(100%, var(--max));
    margin-inline: auto;
  }

  .header-actions .phone-link {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 62%, rgba(255, 255, 255, 0.56) 100%),
      url("assets/pro360-hero.jpg") center bottom / cover no-repeat;
  }

  .hero-content {
    padding: 76px 0 92px;
  }

  .trust-list,
  .check-list,
  .response-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 186px;
    height: auto;
  }

  .section {
    padding: 68px 0;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .stats-grid,
  .card-grid,
  .client-grid,
  .mini-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .feature-panel,
  .contact-card {
    padding: 22px;
  }
}
