/* ============================================================
   605 Marine Co — Section styles
   Services index · About/stats · Coverage · Testimonials · Contact
   ============================================================ */

.section { padding: 120px 0; }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08; letter-spacing: -0.008em; color: var(--navy-900); margin: 18px 0 0; }
.section-lede { font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.5;
  color: var(--stone-600); margin: 18px 0 0; }

/* ============================================================
   SERVICES — interactive editorial index
   ============================================================ */
#services { background: var(--ivory-50); }
.services-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 64px; align-items: start; }

.svc-list { border-top: 1px solid var(--stone-200); }
.svc-item { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 22px;
  padding: 26px 8px 26px 4px; border-bottom: 1px solid var(--stone-200); cursor: pointer;
  position: relative; transition: padding .35s var(--ease-sail); }
.svc-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); opacity: .07; transition: width .4s var(--ease-sail); z-index: 0; }
.svc-item:hover, .svc-item.active { padding-left: 22px; }
.svc-item.active::before { width: 100%; }
.svc-num { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; position: relative; z-index: 1; }
.svc-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.3vw, 30px); color: var(--navy-900); line-height: 1.15; position: relative; z-index: 1; transition: color .25s; }
.svc-item:hover .svc-name, .svc-item.active .svc-name { color: var(--accent); }
.svc-desc { font-size: 14.5px; color: var(--stone-600); line-height: 1.5; margin: 7px 0 0; max-width: 360px; position: relative; z-index: 1; }
.svc-arrow { font-family: var(--font-body); font-size: 18px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease-sail); position: relative; z-index: 1; align-self: center; }
.svc-item:hover .svc-arrow, .svc-item.active .svc-arrow { opacity: 1; transform: none; }

.svc-preview { position: sticky; top: 120px; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden;
  background: var(--navy-900); box-shadow: var(--shadow-md); }
.svc-preview .pv { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease-sail); }
.svc-preview .pv.show { opacity: 1; }
.svc-preview .pv img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s var(--ease-sail); }
.svc-preview .pv.show img { transform: scale(1.12); }
.svc-preview .pv-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,39,64,0) 40%, rgba(26,39,64,0.72) 100%); }
.svc-preview .pv-cap { position: absolute; left: 28px; right: 28px; bottom: 26px; color: #fff; z-index: 2; }
.svc-preview .pv-cap .k { font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--harbour-300); }
.svc-preview .pv-cap .h { font-family: var(--font-display); font-weight: 600; font-size: 27px; margin-top: 7px; }

/* ============================================================
   ABOUT / WHY 605 — with animated counters
   ============================================================ */
#about { background: var(--ivory-100); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-copy p { font-size: 18px; line-height: 1.7; color: var(--fg); margin: 0 0 20px; }
.about-copy p.first::first-letter { font-family: var(--font-display); font-size: 64px; line-height: .8; float: left; padding: 6px 14px 0 0; color: var(--navy-900); }
.about-sign { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--stone-600); margin-top: 26px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--stone-200); border: 1px solid var(--stone-200); border-radius: 6px; overflow: hidden; }
.stat { background: var(--ivory-50); padding: 38px 30px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4.6vw, 60px); color: var(--navy-900); line-height: 1; letter-spacing: -0.01em; }
.stat-num .suffix { color: var(--accent); }
.stat-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-600); margin-top: 12px; }

/* ============================================================
   COVERAGE — animated harbour route diagram (navy)
   ============================================================ */
