:root {
    color-scheme: light;
    --ink: #142324;
    --muted: #5c6f70;
    --line: #dbe5e1;
    --paper: #f7faf8;
    --surface: #ffffff;
    --deep: #0d3b3e;
    --teal: #0f7771;
    --yellow: #e5b94b;
    --rust: #b85f3c;
    --shadow: 0 18px 50px rgba(8, 32, 35, 0.14);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 74px;
    padding: 12px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(13, 59, 62, 0.12);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 225px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 7px;
    background: var(--deep);
    color: white;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: stretch;
    gap: 2px;
    flex: 1;
}

.nav-group {
    position: relative;
}

.nav-group > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    color: #213738;
    font-size: 0.93rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-group > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.nav-group:hover > a,
.nav-group:focus-within > a {
    background: #eef5f3;
}

.nav-dropdown {
    position: absolute;
    z-index: 200;
    top: 100%;
    left: 0;
    display: grid;
    min-width: 310px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-link {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
}

.dropdown-link:hover {
    background: #f1f6f5;
}

.dropdown-link span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

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

.account-menu {
    position: relative;
}

.account-button,
.account-login {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--deep);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.account-button::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.account-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--deep);
    color: white;
    font-size: 0.72rem;
    font-weight: 900;
}

.account-dropdown {
    position: absolute;
    z-index: 210;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    width: 300px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.account-dropdown-header {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
}

.account-dropdown-header span {
    color: var(--muted);
    font-size: 0.82rem;
}

.account-dropdown form {
    margin: 6px 0 0;
}

.account-dropdown form button {
    width: 100%;
    min-height: 40px;
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--deep);
    font-weight: 800;
    cursor: pointer;
}

.phone-link,
.quote-link,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--deep);
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
}

.phone-link,
.secondary-button {
    background: white;
    color: var(--deep);
}

.quote-link,
.primary-button {
    background: var(--deep);
    color: white;
}

.secondary-button.on-dark {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.hero {
    position: relative;
    min-height: calc(100svh - 74px);
    display: grid;
    overflow: hidden;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(48px, 7vw, 96px) clamp(18px, 6vw, 82px);
    background: linear-gradient(90deg, rgba(7, 27, 29, 0.82), rgba(7, 27, 29, 0.42) 42%, rgba(7, 27, 29, 0.04) 74%);
}

.hero-content {
    width: min(760px, 100%);
    color: white;
}

.hero-content span,
.eyebrow,
.section-heading span,
.page-hero span,
.partner-grid span,
.editor-header span,
.preview-panel span {
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-content span {
    color: #f4d87f;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 5vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    line-height: 1.16;
    letter-spacing: 0;
}

h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus {
    outline: none;
}

p {
    color: var(--muted);
    line-height: 1.65;
}

.hero-content p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.16rem;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: white;
}

.trust-strip div {
    display: grid;
    gap: 2px;
    min-height: 92px;
    padding: 22px clamp(18px, 4vw, 56px);
    border-right: 1px solid var(--line);
}

.trust-strip strong {
    font-size: 1.45rem;
}

.trust-strip span {
    color: var(--muted);
    font-size: 0.92rem;
}

.section,
.calculator-panel,
.faq-section,
.admin-shell {
    padding: clamp(50px, 7vw, 96px) clamp(18px, 6vw, 82px);
}

.section-heading {
    max-width: 860px;
    margin-bottom: 30px;
}

.section-heading.compact {
    max-width: 680px;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.case-section {
    background: white;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.case-card {
    display: grid;
    grid-template-rows: 220px 1fr;
    overflow: hidden;
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-card {
    display: grid;
    grid-template-rows: 220px 1fr;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.service-card img,
.case-card img,
.page-hero img,
.preview-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card div,
.case-card div {
    padding: 18px;
}

.service-card span,
.case-card span {
    color: var(--rust);
    font-size: 0.78rem;
    font-weight: 800;
}

.service-card a,
.text-link,
.related-grid a {
    color: var(--deep);
    font-weight: 900;
}

.calculator-panel {
    background: #eaf2ef;
}

.calculator-grid,
.detail-grid,
.page-hero,
.split-band,
.admin-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: clamp(22px, 4vw, 48px);
    align-items: start;
}

.route-calculator-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.55fr);
}

.quote-contact-panel {
    display: grid;
    gap: 22px;
}

.quote-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.4fr);
    gap: 18px;
    align-items: start;
}

