.site-header {
  background: #fff;
}

.topbar {
  background: var(--topbar);
}

.topbar-inner,
.header-main,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-inner {
  min-height: 42px;
}

.socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.socials a {
  display: grid;
  place-items: center;
  color: var(--primary);
}

.socials svg {
  width: 15px;
  height: 15px;
}

.socials-solid a {
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
}

.socials-solid svg {
  width: 15px;
  height: 15px;
}

.top-contacts {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-contacts a,
.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 15px;
}

.top-contacts svg,
.footer-contacts svg {
  width: 14px;
  height: 14px;
}

.header-main {
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 0;
  padding: 10px 0;
}

.logo {
  flex: 0 0 20%;
  width: 20%;
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 60%;
  height: auto;
}

.nav-desktop {
  flex: 0 0 80%;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-desktop ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 8px 11px;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--secondary);
}

.nav-toggle {
  display: none;
  border: 1px solid #ddd;
  background: #f7f7f7;
  width: 46px;
  height: 40px;
  color: #444;
}

.mobile-panel {
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 16px;
}

.mobile-panel a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.hero {
  position: relative;
  height: 550px;
  background: #051f26;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-bg,
.slide-overlay {
  position: absolute;
  inset: 0;
}

.slide-bg {
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  background: rgba(5, 31, 38, 0.6);
}

.slide-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  padding-block: 40px;
}

.slide-copy h2 {
  margin: 0 0 16px;
  max-width: 640px;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.slide-copy .btn {
  font-size: 20px;
  margin-top: 8px;
}

.slide-copy p,
.slide-copy li {
  color: #fff;
  font-size: 20px;
  margin: 0;
}

.slide-copy ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.slide-prev { left: 18px; }
.slide-next { right: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--primary);
  border-radius: 5px;
  padding: 12px 22px;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: #2b2b2b;
  text-transform: none;
  font-size: 15px;
  padding: 8px 18px;
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.about,
.page-block {
  padding: 72px 0 40px;
}

.about-grid,
.sbt-grid,
.cta-grid,
.shortcuts-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.kicker,
.subhead,
h1,
h2,
h3 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.25;
}

.kicker {
  margin: 0;
  font-size: 24px;
}

h1 {
  margin: 4px 0 18px;
  font-size: 32px;
}

.subhead {
  font-size: 18px;
  margin: 22px 0 12px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 16px;
}

.prose strong {
  color: var(--ink);
}

.checks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.checks li {
  position: relative;
  padding-left: 26px;
  margin: 6px 0;
  color: var(--ink);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.checks a {
  color: var(--ink);
  text-decoration: none;
}

.checks-ig li::before {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  top: 0.35em;
  transform: none;
}

.photo-frame {
  border: 15px solid #b0b0b0;
  border-radius: 5px;
  overflow: hidden;
  min-height: 320px;
  background: #ddd center / cover no-repeat;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.sbt {
  background: #f1f1f1;
  padding: 72px 0;
}

.sbt h2 {
  margin-top: 0;
  font-size: 32px;
}

.video-frame {
  background: #f1f1f1;
  border: 1px solid #273d55;
  border-radius: 4px;
  overflow: hidden;
}

.video-frame video,
.work-video {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
}

.products {
  background: var(--secondary);
  padding: 64px 0 80px;
  text-align: center;
}

.products-mark {
  width: 54px;
  height: auto;
  margin-bottom: 8px;
}

.products h2,
.page-banner h1 {
  color: #fff;
}

.products h2 {
  margin: 8px 0 36px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 48px;
  text-align: center;
}

.card-grid-page {
  margin-top: 36px;
}

.service-card {
  background: var(--primary);
  padding: 14px;
}

.service-card img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.service-card-body {
  background: #f5f5f5;
  padding: 22px 14px 26px;
}

.service-card h3,
.service-card h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  white-space: pre-line;
  text-transform: uppercase;
  line-height: 1.35;
}

.cta {
  background: linear-gradient(180deg, #7a7a7a 0%, #1b5a6b 100%);
  color: #fff;
  min-height: 456px;
}

.cta-grid {
  min-height: 456px;
  gap: 0;
}

.cta-copy {
  text-align: center;
  padding: 48px 20px;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta h2 {
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 10px;
}

.cta p {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 18px;
}

.cta-photo {
  width: 100%;
  height: 456px;
  object-fit: contain;
  object-position: center bottom;
  justify-self: end;
}

.shortcuts {
  padding: 80px 0 90px;
}

.shortcut,
.contact-card {
  background: #efefef;
  border: 1px solid #c2c2c2;
  text-align: center;
  padding: 36px 28px 32px;
  transition: border-color 0.3s;
}

.shortcut:hover,
.contact-card:hover {
  border-color: #30c9dc;
}

.shortcut-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #b5b5b5;
  color: #8a8a8a;
  margin-bottom: 16px;
}

.shortcut-icon svg {
  width: 28px;
  height: 28px;
}

.shortcut h2,
.contact-page h2 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
}

