/* =========================================================
   Ionian Island World (IIW) · style.css (one stylesheet for every page)

   CONTENTS
    1. Fonts
    2. Colours & basics
    3. Header & menu
    4. Buttons & links
    5. Shared parts (headings, page banner, CTA, specs …)
    6. Home page
    7. Fleet page
    8. Yacht pages (My Way, Wave Dancer, Martha)
    9. Destinations page
   10. Charter info & About pages
   11. Contact page & calendar
   12. Terms & Privacy pages
   13. Footer
   14. Cookie banner
   15. Photo viewer (lightbox)
   16. Animations & missing photos

   Screen sizes used in every section:
   max-width: 950px = tablet · 760px = phone · 420px = small phone
   ========================================================= */


/* =========================================================
   1. FONTS · stored in the fonts/ folder (no Google link)
   ========================================================= */

/* DM Sans: body text */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope: headings and the IIW. logo */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* =========================================================
   2. COLOURS & BASICS
   ========================================================= */

/* Site colours: change one here and it changes everywhere */
:root {
  --navy: #0b2936;      /* dark blue: buttons, footer, text */
  --deep: #07303c;      /* button hover */
  --ink: #163c49;       /* main text */
  --muted: #607985;     /* grey-blue small text */
  --line: #dbe2e4;      /* thin dividing lines */
  --cream: #f5f5f0;     /* beige section backgrounds */
  --sand: #caad7e;      /* gold accent (logo dot, highlights) */
  --white: #fff;
  --container: min(1170px, calc(100% - 96px));   /* page width */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Headings */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, Arial, sans-serif; }
h1, h2 { letter-spacing: -.06em; }

h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 1.16;
  font-weight: 600;
}

/* The italic words inside titles (<em>) */
h1 em, h2 em, h3 em {
  font-weight: 400;
  font-family: Georgia, serif;
  letter-spacing: -.04em;
}

/* Centred page column */
.container { width: var(--container); margin-inline: auto; }

/* Standard space above and below a section */
.section-pad { padding-top: 110px; padding-bottom: 110px; }

/* Small capital line above titles, e.g. "THE FLEET" */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.dark-eyebrow { color: #65818c; }    /* on white/beige */
.light-eyebrow { color: #f2eee4; }   /* on photos */

/* Short gold line in front of an eyebrow */
.eyebrow-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: #d4c0a4;
  vertical-align: middle;
  margin-right: 12px;
}

/* Line icons from images/icons.svg */
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #7b939c;
}

@media (max-width: 950px) {
  :root { --container: min(100% - 48px, 1170px); }
}

@media (max-width: 760px) {
  :root { --container: calc(100% - 40px); }
  .section-pad { padding-top: 72px; padding-bottom: 72px; }
}


/* =========================================================
   3. HEADER & MENU
   ========================================================= */

.site-header {
  height: 88px;
  background: var(--white);
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #eef1f2;
}

.nav-container {
  height: 100%;
  width: min(1340px, calc(100% - 96px));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo: picture (images/logo.svg) + small caption next to it (header and footer) */
.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-logo { height: 64px; width: auto; }   /* logo size in the header */

/* the name, and under it the small grey description */
.brand-caption { display: flex; flex-direction: column; gap: 3px; color: var(--navy); }

.brand-name { font-size: 9px; font-weight: 700; letter-spacing: .2em; }

.brand-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
}

