:root {
  --bg-deep: #0d1117;
  --bg-panel: rgba(12, 18, 24, 0.74);
  --bg-soft: #e4eaee;
  --bg-sheet: #d9e0e5;
  --surface: rgba(247, 249, 250, 0.9);
  --surface-strong: rgba(236, 241, 244, 0.86);
  --line-light: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(13, 17, 23, 0.12);
  --text-light: #f3f7f9;
  --text-mid: rgba(243, 247, 249, 0.74);
  --text-dark: #10161d;
  --text-soft: rgba(16, 22, 29, 0.72);
  --accent: #a5b1c1;
  --accent-strong: #cfd8e4;
  --accent-shadow: rgba(130, 151, 177, 0.24);
  --hero-image: url("../images/hero-house-gate.jpg");
  --hero-position: 56% center;
  --hero-subject-image: url("../images/hero-security-portrait.jpg");
  --hero-subject-position: 78% bottom;
  --shadow-lg: 0 32px 90px rgba(8, 12, 17, 0.2);
  --shadow-md: 0 22px 56px rgba(8, 12, 17, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: min(1220px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  font-family: "Public Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(165, 177, 193, 0.12), transparent 26%),
    linear-gradient(180deg, #eef2f4 0%, #e4eaee 50%, #d8dfe4 100%);
}

a {
  color: inherit;
}

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand__logo {
  width: min(100%, 360px);
  height: auto;
}

.brand__logo--dark {
  width: min(100%, 332px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #0b1116;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  box-shadow: 0 18px 40px var(--accent-shadow);
}

.button--ghost {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.site,
.hero,
.section,
.footer,
.simple-page {
  position: relative;
}

.hero {
  overflow: hidden;
  color: var(--text-light);
  background:
    linear-gradient(106deg, rgba(7, 11, 16, 0.98) 0%, rgba(7, 11, 16, 0.95) 33%, rgba(7, 11, 16, 0.78) 55%, rgba(7, 11, 16, 0.44) 74%, rgba(7, 11, 16, 0.56) 100%),
    radial-gradient(circle at 80% 16%, rgba(165, 177, 193, 0.18), transparent 24%),
    var(--hero-image) var(--hero-position) / cover no-repeat,
    linear-gradient(180deg, #11171e 0%, #0d1117 100%);
}

.hero__veil,
.hero__grid,
.hero__glow,
.hero__subject {
  position: absolute;
  pointer-events: none;
}

.hero__veil,
.hero__grid {
  inset: 0;
}

.hero__glow {
  top: 9%;
  right: -8%;
  width: min(54vw, 980px);
  height: min(82vh, 880px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 19, 27, 0.06) 0%, rgba(12, 19, 27, 0.14) 26%, rgba(12, 19, 27, 0.3) 54%, rgba(12, 19, 27, 0.56) 100%);
  filter: blur(24px);
  opacity: 0.96;
}

.hero__subject {
  top: 0;
  right: max(12px, calc((100vw - 1180px) / 2));
  width: min(36vw, 660px);
  height: 100%;
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 1) 0%, rgba(7, 11, 16, 0.86) 16%, rgba(7, 11, 16, 0.24) 42%, rgba(7, 11, 16, 0) 68%),
    linear-gradient(180deg, rgba(7, 11, 16, 0.2) 0%, rgba(7, 11, 16, 0.02) 18%, rgba(7, 11, 16, 0.08) 84%, rgba(7, 11, 16, 0.26) 100%),
    var(--hero-subject-image) var(--hero-subject-position) / contain no-repeat;
  box-shadow: -120px 0 160px -120px rgba(7, 11, 16, 0.88);
  opacity: 0.94;
  filter: saturate(0.76) brightness(0.84) contrast(1.04);
}

.hero__veil {
  background:
    linear-gradient(180deg, rgba(7, 11, 16, 0.26) 0%, rgba(7, 11, 16, 0.08) 24%, rgba(7, 11, 16, 0.52) 100%),
    linear-gradient(90deg, rgba(7, 11, 16, 0.46) 0%, rgba(7, 11, 16, 0.16) 40%, rgba(7, 11, 16, 0.04) 66%, rgba(7, 11, 16, 0.34) 100%);
}

.hero__grid {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 96px),
    linear-gradient(rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 96px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 88%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(228, 234, 238, 0) 0%, rgba(228, 234, 238, 0.98) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 30px 0 110px;
}

.hero__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.hero__meta,
.hero__eyebrow,
.section-tag,
.summary-card__title,
.detail-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__meta {
  color: var(--text-mid);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: end;
}

.hero__content {
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(243, 247, 249, 0.8);
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 0 6px rgba(165, 177, 193, 0.14);
}

.hero__title,
.feature-block__aside h2,
.detail-card h3,
.response-card h2,
.page-card h1,
.page-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero__title {
  max-width: 11ch;
  margin-top: 26px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
}

.hero__subtitle {
  margin: 26px 0 0;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.45;
  color: rgba(243, 247, 249, 0.9);
}

.hero__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  max-width: 700px;
}

.summary-card {
  padding: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
}

.summary-card--muted {
  background: rgba(255, 255, 255, 0.035);
}

.summary-card__title {
  margin: 0 0 14px;
  color: rgba(243, 247, 249, 0.68);
}

.summary-list,
.response-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list li,
.response-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.72;
}

.summary-list li::before,
.response-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__brief {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.hero__brief-label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(243, 247, 249, 0.68);
}

.hero__brief-item + .hero__brief-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__brief-item span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 247, 249, 0.6);
}

