:root {
  --ink: #092f3e;
  --ink-soft: #4f6871;
  --navy: #062d3f;
  --navy-light: #0d5266;
  --ocean: #2c91a4;
  --aqua: #9ed9d3;
  --foam: #f5f8f5;
  --sand: #efe5d2;
  --coral: #f47f5f;
  --white: #ffffff;
  --line: #dbe5e4;
  --shadow: 0 18px 50px rgba(3, 39, 54, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfa;
  font-family:
    Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

.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;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1240px, calc(100% - 48px));
  height: 90px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.brand svg {
  width: 36px;
  fill: currentColor;
}

.brand .brand-wave {
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-width: 3;
}

.brand > span > span {
  color: var(--coral);
}

.main-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 40px;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  opacity: 0.82;
  transition: opacity 180ms ease;
}

.main-nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-select select {
  border: 0;
  color: var(--white);
  background: transparent;
  font-weight: 700;
  outline: none;
}

.language-select option {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 13px;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-coral {
  color: var(--navy);
  background: var(--coral);
  box-shadow: 0 12px 28px rgba(244, 127, 95, 0.24);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  overflow: hidden;
  padding: 170px max(5vw, calc((100vw - 1240px) / 2)) 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 17%, rgba(158, 217, 211, 0.22), transparent 25%),
    linear-gradient(128deg, #062d3f 0%, #073c4e 48%, #116679 100%);
}

.hero::after {
  position: absolute;
  bottom: -70px;
  left: -5%;
  width: 110%;
  height: 155px;
  border-radius: 50% 50% 0 0;
  background: #fbfcfa;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 4;
  align-self: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #5f8b91;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 500;
  letter-spacing: -4px;
  line-height: 0.95;
}

.hero-copy {
  max-width: 600px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.search-panel {
  display: grid;
  width: min(920px, 72vw);
  min-height: 94px;
  grid-template-columns: 1.35fr 1fr 1fr 0.8fr auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(0, 20, 29, 0.25);
}

.search-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}

.search-field > span:first-child {
  color: #70858c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-row svg {
  width: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: #5d7f87;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.field-row input,
.field-row select {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  outline: none;
}

.button-search {
  min-width: 130px;
  border-radius: 13px;
  color: var(--white);
  background: var(--coral);
}

.button-search svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.trust-row {
  display: flex;
  gap: 32px;
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.trust-row strong {
  margin-right: 4px;
  color: var(--white);
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 500px;
  align-self: center;
}

.sailboat {
  position: absolute;
  z-index: 3;
  right: -50px;
  bottom: 30px;
  width: min(47vw, 660px);
  filter: drop-shadow(0 28px 25px rgba(0, 22, 31, 0.28));
}

.sailboat .sail-shadow {
  fill: rgba(0, 28, 39, 0.32);
}

.sailboat .hull {
  fill: #f7f1e6;
}

.sailboat .hull-line {
  fill: none;
  stroke: var(--coral);
  stroke-width: 7;
}

.sailboat .mast,
.sailboat .rope {
  fill: none;
  stroke: #c8d8d5;
  stroke-width: 3;
}

.sailboat .sail-main {
  fill: #ead9bc;
}

.sailboat .sail-light {
  fill: #fffdf7;
}

.sailboat .cabin {
  fill: #d9e6e4;
}

.sailboat .window {
  fill: #285663;
}

.sun {
  position: absolute;
  top: 40px;
  right: 60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 176, 0.34), rgba(255, 230, 176, 0) 68%);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.hero-orbit-one {
  top: 110px;
  right: -130px;
  width: 620px;
  height: 620px;
}

.hero-orbit-two {
  top: 185px;
  right: -55px;
  width: 470px;
  height: 470px;
}

.wave {
  position: absolute;
  right: -10%;
  bottom: 78px;
  width: 120%;
  height: 110px;
  border-radius: 50%;
  transform: rotate(-3deg);
}

.wave-one {
  z-index: 1;
  background: rgba(43, 145, 164, 0.28);
}

.wave-two {
  z-index: 4;
  right: -20%;
  bottom: 20px;
  background: rgba(158, 217, 211, 0.12);
}

.hero-note {
  position: absolute;
  z-index: 6;
  right: 10px;
  bottom: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(4, 42, 56, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.note-dot {
  width: 10px;
  height: 10px;
  border: 3px solid rgba(158, 217, 211, 0.35);
  border-radius: 50%;
  background: #82d2c8;
  box-sizing: content-box;
}

.hero-note strong,
.hero-note small {
  display: block;
}

.hero-note strong {
  font-size: 12px;
}

.hero-note small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading h2,
.owner-copy h2,
.listing-dialog h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.08;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading > a {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 750;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.destination-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  text-align: left;
  isolation: isolate;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.destination-card::before,
.destination-card::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.destination-card::before {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(3, 37, 50, 0.76) 100%),
    var(--destination-bg);
}

.destination-card::after {
  right: -32px;
  bottom: 42px;
  width: 155px;
  height: 44px;
  border-radius: 60% 45% 28% 55%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    -180px 33px 0 25px rgba(255, 255, 255, 0.11),
    -115px -35px 0 18px rgba(255, 255, 255, 0.08);
  transform: skewX(-18deg);
}

.destination-croatia {
  --destination-bg: linear-gradient(140deg, #5a9ca6, #1b5f75);
}

.destination-greece {
  --destination-bg: linear-gradient(140deg, #b7d9dc, #397f94);
}

.destination-spain {
  --destination-bg: linear-gradient(140deg, #e3b884, #387e8c);
}

.destination-poland {
  --destination-bg: linear-gradient(140deg, #6d9f8f, #245c67);
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.destination-card span,
.destination-card small {
  position: absolute;
  left: 22px;
}

.destination-card span {
  bottom: 45px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.destination-card small {
  bottom: 25px;
  color: rgba(255, 255, 255, 0.74);
}

.offers {
  padding-top: 55px;
}

.results-count {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.offer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-card[hidden] {
  display: none;
}

.offer-image {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.offer-image-one {
  background: linear-gradient(145deg, #9fd3d4, #4d94a4);
}

.offer-image-two {
  background: linear-gradient(145deg, #d6d7b1, #5492a0);
}

.offer-image-three {
  background: linear-gradient(145deg, #e6b983, #5a9ba4);
}

.offer-image-four {
  background: linear-gradient(145deg, #90b69c, #3b7783);
}

.offer-image > svg {
  position: absolute;
  inset: 4px 0 0;
  width: 100%;
  height: 100%;
}

.mini-water {
  fill: rgba(10, 90, 111, 0.45);
}

.mini-hull,
.mini-cat,
.speed-hull {
  fill: #fffaf0;
}

.mini-mast {
  fill: none;
  stroke: #d9e7e4;
  stroke-width: 2;
}

.mini-sail {
  fill: #efe1c4;
}

.mini-sail-light {
  fill: #fffdf7;
}

.speed-cabin {
  fill: #e8efea;
}

.speed-window {
  fill: #315f6b;
}

.badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 48, 64, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
}

.badge-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.favorite {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  font-size: 21px;
}

.favorite.active {
  color: #d95e4b;
}

.offer-body {
  padding: 17px 18px 19px;
}

.offer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #71868d;
  font-size: 10px;
  font-weight: 700;
}

.offer-topline strong {
  color: #486b72;
}

.offer-body h3 {
  margin: 9px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
}

.offer-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.offer-price {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #73848a;
  font-size: 11px;
}

.offer-price strong {
  color: var(--ink);
  font-size: 17px;
}

.empty-state {
  padding: 60px 20px;
  border: 1px dashed #b8cbcb;
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.how {
  width: 100%;
  max-width: none;
  padding: 92px max(5vw, calc((100vw - 1180px) / 2));
  background: #eef4f1;
}

.section-heading-centered {
  justify-content: center;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  position: relative;
  min-height: 250px;
  padding: 32px;
  border: 1px solid rgba(12, 76, 91, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.steps article > span {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #b8cbc8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 35px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--aqua);
  font-size: 22px;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.owner-section {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  margin: 90px auto;
  padding: 66px;
  border-radius: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 20%, rgba(158, 217, 211, 0.18), transparent 30%),
    var(--navy);
}

.owner-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.owner-points {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding-left: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.owner-points strong,
.owner-points span {
  display: block;
}

.owner-points strong {
  color: var(--aqua);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.owner-points span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.faq {
  padding-top: 30px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 50px 24px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::after {
  position: absolute;
  top: 19px;
  right: 5px;
  content: "+";
  color: #6a898e;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 760px;
  margin: -6px 0 25px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  padding: 38px max(5vw, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.66);
  background: #042633;
  font-size: 11px;
}

.brand-footer {
  color: var(--white);
  font-size: 19px;
}

.brand-footer svg {
  width: 30px;
}

footer > div {
  display: flex;
  gap: 24px;
}

.listing-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 38px;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 25, 35, 0.32);
}

.listing-dialog::backdrop {
  background: rgba(2, 31, 42, 0.72);
  backdrop-filter: blur(4px);
}

.listing-dialog > p:not(.eyebrow) {
  margin: 14px 0 25px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #edf3f1;
  font-size: 22px;
}

.listing-dialog form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.listing-dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #60777e;
  font-size: 11px;
  font-weight: 750;
}

.listing-dialog input,
.listing-dialog select {
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.listing-dialog input:focus,
.listing-dialog select:focus {
  border-color: #6fa7a9;
  box-shadow: 0 0 0 3px rgba(111, 167, 169, 0.15);
}

.listing-dialog .button {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: 380px;
  padding: 15px 18px;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 820px;
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-content {
    z-index: 5;
  }

  .hero-visual {
    position: absolute;
    right: 0;
    bottom: 60px;
    width: 46%;
    opacity: 0.72;
  }

  .sailboat {
    right: -70px;
    width: 560px;
  }

  .search-panel {
    width: 100%;
  }

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

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 32px);
    height: 76px;
  }

  .brand {
    font-size: 19px;
  }

  .brand svg {
    width: 31px;
  }

  .button-outline {
    display: none;
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 125px 16px 120px;
  }

  .hero h1 {
    font-size: 51px;
    letter-spacing: -2.8px;
  }

  .hero-copy {
    margin-bottom: 26px;
    font-size: 15px;
  }

  .hero-visual {
    display: none;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px;
  }

  .search-field {
    min-height: 67px;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-location {
    grid-column: 1 / -1;
  }

  .button-search {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .trust-row {
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 58px 0;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading h2,
  .owner-copy h2,
  .listing-dialog h2 {
    font-size: 37px;
    letter-spacing: -1.5px;
  }

  .destination-grid,
  .offer-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .destination-card {
    min-height: 170px;
  }

  .how {
    width: 100%;
    padding: 65px 16px;
  }

  .steps article {
    min-height: 215px;
  }

  .owner-section {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 38px;
    margin: 60px auto;
    padding: 38px 28px;
  }

  .owner-points {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 24px;
  }

  .listing-dialog {
    padding: 32px 22px 24px;
  }

  .listing-dialog form {
    grid-template-columns: 1fr;
  }

  .listing-dialog .button {
    grid-column: auto;
  }
}

@media (max-width: 470px) {
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 155px;
  }

  .section-heading > a,
  .results-count {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
