/* =========================================================
   RENHUAINTL — Harbour Beacon & Fishing Fleet theme
   Palette: harbour-slate #131A1E / raised tide-panel #1B262C /
   deep bilge #0C1114 / beacon-cyan #4FB3BF / brass-fitting #C9922E /
   fog-grey #7E929A / pale-foam #CBD8DC / hairline #2A3940
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #131A1E;
  color: #CBD8DC;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: #4FB3BF;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.fade-up {
  opacity: 1;
}

.fade-up-init {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up-init.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Shared buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background-color: #4FB3BF;
  color: #0C1114;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 179, 191, 0.25);
}

.btn-outline {
  border: 2px solid #C9922E;
  color: #C9922E;
}

.btn-outline:hover {
  background-color: #C9922E;
  color: #0C1114;
}

.btn-large {
  padding: 16px 38px;
  font-size: 16px;
}

.btn-block {
  display: block;
  width: 100%;
}

.cyan {
  color: #4FB3BF;
}

/* =========================================================
   NAV — Lighthouse Beam
   ========================================================= */
.lighthouse-beam-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #1B262C;
  width: 100%;
}

.beam-sweep-band {
  position: relative;
  height: 20px;
  background-color: #0C1114;
  overflow: hidden;
}

.beam-wedge {
  position: absolute;
  top: 0;
  height: 100%;
  background-color: #4FB3BF;
}

.beam-wedge-wide {
  left: 0;
  width: 26%;
  clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%);
}

.beam-wedge-narrow {
  left: 30%;
  width: 12%;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.beam-star {
  position: absolute;
  top: 5px;
  left: 23%;
  width: 6px;
  height: 6px;
  background-color: #C9922E;
  border-radius: 50%;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lighthouse-glyph {
  position: relative;
  width: 14px;
  height: 26px;
  background-color: #7E929A;
  clip-path: polygon(0 100%, 22% 30%, 50% 0, 78% 30%, 100% 100%);
}

.lighthouse-glyph::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 6px;
  height: 8px;
  background-color: #4FB3BF;
}

.lighthouse-glyph-sm {
  width: 12px;
  height: 22px;
}

.wordmark {
  font-size: 20px;
  letter-spacing: 0.18em;
  color: #CBD8DC;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CBD8DC;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: #4FB3BF;
}

.fitting-dot {
  width: 4px;
  height: 4px;
  background-color: #C9922E;
  border-radius: 50%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: #CBD8DC;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #0C1114;
    padding: 18px;
    gap: 14px;
    border-bottom: 1px solid #2A3940;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 40;
  }
  .nav-links.open {
    transform: translateY(0);
    display: flex;
  }
  .fitting-dot {
    display: none;
  }
}

/* =========================================================
   HERO — Trawler Radar
   ========================================================= */
.trawler-radar-hero {
  position: relative;
  background-color: #131A1E;
  overflow: hidden;
}

.hero-upper {
  max-width: 960px;
  margin: 0 auto;
  padding: 90px 24px 70px;
  text-align: center;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #4FB3BF;
  color: #0C1114;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  border-radius: 3px;
  text-transform: uppercase;
}

.hero-headline {
  color: #CBD8DC;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  margin: 28px 0 22px;
}

.hero-subcopy {
  color: #7E929A;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 34px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.harbour-scene-band {
  position: relative;
  background-color: #1B262C;
  height: 130px;
  margin-top: 90px;
}

.radar-unit {
  position: absolute;
  left: 6%;
  bottom: 14px;
  width: 120px;
}

.radar-circle {
  position: relative;
  width: 120px;
  height: 120px;
  border: 3px solid #C9922E;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,179,191,0.12) 0%, transparent 70%);
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, #4FB3BF, transparent);
  transform-origin: 0 50%;
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4FB3BF;
}

.blip-a { top: 22px; left: 30px; }
.blip-b { top: 52px; left: 78px; }
.blip-c { top: 80px; left: 44px; }

.radar-pedestal {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  background-color: #C9922E;
  border-radius: 2px;
}

.trawler-silhouette {
  position: absolute;
  right: 8%;
  bottom: 34px;
  width: 210px;
  height: 90px;
}

.trawler-hull {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 26px;
  background-color: #0C1114;
  clip-path: polygon(5% 0, 100% 0, 88% 100%, 0 100%);
}

.trawler-mast {
  position: absolute;
  top: 0;
  left: 40px;
  width: 3px;
  height: 82px;
  background-color: #C9922E;
}

.trawler-wheelhouse {
  position: absolute;
  top: 28px;
  left: 70px;
  width: 34px;
  height: 24px;
  background-color: #4FB3BF;
}