.hero__brief-item strong {
  display: block;
  font-size: 17px;
  line-height: 1.6;
}

.assurance {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.assurance__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: 28px;
  background: rgba(247, 249, 250, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.assurance__rail span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  background: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-soft);
}

.section {
  padding: 92px 0;
}

.section--light {
  z-index: 1;
}

.section--sheet {
  background:
    linear-gradient(180deg, rgba(217, 224, 229, 0.36) 0%, rgba(217, 224, 229, 0.74) 100%);
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: start;
  padding: 42px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: calc(var(--radius-xl) + 2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(248, 250, 251, 0.94)),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.section-tag::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(16, 22, 29, 0.22);
}

.section-tag--light {
  color: rgba(243, 247, 249, 0.72);
}

.section-tag--light::before {
  background: rgba(243, 247, 249, 0.38);
}

.feature-block__aside h2,
.response-card h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 0.96;
}

.feature-block__content p,
.detail-card p,
.response-card p,
.footer__layout p,
.page-card p,
.policy-content p,
.policy-content li {
  margin: 0;
  font-size: 18px;
  line-height: 1.84;
  color: var(--text-soft);
}

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

.detail-card {
  padding: 34px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(247, 249, 250, 0.86);
  box-shadow: var(--shadow-md);
}

.detail-card--dark {
  color: var(--text-light);
  background:
    linear-gradient(160deg, #151b22 0%, #10161d 100%);
  box-shadow: var(--shadow-lg);
}

.detail-card--dark p {
  color: rgba(243, 247, 249, 0.76);
}

.detail-card__eyebrow {
  margin: 0 0 18px;
  color: rgba(16, 22, 29, 0.62);
}

.detail-card--dark .detail-card__eyebrow {
  color: rgba(243, 247, 249, 0.58);
}

.detail-card h3 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.02;
}

.section--form {
  background:
    linear-gradient(180deg, rgba(216, 223, 228, 0.42) 0%, rgba(228, 234, 238, 0.2) 100%);
}

.response-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  gap: 24px;
}

.response-card {
  padding: 36px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.response-card--info {
  color: var(--text-light);
  background:
    linear-gradient(160deg, #141a21 0%, #0f141a 100%);
  box-shadow: var(--shadow-lg);
}

.response-card--info p,
.response-card--info li {
  color: rgba(243, 247, 249, 0.78);
}

.response-card--form {
  background: rgba(247, 249, 250, 0.92);
}

.response-list {
  margin-top: 24px;
}

.lead-form {
  margin-top: 28px;
}

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

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

.field span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(16, 22, 29, 0.62);
}

.field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(13, 17, 23, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field input:focus {
  border-color: rgba(130, 151, 177, 0.52);
  box-shadow: 0 0 0 4px rgba(165, 177, 193, 0.16);
  background: #fff;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.64;
  color: var(--text-soft);
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #7586a1;
}

.button--submit {
  margin-top: 22px;
}

.button--submit[disabled] {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.footer {
  padding: 44px 0 56px;
}

.footer__layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(248, 250, 251, 0.88), rgba(235, 240, 243, 0.96));
  box-shadow: var(--shadow-md);
}

.footer__company {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark) !important;
}

.footer__links a,
.consent a,
.page-card a {
  color: #33485f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.simple-page {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 40px 0;
}

.page-card {
  padding: 38px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(248, 250, 251, 0.88), rgba(235, 240, 243, 0.96));
  box-shadow: var(--shadow-md);
}

.page-card--narrow {
  max-width: 760px;
  margin: 0 auto;
}

.page-card__mark {
  width: 74px;
  height: 74px;
  margin: 30px 0 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b1116;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 18px 40px var(--accent-shadow);
}

.page-card h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.page-card h2,
.policy-content h2 {
  font-family: "Sora", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.policy-content {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

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

.page-card__actions {
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .hero__subject {
    right: -3%;
    width: min(54vw, 540px);
  }

  .hero__layout,
  .feature-block,
  .detail-grid,
  .response-layout,
  .assurance__rail {
    grid-template-columns: 1fr;
  }

  .hero__brief,
  .feature-block,
  .detail-card,
  .response-card,
  .footer__layout,
  .page-card {
    padding: 30px;
  }

  .footer__layout {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .hero {
    --hero-position: 60% center;
  }

  .hero__glow {
    display: none;
  }

  .hero__subject {
    right: -28%;
    width: 92%;
    opacity: 0.42;
    background:
      linear-gradient(90deg, rgba(7, 11, 16, 1) 0%, rgba(7, 11, 16, 0.84) 18%, rgba(7, 11, 16, 0.26) 40%, rgba(7, 11, 16, 0.02) 62%, rgba(7, 11, 16, 0) 100%),
      linear-gradient(180deg, rgba(7, 11, 16, 0.18) 0%, rgba(7, 11, 16, 0.02) 20%, rgba(7, 11, 16, 0.1) 86%, rgba(7, 11, 16, 0.28) 100%),
      var(--hero-subject-image) 78% bottom / contain no-repeat;
    box-shadow: none;
  }

  .shell {
    width: min(100%, calc(100% - 28px));
  }

  .hero__inner {
    min-height: auto;
    padding: 22px 0 92px;
  }

  .hero__topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 44px;
  }

  .hero__summary {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .assurance__rail span {
    min-height: 50px;
  }

  .section {
    padding: 58px 0;
  }

  .feature-block,
  .detail-card,
  .response-card,
  .footer__layout,
  .page-card {
    padding: 24px;
  }

  .footer__layout {
    flex-direction: column;
  }
}
