:root {
  --bg: #f4f8fc;
  --bg-soft: #eaf1f8;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --text: #17324d;
  --muted: #5f738a;
  --line: rgba(23, 50, 77, 0.1);
  --accent: #4d84c4;
  --accent-strong: #2f69ad;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(32, 63, 97, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  background: rgba(127, 179, 255, 0.3);
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(77, 132, 196, 0.16), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(121, 157, 194, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8fc 58%, #eef4fa 100%);
  z-index: -1;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(244, 248, 252, 0.84);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand strong,
.brand span {
  display: block;
}

.brand span:last-child {
  font-size: 0.85rem;
  color: var(--muted);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-strong), #5f8fc6);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.menu a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-strong), #2d63c8);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.btn:hover {
  filter: brightness(1.06);
}

.btn-sm {
  padding: 11px 16px;
  border-radius: 12px;
  box-shadow: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--line);
  box-shadow: none;
  color: var(--text);
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid,
.about-grid,
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(77, 132, 196, 0.18);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(77, 132, 196, 0.08);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -0.04em;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.hero-copy,
.section-head p,
.about-grid p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.hero-copy {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span,
.contact-items span {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card,
.service-card,
.review-card,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
}

.stat-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,246,252,0.92));
  border: 1px solid var(--line);
}

.stat-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

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

.mini-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.96);
  border: 1px solid var(--line);
}

.mini-grid p,
.review-card p,
.service-card li {
  color: var(--muted);
}

.section {
  padding: 42px 0;
}

.section-dark {
  background: rgba(231, 239, 248, 0.65);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.services-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.review-card {
  padding: 24px;
}

.service-card h3,
.review-card strong {
  margin-bottom: 16px;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
}

.stars {
  color: #ffd66b;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.contact-wrap {
  align-items: start;
}

.contact-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-form {
  padding: 24px;
}

.whatsapp-inline {
  margin-top: 18px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 18px 40px rgba(18, 140, 74, 0.35);
}

.contact-form label {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.96);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a9aad;
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .menu,
  .btn-sm {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-wrap,
  .services-grid,
  .reviews-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .service-card,
  .review-card,
  .contact-form {
    border-radius: 20px;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1120px);
  }

  .nav {
    padding: 12px 0;
  }

  .hero {
    padding: 42px 0 24px;
  }

  .section {
    padding: 28px 0;
  }

  .hero-grid,
  .about-grid,
  .contact-wrap,
  .services-grid,
  .reviews-grid,
  .mini-grid {
    gap: 14px;
  }

  .eyebrow {
    margin-bottom: 10px;
    padding: 6px 10px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 0.98rem;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-points,
  .contact-items {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-points span,
  .contact-items span {
    width: 100%;
    text-align: center;
    padding: 9px 12px;
  }

  .hero-card,
  .service-card,
  .review-card,
  .contact-form,
  .stat-card,
  .mini-grid article {
    padding: 18px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .service-card ul {
    padding-left: 16px;
  }

  .contact-form label {
    margin-bottom: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 14px;
  }

  .btn,
  .btn-ghost,
  .whatsapp-inline {
    width: 100%;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    left: auto;
    width: 56px;
    height: 56px;
    padding: 0;
  }
}