.trawler-nets {
  position: absolute;
  bottom: 20px;
  left: 120px;
  width: 90px;
  height: 60px;
  background:
    repeating-linear-gradient(90deg, rgba(79,179,191,0.4) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(0deg, rgba(79,179,191,0.4) 0 1px, transparent 1px 12px);
  border: 1px solid #4FB3BF;
}

.wave-line {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  border-top: 2px solid #3A7E86;
  border-radius: 50%;
}

.wave-line-b {
  bottom: 20px;
  border-top-color: #4E626A;
}

.buoy-line {
  position: absolute;
  bottom: 28px;
  left: 38%;
  width: 24%;
  border-top: 1px solid #C9922E;
}

.buoy {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 14px;
  background-color: #C9922E;
  border-radius: 50% 50% 40% 40%;
}

.buoy-a { left: 0; }
.buoy-b { right: 0; }

.water-strip {
  position: relative;
  height: 60px;
  background-color: #0C1114;
}

.tide-mark-ruler {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
}

.tide-tick {
  width: 2px;
  height: 26px;
  background-color: #C9922E;
  transform: rotate(3deg);
}

@media (max-width: 900px) {
  .hero-headline { font-size: 38px; }
  .buoy-line { display: none; }
  .trawler-silhouette { right: 3%; }
}

/* =========================================================
   TIDE TABLE
   ========================================================= */
.tide-table {
  padding: 90px 24px 60px;
  background-color: #131A1E;
}

.section-head {
  max-width: 860px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-eyebrow {
  color: #C9922E;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title {
  color: #CBD8DC;
  font-size: 36px;
  margin: 14px 0 16px;
  font-weight: 800;
}

.section-lede {
  color: #7E929A;
  font-size: 17px;
}

.tide-row {
  display: flex;
  align-items: stretch;
  gap: 22px;
  background-color: #1B262C;
  border: 1px solid #2A3940;
  border-radius: 6px;
  padding: 24px 24px 24px 0;
  margin: 0 auto 10px;
  max-width: 1180px;
}

.brass-plate {
  flex: 0 0 auto;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0C1114;
  background-color: #C9922E;
  border-radius: 4px 0 0 4px;
  position: relative;
}

.brass-plate::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #1B262C;
}

.tide-body {
  flex: 1 1 auto;
}

.tide-body h3 {
  color: #CBD8DC;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 800;
}

.tide-body p {
  color: #AEBFC5;
  font-size: 15.5px;
}

.high-water-gauge {
  flex: 0 0 auto;
  width: 18px;
  position: relative;
  border: 1px solid #2A3940;
  border-radius: 4px;
  background-color: #0C1114;
  overflow: hidden;
}

.gauge-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #4FB3BF;
}

.level-a { height: 32%; }
.level-b { height: 52%; }
.level-c { height: 68%; }
.level-d { height: 45%; }
.level-e { height: 58%; }
.level-f { height: 76%; }

.gauge-tick {
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #C9922E;
}

@media (max-width: 760px) {
  .tide-row { flex-wrap: wrap; padding: 18px; }
  .brass-plate { width: 56px; border-radius: 4px; }
  .high-water-gauge { display: none; }
}

/* =========================================================
   METRIC BAND
   ========================================================= */
.metric-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #4FB3BF;
  padding: 54px 40px;
  flex-wrap: wrap;
}

.metric {
  flex: 1 1 200px;
  text-align: center;
  padding: 0 20px;
}

.metric-num {
  display: block;
  font-size: 52px;
  font-weight: 900;
  color: #0C1114;
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0C1114;
  font-weight: 700;
}

.metric-divider {
  width: 1px;
  height: 64px;
  background-color: #2E4249;
}

@media (max-width: 760px) {
  .metric-num { font-size: 40px; }
  .metric-divider { display: none; }
}

/* =========================================================
   STATEMENT BAND
   ========================================================= */
.statement-band {
  background-color: #0C1114;
  padding: 80px 24px;
  text-align: center;
}

.statement-bar {
  width: 70px;
  height: 4px;
  background-color: #C9922E;
  margin: 0 auto 24px;
}

.statement-text {
  max-width: 780px;
  margin: 0 auto;
  color: #CBD8DC;
  font-size: 22px;
  line-height: 1.7;
  font-weight: 600;
}

.statement-attr {
  margin-top: 22px;
  color: #C9922E;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background-color: #131A1E;
  text-align: center;
  padding: 90px 24px;
}

.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: #CBD8DC;
}

.cta-subcopy {
  max-width: 640px;
  margin: 16px auto 30px;
  color: #7E929A;
  font-size: 17px;
}

/* =========================================================
   FOOTER — Mooring Rope
   ========================================================= */
.mooring-rope-footer {
  background-color: #0C1114;
  position: relative;
  z-index: 1;
}

.mooring-line {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 18px;
  background-color: #1B262C;
  border-bottom: 1px solid #2A3940;
  overflow: hidden;
}

.bollard {
  position: relative;
  width: 10px;
  height: 18px;
  margin: 0 14px;
}

