:root {
  --brand-blue: #0d3984;
  --brand-blue-dark: #08285d;
  --brand-blue-soft: #eef3fc;
  --brand-green: #00c980;
  --text-strong: #24364c;
  --text-body: #3d526c;
  --text-muted: #677a91;
  --line: #d6e0ef;
  --white: #ffffff;
  --surface: #f8fbff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text-body);
  background: #fff;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.01em;
  color: var(--text-strong);
  margin: 0 0 0.5rem;
  line-height: 1.08;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); color: #fff; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

#brands h2,
#services h2,
#process h2,
#faq h2 {
  font-size: clamp(1.28rem, 2.1vw, 1.62rem);
}

#start h2 {
  font-size: clamp(1.28rem, 2.1vw, 1.62rem);
}

#maintenance h2 {
  font-size: clamp(1.28rem, 2.1vw, 1.62rem);
}

#tips h2 {
  font-size: clamp(1.28rem, 2.1vw, 1.62rem);
}

.wrap {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.phone-bar {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue-dark);
  color: #dbe8ff;
  padding: 0.45rem 0.75rem;
  font-size: 0.95rem;
}

.phone-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  color: #fff;
  padding: 4.5rem 0 4.1rem;
  background:
    linear-gradient(118deg, rgba(8, 40, 93, 0.95) 0%, rgba(13, 57, 132, 0.9) 56%, rgba(13, 57, 132, 0.72) 100%),
    url("assets/media/legacy-carousel/g_comp2.jpg") center 32% / cover no-repeat;
  border-bottom: 4px solid var(--brand-green);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #cae2ff;
}

.subhead {
  max-width: 66ch;
  color: #e8f1ff;
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.2rem;
}

.trust-strip {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-strip li {
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #e6f1ff;
  font-size: 0.93rem;
}

.main-shell {
  margin: 0;
  padding: 0;
}

.main-shell .section:first-child {
  padding-top: 0;
}

.main-shell .section:last-child {
  padding-bottom: 0;
}

.section {
  padding: 1.4rem 0;
}

.section .wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(13, 57, 132, 0.05);
}

.section.alt .wrap {
  background: var(--surface);
}

.section-intro {
  color: var(--text-muted);
  margin-top: 0.2rem;
  margin-bottom: 1rem;
  max-width: 72ch;
}

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

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.start-card {
  border: 1px solid #d6e1ef;
  border-radius: 10px;
  padding: 0.85rem;
  background: #fff;
}

.start-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.25rem;
}

.start-card p {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: #556982;
}

.start-card .desktop-call {
  cursor: default;
}

.start-card .mobile-call {
  display: none !important;
}

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

.service-row {
  display: grid;
  grid-template-columns: minmax(260px, 33%) 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid #d6e1ef;
  border-radius: 10px;
  padding: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-row:hover {
  border-color: #c4d2e6;
  box-shadow: 0 4px 14px rgba(13, 57, 132, 0.07);
}

.service-row-reverse {
  grid-template-columns: 1fr minmax(260px, 33%);
}

.service-row-reverse .service-media {
  order: 2;
}

.service-row-reverse .service-content {
  order: 1;
}

.service-content h3 {
  margin-bottom: 0;
  font-size: 1.34rem;
}

.service-heading-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.service-content p {
  margin: 0.35rem 0;
}

.service-summary {
  color: #556982;
  font-size: 0.92rem;
  margin: 0.22rem 0 0.38rem;
}

.service-highlights {
  margin: 0.18rem 0 0.52rem 1rem;
  padding: 0;
  color: #4a5d76;
  font-size: 0.92rem;
}

.service-highlights li {
  margin: 0.2rem 0;
}

.turnaround-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  vertical-align: middle;
}

.service-level-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
}

.service-turnaround-row {
  margin: 0.08rem 0 0.45rem;
}

.service-turnaround-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #5f7087;
  margin-bottom: 0.22rem;
}

.service-preview-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.12rem 0 0.48rem;
  align-items: center;
}

.service-preview-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #5f7087;
}

