:root {
  --brand-ink: #111827;
  --brand-teal: #2f6f88;
  --brand-teal-dark: #225266;
  --brand-gold: #f4b000;
  --brand-gold-dark: #c58a00;
  --brand-green: #4f8a63;
  --brand-muted: #5d6675;
  --brand-line: #d9e2e7;
  --brand-soft: #f4f8fa;
  --brand-warm: #fff8e6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brand-ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(135deg, rgba(47, 111, 136, 0.05) 25%, transparent 25%) 0 0 / 28px 28px,
    linear-gradient(135deg, transparent 75%, rgba(244, 176, 0, 0.07) 75%) 0 0 / 28px 28px,
    #ffffff;
}

a {
  color: var(--brand-teal);
}

a:hover {
  color: var(--brand-gold-dark);
}

p {
  color: var(--brand-muted);
  line-height: 1.75;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 9999;
  background: var(--brand-ink);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}

.top-strip {
  background: var(--brand-ink);
  color: var(--white);
  font-size: 0.92rem;
}

.top-strip a {
  color: var(--white);
  text-decoration: none;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 226, 231, 0.9);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.navbar-brand img {
  width: auto;
  height: 76px;
}

.navbar-nav .nav-link {
  color: var(--brand-ink);
  font-weight: 700;
  padding-inline: 0.8rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.dropdown-item.active,
.dropdown-item:active {
  color: var(--brand-teal);
  background: transparent;
}

.dropdown-menu {
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
}

.btn {
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.fw-black {
  font-weight: 900;
}

.btn-brand {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-ink);
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-gold-dark);
  border-color: var(--brand-gold-dark);
  color: var(--white);
}

.btn-outline-brand {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--brand-teal);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-ink);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.55) 42%, rgba(17, 24, 39, 0.12)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 72px);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 5rem 0;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  margin: 1rem 0;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.85rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  margin: 1rem 0;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--brand-line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.trust-icon,
.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--brand-ink);
  background: var(--brand-gold);
  font-weight: 900;
  flex: 0 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--brand-soft), #ffffff);
}

.section-warm {
  background: linear-gradient(180deg, var(--brand-warm), #ffffff);
}

.section-title {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 0.9rem;
}

.section-title-wide {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-title-wide p {
  max-width: 700px;
  margin-bottom: 0;
}

.content-block h2,
.content-block h3 {
  font-weight: 900;
  color: var(--brand-ink);
}

.content-block {
  border-left: 5px solid var(--brand-gold);
  padding: 1.35rem 1.5rem;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  height: 100%;
}

.service-card,
.answer-card,
.review-card,
.feature-card,
.post-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.answer-card:hover,
.review-card:hover,
.feature-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 176, 0, 0.65);
  box-shadow: 0 20px 46px rgba(17, 24, 39, 0.12);
}

.service-card img,
.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.services-section {
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(244, 248, 250, 0.75) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card-compact {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  overflow: hidden;
}

.service-card-compact::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand-gold), var(--brand-teal));
}

.service-number,
.answer-number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--brand-warm);
  color: var(--brand-ink);
  border: 1px solid rgba(244, 176, 0, 0.5);
  font-weight: 900;
}

.service-card-content {
  min-width: 0;
}

.service-card-content h3,
.answer-card-header h3 {
  margin-bottom: 0.65rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.service-link::after {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.answers-section {
  background:
    linear-gradient(135deg, rgba(47, 111, 136, 0.09), rgba(244, 176, 0, 0.1)),
    #ffffff;
}

.answer-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 1.5rem;
  align-items: start;
}

.answer-intro {
  position: sticky;
  top: 6.5rem;
  padding: 2rem;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.97), rgba(47, 111, 136, 0.92)),
    var(--brand-ink);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.16);
}

.answer-intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0.9rem 0;
}

.answer-intro p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.25rem;
}

.answer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.answer-points span {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.5rem 0.7rem;
  font-weight: 800;
  font-size: 0.88rem;
}

.answers-list {
  display: grid;
  gap: 1rem;
}

.answer-card-feature {
  padding: 1.45rem;
}

.answer-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.16);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.label-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand-ink);
  color: var(--white);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-weight: 900;
}

.stats-band {
  background:
    linear-gradient(120deg, var(--brand-teal), var(--brand-green)),
    var(--brand-teal);
  color: var(--white);
}

.stat-item strong {
  display: block;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 8px;
  background: var(--brand-ink);
  cursor: zoom-in;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
  opacity: 0.78;
}

.gallery-caption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.stars {
  color: var(--brand-gold-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.coupon-link {
  display: block;
  max-width: 540px;
  margin-left: auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px dashed var(--brand-gold-dark);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
}

.coupon-link img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(17, 24, 39, 0.95), rgba(47, 111, 136, 0.9)),
    var(--brand-ink);
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(17, 24, 39, 0.92), rgba(47, 111, 136, 0.82)),
    var(--brand-teal);
  color: var(--white);
  padding: 5.5rem 0;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 64px);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
  font-size: 1.08rem;
}

.service-image {
  position: sticky;
  top: 110px;
}

.form-section {
  background:
    linear-gradient(180deg, rgba(244, 176, 0, 0.11), rgba(47, 111, 136, 0.08)),
    #ffffff;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
  padding: 1.5rem;
}

form.CUS fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

form.CUS legend {
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

form.CUS .form-control,
form.CUS .form-select {
  min-height: 48px;
  border-radius: 8px;
  border-color: var(--brand-line);
}

form.CUS textarea.form-control {
  min-height: 130px;
}

form.CUS .form-control:focus,
form.CUS .form-select:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 0.2rem rgba(47, 111, 136, 0.18);
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(47, 111, 136, 0.34), transparent 42%),
    var(--brand-ink);
  color: var(--white);
  padding: 3.5rem 0 1.5rem;
}

.site-footer p,
.site-footer li,
.site-footer address,
.footer-hours {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-gold);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand,
.footer-contact {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.25rem;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.footer-logo {
  width: 150px;
  height: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 0.45rem;
}

.footer-title {
  color: var(--white);
  font-weight: 900;
  margin-bottom: 1rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.map-frame {
  width: 100%;
  min-height: 170px;
  border: 0;
  border-radius: 8px;
  filter: grayscale(0.1);
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-list li {
  margin-bottom: 0.45rem;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.footer-hours {
  margin-top: 1rem;
  font-size: 0.94rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 560px;
  }

  .section-title-wide {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .answer-layout {
    grid-template-columns: 1fr;
  }

  .answer-intro {
    position: static;
  }

  .coupon-link {
    margin-inline: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .service-image {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .top-strip {
    font-size: 0.82rem;
  }

  .navbar-brand img {
    height: 66px;
    width: auto;
  }

  .hero {
    min-height: 600px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.56));
  }

  .hero-content {
    padding: 4rem 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 3.6rem 0;
  }

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

  .service-card-compact,
  .answer-card-header {
    gap: 0.85rem;
  }

  .footer-main,
  .footer-grid,
  .footer-brand {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: 132px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-item:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .content-block {
    padding: 1.1rem;
  }
}
