:root {
  --color-bg: #edf3f6;
  --color-surface: #ffffff;
  --color-surface-muted: #e8f0f4;
  --color-text: #122833;
  --color-muted: #35515f;
  --color-primary: #0b5f7f;
  --color-primary-strong: #063b50;
  --color-accent: #f4ca73;
  --color-accent-strong: #e9b94f;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 8px 18px rgba(7, 30, 41, 0.09);
  --shadow-md: 0 16px 34px rgba(7, 30, 41, 0.13);
  --shadow-lg: 0 24px 52px rgba(6, 25, 36, 0.18);
  --focus-ring: 0 0 0 4px rgba(11, 95, 127, 0.22);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at 8% 8%, rgba(11, 95, 127, 0.14), transparent 44%),
    radial-gradient(circle at 86% 16%, rgba(244, 202, 115, 0.26), transparent 42%),
    linear-gradient(180deg, #f4f8fa 0%, #edf3f6 42%, #e9f0f4 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0 0 0.65rem;
  font-family: "Sora", "Manrope", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.55rem, 2.1vw, 2.1rem);
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

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

ul {
  margin: 0;
  padding-left: 1.1rem;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 2200;
  background: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1400;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(245, 250, 252, 0.9), rgba(243, 248, 251, 0.78));
  border-bottom: 1px solid rgba(11, 95, 127, 0.16);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-muted);
  padding: 0.42rem 0.64rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 220ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--color-primary-strong);
  background: rgba(11, 95, 127, 0.08);
  border-color: rgba(11, 95, 127, 0.18);
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: 0.2rem;
}

.lang-switch a {
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border: 1px solid rgba(11, 95, 127, 0.3);
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  transition: 180ms ease;
}

.lang-switch a[aria-current="page"] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.lang-switch a:hover {
  border-color: rgba(11, 95, 127, 0.55);
}

.cta-link {
  background: linear-gradient(135deg, var(--color-primary), #1486ac);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.48rem 0.95rem !important;
  border: 0 !important;
  box-shadow: 0 10px 22px rgba(11, 95, 127, 0.28);
}

.cta-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(11, 95, 127, 0.34);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(11, 95, 127, 0.42);
  color: var(--color-primary-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-weight: 700;
  padding: 0.42rem 0.7rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(480px, 76vh, 760px);
  display: grid;
  align-items: end;
  color: #f2f8fb;
  background-image:
    linear-gradient(104deg, rgba(5, 28, 39, 0.82), rgba(5, 28, 39, 0.28)),
    url("../assets/img/course/1947.JPG");
  background-size: cover;
  background-position: center 44%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 34, 47, 0.16) 0%, rgba(8, 34, 47, 0.68) 100%),
    radial-gradient(circle at 82% 25%, rgba(244, 202, 115, 0.18), transparent 42%);
}

.hero-content {
  max-width: 760px;
  padding: clamp(2rem, 6vw, 4.8rem) 0 clamp(2.1rem, 6vw, 4.2rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
  color: #d8eaf2;
}

.hero-location {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #e8f6fb;
  font-weight: 700;
  font-size: 0.83rem;
  backdrop-filter: blur(5px);
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.85rem);
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: 0.9rem;
}

.hero-content p {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.08rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 200ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  color: #3a290d;
  box-shadow: 0 14px 26px rgba(244, 202, 115, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 18px 30px rgba(244, 202, 115, 0.42);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding: clamp(2.8rem, 5.6vw, 5.2rem) 0;
}

.section-accent {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 95, 127, 0.06), rgba(244, 202, 115, 0.1)),
    var(--color-bg);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.intro-stack {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 1.05rem;
  margin-bottom: 1.35rem;
}

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.98));
  border: 1px solid rgba(11, 95, 127, 0.16);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.teaser-panel {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(circle at 82% 12%, rgba(244, 202, 115, 0.36), transparent 38%),
    linear-gradient(136deg, #032f44 0%, #0a5f80 44%, #1a8db2 100%);
  color: #f0fbff;
}

.teaser-panel::before {
  border-color: rgba(255, 255, 255, 0.24);
}

.teaser-panel > * {
  position: relative;
  z-index: 2;
}

.teaser-kicker {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(225, 245, 252, 0.92);
}

.teaser-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  line-height: 1.1;
  color: #ffffff;
  text-wrap: balance;
}

