:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d8e0e5;
  --paper: #ffffff;
  --wash: #e7f5f4;
  --teal: #009196;
  --teal-dark: #00656a;
  --navy: #012051;
  --gold: #d3aa3f;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 24, 39, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f7faf9 url("./assets/site-bg.jpg") center top / 900px auto fixed;
  line-height: 1.6;
}
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.top-strip {
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px max(20px, calc((100vw - 1120px) / 2));
  font-size: 14px;
}
.top-strip a { color: #fff; font-weight: 700; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 104px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 230px; max-height: 116px; height: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--ink);
  font-weight: 700;
  padding: 12px 14px;
  border-radius: var(--radius);
}
.nav-links a:hover { background: var(--wash); text-decoration: none; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.menu-button span:last-child, .menu-button span:last-child::before, .menu-button span:last-child::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
}
.menu-button span:last-child::before { transform: translateY(-7px); }
.menu-button span:last-child::after { transform: translateY(5px); }
.hero-slider {
  width: 100%;
  height: 500px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: var(--navy);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 900ms ease, transform 900ms ease;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.42), rgba(255,255,255,.08) 50%, rgba(0,0,0,.08)), var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1);
}
.slide.active { opacity: 1; transform: translateX(0); z-index: 1; }
.slide.active::before { animation: kenburns 9s linear both; }
.slide a {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0;
  text-decoration: none;
}
.slide h1 {
  margin: 0;
  max-width: 640px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 66px;
  line-height: 1.08;
  font-weight: 700;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 12px 34px rgba(255,255,255,.45);
}
.slider-progress { position: absolute; left: 0; top: 0; height: 5px; width: 100%; background: rgba(255,255,255,.35); z-index: 3; }
.slider-progress::after { content: ""; display: block; height: 100%; background: #fff; animation: progress 9s linear infinite; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.band { background: rgba(231,245,244,.94); border-block: 1px solid rgba(0,145,150,.16); }
.intro { margin-top: 36px; padding: 58px 0; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; }
h1, h2, h3 { line-height: 1.15; color: var(--navy); }
.intro h2, .page-hero h1 { font-size: 44px; margin: 0 auto 18px; max-width: 850px; }
.intro p, .page-hero p { max-width: 760px; margin: 0 auto 22px; font-size: 19px; color: var(--muted); }
.actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid var(--teal);
}
.button:hover { background: var(--teal-dark); text-decoration: none; }
.button.ghost { background: #fff; color: var(--teal-dark); }
.section { padding: 66px 0; background: rgba(255,255,255,.92); }
.service-grid, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-grid article, .cards article, .trade-list article, blockquote, .contact-panel, .form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17,24,39,.08);
}
.service-grid article, .cards article { overflow: hidden; }
.service-grid img, .cards img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-grid h3, .service-grid p, .cards h2, .cards p { margin-left: 20px; margin-right: 20px; }
.service-grid p, .cards p { color: var(--muted); margin-bottom: 22px; }
.reviews { padding: 62px 0; }
.reviews-shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: 20px;
  margin-bottom: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(17, 24, 39, .12);
  overflow: hidden;
}
.rating-summary {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 176px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.rating-summary strong { color: var(--navy); font-size: 25px; line-height: 1.1; }
.rating-summary span:last-child { font-size: 14px; line-height: 1.35; }
.stars { color: var(--gold); font-size: 24px; line-height: 1; letter-spacing: .04em; }
.review-stars { color: var(--gold); font-size: 13px; letter-spacing: .04em; }
.google-review-area { min-width: 0; position: relative; padding: 24px 30px; }
.google-review-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}
.google-review-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.google-review-controls button:hover { background: var(--wash); }
.google-review-controls button:disabled { opacity: .42; cursor: default; }
.google-review-viewport {
  overflow: hidden;
}
.google-review-track {
  display: flex;
  gap: 18px;
  padding-bottom: 4px;
  transition: transform 420ms ease;
  will-change: transform;
}
.google-review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.review-head strong { font-size: 14px; line-height: 1.2; }
.review-head small { display: block; color: var(--muted); font-size: 12px; }
.google-review-card p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; }
.avatar, .avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}
.avatar-img { object-fit: cover; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
blockquote { margin: 0; padding: 24px; }
blockquote p { margin-top: 0; }
cite { color: var(--teal-dark); font-weight: 800; font-style: normal; }
.page-hero { padding: 70px 0; background: rgba(231,245,244,.94); border-bottom: 1px solid var(--line); }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards h2 { font-size: 21px; }
.trade-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trade-list article { padding: 24px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 28px; align-items: start; }
.contact-panel { padding: 24px; }
.contact-panel table { width: 100%; border-collapse: collapse; font-size: 14px; }
.contact-panel td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.map iframe { display: block; }
.form-card { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; color: var(--navy); }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 150px; resize: vertical; }
.full { grid-column: 1 / -1; }
.form-status { min-height: 24px; color: var(--muted); }
.article { max-width: 860px; }
.article h1 { font-size: 42px; }
.article h3 { margin-top: 30px; }
.site-footer { background: var(--navy); color: #dbe7ef; padding: 48px 0 24px; }
.footer-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .9fr 1.35fr .7fr; gap: 26px; }
.site-footer img { width: 220px; background: #fff; padding: 10px; border-radius: var(--radius); }
.site-footer h2 { color: #fff; font-size: 18px; margin-top: 0; }
.site-footer a { color: #fff; }
.copyright { width: min(1120px, calc(100% - 40px)); margin: 28px auto 0; color: #9fb1c2; font-size: 14px; }
@media (min-width: 901px) {
  .footer-inner > div:nth-child(3) p { white-space: nowrap; }
}
@media (max-width: 900px) {
  .top-strip { flex-direction: column; gap: 2px; }
  .menu-button { display: block; }
  .nav { min-height: 76px; }
  .brand img { width: 190px; max-height: 96px; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 118px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
  .nav-links.open { display: grid; }
  .hero-slider { height: 420px; }
  .slide a { padding: 28px; align-items: flex-end; width: 100%; }
  .slide h1 { font-size: 42px; }
  .intro h2, .page-hero h1 { font-size: 34px; }
  .service-grid, .cards, .review-grid, .reviews-shell, .trade-list, .contact-layout, .footer-inner { grid-template-columns: 1fr; }
  .rating-summary {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
    padding: 24px 20px;
  }
  .rating-summary strong { font-size: 24px; }
  .stars { font-size: 23px; }
  .google-review-area { padding: 0 20px 18px; }
  .google-review-viewport {
    overflow: visible;
    scroll-snap-type: none;
  }
  .google-review-controls { display: none; }
  .google-review-track {
    width: auto;
    display: grid;
    grid-template-columns: 1fr;
    transform: none !important;
  }
  .google-review-card {
    flex: none;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
  }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .slide h1 { font-size: 34px; }
  .section, .intro, .page-hero { padding-block: 42px; }
}