/* Menu links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 12px;
  font-weight: 600;
}

.site-nav > a:not(.nav-contact) {
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}

/* Gold underline under the current page */
.site-nav > a:not(.nav-contact)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.site-nav > a:not(.nav-contact):hover { color: #7b958d; }
.site-nav > a.is-active::after { transform: scaleX(1); }

/* "Contact Us" box on the right */
.nav-contact {
  border: 1px solid #c9d2d5;
  padding: 13px 17px;
  margin-left: 7px;
  transition: background .2s, color .2s, border-color .2s;
}

.nav-contact:hover,
.nav-contact.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.nav-contact span { margin-left: 13px; }

/* Three-line menu button: only on phones */
.menu-toggle { display: none; }

@media (max-width: 950px) {
  .nav-container { width: min(100% - 48px, 1340px); }
  .site-nav { gap: 16px; font-size: 11px; }
  .nav-contact { padding: 11px; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; }
  .nav-container { width: calc(100% - 36px); }
  .brand-logo { height: 52px; }
  .brand-name { font-size: 8px; }
  .brand-tagline { font-size: 10px; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 12px;
  }

  .menu-toggle span { width: 23px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }

  /* The three lines turn into an × when the menu is open */
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Drop-down menu */
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 24px 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 18px 30px #0002;
  }

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

  .site-nav a { padding: 14px 0 !important; font-size: 15px; border-bottom: 1px solid #eef1f2; }
  .site-nav > a:not(.nav-contact)::after { display: none; }
  .site-nav > a.is-active { color: var(--sand); }
  .site-nav .nav-contact { margin: 18px 0 0; text-align: center; border: 1px solid #c9d2d5; }
}


/* =========================================================
   4. BUTTONS & LINKS
   ========================================================= */

/* Base button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 12px;
  border: 0;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

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

.button-light { background: var(--white); color: var(--navy); }   /* white button (on photos / dark) */

.button-dark { background: var(--navy); color: var(--white); }    /* dark blue button */
.button-dark:hover { background: var(--deep); }

/* Outline button (WhatsApp) */
.button-outline {
  justify-content: flex-start;
  gap: 12px;
  padding: 17px 24px;
  background: transparent;
  border: 1px solid #b9c7cb;
  color: var(--navy);
}

.button-outline:hover { border-color: var(--navy); }

.button .icon { width: 19px; height: 19px; color: inherit; }

/* Buttons side by side */
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Underlined text link with an arrow */
.text-link {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  border-bottom: 1px solid;
  padding-bottom: 7px;
}

.text-link span { margin-left: 16px; transition: margin .2s; }
.text-link:hover span { margin-left: 22px; }

.light-link { border-color: #c3d3d2; }   /* on photos */
.dark-link { border-color: #91a6a6; }    /* on white */

/* Round arrow button (yacht cards) */
.circle-link {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #bbccce;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
}

.circle-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* WhatsApp link with icon (contact page) */
.whatsapp-link { display: inline-flex; align-items: center; gap: 10px; }
.whatsapp-link .icon { width: 19px; height: 19px; color: inherit; }

@media (max-width: 760px) {
  /* Phone: buttons full width, one under the other */
  .button-row .button, .cta-actions .button { flex: 1 1 100%; justify-content: center; gap: 12px; }
}


/* =========================================================
   5. SHARED PARTS (used on several pages)
   ========================================================= */

/* ---- Section title: eyebrow + big title, with a link/text on the right ---- */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 30px;
}

.section-heading h2 { margin: 15px 0 0; }

.section-heading > p,
.section-heading > a { margin-bottom: 10px; }

.section-heading > p {
  font-size: 14px;
  line-height: 1.9;
  color: #5c727b;
}

/* ---- Page banner: photo at the top of inner pages ---- */
.page-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #174452 center / cover no-repeat;
  overflow: hidden;
}

/* dark shade over the photo so the text is readable */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 35, 46, .78), rgba(4, 35, 46, .2));
}

.page-banner .container { position: relative; padding-bottom: 64px; }

.page-banner h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 20px 0 16px;
}

.page-banner p:not(.eyebrow) {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.8;
  color: #e3eff0;
  margin: 0;
}

/* Banner photo of each page (the % moves the photo up/down) */
.banner-fleet { background-image: url('images/site/banner-fleet.jpg'); background-position: center 60%; }
.banner-destinations { background-image: url('images/site/banner-destinations.jpg'); background-position: center 60%; }
.banner-info { background-image: url('images/site/banner-info.jpg'); background-position: center 60%; }
.banner-about { background-image: url('images/site/banner-about.jpg'); background-position: center 50%; }

/* ---- Dark "Ready to set sail?" band at the bottom of pages ---- */
.cta-section {
  background: #123745;
  color: var(--white);
  text-align: center;
  padding: 98px 0;
}

.cta-inner { max-width: 730px; }

.cta-section h2 { font-size: clamp(3rem, 5vw, 5rem); margin: 20px 0; }

.cta-section p:not(.eyebrow) {
  color: #bfd1d6;
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 29px;
}

.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.cta-section .button-outline { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.cta-section .button-outline:hover { border-color: var(--white); }

/* ---- Cabins / Bathrooms / Guests row with three numbers ---- */
.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.specs li { padding: 14px 0; text-align: left; }
.specs li + li { padding-left: 16px; border-left: 1px solid var(--line); }

.specs strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.specs span {
  font-size: 9px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #8399a1;
  text-transform: uppercase;
}

/* ---- Small capital model name, e.g. "BENETEAU OCEANIS 40.1" ---- */
.yacht-model {
  font-size: 10px;
  letter-spacing: .18em;
  color: #799099;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ---- White label on a photo, e.g. "SAILING YACHT 01" ---- */
.yacht-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  padding: 9px 11px;
  font-size: 9px;
  letter-spacing: .15em;
  font-weight: 700;
}

/* ---- Grey paragraph text ---- */
.intro-right p, .body-copy p {
  font-size: 15px;
  line-height: 1.95;
  color: #58727d;
}

@media (max-width: 760px) {
  .section-heading { display: block; }
  .section-heading > p, .section-heading > a { margin-top: 15px; }

  /* banner grows if the title is long */
  .page-banner { height: auto; min-height: 320px; }
  .page-banner .container { padding-top: 56px; padding-bottom: 44px; }
}


/* =========================================================
   6. HOME PAGE (index.html)
   ========================================================= */

/* ---- Hero: big photo at the top ---- */
.hero {
  height: min(760px, calc(100svh - 88px));
  min-height: 580px;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #174452;
}

.hero-photo, .hero-shade { position: absolute; inset: 0; }

/* hero photo (the % moves it up/down) + slow zoom-out */
.hero-photo {
  background: url('images/site/hero.jpg') center 45% / cover no-repeat;
  animation: slow-zoom 18s ease-out forwards;
}

@keyframes slow-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* dark shade on the left so the text is readable */
.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 33, 47, .72), rgba(3, 30, 44, .3) 60%, rgba(4, 24, 36, .05)),
    linear-gradient(0deg, rgba(5, 27, 40, .4), transparent 40%);
}