.page-banner {
  background: var(--primary);
  min-height: 68px;
  display: flex;
  align-items: center;
}

.page-banner h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.center-copy {
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}

.contact-page h2 {
  color: var(--primary);
  font-size: 20px;
}

.contact-grid {
  margin-top: 28px;
  align-items: stretch;
}

.contact-card .btn {
  min-width: 220px;
  text-transform: none;
}

.quote-band {
  min-height: 306px;
  background: #123f4b url("/assets/img/img3.jpg") center bottom / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 28px 0;
  position: relative;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 63, 75, 0.87);
}

.quote-band .container {
  position: relative;
  z-index: 1;
}

.quote-box {
  width: min(42%, 480px);
  background: rgba(27, 90, 107, 0.9);
  color: #fff;
  border-radius: 5px;
  padding: 18px;
}

.quote-box p {
  color: #fff;
  margin: 0 0 14px;
}

.quote-box p:last-child {
  margin-bottom: 0;
}

.gallery {
  list-style: none;
  margin: 28px 0 10px;
  padding: 0;
  display: grid;
  gap: 19px;
}

.gallery-round {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-flat {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-round .gallery-open {
  border: 8px solid #c8c8c8;
  border-radius: 18px;
  overflow: hidden;
  background: #eee;
}

.gallery-flat .gallery-open {
  border-radius: 8px;
  overflow: hidden;
}

.gallery img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.work-video {
  width: min(280px, 100%);
  margin: 28px 0 10px;
  border-radius: 16px;
  border: 8px solid #d0d0d0;
}

.reviews {
  position: relative;
  margin-top: 10px;
}

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

.review-card {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 28px 18px 22px;
  text-align: center;
  position: relative;
}

.review-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.g-badge {
  position: absolute;
  left: calc(50% + 18px);
  top: 78px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px #e5e5e5;
}

.review-card h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 16px;
}

.review-when,
.review-text {
  margin: 2px 0 8px;
  color: #666;
  font-size: 14px;
}

.stars {
  color: #f5b400;
  letter-spacing: 2px;
  margin: 0 0 8px;
}

.review-card.is-clamped .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-more {
  border: 0;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
  font-family: inherit;
}

.reviews-next {
  position: absolute;
  right: -6px;
  top: 42%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.site-footer {
  margin-top: 0;
}

.footer-main {
  background: var(--secondary);
  padding: 72px 0;
}

.footer-grid h2 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 600;
}

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

.footer-contacts a {
  color: #fff;
  font-size: 14px;
  margin: 6px 0;
}

.footer-contacts svg {
  color: var(--primary);
}

.footer-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
}

.footer-bar p {
  margin: 0;
  width: 100%;
  font-size: 14px;
}

.footer-bar a {
  color: #fff;
  text-decoration: none;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
}

.wa-float-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.wa-float-btn svg {
  width: 34px;
  height: 34px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

.lightbox-close { top: 12px; right: 18px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

[data-anim] {
  animation: rise 0.7s ease both;
}

[data-anim="fadeInLeft"] { animation-name: fromLeft; }
[data-anim="fadeInRight"] { animation-name: fromRight; }
[data-anim="fadeInUp"] { animation-name: fromUp; animation-delay: 0.25s; }
[data-anim="zoomIn"] { animation-name: zoomIn; }

@keyframes rise {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fromLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: none; }
}

@keyframes fromRight {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes fromUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .card-grid,
  .gallery-round,
  .gallery-flat,
  .reviews-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-desktop a { font-size: 13px; padding: 8px 6px; }
}

@media (max-width: 767px) {
  .topbar-inner,
  .header-main {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding-block: 12px;
  }
  .top-contacts {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  .top-contacts a { font-size: 12px; }
  .header-main { min-height: 0; }
  .logo { width: 100%; flex: none; justify-content: center; }
  .logo img { width: 150px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .hero { height: 520px; }
  .slide-copy h2 { font-size: 18px; }
  .slide-copy p,
  .slide-copy li { font-size: 17px; }
  .slide-copy .btn { font-size: 12px; }
  .about-grid,
  .sbt-grid,
  .cta-grid,
  .shortcuts-grid,
  .contact-grid,
  .card-grid,
  .gallery-round,
  .gallery-flat,
  .reviews-track,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta h2 { font-size: 30px; }
  .cta p { font-size: 20px; }
  .cta-photo { height: 320px; }
  .quote-box { width: min(80%, 480px); margin-inline: auto; }
  .footer-main { text-align: center; }
  .footer-contacts a,
  .socials { justify-content: center; }
  .reviews-next { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  [data-anim],
  .slide { animation: none; transition: none; }
}
