/* Shore & Sea Survey — site styles */
:root {
  --brand: #336699;
  --brand-dark: #163F66;
  --brand-deep: #0F2E4D;
  --cyan: #05C5E6;
  --cyan-text: #7FDDF0;
  --link: #1F6A93;
  --ink: #163F66;
  --muted: #3B5670;
  --line: #DDE7EF;
  --line-strong: #B9CCDB;
  --tint: #EEF6FA;
  --surface: #F5F9FC;
  --green: #178A4C;
  --radius: 12px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--head); margin: 0; color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
section[id], main { scroll-margin-top: 80px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin-bottom: 12px; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; }
.h2-sm { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); max-width: 600px; }
.lead-sm { font-size: 17px; line-height: 1.6; color: var(--muted); font-style: normal; margin-top: 16px; }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--brand); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 800 18px var(--head); color: var(--brand); }
.brand-sub { font: 600 10px var(--head); letter-spacing: .06em; color: #1F7F9C; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: #fff; border-radius: 10px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,46,77,.08); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
}
@media (max-width: 380px) { .brand-name { font-size: 15px; } .brand-sub { font-size: 9px; } }

/* Hero */
.hero { background: var(--tint); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy .eyebrow { margin: 0; }
h1 { font-weight: 800; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.05; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid #CFE0EB; }
.stats div { display: flex; flex-direction: column; }
.stats dt { font: 800 28px var(--head); color: var(--brand); }
.stats dd { margin: 0; font-size: 14px; color: var(--muted); }
.hero-art { display: flex; justify-content: center; }
.hero-disc { width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1px solid #CFE0EB; display: flex; align-items: center; justify-content: center; }
.hero-disc img { width: 78%; height: 78%; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero-art { order: -1; }
  .hero-disc { width: 180px; }
}

/* Sections */
.section { padding: 88px 0; }
.section-dark { background: var(--brand-dark); color: #fff; }
.section-dark .eyebrow { color: var(--cyan-text); }
.section-dark .prose, .section-dark .lead-sm { color: #D6E3EE; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 40px; }
@media (max-width: 600px) { .section { padding: 64px 0; } }

/* Services */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.card h3 { font-weight: 700; font-size: 20px; }
.icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }
@media (max-width: 760px) { .card-grid { grid-template-columns: 1fr; } .card { padding: 22px; } }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.split-book { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); }
.prose { display: grid; gap: 20px; font-size: 17px; line-height: 1.7; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 6px; }
.pillars div { border-top: 3px solid var(--cyan); padding-top: 14px; }
.pillars h3 { font-size: 17px; color: #fff; margin-bottom: 6px; }
.pillars p { font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .split, .split-book { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Booking */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 14px; }
.steps span { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.panel { background: #fff; border: 1px solid #D3E2EC; border-radius: 16px; padding: clamp(20px, 3vw, 36px); }
#booking-form { display: grid; gap: 22px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: 700 16px var(--head); padding: 0; margin-bottom: 12px; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; }
.method, .slot { position: relative; cursor: pointer; }
.method input, .slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.method span { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 76px; padding: 14px 16px; border: 2px solid #D3E2EC; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s, background .15s; }
.method:hover span, .slot:hover span { border-color: var(--line-strong); }
.method input:checked + span, .slot input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.method input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.method-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.schedule { align-items: start; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.req { color: #B42318; }
.field input, .field select, .field textarea { font: 400 16px var(--body); color: var(--ink); padding: 12px 14px; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(5,197,230,.35); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: #B42318; }
.slots legend { font: 600 14px var(--body); margin-bottom: 6px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 2px solid #D3E2EC; border-radius: 8px; font-weight: 600; font-size: 15px; background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FEF3F2; color: #912018; border: 1px solid #FDA29B; padding: 12px 14px; border-radius: 8px; font-size: 15px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-foot .small { flex: 1 1 240px; }
@media (max-width: 600px) { .form-foot .btn { width: 100%; } }

.confirm { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.confirm:focus { outline: none; }
.confirm-icon { width: 56px; height: 56px; border-radius: 50%; background: #E3F5EC; display: flex; align-items: center; justify-content: center; }
.confirm h3 { font-size: 26px; font-weight: 800; }
.confirm p { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Quality */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.ticks { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card { border: 1px solid #2E5880; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.contact-card a { color: var(--cyan-text); padding: 4px 0; overflow-wrap: anywhere; }
.contact-card a:hover { color: #fff; }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.footer-inner img { width: 110px; }
.footer-inner .small { display: grid; gap: 4px; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(15,46,77,.25); }
.wa-float:hover { background: #12703D; }

/* ===== SEO pages: language switch, service pages, FAQ, footer links ===== */
.site-nav a.lang-switch { font-size: 14px; font-weight: 600; color: var(--link); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; text-decoration: none; min-height: 20px; }
.site-nav a.lang-switch:hover { border-color: var(--brand); color: var(--brand-dark); }
@media (max-width: 860px) {
  .site-nav a.lang-switch { text-align: center; padding: 12px; margin-top: 12px; border-bottom: 1px solid var(--line-strong); }
}
.card ul a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.card ul a:hover { color: var(--brand-dark); text-decoration-color: var(--brand); }

.page-hero { background: var(--tint); padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 8px 0 16px; max-width: 880px; }
.page-hero .btn-row { margin-top: 24px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--link); }

.service-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.service-main { display: grid; gap: 20px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.service-main h2 { color: var(--ink); margin-top: 20px; }
.service-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; display: grid; gap: 14px; }
.aside-card h2 { font-size: 20px; font-weight: 800; }
.aside-card p { color: var(--muted); }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-card ul a, .aside-card > a:not(.btn) { padding: 6px 0; display: inline-block; }
@media (max-width: 860px) { .service-layout { grid-template-columns: 1fr; gap: 40px; } .service-aside { position: static; } }

.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band { padding: 64px 0; }
.cta-band h2 { font-size: clamp(26px, 3vw, 34px); }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: #5B7A99; }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }

.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; margin-top: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--ink); padding: 16px 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding: 0 18px 18px; color: var(--muted); line-height: 1.7; font-size: 16px; }

.footer-links { display: grid; gap: 8px; font-size: 14px; }
.footer-links strong { font-family: var(--head); color: var(--ink); }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a { color: var(--muted); padding: 3px 0; display: inline-block; }
.footer-links a:hover { color: var(--brand-dark); }
