/* Baltic Horizon Cruises — korvessa.top */
:root {
  --navy: #0b1f33;
  --navy-mid: #123047;
  --navy-soft: #1a3a52;
  --gold: #c4a35a;
  --gold-hover: #b08d45;
  --cream: #f7f5f1;
  --sand: #ebe6dc;
  --mist: #e8f0f5;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #4a5568;
  --border: rgba(11, 31, 51, 0.1);
  --shadow: 0 12px 40px rgba(11, 31, 51, 0.08);
  --radius: 14px;
  --max: 1160px;
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-hover);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo svg {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text span:first-child {
  font-size: 0.95rem;
}

.logo-text span:last-child {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--mist);
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 72vh, 680px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 31, 51, 0.35) 0%,
    rgba(11, 31, 51, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  opacity: 0.92;
  margin: 0 0 1.75rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark a {
  color: var(--gold);
}

.section-mist {
  background: var(--mist);
}

.section-sand {
  background: var(--sand);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.25;
  color: inherit;
}

.section-header p {
  margin: 0;
  color: inherit;
  opacity: 0.88;
}

.section-dark .section-header p {
  opacity: 0.8;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  margin: 2.25rem 0 0.85rem;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
  color: var(--navy-mid);
}

.section-dark .prose h3 {
  color: var(--gold);
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(11, 31, 51, 0.12);
}

.card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.card-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--navy-mid);
}

.card-link::after {
  content: " →";
}

/* Page header (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0 2.75rem;
}

.page-hero .breadcrumbs {
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.page-hero p {
  margin: 0;
  max-width: 640px;
  opacity: 0.88;
  font-size: 1.05rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.55;
}

.breadcrumbs a {
  text-decoration: none;
  color: inherit;
}

.page-hero .breadcrumbs,
.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumbs a:hover {
  color: var(--gold);
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.split-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  margin: 0 0 1rem;
}

.split-content p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Stats / highlights — no fake counters, just info chips */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.highlight {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.highlight strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.highlight span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 520px;
  opacity: 0.88;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 1rem;
  font-weight: 500;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  margin-bottom: 1rem;
  background: var(--cream);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: var(--mist);
  border: 1px solid rgba(18, 48, 71, 0.15);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* FAQ */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item h2 {
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* Legal */
.legal .prose {
  max-width: 820px;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.footer-brand a {
  color: var(--gold);
  text-decoration: none;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.4rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  opacity: 0.8;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  max-width: 520px;
  margin-inline: auto;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(11, 31, 51, 0.25);
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-banner a {
  color: var(--navy-mid);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
}

.btn-ghost {
  background: var(--sand);
  color: var(--navy);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--mist);
  color: var(--navy);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-2 {
  margin-top: 2rem;
}

.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid,
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
  }

  .logo-text span:first-child {
    font-size: 0.88rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 12px 24px rgba(11, 31, 51, 0.08);
  }

  .site-nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.75rem 0.85rem;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 560px) {
  .card-grid,
  .card-grid-3,
  .highlights {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .card-img img,
  .btn,
  .nav-toggle span {
    transition: none;
  }
}
