/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 0.97rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); box-shadow: var(--shadow); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--ocean-soft); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); text-decoration: underline; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn-row.center { justify-content: center; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--white); cursor: pointer; text-decoration: none; }
.link-button:hover { text-decoration: underline; }

/* Cards */
.card-grid { display: grid; gap: 28px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-2); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card .meta { font-size: 0.86rem; color: var(--muted); }
.feature { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.feature-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--ocean-soft); color: var(--navy); font-size: 1.5rem; margin-bottom: 16px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Notices */
.notice { background: var(--ocean-soft); border-left: 4px solid var(--ocean); border-radius: 10px; padding: 16px 20px; margin: 0 0 1.5em; }
.notice-strong { background: var(--sand); border-left-color: var(--navy); }
.notice p:last-child { margin-bottom: 0; }

/* Check list */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin: 10px 0; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--ocean); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--grey); border-radius: var(--radius); padding: 0 22px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.faq-item[open] { background: var(--white); border-color: var(--grey-2); box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--ocean); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding-bottom: 18px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy), var(--ocean)); color: var(--white); text-align: center; }
.cta h2 { color: var(--white); }
.cta p { opacity: .9; }

/* Table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--grey-2); vertical-align: top; }
th { background: var(--grey); color: var(--navy); }

/* Route map */
.route-map svg { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.map-sea { fill: #cfe7f1; }
.map-land { fill: #efe3c6; stroke: #d9c79d; stroke-width: 2; }
.map-harbour { fill: #b9dceb; }
.map-route { stroke: var(--navy); stroke-width: 4; stroke-dasharray: 8 6; }
.map-pin { fill: var(--navy); stroke: var(--white); stroke-width: 3; }
.map-label { font: 700 20px var(--font-sans); fill: var(--navy); }
.map-water { font: italic 18px var(--font-serif); fill: #2a6b88; }
.map-small { font: 14px var(--font-sans); fill: #3d5368; }

/* Contact */
.contact-card { background: var(--grey); border-radius: var(--radius); padding: 22px 24px; }
.form-card { background: var(--white); border: 1px solid var(--grey-2); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--grey-2); border-radius: 10px; font: inherit; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(31,122,156,.18); }
.field.has-error input, .field.has-error textarea { border-color: #b42318; }
.field-error { color: #b42318; font-size: 0.85rem; margin: 6px 0 0; min-height: 0; }
.checkbox-field { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checkbox-field input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--navy); }
.checkbox-field label { font-weight: 400; color: var(--text); }
.checkbox-field .field-error { grid-column: 2; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; border-radius: 10px; }
.form-status.success { background: #e7f6ec; color: #11633a; padding: 14px 16px; }
.form-status.error { background: #fdecea; color: #8a1c13; padding: 14px 16px; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300; max-width: 980px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 20px 50px -12px rgba(11,37,69,.35); padding: 22px 26px; display: flex; gap: 22px; align-items: center; border: 1px solid var(--grey-2); }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.93rem; flex: 1; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-modal { position: fixed; inset: 0; z-index: 400; background: rgba(11,37,69,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal-card { background: var(--white); border-radius: var(--radius-lg); max-width: 560px; width: 100%; padding: 30px; box-shadow: var(--shadow); max-height: 90vh; overflow: auto; }
.cookie-cat { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--grey-2); }
.cookie-cat p { margin: 4px 0 0; font-size: 0.88rem; color: var(--muted); }
.cookie-cat input { width: 22px; height: 22px; accent-color: var(--navy); flex-shrink: 0; margin-top: 4px; }
.cookie-modal .cookie-actions { margin-top: 20px; }