.service-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.service-preview-item {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d3ddec;
  background: #f7f9fd;
  color: #4a5f7a;
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  position: relative;
  cursor: help;
}

.service-preview-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #1f2b3d;
  color: #fff;
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  font-size: 0.74rem;
  line-height: 1.35;
  white-space: normal;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  width: max-content;
  max-width: 300px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 20;
}

.service-preview-item:hover::after {
  opacity: 1;
}

.service-preview-more {
  display: inline-flex;
  align-items: center;
  color: #5b6f89;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.05rem 0.2rem;
}

.service-brand-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.24rem 0.3rem;
}

.service-brand-logos-global {
  margin-top: 0.6rem;
}

.brand-logo-slot {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.08rem;
}

.brand-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 26px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.1rem;
  transform-origin: center center;
}

.brand-more-slot {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand-more-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #5c6d85;
  letter-spacing: 0.01em;
}

.brand-scubapro { transform: scale(1.2); }
.brand-aqualung { transform: scale(1.18); }
.brand-mares { transform: scale(1.18); }
.brand-oceanic { transform: scale(1.02); }
.brand-atomic { transform: scale(2.65); }
.brand-sherwood { transform: scale(1.03); }
.brand-zeagle { transform: scale(1.18); }
.brand-apeks { transform: scale(1.24); }
.brand-hollis { transform: scale(1.06); }
.brand-garmin { transform: scale(1.36); }

.turnaround-badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border: 1px solid #cfd8e6;
  border-radius: 999px;
  background: #f3f5f8;
  color: #41556f;
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  cursor: default;
}

.turnaround-standard {
  color: #22653f;
}

.turnaround-expedited {
  color: #8a5a12;
}

.turnaround-express {
  color: #8a3b1d;
}

.turnaround-emergency {
  color: #8f2230;
}

.turnaround-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #1f2b3d;
  color: #fff;
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  font-size: 0.74rem;
  line-height: 1.35;
  white-space: pre-line;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  width: max-content;
  max-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 20;
}

.turnaround-badge:hover::after {
  opacity: 1;
}

.card-carousel {
  position: relative;
  margin-top: 0;
}

.carousel-viewport {
  position: relative;
  height: 240px;
  border-radius: 6px;
  overflow: hidden;
  background: #edf2fa;
  border: 1px solid #d4deec;
}

.carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: #edf2fa;
}