#coverage { background: var(--navy-900); color: var(--ivory-50); position: relative; overflow: hidden; }
#coverage .eyebrow-rule { color: var(--harbour-300); }
#coverage .section-title { color: #fff; }
#coverage .section-lede { color: var(--fg-on-dark-muted); }
.coverage-map { margin-top: 60px; position: relative; }
.coverage-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.route-bed { fill: none; stroke: rgba(167,200,221,0.18); stroke-width: 2; }
.route-line { fill: none; stroke: var(--harbour-300); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 3.2s var(--ease-sail); }
.coverage-map.drawn .route-line { stroke-dashoffset: 0; }
.port { opacity: 0; transition: opacity .6s var(--ease-sail); }
.coverage-map.drawn .port { opacity: 1; }
.port-dot { fill: var(--ivory-50); }
.port-ring { fill: none; stroke: var(--harbour-300); stroke-width: 1.5; transform-origin: center; }
.coverage-map.drawn .port-ring { animation: ping 3s ease-out infinite; }
@keyframes ping { 0%{ r: 7; opacity: .9;} 70%,100%{ r: 20; opacity: 0;} }
.port-label { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; fill: #fff; }
.port-sub { font-family: var(--font-body); font-size: 10px; letter-spacing: 0.12em; fill: var(--harbour-300); }
.boat-marker { offset-path: var(--mp); offset-rotate: auto; animation: sail 14s linear infinite; }
.coverage-map.drawn .boat-marker { opacity: 1; }
@keyframes sail { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .boat-marker, .port-ring { animation: none; } .route-line { transition: none; stroke-dashoffset: 0; } }
.coverage-foot { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14); }
.coverage-foot .cf { max-width: 260px; }
.coverage-foot .cf .k { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--harbour-300); margin-bottom: 10px; }
.coverage-foot .cf p { font-size: 15px; line-height: 1.6; color: var(--fg-on-dark); margin: 0; opacity: .9; }
#proof .coverage-foot { border-top-color: var(--stone-200); }
#proof .coverage-foot .cf .k { color: var(--accent); }
#proof .coverage-foot .cf p { color: var(--fg); opacity: 1; }
.proof-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center center; border-radius: 6px; display: block; margin-bottom: 18px; }

/* ============================================================
   TESTIMONIALS — crossfade carousel
   ============================================================ */
#testimonials { background: var(--ivory-50); text-align: center; }
.quotes { max-width: 880px; margin: 56px auto 0; position: relative; min-height: 300px; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-sail), transform .8s var(--ease-sail); pointer-events: none; }
.quote.show { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.quote .mark { font-family: var(--font-display); font-size: 80px; line-height: .5; color: var(--accent-soft); height: 40px; display: block; }
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.34; color: var(--navy-900); margin: 24px 0 0; letter-spacing: -0.005em; }
.quote .by { margin-top: 28px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-600); }
.quote .by b { color: var(--navy-900); font-weight: 600; }
.quote .by .vessel { color: var(--accent); }
.quote-dots { display: flex; gap: 10px; justify-content: center; margin-top: 44px; }
.quote-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--stone-200); cursor: pointer; padding: 0; transition: all .3s; }
.quote-dots button.active { background: var(--navy-800); width: 26px; border-radius: 4px; }

/* ============================================================
   CONTACT / ENQUIRY
   ============================================================ */
#contact { background: var(--ivory-100); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.contact-aside .section-title { margin-top: 16px; }
.contact-aside .lede2 { font-size: 17px; line-height: 1.7; color: var(--fg); margin: 22px 0 0; max-width: 360px; }
.contact-points { margin-top: 34px; display: flex; flex-direction: column; gap: 2px; }
.contact-point { padding: 16px 0; border-bottom: 1px solid var(--stone-200); display: flex; flex-direction: column; gap: 3px; }
.contact-point .k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-400); }
.contact-point .v { font-family: var(--font-display); font-size: 19px; color: var(--navy-900); }

.enquiry { background: var(--ivory-50); border: 1px solid var(--stone-200); border-radius: 8px; padding: 40px; }
.enquiry .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-600); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--navy-900);
  background: var(--white); border: 1px solid var(--stone-200); border-radius: 2px; padding: 13px 14px;
  outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2322304A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.enquiry .btn { width: 100%; margin-top: 6px; }
.enquiry .form-note { font-size: 12px; color: var(--stone-400); text-align: center; margin: 16px 0 0; letter-spacing: 0.04em; }
.enquiry-sent { text-align: center; padding: 30px 10px; }
.enquiry-sent .ico { width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 24px; }
.enquiry-sent h3 { font-family: var(--font-display); font-size: 28px; color: var(--navy-900); margin: 0 0 10px; }
.enquiry-sent p { font-size: 15px; color: var(--stone-600); margin: 0; line-height: 1.6; }

@media (max-width: 920px) {
  .section { padding: 84px 0; }
  .services-layout { grid-template-columns: 1fr; gap: 36px; }
  .svc-preview { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .enquiry { padding: 28px; }
  .enquiry .form-row { grid-template-columns: 1fr; gap: 0; }
  .coverage-foot { gap: 32px; }
}