.bollard .body {
  position: absolute;
  top: 0;
  left: 3px;
  width: 4px;
  height: 18px;
  background-color: #7E929A;
}

.bollard .wrap {
  position: absolute;
  top: 3px;
  left: 0;
  width: 10px;
  height: 3px;
  background-color: #4FB3BF;
}

.bollard .wrap-b {
  top: 9px;
}

.footer-zones {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 56px 24px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-left {
  max-width: 300px;
}

.footer-wordmark {
  font-size: 20px;
  letter-spacing: 0.18em;
  color: #CBD8DC;
  font-weight: 800;
  display: block;
  margin: 8px 0;
}

.footer-desc {
  color: #7E929A;
  font-size: 14px;
}

.footer-center {
  display: flex;
  gap: 50px;
}

.footer-group h4 {
  color: #C9922E;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-group a {
  display: block;
  color: #AEBFC5;
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-group a:hover {
  color: #4FB3BF;
}

.footer-right h4 {
  color: #C9922E;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-right p {
  color: #AEBFC5;
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-address {
  max-width: 300px;
}

.footer-legal {
  border-top: 1px solid #2A3940;
  text-align: center;
  padding: 22px 24px;
  color: #7E929A;
  font-size: 13px;
}

@media (max-width: 760px) {
  .footer-zones { flex-direction: column; }
  .footer-center { flex-direction: column; gap: 30px; }
}

/* =========================================================
   SECONDARY PAGE (services / contact)
   ========================================================= */
.page-main {
  background-color: #131A1E;
}

.page-hero {
  background-color: #131A1E;
  text-align: center;
  padding: 80px 24px 60px;
}

.page-headline {
  color: #CBD8DC;
  font-size: 44px;
  font-weight: 800;
  margin: 22px 0 16px;
}

.page-subcopy {
  max-width: 720px;
  margin: 0 auto;
  color: #7E929A;
  font-size: 18px;
}

.inner-fold {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* services */
.service-list {
  background-color: #131A1E;
}

.service-item {
  display: flex;
  gap: 28px;
  background-color: #1B262C;
  border: 1px solid #2A3940;
  border-radius: 6px;
  padding: 34px 30px;
  margin-bottom: 20px;
}

.service-num {
  flex: 0 0 auto;
  font-size: 30px;
  font-weight: 900;
  color: #C9922E;
}

.service-item h2 {
  color: #4FB3BF;
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 800;
}

.service-item p {
  color: #AEBFC5;
  font-size: 15.5px;
  margin-bottom: 12px;
}

@media (max-width: 760px) {
  .service-item { flex-direction: column; gap: 12px; }
}

/* process */
.process-band {
  background-color: #0C1114;
  max-width: none;
  padding: 80px 24px;
}

.process-title {
  color: #CBD8DC;
  font-size: 34px;
  text-align: center;
  font-weight: 800;
}

.process-lede {
  color: #7E929A;
  text-align: center;
  max-width: 620px;
  margin: 12px auto 40px;
}

.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.process-step {
  flex: 1 1 200px;
  background-color: #1B262C;
  border: 1px solid #2A3940;
  padding: 26px;
  border-radius: 6px;
}

.step-num {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background-color: #C9922E;
  color: #0C1114;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 14px;
}

.process-step h3 {
  color: #4FB3BF;
  font-size: 18px;
  margin-bottom: 6px;
}

.process-step p {
  color: #AEBFC5;
  font-size: 14.5px;
}

.lighting-cta {
  background-color: #131A1E;
  text-align: center;
  max-width: none;
  padding: 80px 24px;
}

/* contact */
.contact-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.contact-info {
  flex: 1 1 340px;
}

.contact-info h2 {
  color: #4FB3BF;
  font-size: 26px;
  margin-bottom: 20px;
}

.info-block h3 {
  color: #C9922E;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  margin-top: 18px;
}

.info-block p {
  color: #AEBFC5;
  font-size: 15.5px;
}

.contact-form-wrap {
  flex: 1 1 420px;
  background-color: #1B262C;
  border: 1px solid #2A3940;
  border-radius: 8px;
  padding: 30px;
}

.form-title {
  color: #CBD8DC;
  font-size: 24px;
  margin-bottom: 18px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  color: #7E929A;
  font-size: 13px;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  background-color: #0C1114;
  border: 1px solid #2A3940;
  color: #CBD8DC;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #4FB3BF;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  color: #4FB3BF;
  min-height: 20px;
}

/* FAQ */
.faq-section {
  max-width: 860px;
  margin: 60px auto;
  padding: 40px 24px;
}

.faq-title {
  color: #CBD8DC;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 800;
}

.faq-item {
  border: 1px solid #2A3940;
  background-color: #1B262C;
  border-radius: 6px;
  margin-bottom: 12px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #CBD8DC;
  font-size: 17px;
  font-weight: 700;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  color: #4FB3BF;
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: #AEBFC5;
  font-size: 15px;
}
