:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #10223d;
  --muted: #62748b;
  --line: #dbe4ef;
  --primary: #0c63cf;
  --primary-dark: #094f9d;
  --soft: #eaf4ff;
  --navy: #0f2748;
  --success: #0f7a46;
  --error: #b42318;
  --shadow: 0 22px 58px rgba(18, 38, 63, .11);
  --shadow-soft: 0 10px 30px rgba(18, 38, 63, .075);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.58;
  font-synthesis: none;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.centered { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 239, .9);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: min(410px, 42vw); height: auto; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}
.header-button { min-height: 46px; padding-inline: 18px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
}
h1, h2, h3 { line-height: 1.1; margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -.015em;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.01em;
}
h3 {
  margin-bottom: 9px;
  font-size: 22px;
  letter-spacing: -.01em;
}
.lead {
  max-width: 920px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.section-heading { max-width: 850px; margin: 0 auto 42px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }
.first-heading { max-width: 950px; margin: 0 0 38px; }
.first-heading h1 { max-width: 900px; }
.top-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 13px 28px rgba(12, 99, 207, .22);
}
.button-primary:hover { background: var(--primary-dark); }
.button-secondary {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.services, .detail-section, .custom-pc, .security-section, .field-service,
.gallery-section, .how, .form-section { padding: 84px 0; }
.services-first {
  padding-top: 70px;
  background:
    radial-gradient(circle at 85% 8%, rgba(65, 147, 255, .13), transparent 29%),
    radial-gradient(circle at 8% 15%, rgba(65, 147, 255, .08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 25px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.service-card-featured {
  background: linear-gradient(180deg, #fff 0%, #eef6ff 100%);
  border-color: #cfe3fb;
}
.service-card .icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--soft);
  font-size: 24px;
}
.service-card h2 {
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: -.015em;
}
.service-card p { margin: 0; color: var(--muted); }
.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.card-link:hover { text-decoration: underline; }

.credibility {
  padding: 38px 0;
  background: var(--navy);
  color: #fff;
}
.credibility-inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.credibility .eyebrow { color: #8fc4ff; }
.credibility h2 { margin: 0; font-size: clamp(28px, 3.5vw, 43px); }
.credibility p { margin: 0; color: #cedbeb; font-size: 17px; }

.detail-section { background: #fff; }
.detail-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 52px;
  align-items: center;
}
.detail-photo {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.detail-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.detail-copy > p { color: var(--muted); font-size: 17px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 11px;
}
.check-list li {
  position: relative;
  padding-left: 29px;
  color: #334761;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}
.check-list.compact { gap: 8px; margin-bottom: 0; }
.detail-note {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid #d6e7fb;
  color: #344a64 !important;
}

.custom-pc {
  background: linear-gradient(180deg, #f5f9fe 0%, #eef6ff 100%);
  border-top: 1px solid #e2ebf5;
  border-bottom: 1px solid #e2ebf5;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.audience-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.audience-card > span { display: block; margin-bottom: 14px; font-size: 30px; }
.audience-card p { margin: 0; color: var(--muted); }

.security-section { background: #fff; }
.security-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 52px;
  align-items: center;
}
.security-grid > div:first-child p { color: var(--muted); font-size: 17px; }
.security-cards { display: grid; gap: 12px; }
.security-cards article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}
.security-cards strong { display: block; margin-bottom: 4px; font-size: 17px; }
.security-cards span { color: var(--muted); font-size: 14px; }

.field-service {
  background: #f4f8fd;
  border-top: 1px solid #e1eaf4;
  border-bottom: 1px solid #e1eaf4;
}
.field-service-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 52px;
  align-items: center;
}
.field-service-grid > div > p { color: var(--muted); font-size: 17px; }
.price-card {
  padding: 30px;
  background: #fff;
  border: 1px solid #cfe0f3;
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.price-card small, .price-card span { display: block; color: var(--muted); }
.price-card strong {
  display: block;
  margin: 5px 0 2px;
  color: var(--primary-dark);
  font-size: clamp(50px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -.01em;
}
.price-card .button { margin-top: 22px; width: 100%; }
.coverage-line {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #dbe6f1;
  text-align: center;
}
.coverage-line strong { color: var(--primary-dark); }
.coverage-line span { color: var(--muted); }

.gallery-section { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.gallery-card figcaption {
  padding: 13px 15px 15px;
  color: #2c3d59;
  font-size: 14px;
  font-weight: 700;
}

.how { background: var(--bg); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.steps article {
  padding: 27px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.steps article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.steps p { margin: 0; color: var(--muted); }

.form-section { background: #fff; }
.form-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 54px;
  align-items: start;
}
.form-intro { position: sticky; top: 116px; }
.form-intro > p { color: var(--muted); font-size: 18px; }
.contact-box {
  margin-top: 28px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid #d5e7ff;
  border-radius: 18px;
}
.contact-box strong, .contact-box a, .contact-box small { display: block; }
.contact-box a {
  margin: 6px 0 3px;
  color: var(--primary);
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
}
.contact-box small { color: var(--muted); }
.form-card {
  padding: 30px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { color: #27364f; font-size: 14px; font-weight: 600; }
input, textarea {
  width: 100%;
  min-height: 50px;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid #ccd6e3;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border .15s, box-shadow .15s;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus {
  border-color: #6eaaf0;
  box-shadow: 0 0 0 4px rgba(12, 99, 207, .10);
}
.check-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}
.check-label input { width: auto; min-height: auto; margin: 3px 0 0; }
.check-label a { color: var(--primary); }
.button-full { width: 100%; border: 0; }
.form-note { margin: -4px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; margin-bottom: 18px; border-radius: 12px; font-weight: 700; }
.alert-success { color: var(--success); background: #eaf8f0; border: 1px solid #ccebd9; }
.alert-error { color: var(--error); background: #fff0ee; border: 1px solid #ffd6d1; }

.site-footer { padding: 38px 0 42px; background: #111a28; color: #edf5ff; }
.footer-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.site-footer p { margin: 10px 0 18px; color: #b8c7d8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #dceaff; text-decoration: none; }
.footer-cookie-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: #dceaff;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-cookie-button:hover { text-decoration: underline; }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.brand-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #f2f7ff;
  font-size: 13px;
  font-weight: 700;
}
.footer-note { display: block; margin-top: 14px; color: #a6b5c6; }

/* Cookie consent */
.cookie-banner[hidden], .cookie-modal[hidden] { display: none !important; }
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 200; }
.cookie-banner-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 20px;
  background: rgba(17, 26, 40, .98);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  color: #fff;
}
.cookie-copy strong { display: block; margin-bottom: 4px; font-size: 18px; }
.cookie-copy p { margin: 0 0 5px; color: #c9d6e5; font-size: 14px; }
.cookie-copy a { color: #9bcbff; font-size: 13px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.cookie-button-primary { background: var(--primary); color: #fff; }
.cookie-button-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.cookie-modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 18px; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 12, 25, .66); backdrop-filter: blur(4px); }
.cookie-modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 26px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}
.cookie-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.cookie-modal-head h2 { font-size: 30px; }
.cookie-close {
  width: 42px; height: 42px; flex: 0 0 42px;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
}
.cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.cookie-category strong { display: block; margin-bottom: 4px; }
.cookie-category p { margin: 0; color: var(--muted); font-size: 14px; }
.cookie-category-toggle { cursor: pointer; }
.cookie-category-toggle input { width: 22px; height: 22px; min-height: 0; margin: 0; }
.cookie-required { color: var(--success); font-size: 13px; font-weight: 700; white-space: nowrap; }
.cookie-modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.cookie-modal-card .cookie-button-secondary { color: var(--text); border-color: var(--line); }
.cookie-modal-open { overflow: hidden; }

/* Legal pages */
.legal-main { min-height: 60vh; padding: 56px 0 80px; background: #fff; }
.legal-wrap { max-width: 860px; }
.legal-wrap h1 { margin-bottom: 18px; font-size: clamp(36px, 5vw, 58px); }
.legal-wrap h2 { margin-top: 38px; font-size: 28px; }
.legal-wrap h3 { margin-top: 28px; font-size: 20px; }
.legal-wrap p, .legal-wrap li { color: #4e5f75; }
.legal-wrap a { color: var(--primary); }
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; }
.legal-table th, .legal-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--bg); }
.legal-back { display: inline-flex; margin-bottom: 26px; color: var(--primary); font-weight: 750; text-decoration: none; }

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credibility-inner, .detail-grid, .security-grid, .field-service-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-intro { position: static; }
  .gallery-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-banner-inner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 1180px); }
  .site-header { position: static; }
  .header-inner {
    min-height: 74px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0 14px;
  }
  .brand-logo { width: min(360px, 86vw); }
  .header-actions { width: 100%; justify-content: center; flex-wrap: wrap; }
  .header-phone { font-size: 15px; }
  h1 { font-size: 43px; }
  .services, .detail-section, .custom-pc, .security-section, .field-service, .gallery-section, .how, .form-section { padding: 58px 0; }
  .services-first { padding-top: 44px; }
  .top-actions { display: grid; }
  .button { width: 100%; }
  .service-grid, .audience-grid, .gallery-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .service-card, .audience-card, .gallery-card, .steps article, .form-card, .price-card { border-radius: 19px; }
  .credibility { padding: 30px 0; }
  .credibility-inner { gap: 18px; }
  .form-card { padding: 22px; }
  .footer-links { flex-direction: column; gap: 8px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner-inner { padding: 16px; border-radius: 16px; gap: 14px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-button { width: 100%; }
  .cookie-modal-card { padding: 20px; border-radius: 18px; }
  .cookie-category { grid-template-columns: 1fr; gap: 10px; }
  .cookie-modal-actions { display: grid; grid-template-columns: 1fr; }
  .legal-main { padding: 40px 0 58px; }
  .legal-table { display: block; overflow-x: auto; }
}