.hero-content { position: relative; z-index: 1; padding-top: 15px; }

.hero h1 {
  font-size: clamp(3.7rem, 7.3vw, 7.8rem);
  font-weight: 600;
  line-height: 1.07;
  margin: 28px 0;
}

.hero-description {
  font-size: 16px;
  line-height: 1.8;
  max-width: 470px;
  color: #ecf0ed;
}

.hero-actions {
  display: flex;
  gap: 35px;
  align-items: center;
  margin-top: 36px;
}

/* coordinates + "SCROLL TO EXPLORE" at the bottom */
.hero-foot {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
  color: #e2e9e9;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 600;
}

/* ---- The three yacht cards ---- */
.fleet-section { background: var(--cream); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.yacht-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.yacht-card:hover { box-shadow: 0 22px 40px rgba(11, 41, 54, .08); }

.yacht-photo {
  display: block;
  aspect-ratio: 4 / 3.4;
  position: relative;
  overflow: hidden;
  background: #cfdcdf;
}

.yacht-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.yacht-card:hover .yacht-photo img { transform: scale(1.05); }

.yacht-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }

/* yacht name in italic */
.yacht-card h3 {
  font-size: 34px;
  font-weight: 400;
  margin: 0 0 22px;
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: -.02em;
}

/* "View yacht" + round arrow */
.yacht-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.yacht-card:hover .circle-link {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ---- "Welcome aboard": title left, text right ---- */
.intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
}

.intro h2 { margin: 24px 0 0; }
.intro-right { padding-top: 40px; max-width: 445px; }
.intro-right .text-link { margin-top: 22px; }

/* ---- "Somewhere between sea and sky": photo band ---- */
.feature-band {
  min-height: 580px;
  position: relative;
  background: #245b6a;
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.feature-image, .feature-overlay { position: absolute; inset: 0; }

.feature-image {
  background: url('images/site/destinations.jpg') center 55% / cover no-repeat;
}

.feature-overlay { background: linear-gradient(90deg, rgba(4, 35, 46, .8), rgba(4, 35, 46, .15)); }

.feature-content { position: relative; padding: 80px 0; }

.feature-content h2 {
  font-size: clamp(2.6rem, 5.2vw, 5.6rem);
  margin: 22px 0;
}

.feature-content > p:not(.eyebrow) {
  max-width: 500px;
  line-height: 1.85;
  color: #e3eff0;
  font-size: 15px;
  margin-bottom: 30px;
}

/* Medium screens: first card full width, the other two below */
@media (max-width: 1050px) {
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .fleet-grid .yacht-card:first-child { grid-column: 1 / -1; flex-direction: row; }
  .fleet-grid .yacht-card:first-child .yacht-photo { width: 55%; aspect-ratio: auto; min-height: 340px; }
}

@media (max-width: 950px) {
  .intro { gap: 30px; }
}

@media (max-width: 760px) {
  .hero { min-height: 610px; height: calc(100svh - 72px); max-height: 750px; }
  .hero h1 { font-size: clamp(3.5rem, 12vw, 5rem); }
  .hero-description { font-size: 14px; max-width: 350px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 23px; }
  .hero-foot { font-size: 8px; }

  .fleet-grid { grid-template-columns: 1fr; gap: 22px; }
  .fleet-grid .yacht-card:first-child { flex-direction: column; grid-column: auto; }
  .fleet-grid .yacht-card:first-child .yacht-photo { width: 100%; aspect-ratio: 4 / 3.4; min-height: 0; }

  .intro { grid-template-columns: 1fr; }
  .intro-right { padding-top: 0; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 3.3rem; }
  .yacht-card h3 { font-size: 30px; }
}


/* =========================================================
   7. FLEET PAGE (fleet.html): one row per yacht
   ========================================================= */

.yacht-detail {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}

.yacht-detail:last-child { border-bottom: 0; }

/* is-reversed = photo on the right */
.yacht-detail.is-reversed .yacht-detail-photo { order: 2; }

.yacht-detail-photo {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  position: relative;
  background: #cfdcdf;
}

.yacht-detail-photo img { width: 100%; height: 100%; object-fit: cover; }

.yacht-detail h2 {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.03em;
  margin: 12px 0 20px;
}

.yacht-detail .specs { margin: 28px 0 32px; }

.yacht-detail-text p {
  font-size: 15px;
  line-height: 1.9;
  color: #58727d;
}

.yacht-detail-actions { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }

@media (max-width: 950px) {
  .yacht-detail { gap: 40px; }
}

@media (max-width: 760px) {
  .yacht-detail { grid-template-columns: 1fr; padding: 60px 0; }
  .yacht-detail.is-reversed .yacht-detail-photo { order: 0; }   /* photo always on top */
}


/* =========================================================
   8. YACHT PAGES (my-way, wave-dancer, martha)
   Spacing: 64px between sections on computer, 48px on phone.
   ========================================================= */

/* ---- Big photo with the yacht name ---- */
.yacht-hero {
  position: relative;
  height: min(640px, calc(100svh - 88px));
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #174452;
  overflow: hidden;
}

.yacht-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* dark shade at the bottom of the photo */
.yacht-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(4, 30, 42, .75), rgba(4, 30, 42, .05) 65%);
}

