/*
Theme Name: Sørensen Berith Landing
Theme URI: https://stenaparom.top
Author: StenaParom Studio
Description: Unikt skandinavisk færge-landing-page-tema (dansk). Hurtigt, konverteringsoptimeret og klar til Google Ads. Datter-tema til GeneratePress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: generatepress
Text Domain: sorensen
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink: #1b2430;
  --ink-soft: #243040;
  --teal: #0e908e;
  --teal-dark: #0b7170;
  --teal-soft: #e4f2f1;
  --paper: #ffffff;
  --mist: #f3f4f6;
  --line: #e4e7ec;
  --text: #3a4350;
  --muted: #6b7684;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --shadow: 0 14px 40px rgba(27, 36, 48, 0.12);
  --container: 1180px;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }
::selection { background: var(--teal); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.4em;
}
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 113, 112, 0.25); }
.btn--teal { background: var(--teal); border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(27, 36, 48, 0.2); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   TOP BAR + HEADER
   ============================================================ */
.site-topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
}
.site-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-topbar a { color: #fff; }
.site-topbar a:hover { color: #9fe6e4; }
.topbar-phone { font-weight: 600; letter-spacing: 0.02em; }
.topbar-note { opacity: 0.75; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(27, 36, 48, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.brand-name span { color: var(--teal); }

.main-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--teal);
  transition: width 0.2s;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--teal-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--teal-dark); }
.header-phone svg { vertical-align: -2px; margin-right: 6px; }
.header-btn { padding: 12px 22px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background-color: #0e2a40;
  background-image: linear-gradient(135deg, rgba(10, 26, 40, 0.7) 0%, rgba(14, 45, 56, 0.52) 45%, rgba(11, 107, 106, 0.34) 100%), url('assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 84px;
}
.hero-copy { max-width: 640px; }
.hero-overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: #8fe0de;
  margin-bottom: 18px;
}
.hero-overline::before { content: ""; width: 34px; height: 2px; background: var(--teal); }
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 4.6vw, 56px);
  margin-bottom: 20px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.4);
}
.hero h1 em { font-style: normal; color: #ffffff; border-bottom: 3px solid #7fdcd9; padding-bottom: 2px; }
.hero-lead { font-size: 17px; color: rgba(255, 255, 255, 0.92); max-width: 560px; margin-bottom: 30px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 12px 44px;
  justify-content: start;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 26px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-num small { font-size: 19px; }
.stat-label { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.02em; }

/* Booking card */
.booking-card {
  background: var(--paper);
  color: var(--text);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.booking-card h3 { font-size: 24px; margin-bottom: 4px; }
.booking-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field select, .field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fbfcfd;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7684' d='M5 6 0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field select:focus, .field input:focus { outline: 2px solid rgba(14, 144, 142, 0.35); border-color: var(--teal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.booking-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.booking-note svg { flex: 0 0 auto; margin-top: 1px; }
.booking-success { text-align: center; padding: 18px 6px; }
.booking-success .big-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.booking-success h3 { margin-bottom: 8px; }
.booking-success p { font-size: 14.5px; color: var(--muted); }
.booking-success .btn { width: 100%; margin-top: 18px; }

/* wave divider */
.wave-divider { display: block; width: 100%; height: 60px; }
.wave-divider svg { display: block; width: 100%; height: 100%; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 92px 0; }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.overline {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.overline::before { content: ""; width: 30px; height: 2px; background: var(--teal); }
.section-head--center .overline::after { content: ""; width: 30px; height: 2px; background: var(--teal); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ============================================================
   CARDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 23px; }
.card .card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.chip {
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
}
.card p { color: var(--muted); font-size: 14.5px; }
.card .card-link {
  margin-top: auto; padding-top: 16px;
  font-weight: 700; font-size: 14px;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.card .card-link:hover { color: var(--teal-dark); }
.card .card-link .arrow { transition: transform 0.2s; }
.card .card-link:hover .arrow { transform: translateX(4px); }

/* ship card visual */
.ship-visual {
  height: 190px;
  position: relative;
  overflow: hidden;
}
.ship-visual--a { background: linear-gradient(rgba(11, 23, 33, 0.04), rgba(11, 23, 33, 0.28)), url('assets/img/ship-1.jpg') center/cover; }
.ship-visual--b { background: linear-gradient(rgba(11, 23, 33, 0.04), rgba(11, 23, 33, 0.28)), url('assets/img/ship-2.jpg') center/cover; }
.ship-visual--c { background: linear-gradient(rgba(11, 23, 33, 0.04), rgba(11, 23, 33, 0.28)), url('assets/img/ship-3.jpg') center/cover; }
.ship-visual .sun { position: absolute; right: 22px; top: 20px; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 140, 0.95), rgba(255, 214, 140, 0.2)); }
.ship-visual .ship { position: absolute; left: 0; right: 0; bottom: 0; }
.ship-visual .deck-line { position: absolute; bottom: 26px; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, 0.16); }
.route-tag {
  position: absolute; left: 16px; top: 16px;
  background: rgba(11, 23, 33, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* route cards */
.route-card { padding: 0; }
.route-card .route-top { padding: 24px 26px 0; }
.route-name { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.route-name .sep { color: var(--teal); margin: 0 6px; }
.route-meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.route-stats { display: flex; gap: 22px; padding: 14px 26px; border-top: 1px solid var(--line); }
.route-stat b { display: block; font-family: var(--serif); font-size: 21px; color: var(--teal-dark); }
.route-stat span { font-size: 12px; color: var(--muted); }
.route-card .card-link { padding: 18px 26px; border-top: 1px solid var(--line); margin-top: 0; }
.route-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-soft); color: var(--teal-dark);
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 30px;
}

/* destination cards */
.dest-card { position: relative; padding: 26px; }
.dest-flag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.dest-card h3 { font-size: 26px; margin-bottom: 8px; }
.dest-card p { font-size: 14.5px; }
.dest-card .card-link { margin-top: auto; }

/* ============================================================
   ONBOARD / WHY
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.check-list .check {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.onboard-visual { position: relative; border-radius: 12px; overflow: hidden; min-height: 380px; }
.onboard-visual--grad {
  background: linear-gradient(rgba(11, 23, 33, 0.04), rgba(11, 23, 33, 0.2)), url('assets/img/onboard.jpg') center/cover;
  display: flex; align-items: flex-end; justify-content: center;
}
.onboard-visual .wake { position: absolute; bottom: 24px; left: 10%; width: 80%; opacity: 0.85; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.why-item { text-align: center; padding: 34px 24px; }
.why-icon {
  width: 62px; height: 62px; margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--teal-soft); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { font-size: 20px; margin-bottom: 8px; }
.why-item p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.newsletter {
  background: var(--ink);
  border-radius: 14px;
  color: #fff;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.newsletter h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.newsletter p { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; margin: 0; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--teal); }
.newsletter-success { font-size: 14.5px; color: #8fe0de; font-weight: 600; }

/* ============================================================
   PAGE TEMPLATE (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0e2a40 0%, #123f4c 60%, #0e908e 140%);
  color: #fff;
  padding: 74px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 48px); margin: 0; }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 620px; margin: 14px 0 0; }
.page-body { padding: 72px 0 96px; }
.page-body .content { max-width: 820px; }
.page-body .content h2 { font-size: 30px; margin-top: 1.4em; }
.page-body .content h3 { font-size: 22px; margin-top: 1.2em; }
.page-body .content ul { padding-left: 22px; }
.page-body .content li { margin-bottom: 8px; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 30px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-line .ci {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-soft); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-line b { display: block; font-size: 16.5px; color: var(--ink); }
.contact-line span { font-size: 14.5px; color: var(--muted); }
.contact-line a { font-weight: 600; }
.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form-card .booking-sub { margin-bottom: 20px; }
.contact-form-card textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 5px;
  background: #fbfcfd; font-family: var(--sans); font-size: 15px; color: var(--ink);
  resize: vertical; min-height: 120px;
}
.contact-form-card textarea:focus { outline: 2px solid rgba(14, 144, 142, 0.35); border-color: var(--teal); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: rgba(255, 255, 255, 0.62); font-size: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: #8fe0de; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 auto; margin-top: 3px; color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   MISC
   ============================================================ */
.cta-strip { text-align: center; }
.cta-strip h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-strip .btn { margin-top: 26px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 44px 36px; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 86vw); height: 100vh;
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(27, 36, 48, 0.18);
    transition: right 0.3s ease;
    padding: 90px 30px 30px;
    z-index: 95;
  }
  .main-nav.is-open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-nav a { font-size: 17px; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .newsletter-form { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .topbar-note { display: none; }
  .btn { width: 100%; justify-content: center; }
}
