/* ==========================================================================
   Dock-Ready LLC — Section layouts (hero, features, areas, work, CTA…)
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
/* <picture> is an inline wrapper with no box of its own — pin it to the media
   area so the image's percentage width/height have something to resolve against. */
.hero__media picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(2, 41, 86, 0.88) 0%,
    rgba(2, 41, 86, 0.55) 48%,
    rgba(2, 41, 86, 0.12) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 120px;
}
.hero__panel {
  max-width: 560px;
  background: rgba(2, 41, 86, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-deep);
  animation: fadeUp 0.9s var(--ease) both;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
}
.hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.hero h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  color: #fff;
  margin-bottom: 22px;
}
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-on-dark);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: #fff;
}
.hero__stat-label {
  font-size: var(--fs-xs);
  color: var(--text-on-dark-dim);
  font-weight: 600;
}

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

@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero__inner { padding-block: 72px; }
  .hero__stats { gap: 24px; margin-top: 36px; }
  .hero__actions .btn { width: 100%; }
}

/* --- Features at a glance -------------------------------------------------- */
.features__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.features__head h2 {
  font-size: var(--fs-h3);
  color: var(--navy);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 149, 171, 0.14), rgba(123, 166, 184, 0.18));
}
.feature p {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

/* 8 features: hold 4 columns (2 even rows) down to tablet, then go to 2 columns
   (4 even rows). A 3-column step would leave a ragged pair on the last row. */
@media (max-width: 767px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .feature__icon { width: 64px; height: 64px; border-radius: 16px; }
  .feature__icon svg { width: 38px; height: 38px; }
}

/* --- Promise band --------------------------------------------------------- */
.promise {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}
.promise__icon { flex-shrink: 0; }
.promise__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
}
.promise__kicker {
  font-size: 0.78125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.promise p:last-child {
  font-size: 0.90625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
  .promise { flex-direction: column; align-items: flex-start; gap: 20px; }
  .card--panel { padding: 32px 24px; }
}

/* --- Service areas -------------------------------------------------------- */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
/* Card padding moves to .area__body so the image can sit flush to the edges. */
.area {
  text-align: center;
  padding: 0;
  overflow: hidden;
}
/* 5:3 matches the source images natively — no crop, no upscale. */
.area__media {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--tint-bottom);
}
.area__media picture {
  position: absolute;
  inset: 0;
  display: block;
}
.area__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area__body { padding: 32px 40px 40px; }
.area h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.area p {
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--text-muted);
}
/* Lake list — two columns so ten names read as a scannable block rather than a
   long ribbon. Left-aligned inside a centred card: a centred list with bullets
   would have a ragged left edge. */
.area__lakes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin-top: 26px;
  text-align: left;
}
.area__lakes li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--navy);
}
.area__lakes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

@media (max-width: 640px) {
  .area__body { padding: 26px 24px 30px; }
  .area__lakes { gap: 9px 16px; margin-top: 22px; }
  .area__lakes li { font-size: 0.90625rem; padding-left: 17px; }
  .area__lakes li::before { width: 7px; height: 7px; }
}

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

/* --- Work / products ------------------------------------------------------ */
.work {
  background: linear-gradient(180deg, var(--tint-top) 0%, var(--tint-bottom) 100%);
}
.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.work__head .section-head { margin: 0; max-width: 560px; }
.work__intro {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 380px;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.work__cta { text-align: center; margin-top: 48px; }

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

/* --- Testimonials --------------------------------------------------------- */
.testimonials {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.testimonials::before {
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 149, 171, 0.25), transparent 70%);
}
.testimonials::after {
  bottom: -160px; left: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(123, 166, 184, 0.18), transparent 70%);
}
.testimonials .container { position: relative; }
/* 240px (not 260) so four cards fit on one row at the 1200px container width
   instead of leaving a single orphan card on a second row. */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* --- FAQ ------------------------------------------------------------------ */
.faq .section-head { margin-bottom: 54px; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 60%, var(--teal) 130%);
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  box-shadow: var(--shadow-deep);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 149, 171, 0.3), transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  position: relative;
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  color: #fff;
  margin-bottom: 16px;
}
.cta-band__lead {
  position: relative;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 32px;
  max-width: 460px;
  line-height: 1.6;
}
.cta-band__direct {
  position: relative;
  margin-top: 24px;
  font-size: 0.90625rem;
  color: rgba(255, 255, 255, 0.75);
}
.cta-band__direct a { color: #fff; font-weight: 700; text-decoration: underline; }
.cta-band__direct a:hover { color: var(--teal); }

/* --- Simple content pages (thank-you, 404) -------------------------------- */
.page-msg {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--section-y-lg);
}
.page-msg h1 {
  font-size: var(--fs-h2);
  color: var(--navy);
  margin-bottom: 16px;
}
.page-msg p {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.page-msg__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0, 149, 171, 0.12);
  margin-bottom: 28px;
}