.yacht-hero .container { position: relative; z-index: 2; padding-bottom: 60px; }

.yacht-hero h1 { font-size: clamp(3.6rem, 9vw, 8.5rem); line-height: 1; margin: 18px 0 0; }

/* "← Our fleet" */
.back-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 28px;
  opacity: .85;
}

.back-link:hover { opacity: 1; }

/* ---- About the yacht: title left, text right ---- */
.yacht-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.yacht-overview.section-pad { padding-top: 64px; padding-bottom: 64px; }
.yacht-overview h2 { margin: 20px 0 0; }
.yacht-overview .specs { margin: 30px 0 34px; }

/* ---- Gallery: first photo big, the rest small ---- */
.gallery-section { background: var(--cream); padding: 64px 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;   /* height of each small photo */
  gap: 14px;
}

.gallery-item {
  padding: 0;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  background: #cfdcdf;
}

.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* ---- Specifications: two columns of rows ---- */
.spec-section { padding-top: 64px; padding-bottom: 48px; }

.spec-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row span { flex: 1; font-size: 15px; color: #58727d; }   /* label, e.g. "Beam" */

.spec-row strong {                                              /* value, e.g. "4.18 m" */
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: right;
}

/* ---- Equipment: four groups with icons ---- */
.equipment-section { padding-bottom: 64px; }

.equipment {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 36px;
}

.equipment-group h3 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #5c727b;
  text-transform: uppercase;
  margin: 0 0 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #c9d4d7;
}

.equipment-group ul { list-style: none; margin: 0; padding: 0; }

.equipment-group li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

/* is-key = highlighted item (bold, gold icon) */
.equipment-group li.is-key { font-weight: 700; }
.equipment-group li.is-key .icon { color: var(--sand); stroke-width: 1.9; }

/* ---- Optional extras: beige band with a list ---- */
.extras-section { background: var(--cream); padding: 64px 0; }

.extras {
  list-style: none;
  margin: 0;
  padding: 2px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 36px;
}

.extras li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.extras-note { font-size: 14px; color: #58727d; margin: 28px 0 0; }

/* small "All extras with details (PDF) →" link under the note */
.extras-pdf {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid #b9c7cb;
  padding-bottom: 3px;
  transition: border-color .2s;
}

.extras-pdf span { margin-left: 6px; }
.extras-pdf:hover { border-color: var(--navy); }

/* ---- Other yachts: two small cards ---- */
.other-yachts { background: var(--white); border-top: 1px solid var(--line); }
.other-yachts.section-pad { padding-top: 64px; padding-bottom: 72px; }

.other-yachts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.other-yacht {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
}

.other-yacht:hover { box-shadow: 0 18px 34px rgba(11, 41, 54, .08); }
.other-yacht:hover .circle-link { background: var(--navy); border-color: var(--navy); color: var(--white); }

.other-yacht-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #cfdcdf; }
.other-yacht-photo img { width: 100%; height: 100%; object-fit: cover; }

.other-yacht h3 { font-family: Georgia, serif; font-style: italic; font-weight: 400; font-size: 28px; margin: 0 0 6px; }
.other-yacht-text p:last-child { font-size: 13px; color: var(--muted); margin: 0; }

@media (max-width: 950px) {
  .yacht-overview { gap: 30px; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .spec-rows { gap: 0 40px; }
  .equipment { grid-template-columns: 1fr 1fr; }
  .extras { grid-template-columns: 1fr 1fr; }
  .other-yachts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .yacht-hero { height: 70svh; min-height: 420px; }
  .yacht-hero .container { padding-bottom: 40px; }

  .yacht-overview { grid-template-columns: 1fr; }
  .yacht-overview.section-pad { padding-top: 48px; padding-bottom: 48px; }

  .gallery-section { padding: 48px 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }

  .spec-section { padding-top: 48px; padding-bottom: 40px; }
  .spec-rows { grid-template-columns: 1fr; }

  .equipment-section { padding-bottom: 48px; }
  .equipment { gap: 34px 20px; }
  .equipment-group li { font-size: 14px; gap: 10px; }

  .extras-section { padding: 48px 0; }
  .extras { gap: 0 20px; }
  .extras li { font-size: 14px; gap: 10px; }

  .other-yachts.section-pad { padding-top: 48px; padding-bottom: 56px; }
  .other-yacht { grid-template-columns: 110px 1fr; }
  .other-yacht .circle-link { display: none; }
  .other-yacht h3 { font-size: 23px; }
}


/* =========================================================
   9. DESTINATIONS PAGE (destinations.html)
   ========================================================= */

/* ---- Harbours & villages: two columns of photo cards ---- */
.harbour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 30px;
}

.harbour-photo { aspect-ratio: 16 / 10; overflow: hidden; background: #cfdcdf; }

.harbour-photo img, .bay-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.harbour-card:hover .harbour-photo img, .bay-card:hover .bay-photo img { transform: scale(1.04); }

.harbour-card h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 24px 0 10px;
}

/* small gold label next to the name, e.g. "MEGANISI" */
.harbour-card h3 span {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--sand);
  text-transform: uppercase;
  margin-left: 10px;
  white-space: nowrap;
}