.detail-grid.single-column {
    grid-template-columns: minmax(0, 920px);
}

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

.quote-step {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(13, 59, 62, 0.12);
    border-radius: 8px;
}

.quote-step-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
}

.quote-step-heading span {
    color: var(--rust);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.quote-step-heading strong {
    font-size: 1.08rem;
}

.route-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.map-picker {
    display: grid;
    gap: 10px;
}

.map-picker-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.route-map {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #b7d0d2;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.42), transparent 44%),
        #8fc4ca;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
    cursor: crosshair;
}

.map-water,
.map-land,
.map-island,
.map-route-line,
.map-marker {
    position: absolute;
}

.map-water {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 36px 36px;
}

.map-land {
    z-index: 1;
    background: #d8e2cf;
    border: 1px solid rgba(75, 112, 80, 0.25);
}

.land-west {
    left: -10%;
    top: -8%;
    width: 34%;
    height: 112%;
    border-radius: 0 48% 44% 0;
}

.land-east {
    right: -18%;
    top: 16%;
    width: 32%;
    height: 76%;
    border-radius: 56% 0 0 52%;
}

.map-island {
    z-index: 2;
    background: #c8d9bf;
    border: 1px solid rgba(75, 112, 80, 0.28);
    box-shadow: 0 5px 18px rgba(35, 77, 81, 0.15);
}

.island-one {
    left: 44%;
    top: 30%;
    width: 18%;
    height: 11%;
    border-radius: 55% 45% 60% 40%;
    transform: rotate(-18deg);
}

.island-two {
    left: 60%;
    top: 55%;
    width: 13%;
    height: 9%;
    border-radius: 50%;
    transform: rotate(22deg);
}

.island-three {
    left: 36%;
    top: 66%;
    width: 11%;
    height: 8%;
    border-radius: 48% 52% 42% 58%;
}

.map-route-line {
    z-index: 3;
    left: 20%;
    top: 50%;
    width: 62%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(13, 59, 62, 0.35) 0 9px, transparent 9px 16px);
    transform: rotate(-15deg);
    transform-origin: left center;
}

.map-marker {
    z-index: 5;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 3px solid white;
    border-radius: 50% 50% 50% 0;
    background: var(--rust);
    box-shadow: 0 8px 22px rgba(8, 32, 35, 0.28);
    cursor: grab;
    transform: translate(-50%, -92%) rotate(-45deg);
}

.map-marker:active {
    cursor: grabbing;
}

.map-marker::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: white;
}

.map-picker-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.segmented-control {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    width: min(360px, 100%);
    padding: 4px;
    background: #dfeae6;
    border: 1px solid #c9d9d4;
    border-radius: 8px;
}

.segmented-control button {
    min-height: 40px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--deep);
    font-weight: 900;
    cursor: pointer;
}

.segmented-control button.selected {
    background: white;
    box-shadow: 0 5px 16px rgba(8, 32, 35, 0.12);
}