.carousel-image.is-active {
  opacity: 1;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(13, 57, 132, 0.72);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.carousel-nav.prev { left: 0.5rem; }
.carousel-nav.next { right: 0.5rem; }

.btn {
  display: inline-block;
  border-radius: 6px;
  padding: 0.62rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.18s ease;
}

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

.btn-primary:hover {
  background: #174ba2;
}

.btn-outline {
  background: #fff;
  color: var(--brand-blue);
  border-color: #9ab6e2;
  margin-top: 0.35rem;
}

.btn-outline:hover {
  background: #eef4ff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.66);
}

.service-detail-panel {
  display: none;
  margin-top: 0.8rem;
  border-top: 1px solid #d6e3f4;
  padding-top: 0.8rem;
}

.service-detail-panel.open {
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th, td {
  border-bottom: 1px solid #deebf8;
  padding: 0.65rem;
  text-align: left;
  vertical-align: middle;
}

thead th {
  background: #edf3ff;
  color: #2a3c56;
  font-size: 0.92rem;
}

tbody td {
  font-size: 0.94rem;
}

tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.pricing-meta {
  font-size: 0.9rem;
  color: #4d617a;
  margin-top: 0.55rem;
}

.service-pricing-table {
  display: none;
  margin-top: 0.7rem;
}

.service-pricing-table.open {
  display: block;
}

.service-table-note {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: #5e7088;
}

.fine-print {
  margin-top: 0.7rem;
  color: #4b5f79;
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.2rem;
  margin: 0;
}

.timeline li span {
  display: block;
  color: #5d708a;
}

.maintenance-list {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.maintenance-list li {
  margin: 0.45rem 0;
  color: #4f637d;
}

.maintenance-promo {
  display: grid;
  grid-template-columns: minmax(240px, 35%) 1fr;
  gap: 0.8rem;
  border: 1px solid #d7e2f0;
  border-radius: 10px;
  padding: 0.7rem;
  background: #fbfdff;
  margin-top: 0.5rem;
}

.maintenance-promo img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.maintenance-promo-copy h3 {
  margin-bottom: 0.3rem;
}

.maintenance-promo-copy p {
  margin: 0;
  color: #4f637d;
}

.maintenance-promo-copy .btn {
  margin-top: 0.75rem;
}

.maintenance-video {
  margin-top: 0.8rem;
}

.maintenance-video h3 {
  margin-bottom: 0.38rem;
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid #dde5f1;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(13, 57, 132, 0.06);
  overflow: hidden;
}

.video-wrap::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-wrap iframe {
  position: absolute;
  inset: 0.55rem;
  width: calc(100% - 1.1rem);
  height: calc(100% - 1.1rem);
  border-radius: 8px;
  background: #0f1724;
  border: 0;
}

.accordion {
  display: grid;
  gap: 0.48rem;
}

.acc-btn {
  width: 100%;
  text-align: left;
  border: 1px solid #d0def1;
  background: #fff;
  padding: 0.75rem 0.85rem;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
  color: #27415f;
}

.acc-panel {
  display: none;
  padding: 0 0.85rem 0.65rem;
  color: #526780;
}

.acc-panel.open {
  display: block;
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
  color: #2c415d;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #bed0e9;
  border-radius: 6px;
  padding: 0.6rem;
  font: inherit;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #7aa2df;
  box-shadow: 0 0 0 3px rgba(13, 57, 132, 0.15);
}

.form-note {
  font-size: 0.95rem;
  color: #5a6f89;
}

#form-status {
  margin-top: 0.55rem;
  color: #1f4e8e;
  font-weight: 600;
}

.footer {
  background: #0b1f3f;
  color: #d6e3fb;
  padding: 1.5rem 0 5rem;
  margin-top: 1.2rem;
}

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

.footer a {
  color: #bdddff;
}

.mobile-cta {
  position: fixed;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-green);
  color: #0d2a26;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  box-shadow: 0 8px 20px rgba(5, 31, 72, 0.3);
  display: none;
}

@media (max-width: 920px) {
  .section .wrap {
    padding: 1.1rem;
  }

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

  .maintenance-promo {
    grid-template-columns: 1fr;
  }

  .maintenance-promo img {
    height: 180px;
  }

  .video-wrap {
    max-width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .video-wrap iframe {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

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

  .start-card .desktop-call {
    display: none !important;
  }

  .start-card .mobile-call {
    display: inline-block !important;
  }

  .service-brand-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem 0.36rem;
  }

  .brand-logo-slot {
    height: 34px;
    padding: 0.04rem;
  }

  .brand-logo {
    max-height: 18px;
  }

  .brand-scubapro { transform: scale(1.04); }
  .brand-aqualung { transform: scale(1.03); }
  .brand-mares { transform: scale(1.03); }
  .brand-oceanic { transform: scale(0.95); }
  .brand-atomic { transform: scale(1.8); }
  .brand-sherwood { transform: scale(0.96); }
  .brand-zeagle { transform: scale(1.03); }
  .brand-apeks { transform: scale(1.08); }
  .brand-hollis { transform: scale(0.98); }
  .brand-garmin { transform: scale(1.16); }

  .service-content h3 {
    font-size: 1.2rem;
  }

  .service-row,
  .service-row-reverse {
    grid-template-columns: 1fr;
    padding: 0.8rem;
  }

  .service-row-reverse .service-media,
  .service-row-reverse .service-content {
    order: initial;
  }

  .hero {
    padding: 3.8rem 0 3.5rem;
  }

  .carousel-viewport {
    height: 220px;
  }

  .mobile-cta {
    display: inline-block;
  }

  .footer {
    padding-bottom: 5.5rem;
  }
}