.harbour-card p { font-size: 15px; line-height: 1.85; color: #58727d; margin: 0; max-width: 520px; }

/* ---- Bays, caves & hidden corners: beige band, four columns ---- */
.bays-section { background: var(--cream); }

.bay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 20px;
}

.bay-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #cfdcdf; }

.bay-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
  margin: 14px 0 5px;
}

.bay-card h3 span { font-weight: 500; color: #58727d; }

.bay-card p {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--sand);
  text-transform: uppercase;
  margin: 0;
}

/* ---- Sample routes: one block per route, one box per day ---- */
.route-block + .route-block { margin-top: 56px; }

.route-block h3 { font-size: 30px; font-weight: 600; letter-spacing: -.04em; margin: 0 0 8px; }

.route-lead { font-size: 15px; line-height: 1.8; color: #58727d; margin: 0 0 22px; }

.route-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.route-days div { background: #eef1ee; padding: 22px 18px; }   /* one day */

.route-days span {                                               /* "DAY 1" */
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #8399a1;
  margin-bottom: 10px;
}

.route-days strong { font-family: Manrope, sans-serif; font-size: 15px; font-weight: 600; }   /* place */

.route-days em {                                                 /* small note under the place */
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #607985;
  margin-top: 4px;
}

.route-note { font-size: 13px; color: #607985; margin-top: 40px; }

@media (max-width: 1050px) {
  .route-days { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 950px) {
  .bay-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .harbour-grid { grid-template-columns: 1fr; gap: 44px; }
  .harbour-card h3 { font-size: 23px; margin-top: 18px; }

  .bay-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .bay-card h3 { font-size: 15px; }

  .route-block h3 { font-size: 26px; }
  .route-block + .route-block { margin-top: 44px; }

  /* Phone: the days become a list (day · place · note) */
  .route-days { grid-template-columns: 1fr; }
  .route-days div {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: baseline;
    gap: 12px;
    padding: 14px 16px;
  }
  .route-days span { margin: 0; }
  .route-days em { margin: 0; text-align: right; }
}


/* =========================================================
   10. CHARTER INFO & ABOUT PAGES
   ========================================================= */

/* ---- Section spacing ---- */
.info-block { padding-top: 90px; padding-bottom: 90px; }     /* white section */
.info-band { background: var(--cream); padding: 90px 0; }    /* beige section */

/* ---- "How to book": four numbered steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.step { border-top: 1px solid #c9d4d7; padding-top: 22px; }

.step span {             /* "01" */
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--sand);
}

.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin: 12px 0 12px; }

.step p, .split-text p:not(.eyebrow), .info-cols p {
  font-size: 15px;
  line-height: 1.85;
  color: #58727d;
  margin: 0;
}

.steps-actions { margin-top: 44px; }

/* ---- Split: photo on one side, text on the other ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.is-reversed .split-photo { order: 2; }   /* photo on the right */

.split-photo { aspect-ratio: 4 / 4.4; overflow: hidden; background: #cfdcdf; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

.split-text h2 { margin: 18px 0 8px; }

.split-text h3, .info-cols h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 28px 0 10px; }

/* ---- Columns with a title and a line (Good to know, Before you travel) ---- */
.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.info-cols.two { grid-template-columns: 1fr 1fr; gap: 40px 80px; }

.info-cols h3 { margin: 0 0 14px; padding-bottom: 16px; border-bottom: 1px solid #c9d4d7; }

/* list with icons */
.icon-list { list-style: none; margin: 0; padding: 0; }

.icon-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
}

/* ---- Useful documents: PDF rows ---- */
.doc-list { border-top: 1px solid #c9d4d7; }

.doc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  transition: padding .2s, color .2s;
}

.doc-row span { flex: 1; }

.doc-row small {         /* "PDF" */
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #8399a1;
  text-transform: uppercase;
}

.doc-row:hover { padding-left: 10px; color: #2b5a66; }

/* ---- About page: tall photo + story ---- */
.split.is-tall { grid-template-columns: .85fr 1.15fr; }
.split.is-tall .split-photo { aspect-ratio: 4 / 5; }

/* "What to expect from your crew →" link under "With a skipper" */
.crew-link { justify-self: start; margin-top: 22px; }

.story-text > h2 { margin-bottom: 26px; }
.story-text > p:not(.eyebrow) + p { margin-top: 18px; }

/* ---- About page: "What to expect" three columns ---- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.values div { border-top: 1px solid #c9d4d7; padding-top: 22px; }
.values h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.values p { font-size: 15px; line-height: 1.85; color: #58727d; margin: 0; }

@media (max-width: 950px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
  .info-cols.two { gap: 40px; }
}

@media (max-width: 760px) {
  .info-block { padding-top: 60px; padding-bottom: 60px; }
  .info-band { padding: 60px 0; }

  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps-actions { margin-top: 32px; }

  .info-cols, .info-cols.two { grid-template-columns: 1fr; gap: 34px; }
  .doc-row { font-size: 16px; padding: 17px 0; }

  .values { grid-template-columns: 1fr; gap: 36px; }

  /* Phone: the section title sits on top of the photo */
  .split { grid-template-columns: 1fr; gap: 0; grid-template-rows: 1fr auto auto; }
  .split-text { display: contents; }
  .split .split-photo, .split.is-reversed .split-photo {
    order: 0;
    grid-column: 1;
    grid-row: 1 / 4;
    aspect-ratio: auto;
    min-height: 300px;     /* photo height on phone */
    margin: 0 -20px;
    position: relative;
  }
  .split-photo::after {    /* dark shade so the title is readable */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 30, 42, .82), rgba(4, 30, 42, .1) 75%);
  }
  .split-text > .eyebrow { grid-column: 1; grid-row: 2; z-index: 1; color: #f2eee4; margin: 0; }
  .split-text > h2 { grid-column: 1; grid-row: 3; z-index: 1; color: var(--white); margin: 12px 0 28px; }
  .split-text > h3, .split-text > p:not(.eyebrow) { grid-column: 1; }
  .split-text > h3 { margin-top: 30px; }

  /* About page on phone */
  .split.is-tall { grid-template-columns: 1fr; }
  .split.is-tall .split-photo { aspect-ratio: auto; min-height: 380px; }
  .story-text > h2 { margin-bottom: 28px; }
  .story-text > h2 + p:not(.eyebrow) { margin-top: 30px; }
}