label {
    display: grid;
    gap: 7px;
    color: #243b3c;
    font-size: 0.92rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cddbd7;
    border-radius: 6px;
    background: white;
    color: var(--ink);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.check-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.check-grid input {
    width: 18px;
    min-height: 18px;
}

.included-section {
    background: white;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.included-grid div {
    padding: 16px;
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #243b3c;
    font-weight: 700;
    line-height: 1.45;
}

.example-section {
    background: #eef5f3;
}

.example-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.example-image-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.route-estimate,
.date-planner {
    margin-top: 16px;
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.route-estimate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 14px;
    align-items: center;
}

.route-estimate span {
    color: var(--rust);
    font-size: 1.3rem;
    font-weight: 900;
}

.route-estimate small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.date-planner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.date-chip-list {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.date-chip-list button {
    padding: 8px 10px;
    border: 1px solid #b8ccc7;
    border-radius: 99px;
    background: #f7faf8;
    color: var(--deep);
    font-weight: 800;
    cursor: pointer;
}

.quote-result,
.price-panel,
.contact-card,
.admin-browser,
.admin-editor,
.preview-panel {
    padding: 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 34px rgba(8, 32, 35, 0.08);
}

.service-estimator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    gap: clamp(22px, 4vw, 48px);
    align-items: start;
}

.service-selector {
    display: grid;
    gap: 10px;
}

.service-selector button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.service-selector button.selected,
.service-selector button:hover {
    border-color: var(--teal);
    box-shadow: 0 8px 24px rgba(8, 32, 35, 0.08);
}

.service-selector span {
    color: var(--rust);
    font-weight: 900;
}

.quote-result h3 {
    margin: 14px 0;
    font-size: 2.2rem;
}

.quote-summary {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.quote-summary strong {
    font-size: 1.25rem;
}

.quote-summary small,
.quote-option small {
    color: var(--muted);
    font-weight: 800;
}

.quote-option {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.quote-option + .quote-option {
    padding-top: 18px;
}

.quote-option:last-of-type {
    border-bottom: 0;
}

.quote-result dl,
.price-panel {
    display: grid;
    gap: 12px;
}

.quote-result dl div,
.price-panel div {
    display: grid;
    gap: 3px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

dt,
.price-panel small {
    color: var(--muted);
}

dd {
    margin: 0;
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 900;
}

.status-pill.ok {
    background: #dcefe6;
    color: #13543e;
}

.status-pill.warn {
    background: #fff0cf;
    color: #805a00;
}

.status-pill.neutral {
    background: #e7eef1;
    color: #36535a;
}

.resource-capacity {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.resource-capacity h4 {
    margin: 0;
}

.resource-capacity div {
    display: grid;
    gap: 4px;
    padding: 12px;
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.resource-capacity span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.page-hero {
    padding: clamp(44px, 6vw, 88px) clamp(18px, 6vw, 82px);
    background: white;
    align-items: center;
}

.page-hero img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.highlight-list,
.related-grid,
.location-grid,
.check-list {
    display: grid;
    gap: 10px;
}

.highlight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.highlight-list span,
.check-list div,
.related-grid a,
.location-card {
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
    text-decoration: none;
}

.location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-card {
    display: grid;
    gap: 8px;
}

.location-card span {
    color: var(--muted);
    line-height: 1.5;
}

.local-service-section {
    background: #f7faf8;
}

.local-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.local-service-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.local-service-card h3 {
    margin: 0;
    font-size: 1.08rem;
}

.local-service-card p,
.local-service-card ul {
    margin: 0;
}

.local-service-card ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: var(--muted);
}

.local-service-card a {
    color: var(--deep);
    font-weight: 900;
}

.quote-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.quote-checklist span {
    padding: 10px 12px;
    background: #eaf2ef;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #173738;
    font-size: 0.86rem;
    font-weight: 900;
}

.quote-boat-section {
    background: white;
}

.quote-boat-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 18px;
    align-items: stretch;
}

.quote-boat-feature,
.quote-proof-grid figure {
    margin: 0;
    overflow: hidden;
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.quote-boat-feature img,
.quote-proof-grid img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.quote-boat-feature img {
    aspect-ratio: 16 / 10;
}

.quote-proof-grid {
    display: grid;
    gap: 14px;
}

.quote-proof-grid img {
    aspect-ratio: 16 / 9;
}

.quote-boat-feature figcaption,
.quote-proof-grid figcaption {
    padding: 12px 14px;
    color: #2a4546;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.45;
}

.split-band,
.cta-band {
    background: white;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-list {
    display: grid;
    gap: 10px;
}

.process-list div {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f4f8f6;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.process-list strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: var(--yellow);
}

.faq-grid,
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

details,
.partner-grid article {
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(42px, 6vw, 72px) clamp(18px, 6vw, 82px);
}

.cta-band h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.narrow {
    max-width: 980px;
}

.intro {
    padding-bottom: 30px;
}

.intro h1 {
    max-width: 900px;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.intro p {
    max-width: 900px;
}

.contact-card {
    display: grid;
    gap: 12px;
}

.contact-card a {
    font-size: 1.35rem;
    font-weight: 900;
}

.admin-shell {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.admin-settings-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
    gap: 24px;
    align-items: start;
    padding: 32px clamp(18px, 6vw, 82px);
    background: #f7faf8;
    border-bottom: 1px solid var(--line);
}

.admin-settings-panel h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.setting-control {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.setting-control small {
    color: var(--muted);
    line-height: 1.45;
}

.admin-toolbar {
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 10px;
    margin: 18px 0;
}

.admin-list {
    display: grid;
    gap: 8px;
}

.admin-list button {
    display: grid;
    gap: 4px;
    padding: 12px;
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-align: left;
}

.admin-list button.selected {
    border-color: var(--teal);
    background: #e7f4f1;
}

.admin-list span {
    color: var(--muted);
    font-size: 0.84rem;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 18px;
    margin-bottom: 18px;
}

.editor-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.editor-actions form {
    margin: 0;
}

.save-message {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #e7f4f1;
    border: 1px solid #b6d8d0;
    border-radius: 7px;
    color: #173738;
    font-weight: 800;
}

.save-message.warning {
    background: #fff0cf;
    border-color: #e4c16f;
    color: #6f4a00;
}

.login-section {
    display: grid;
    place-items: center;
}

.login-panel {
    width: min(520px, 100%);
    padding: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.login-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.editor-fields .span-2 {
    grid-column: 1 / -1;
}

.preview-panel {
    margin-top: 18px;
}

.preview-panel img {
    max-height: 260px;
    border-radius: 8px;
}

.footer {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 22px;
    padding: 34px clamp(18px, 6vw, 82px);
    background: var(--deep);
    color: white;
}

.footer p,
.footer span {
    color: rgba(255, 255, 255, 0.72);
}

.footer a {
    display: block;
    margin-top: 5px;
    color: white;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .topbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }

    .nav-dropdown {
        min-width: 270px;
    }

    .service-card-grid,
    .case-grid,
    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .topbar {
        position: static;
        gap: 12px;
    }

    .brand {
        min-width: 0;
    }

    .top-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .phone-link,
    .quote-link {
        flex: 1;
    }

    .account-menu,
    .account-login {
        flex: 1 0 100%;
    }

    .account-button,
    .account-login {
        width: 100%;
        justify-content: center;
    }

    .account-dropdown {
        left: 0;
        right: 0;
        width: 100%;
    }

    .hero {
        min-height: 760px;
    }

    .hero-overlay {
        align-items: end;
        background: linear-gradient(0deg, rgba(7, 27, 29, 0.9), rgba(7, 27, 29, 0.2));
    }

    .trust-strip,
    .service-card-grid,
    .case-grid,
    .included-grid,
    .example-image-grid,
    .local-service-grid,
    .quote-boat-layout,
    .service-estimator-grid,
    .calculator-grid,
    .quote-contact-grid,
    .detail-grid,
    .page-hero,
    .split-band,
    .location-grid,
    .faq-grid,
    .partner-grid,
    .admin-shell,
    .admin-settings-panel,
    .footer {
        grid-template-columns: 1fr;
    }

    .form-grid,
    .check-grid,
    .route-picker-grid,
    .map-picker-toolbar,
    .highlight-list,
    .date-planner {
        grid-template-columns: 1fr;
    }

    .route-map {
        min-height: 250px;
    }

    .cta-band {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-toolbar {
        grid-template-columns: 1fr;
    }
}
