:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --text: #12151b;
  --muted: #4c5665;
  --line: #dde3ec;
  --blue: #1d4f8f;
  --red: #b43835;
  --shadow: 0 12px 30px rgba(15, 22, 34, 0.08);
  --radius: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 32%, #ffffff 65%, #f4f8fc 100%);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -52px;
  background: var(--blue);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: transform 240ms ease, box-shadow 240ms ease;
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - 2px));
}

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: auto;
}

.brand-logo-main {
  width: 290px;
}

.brand-logo-partner {
  width: 100px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.nav-list a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--blue);
  background: #edf3fa;
}

.call-pill {
  text-decoration: none;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1rem;
}

.hero {
  padding: 2.6rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  font-family: "Merriweather", Georgia, serif;
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
}

.hero-copy p {
  max-width: 62ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.2rem 0;
}

.button {
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.72rem 1.05rem;
  border: 2px solid transparent;
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-secondary {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
}

.trust-list,
.check-list,
.contact-list {
  margin: 0;
  padding-left: 1.2rem;
}

.trust-list li,
.check-list li {
  margin-bottom: 0.45rem;
}

.hero-image-wrap,
.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}

.services,
.about,
.gallery,
.reviews {
  padding: 4.1rem 0;
}

.section-intro {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 12px;
  padding: 1.05rem;
  box-shadow: 0 8px 18px rgba(15, 22, 34, 0.05);
}

.card:nth-child(2n) {
  border-top-color: var(--red);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}

.services-detailed {
  padding: 4.1rem 0;
  background: var(--surface);
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(15, 22, 34, 0.05);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  color: var(--blue);
}

.service-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.gallery-grid img.gallery-img-fit {
  object-fit: contain;
  background: #fff;
  padding: 0.35rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

blockquote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  text-align: center;
}

blockquote cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.contact {
  padding: 3rem 0 2rem;
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.contact-phone-link {
  color: var(--text);
  text-decoration: none;
  pointer-events: none;
  cursor: text;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.75rem 0;
    min-height: 60px;
  }

  .brand-logo-main {
    width: min(78vw, 300px);
  }

  .brand-logo-partner {
    width: min(52vw, 210px);
  }

  .nav-list {
    flex-wrap: wrap;
  }

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

  .services,
  .about,
  .gallery,
  .reviews {
    padding: 3rem 0;
  }

  .contact-phone-link {
    color: var(--blue);
    text-decoration: underline;
    pointer-events: auto;
    cursor: pointer;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .call-pill {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
