:root {
  --navy: #16236b;
  --blue: #2c63d4;
  --aqua: #d6ecef;
  --ink: #1a1f36;
  --muted: #555d78;
  --bg: #ffffff;
  --tint: #f2f8f9;
  --line: #dde3ea;
  --radius: 10px;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--blue); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

h1, h2, h3 {
  font-family: var(--heading);
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-small { padding: 8px 14px; font-size: 0.95rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.logo img {
  display: block;
  height: 64px;
  width: auto;
}
.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(44, 99, 212, 0.18), transparent 50%),
    linear-gradient(160deg, var(--aqua), #eef7f8 70%);
  padding: 96px 0 104px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-inner { max-width: 760px; }
.hero-logo {
  width: 100%;
  height: auto;
  max-width: 440px;
  justify-self: end;
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  text-transform: uppercase;
}
.hero h1 span { color: var(--blue); font-style: italic; }
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); padding: 56px 0; }
.section-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  text-transform: uppercase;
}
.section-intro {
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 40px;
}

/* Services */
.service-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-group {
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px;
}
.service-group h3 { font-size: 1.6rem; }
.service-group ul { list-style: none; margin: 0; padding: 0; }
.service-group li {
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-group li:last-child { border-bottom: 0; }
.service-group li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Why us */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.why-item h3 { font-size: 1.5rem; text-transform: uppercase; }
.why-item p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.gallery-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--tint);
  overflow: hidden;
}
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Dark section */
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-intro { color: #c6cdf0; }

/* Contact */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.contact-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.contact-label { color: var(--muted); font-size: 0.95rem; }
.contact-value {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer p { margin: 0; }

/* Mobile call bar */
.mobile-call { display: none; }

@media (max-width: 760px) {
  html { scroll-padding-top: 132px; }
  .header-inner > .btn-small { display: none; }
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 8px;
    gap: 0;
  }
  .logo img { height: 56px; }
  .nav {
    width: 100%;
    overflow-x: auto;
    gap: 4px;
    margin: 4px -8px 0;
  }
  .nav a {
    padding: 10px 8px;
    min-height: 44px;
    white-space: nowrap;
  }
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { display: none; }
  .section { padding: 64px 0; }
  .site-footer { padding-bottom: calc(88px + var(--badge-offset, 0px)); }
  .mobile-call {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + var(--badge-offset, 0px));
    transition: bottom 0.2s;
    z-index: 20;
    background: var(--blue);
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(22, 35, 107, 0.3);
  }
}

/* Reviews */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.reviews-head .section-intro { margin-bottom: 0; }
.rating {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.rating:hover { background: rgba(255, 255, 255, 0.14); }
.rating-score {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
}
.rating-detail { display: flex; flex-direction: column; font-size: 0.95rem; color: #c6cdf0; }
.stars { color: #ffc93c; letter-spacing: 2px; }
.rating .stars { font-size: 1.2rem; }
.recommends { color: #ffc93c; font-weight: 600; font-size: 0.95rem; }

.review-grid {
  columns: 3 300px;
  column-gap: 16px;
}
.review-card {
  break-inside: avoid;
  margin: 0 0 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 22px;
}
.review-card blockquote { margin: 10px 0 14px; }
.review-card blockquote p { margin: 0 0 8px; }
.review-card figcaption { font-size: 0.9rem; color: #c6cdf0; }
.review-card figcaption strong { display: block; color: #fff; font-size: 1rem; }

.reviews-more { text-align: center; margin-top: 24px; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.btn-light:hover { background: var(--aqua); border-color: var(--aqua); color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-card, .btn, .mobile-call { transition: none; }
  .contact-card:hover { transform: none; }
}