/* =========================================================
   10b. CREW PAGE (crew.html): skipper & hostess
   ========================================================= */

.banner-crew { background-image: url('images/site/banner-crew.jpg'); background-position: center 50%; }

/* intro text under the banner */
.crew-intro { padding-top: 56px; }
.crew-intro p { max-width: 760px; font-size: 17px; line-height: 1.85; color: #58727d; margin: 0; }
.crew-intro strong { color: var(--navy); }
.crew-back { color: var(--muted); margin-bottom: 22px; }

/* one role: title on the left, list on the right */
.crew-role {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px 80px;
  align-items: start;
}

.crew-role-head h2 { margin: 18px 0 18px; }
.crew-role-head > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; color: #58727d; margin: 0; max-width: 380px; }

/* list with ✓ */
.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #c9d4d7; }

.check-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.check-list .icon { width: 20px; height: 20px; color: var(--sand); stroke-width: 2; margin-top: 3px; }
.check-list p { font-size: 15px; line-height: 1.75; color: #58727d; margin: 0; }
.check-list strong { color: var(--navy); }

/* small grey note under the list */
.crew-note { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 18px 0 0; }

/* "Safety comes first" box */
.crew-safety {
  grid-column: 1 / -1;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--cream);
  border-left: 3px solid var(--navy);
  padding: 30px 34px;
  margin-top: 20px;
}

.crew-safety .icon { width: 34px; height: 34px; color: var(--navy); stroke-width: 1.5; }
.crew-safety h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 8px; color: var(--navy); }
.crew-safety p { font-size: 15px; line-height: 1.85; color: #33505b; margin: 0; max-width: 820px; }

/* "Living together on board": small cards */
.crew-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 30px; }
.crew-cards > div { border-top: 1px solid #c9d4d7; padding-top: 22px; }
.crew-cards .icon { width: 24px; height: 24px; color: var(--sand); }
.crew-cards h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 12px 0 8px; }
.crew-cards p { font-size: 15px; line-height: 1.85; color: #58727d; margin: 0; }

/* tips + contact at the end */
.crew-end { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.crew-end p { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0 0 6px; }
.crew-end a { color: var(--navy); font-weight: 600; }

@media (max-width: 950px) {
  .crew-role { grid-template-columns: 1fr; gap: 30px; }
  .crew-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .crew-intro { padding-top: 40px; }
  .crew-intro p { font-size: 16px; }
  .crew-safety { padding: 24px 20px; gap: 16px; }
  .crew-safety .icon { width: 28px; height: 28px; }
  .crew-cards { grid-template-columns: 1fr; gap: 30px; }
  .crew-end { margin-top: 44px; }
}


/* =========================================================
   11. CONTACT PAGE & CALENDAR (contact.html)
   ========================================================= */

/* Details on the left, form on the right */
.contact-page {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.contact-page h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 22px 0 24px;
}

/* "Tell us which yacht…" paragraph */
.contact-lead { font-size: 15px; line-height: 1.9; color: #58727d; }

/* Email / Phone / WhatsApp / Base list */
.contact-details { list-style: none; padding: 0; margin: 40px 0 0; }
.contact-details li { padding: 18px 0; border-top: 1px solid var(--line); }

.contact-details span {
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #8399a1;
  margin-bottom: 6px;
}

.contact-details a, .contact-details p { font-size: 15px; font-weight: 500; margin: 0; }

/* ---- Enquiry form (beige box) ---- */
.enquiry-form {
  background: var(--cream);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-self: start;
}

/* one field = label + input */
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }   /* full width */

.field label {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #5c727b;
}

.field input, .field select, .field textarea {
  border: 0;
  border-bottom: 1px solid #c4cfd2;
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  border-radius: 0;
  outline: none;
  transition: border-color .2s;
}

.field select { cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }

/* "Check-in: 17:00 · Check-out: 09:00" */
.date-note { font-size: 12px; color: #607985; margin: -8px 0 0; }

/* note + Send button at the bottom */
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.form-foot p { font-size: 12px; color: #8399a1; margin: 0; max-width: 300px; line-height: 1.6; }

/* ---- FROM / TO buttons that open the calendar ---- */
.date-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c4cfd2;
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s;
}

.date-field .icon { width: 18px; height: 18px; }
.date-field.is-empty span { color: #8399a1; }
.date-field:hover, .date-field.is-active { border-color: var(--navy); }

/* ---- Calendar box (filled in by enquiry.js) ---- */
.date-picker {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 22px 18px;
  gap: 0;
}

.date-picker[hidden] { display: none; }

/* ← → month arrows */
.cal-nav {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.cal-nav button {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: background .2s, color .2s, border-color .2s;
}

.cal-nav button:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cal-nav button:disabled { opacity: .3; cursor: default; }

/* two months side by side */
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }

.cal-title {             /* "June 2027" */
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 14px;
  line-height: 20px;
}

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; text-align: center; }

.cal-weekday {           /* Mo Tu We … */
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 700;
  color: #8399a1;
  padding-bottom: 8px;
}

/* one day */
.cal-day {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  height: 36px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s;
}

.cal-day:hover:not(:disabled) { background: #eef2f3; }

/* Saturdays: bold with a small gold dot */
.cal-day.is-saturday { font-weight: 700; }

.cal-day.is-saturday::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--sand);
}

/* booked days (from availability.txt): grey and crossed out */
.cal-day.is-unavailable {
  color: #b3bfc3;
  background: #f2f4f3;
  text-decoration: line-through;
  cursor: not-allowed;
  font-weight: 400;
}

.cal-day.is-unavailable::after { display: none; }

.cal-day.is-between { background: #dde7ea; }   /* days between FROM and TO */

.cal-day.is-selected, .cal-day.is-selected:hover { background: var(--navy); color: var(--white); }
.cal-day.is-selected::after { background: var(--white); }

/* bottom line: legend, nights, "Clear dates" */
.cal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #607985;
}

.cal-key { display: inline-flex; align-items: center; gap: 7px; }
.cal-key i { display: inline-block; }
.key-unavailable { width: 12px; height: 12px; background: #f2f4f3; border: 1px solid #d5dcde; }
.key-saturday { width: 5px; height: 5px; border-radius: 50%; background: var(--sand); }

.cal-nights { margin-left: auto; font-weight: 700; color: var(--ink); }

.cal-clear {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid #91a6a6;
  cursor: pointer;
}

@media (max-width: 950px) {
  .contact-page { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 760px) {
  .enquiry-form { grid-template-columns: 1fr; padding: 30px 22px; }
  .form-foot { flex-direction: column; align-items: flex-start; }

  /* Phone: one month at a time, bigger days */
  .date-picker { padding: 18px 14px 14px; }
  .cal-nav { top: 12px; left: 10px; right: 10px; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month + .cal-month { display: none; }
  .cal-day { height: 40px; font-size: 14px; }
  .cal-nights { margin-left: 0; width: 100%; }
}


/* =========================================================
   12. TERMS & PRIVACY PAGES: white sheet on a beige background
   ========================================================= */

body[data-page="terms"] main,
body[data-page="privacy"] main { background: var(--cream); padding: 64px 0 90px; }

/* the white sheet */
.legal {
  max-width: 960px;
  background: var(--white);
  padding: 64px 72px 60px;
  border: 1px solid #e6e8e1;
}

/* title area */
.legal-head { padding-bottom: 36px; border-bottom: 1px solid #c9d4d7; }

.legal-head h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--navy);
  margin: 16px 0 12px;
}

.legal-head p:last-child { font-size: 15px; color: #58727d; margin: 0; }

/* one numbered section */
.legal-section { padding-top: 44px; scroll-margin-top: 20px; }

.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 18px;
}

/* Terms: numbered clause (1.1, 1.2 …) */
.clause {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0 8px;
  padding: 9px 0;
  font-size: 15px;
  line-height: 1.75;
  color: #33505b;
}

.clause > span { font-weight: 700; color: var(--navy); }
.clause ul { margin: 8px 0 0; padding-left: 20px; }
.clause li { padding: 2px 0; }

/* Privacy: normal paragraphs and lists */
.legal-section > p, .legal-section > ul {
  font-size: 15px;
  line-height: 1.75;
  color: #33505b;
  margin: 0 0 12px;
}

.legal-section > ul { padding-left: 20px; }
.legal-section > ul li { padding: 4px 0; }
.legal-section strong { color: var(--navy); }

.legal-section a,
.legal-foot a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* small print at the end of the sheet */
.legal-foot {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-foot p { font-size: 13px; line-height: 1.75; color: #607985; margin: 0 0 12px; }

@media (max-width: 760px) {
  body[data-page="terms"] main,
  body[data-page="privacy"] main { padding: 20px 0 48px; }

  .legal { padding: 36px 22px 32px; }
  .legal-section { padding-top: 36px; }
  .legal-section h2 { font-size: 20px; }
  .clause { grid-template-columns: 40px 1fr; }
}


/* =========================================================
   13. FOOTER (the same on every page)
   ========================================================= */

.footer { background: var(--navy); color: var(--white); padding: 64px 0 28px; }

/* four columns: logo · Explore · Our yachts · Get in touch */
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .8fr .8fr 1.5fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand .brand-logo { height: 78px; }      /* logo size in the footer (white version) */
.footer-brand .brand-caption { color: #d3dee0; }
.footer-brand .brand-tagline { color: #9fb4ba; }

.footer p { font-size: 11px; color: #b5c3c6; margin: 0; }

/* "A family business since 2008" */
.footer-about p { font-size: 13px; line-height: 1.8; color: #9fb4ba; margin: 22px 0 0; }

/* column titles */
.footer-col h3 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
  color: #9fb4ba;
  margin: 4px 0 18px;
}

/* column links */
.footer-col > a:not(.brand) {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  padding: 6px 0;
  font-size: 14px;
  color: #d3dee0;
  transition: color .2s;
}

.footer-col > a:not(.brand):hover { color: var(--white); }

.footer-contact > a { font-weight: 500; }

.footer .icon { width: 18px; height: 18px; color: #9fb4ba; }

/* round Facebook / Instagram buttons */
.footer-social { display: flex; gap: 10px; margin-top: 18px; }

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  transition: background .2s, border-color .2s;
}

.footer-social a:hover { background: var(--white); border-color: var(--white); }
.footer-social .icon { color: var(--white); }
.footer-social a:hover .icon { color: var(--navy); }

/* bottom line: © + Privacy · Terms (· Cookie settings) */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; }

.footer-legal { display: flex; gap: 12px; }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

@media (max-width: 950px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "about contact" "explore yachts";
    gap: 40px 30px;
  }
  .footer-about { grid-area: about; }
  .footer-contact { grid-area: contact; }
  .footer-explore { grid-area: explore; }
  .footer-yachts { grid-area: yachts; }
}

@media (max-width: 760px) {
  .footer { padding: 48px 0 24px; }
  .footer-grid {
    grid-template-areas: "about about" "contact contact" "explore yachts";
    gap: 34px 20px;
    padding-bottom: 34px;
  }
  .footer-about p { margin-top: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}


/* =========================================================
   14. COOKIE BANNER (created by cookies.js)
   ========================================================= */

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(430px, calc(100% - 48px));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(11, 41, 54, .18);
  padding: 26px 26px 22px;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner h2 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.cookie-banner p { font-size: 13px; line-height: 1.7; color: #58727d; margin: 0 0 18px; }
.cookie-banner p a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* "Let me choose" options */
.cookie-options { border-top: 1px solid var(--line); margin-bottom: 18px; }
.cookie-options[hidden] { display: none; }

.cookie-options label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: #58727d;
  cursor: pointer;
}

.cookie-options input { margin-top: 3px; accent-color: var(--navy); }
.cookie-options strong { display: block; color: var(--ink); }

/* buttons: "Reject all" white, "Accept all" blue */
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.cookie-button {
  padding: 14px 10px;
  font-size: 12px;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: background .2s;
}

.cookie-button:hover { background: var(--deep); }

.cookie-button[data-action="reject"] { background: var(--white); color: var(--navy); }
.cookie-button[data-action="reject"]:hover { background: #eef2f3; }

.cookie-link {
  grid-column: 1 / -1;
  background: none;
  border: 0;
  padding: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px 18px 16px; }
}


/* =========================================================
   15. PHOTO VIEWER (lightbox on the yacht pages)
   ========================================================= */

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: rgba(5, 22, 30, .95);
  color: var(--white);
}

.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }

/* the big photo (zoom with click, wheel or pinch) */
.lightbox img {
  max-width: min(1200px, 88vw);
  max-height: 82vh;
  object-fit: contain;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform .25s ease;
}

.lightbox img.is-zoomed { cursor: grab; }
.lightbox img.is-dragging { transition: none; }
.lightbox img.is-zoomed.is-dragging { cursor: grabbing; }

/* round buttons: × ← → */
.lightbox button {
  position: absolute;
  z-index: 2;
  background: none;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background .2s;
}

.lightbox button:hover { background: rgba(255, 255, 255, .12); }

.lightbox .lightbox-close { top: 24px; right: 24px; font-size: 26px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* "3 / 17" */
.lightbox-count {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: .2em;
  color: #b5c3c6;
  margin: 0;
}

@media (max-width: 760px) {
  /* Phone: arrows move to the bottom corners */
  .lightbox-prev, .lightbox-next { top: auto; bottom: 14px; transform: none; }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
}


/* =========================================================
   16. ANIMATIONS & MISSING PHOTOS
   ========================================================= */

/* Gentle fade-in while scrolling (class="reveal", started by script.js) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Visitors who prefer less movement: no animations */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo { animation: none; }
  html { scroll-behavior: auto; }
}

/* If a photo file is missing, show striped box with the file name
   (helps you spot a wrong file name; added by script.js) */
.img-missing {
  position: relative;
  background: repeating-linear-gradient(135deg, #e3eaec 0 12px, #edf2f3 12px 24px) !important;
}

.img-missing > img { visibility: hidden; }

.img-missing::after {
  content: attr(data-missing);
  position: absolute;
  inset: auto 12px 12px 12px;
  font-size: 11px;
  font-family: ui-monospace, Menlo, monospace;
  color: #607985;
  background: rgba(255, 255, 255, .85);
  padding: 6px 8px;
  word-break: break-all;
}

.gallery-item.img-missing { cursor: default; }
