:root {
  --blue-900: #041f4b;
  --blue-800: #0a2d63;
  --blue-700: #123f87;
  --blue-600: #1f5eb8;
  --blue-100: #eef4ff;
  --white: #ffffff;
  --orange: #1f5eb8;
  --text: #12223f;
  --muted: #5f6f8a;
  --shadow: 0 12px 30px rgba(8, 33, 80, 0.14);
  --radius: 16px;
  --max: 1180px;
}

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

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%);
  padding-top: 88px;
}

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

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  background: rgba(4, 31, 75, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(5px);
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: block;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 110px;
  width: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  opacity: 0.95;
}

.phone {
  background: var(--orange);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 10px;
}

/* Service page hero */
.service-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  color: #fff;
  padding: 48px 0 56px;
  margin: -88px 0 0;
  padding-top: 140px;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span:last-child {
  color: #72b7ff;
}

.service-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
}

.service-hero-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 640px;
}

/* Service content */
.block {
  padding: 56px 0;
}

.service-content .narrow {
  max-width: 780px;
}

.service-image {
  margin: 0 0 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}

.service-content h2 {
  margin: 2em 0 0.75em;
  font-size: 1.35rem;
  color: var(--blue-900);
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content p,
.service-content li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.service-content ul {
  margin: 1em 0;
  padding-left: 1.4em;
}

.service-content li {
  margin-bottom: 0.5em;
}

.cta-p {
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.btn {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue-700), var(--orange));
  box-shadow: var(--shadow);
}

.btn:hover {
  opacity: 0.95;
}

/* Footer */
.footer {
  background: #031b45;
  color: #d9e6ff;
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr ;
  gap: 24px;
  align-items: start;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #fff;
}

.footer p,
.footer li,
.footer a {
  margin: 0;
  color: #c8d9ff;
  text-decoration: none;
  line-height: 1.8;
  font-size: 0.95rem;
  list-style: none;
  padding: 0;
}

.footer ul { margin: 0; padding: 0; }

.newsletter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.newsletter input {
  flex: 1;
  min-width: 170px;
  border: 1px solid #5078c7;
  background: #08275d;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
}

.newsletter button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  background: var(--orange);
  font-weight: 700;
}

.copyright {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 0 18px;
  color: #a8c2f5;
  text-align: center;
  font-size: 0.88rem;
}

.social-float {
  position: fixed;
  z-index: 25;
  left: 10px;
  top: 56%;
  transform: translateY(-50%);
  display: grid;
  gap: 9px;
}

.social-float a {
  text-decoration: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: var(--shadow);
}

.social-float a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.s1 { background: #3b9df1; }
.s3 { background: #19b857; }
.s4 { background: #e4405f; }

@media (max-width: 1100px) {
  .menu { display: none; }
  .phone { display: none; }
  .menu-btn { display: inline-block; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { padding-top: 74px; }
  .nav { height: 74px; }
  .logo img { height: 36px; }
  .service-hero { padding-top: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
  .social-float { top: auto; bottom: 16px; transform: none; }
  .social-float a { width: 40px; height: 40px; }
}
