* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { background: #0b1c2d; color: #ffffff; line-height: 1.6; }
a { color: inherit; }
p { color: #e0e6ec; }
section { padding: 70px 8%; background: #0b1c2d; border-top: 1px solid rgba(255,255,255,0.08); }
h1,h2,h3 { color:#ffffff; }

.top-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(11, 28, 45, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.top-nav-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 12px 8%;
  flex-wrap: wrap;
}
.top-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.9;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.top-nav a:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}
.top-nav a.active {
  opacity: 1;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

.hero { position: relative; height: 70vh; background: url("hero.jpg") center/cover no-repeat; overflow: hidden; }
.hero::after { content:""; position:absolute; inset:0; background: rgba(11, 28, 45, 0.45); z-index:1; }
.hero-logo { position:absolute; top:22px; right:22px; z-index:3; max-width:220px; height:auto; }
.hero-text { position:absolute; inset:0; z-index:2; display:flex; align-items:center; justify-content:center; padding:20px; }
.hero-text > div { text-align:center; max-width:900px; margin:0 auto; }
.hero-text h1 { font-size:3rem; line-height:1.1; }
.hero-text p { margin-top:15px; font-size:1.2rem; opacity:0.92; color:#e0e6ec; }

.brand-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 44px 8%;
  background: #0b1c2d;
}

.brand-btn {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  display: block;
}
.brand-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.25); }
.brand-btn img { max-width: 140px; max-height: 60px; filter: grayscale(100%) contrast(120%); mix-blend-mode: multiply; }

.section-intro { text-align:center; padding: 40px 8% 30px; }
.section-intro h2 { font-size:2rem; margin-bottom:12px; }
.section-intro p { max-width:980px; margin:0 auto; line-height:1.7; font-size:1.08rem; }

.card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  padding: 28px;
  margin-top: 18px;
}
.card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.card p { white-space: pre-line; }

.figure {
  margin-top: 18px;
}
.figure img{
  width: 100%;
  height: auto;              /* IMPORTANT: no crop */
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  display:block;
}
.caption { margin-top: 10px; font-size: 0.95rem; color: rgba(224,230,236,0.9); }

.service-list{
  list-style:none; padding-left:0; margin-top:18px; max-width:980px;
}
.service-list li{
  padding:12px 14px; margin-top:10px;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px; background: rgba(255,255,255,0.03);
  color:#e0e6ec;
}
.service-list strong{ color:#fff; }

.product-hero { padding: 52px 8%; background:#0b1c2d; }
.product-hero h1 { font-size: 2.6rem; }
.product-hero p { max-width: 980px; margin-top: 12px; white-space: pre-line; }

.product-image {
  display:block;
  margin-top:22px;
  width:100%;
  max-width:980px;
  height:auto;               /* IMPORTANT: no crop */
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
}

footer{
  background:#071421;
  padding: 50px 8%;
  text-align:center;
  color:#e0e6ec;
}
footer h2 { font-size:2rem; margin-bottom:12px; }
footer p { max-width:980px; margin: 0 auto; }
.footer-small { margin-top: 30px; font-size: 0.95em; }
.muted { opacity: 0.75; font-size: 0.85em; margin-top: 14px; }

@media (max-width: 980px){
  .hero-text h1 { font-size: 2.2rem; }
  .hero-logo { max-width: 170px; }
  .brand-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 44px 8%;
  background: #0b1c2d;
}

}

/* CASE-STUDY GRID (used for engineering deep dive) */
.case-study {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  margin-top: 24px;
}
.case-study h3 { margin-bottom: 10px; font-size: 1.3rem; }
.case-study p { margin-top: 10px; color: #e0e6ec; max-width: none; white-space: normal; }

.deepdive-image{
  width: 100%;
  max-width: 520px;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 980px){
  .case-study { grid-template-columns: 1fr; }
  .deepdive-image { max-width: 100%; height: 320px; }
}


/* Language toggle (EN/DA) */
.top-nav-inner{ position: relative; }
.lang-switch{
  position:absolute;
  right:120px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  gap:8px;
  font-weight:600;
}
.lang-switch a{
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.lang-switch a:hover{
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  opacity: 1;
}
.lang-switch a.active{
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  opacity: 1;
}
.lang-switch .sep{ opacity: 0.6; }
@media (max-width: 980px){
  .lang-switch{
  position:absolute;
  right:120px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  gap:8px;
  font-weight:600;
}
}


/* Nav brand logo (Option B: right) */
.top-nav-inner{ position: relative; }
.nav-brand{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.nav-brand:hover{
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}
.nav-brand img{
  height: 30px;
  width: auto;
  display: block;
}

/* Move language toggle left so it doesn't overlap the logo */
.lang-switch{
  position:absolute;
  right:120px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  gap:8px;
  font-weight:600;
}

@media (max-width: 980px){
  .nav-brand img{ height: 26px; }
  .lang-switch{
  position:absolute;
  right:120px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  gap:8px;
  font-weight:600;
}
}

/* Maretron logo vertical nudge only */
.brand-btn.maretron img{
  margin-top: 12px; /* ~15% visual nudge */
}


/* Embedded video */
.video-wrap{
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  background: #000;
}
.video-wrap iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}


/* Centered hero logo (front page only) */
.hero-logo-centered{
  display:block;
  margin: 0 auto 18px;
  width: min(60vw, 360px);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
@media (max-width: 900px){
  .hero-logo-centered{ width: min(70vw, 280px); }
}

/* Bluewater tile emphasis */
.brand-btn.bluewater img { transform: scale(1.30); }
.brand-btn.bluewater .brand-label { font-size: 0.70rem !important; line-height: 1.0 !important; font-weight: 500 !important; }



/* === Real Cruising Installations layout (proof-first) === */
.installations-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.installation {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
  padding: 22px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  /* Frame */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset;
}

.installation-text h3 {
  margin-bottom: 10px;
}

.installation-text p {
  margin-top: 8px;
  max-width: 64ch;
}

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

.installation-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
}

.installation-media .caption {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.92;
}

@media (max-width: 980px) {
  .installation {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .installation-media img {
    max-width: 100%;
    height: auto;
  }
}
/* === End Real Cruising Installations layout === */


/* Footer brand bar */
.brand-row-footer{
  margin: 32px 8% 0 8%;
  padding: 18px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
}


/* Text tile inside brand row */
.brand-text{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-weight:700;
  font-size:12px;
  line-height:1.05;
  letter-spacing:0.10em;
  text-align:center;
  color:#0b0b0b;
}