.teaser-text {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
  color: rgba(239, 252, 255, 0.95);
  line-height: 1.75;
  max-width: 56ch;
}

.facts-panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #ffffff, #f6fbfd);
}

.facts-panel h3 {
  margin-bottom: 0.6rem;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
}

.facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.facts-list li {
  background: linear-gradient(180deg, #f2f8fb, #e9f2f7);
  border: 1px solid rgba(11, 95, 127, 0.14);
  border-left: 4px solid rgba(11, 95, 127, 0.6);
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.72rem;
  font-size: 0.95rem;
}

.split .panel h2 {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 0.9rem;
}

.split .panel h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

.boat-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 1rem;
  align-items: start;
}

.boat-copy {
  background: linear-gradient(180deg, #ffffff, #f6fafc);
}

.boat-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.85rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.boat-specs li {
  background: var(--color-surface-muted);
  border: 1px solid rgba(11, 95, 127, 0.16);
  border-left: 4px solid rgba(11, 95, 127, 0.5);
  border-radius: var(--radius-sm);
  padding: 0.58rem 0.7rem;
  font-size: 0.93rem;
}

.boat-source {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.boat-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.boat-gallery .gallery-card img {
  aspect-ratio: 16 / 10;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.timeline-item {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1rem;
  border-top: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

details {
  background: linear-gradient(180deg, #f4f9fb, #eaf2f6);
  border: 1px solid rgba(11, 95, 127, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.84rem;
  margin-bottom: 0.56rem;
}

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

.section-intro {
  margin-bottom: 1rem;
  color: #1f414f;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.78rem;
}

.gallery-card {
  margin: 0;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(11, 95, 127, 0.16);
  box-shadow: var(--shadow-sm);
  background: #dce8ef;
  transition: 220ms ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 340ms ease;
}

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

.gallery-card figcaption {
  font-size: 0.83rem;
  padding: 0.5rem 0.64rem;
  color: var(--color-muted);
  background: var(--color-surface);
}

.form-wrap {
  display: grid;
  gap: 1rem;
}

form {
  background: linear-gradient(180deg, #ffffff, #fbfeff);
  border: 1px solid rgba(11, 95, 127, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.06rem;
}

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

.full-width {
  grid-column: 1 / -1;
}

label {
  display: inline-block;
  margin-bottom: 0.36rem;
  font-weight: 700;
  font-size: 0.95rem;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(11, 95, 127, 0.26);
  border-radius: var(--radius-sm);
  padding: 0.64rem 0.74rem;
  background: #fff;
  transition: 180ms ease;
}

textarea {
  min-height: 120px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(11, 95, 127, 0.42);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.checkbox-row {
  display: flex;
  gap: 0.55rem;
  margin: 0.9rem 0;
  align-items: flex-start;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
}

.form-note {
  margin: 0.8rem 0 0;
  color: var(--color-muted);
  font-size: 0.91rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.success {
  margin: 0;
  border-left: 4px solid #1f8f5f;
  background: #e8f7ef;
  padding: 0.72rem 0.86rem;
  border-radius: var(--radius-sm);
}

.site-footer {
  background: linear-gradient(180deg, #073248, #05283a);
  color: #dbe9ee;
  padding: 1.8rem 0;
  margin-top: 1rem;
}

.footer-inner {
  display: grid;
  gap: 0.5rem;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(5, 20, 30, 0.89);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  animation: fade-in 220ms ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  width: min(94vw, 1180px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.55);
  animation: pop-in 260ms ease;
}

.lightbox-caption {
  margin: 0.75rem 0 0;
  color: #e5f0f6;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: 180ms ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .intro-stack,
  .split,
  .timeline,
  .form-grid,
  .boat-layout,
  .boat-specs,
  .boat-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% + 0.42rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: rgba(247, 251, 253, 0.97);
    border: 1px solid rgba(11, 95, 127, 0.18);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 0.7rem;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    border: 1px solid rgba(11, 95, 127, 0.12);
    background: rgba(255, 255, 255, 0.66);
  }

  .lang-switch {
    margin-left: auto;
    padding-top: 0.2rem;
  }

  .cta-link {
    text-align: center;
    margin-top: 0.15rem;
  }

  .hero {
    align-items: center;
    min-height: clamp(460px, 70vh, 640px);
    background-position: center;
  }

  .hero-content {
    padding-block: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
