/* Velvet Corfu Transfers demo.
   Template 3's white page, slate buttons and sage highlights become the
   business's name: an ivory ground, a deep wine for buttons and the footer,
   and a champagne highlight. One family, Commissioner, which carries Greek. */

:root {
  --bg: #FBF8F5;
  --surface: #FFFFFF;
  --tile: #F3ECE6;
  --tile-2: #EADBDF;
  --line: #E7DCD6;
  --ink: #2B1A22;
  --muted: #6B5A62;
  --velvet: #6D1F3A;
  --velvet-hover: #561629;
  --velvet-soft: #F4E7EA;
  --champagne: #EBCF9C;
  --champagne-hover: #F2DCB4;
  --foot: #2A1520;
  --foot-text: #E9DDE1;
  --foot-muted: #BFA9B1;

  --sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-xl: 22px;
  --r-lg: 16px;
  --r-md: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --top-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(43, 26, 34, .05), 0 12px 32px -12px rgba(43, 26, 34, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
.i { flex: 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; }
:focus-visible { outline: 2px solid var(--velvet); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--velvet); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 11px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-velvet, .btn-dark { background: var(--velvet); color: #fff; }
.btn-velvet:hover, .btn-dark:hover { background: var(--velvet-hover); }
.btn-champagne { background: var(--champagne); color: var(--ink); }
.btn-champagne:hover { background: var(--champagne-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.stars { display: inline-flex; gap: 2px; color: #E0A93B; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 245, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; flex: none; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--velvet); color: var(--champagne); font: 700 1.15rem/1 var(--sans);
}
.brand-name { display: flex; flex-direction: column; font: 700 1.25rem/1 var(--sans); letter-spacing: -.01em; color: var(--velvet); }
.brand-name small { font: 600 .6rem/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { margin: 0 auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--tile); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 10px; font-weight: 600; font-size: .82rem; text-decoration: none; color: var(--muted); }
.lang:hover { background: var(--tile); color: var(--ink); }
.top-phone { min-height: 44px; padding: 8px 16px; font-size: .9rem; }

.menu-btn { display: none; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger span { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; width: 14px; left: 6px; }
.burger span:nth-child(3) { top: 12px; }
.menu-btn.is-open { background: var(--velvet); border-color: var(--velvet); }
.menu-btn.is-open .burger span { background: #fff; top: 6px; }
.menu-btn.is-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-btn.is-open .burger span:nth-child(2) { opacity: 0; }
.menu-btn.is-open .burger span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 959px) {
  .nav, .top-phone, .lang { display: none; }
  .menu-btn { display: inline-grid; }
  .top-actions { margin-left: auto; }
}

/* the phone menu: a sheet that slides down from the header */
.sheet { position: fixed; inset: 0; z-index: 90; background: rgba(43, 26, 34, .35); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .3s; }
.sheet.open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease), visibility 0s; }
.sheet-panel {
  background: var(--bg); border-radius: 0 0 26px 26px; padding: 0 var(--gutter) 24px;
  max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-24px); transition: transform .35s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(43, 26, 34, .45);
}
.sheet.open .sheet-panel { transform: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--top-h); }
.sheet-links { margin-top: 8px; }
.sheet-links li, .sheet-row, .sheet-foot { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i, 0) * 40ms + 80ms); }
.sheet.open .sheet-links li, .sheet.open .sheet-row, .sheet.open .sheet-foot { opacity: 1; transform: none; }
.sheet-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px; margin-bottom: 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: 1.2rem; text-decoration: none;
}
.sheet-links a .i { color: var(--velvet); transition: transform .2s var(--ease); }
.sheet-links a:hover .i { transform: translateX(3px); }
.sheet-row { display: flex; align-items: center; justify-content: space-between; margin: 14px 2px 0; }
.sheet-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--tile); }
.seg-item { display: inline-grid; place-items: center; min-width: 56px; min-height: 40px; border-radius: 999px; font-weight: 600; font-size: .85rem; text-decoration: none; color: var(--muted); }
.seg-item.is-on { background: var(--velvet); color: #fff; }
.sheet-foot { display: grid; gap: 10px; margin-top: 20px; }
.sheet-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html.locked, html.locked body { overflow: hidden; }
@media (min-width: 960px) { .sheet { display: none !important; } }

/* hero */
.hero { padding: 12px 0 0; }
.hero-card { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; min-height: 560px; display: flex; align-items: center; }
.hero-card picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-img { object-fit: cover; object-position: 60% 60%; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31, 14, 22, .9) 0%, rgba(31, 14, 22, .74) 42%, rgba(31, 14, 22, .1) 78%); }
.hero-copy { max-width: 560px; padding: clamp(32px, 6vw, 64px); color: #fff; }
.hero h1 { font-weight: 700; font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.hero-copy > p { margin-top: 18px; font-size: 1.05rem; color: rgba(255, 255, 255, .9); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: rgba(255, 255, 255, .92); font-size: .9rem; text-decoration: none; }
.hero-rating b { color: #fff; }
.hero-rating:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 699px) {
  .hero-card { min-height: 600px; align-items: flex-end; }
  .hero-img { object-position: 50% 50%; }
  .hero-veil { background: linear-gradient(180deg, rgba(31, 14, 22, .15) 0%, rgba(31, 14, 22, .72) 38%, rgba(31, 14, 22, .92) 100%); }
  .hero-copy { padding: 28px 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* sections */
.sec { padding: clamp(64px, 9vw, 104px) 0; }
.sec-top0 { padding-top: 0; }
.sec-tint { background: var(--tile); }
.head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.head h2 { font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.head p { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--velvet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.svc { display: flex; flex-direction: column; }
.svc-media { aspect-ratio: 4 / 3.3; border-radius: var(--r-lg); overflow: hidden; background: var(--tile); }
.svc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc-img { transform: scale(1.04); }
.svc-media-icon { display: grid; place-items: center; color: var(--velvet); background: linear-gradient(135deg, var(--velvet-soft), var(--tile)); }
.svc-media-icon .i { width: 56px; height: 56px; stroke-width: 1.3; }
.svc h3 { margin-top: 18px; font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em; }
.svc p { margin-top: 8px; color: var(--muted); font-size: .95rem; flex: 1; }
.svc .btn { align-self: flex-start; margin-top: 18px; }
@media (max-width: 1099px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
@media (max-width: 559px) { .svc-grid { grid-template-columns: 1fr; } .svc .btn { align-self: stretch; } }

/* booking */
.book-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.book-copy h2 { font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; }
.book-copy > p { margin-top: 12px; color: var(--muted); }
.direct { margin-top: 32px; display: grid; gap: 10px; }
.direct-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.direct-link { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: border-color .2s; }
.direct-link:hover { border-color: var(--velvet); }
.direct-text { display: flex; flex-direction: column; }
.direct-link small { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.direct-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--velvet-soft); color: var(--velvet); }
.book { background: var(--surface); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line); font-size: 1rem; transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder { color: #9A8890; }
.field input:hover, .field select:hover { border-color: #CDBCB4; }
.field input:focus, .field select:focus { outline: none; border-color: var(--velvet); box-shadow: 0 0 0 3px var(--velvet-soft); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.err { color: #B3261E; font-size: .84rem; }
.book .btn-block { margin-top: 4px; min-height: 52px; }
.book-note { font-size: .82rem; color: var(--muted); text-align: center; }
@media (max-width: 899px) {
  .book-wrap { grid-template-columns: 1fr; gap: 20px; }
  .book-copy { display: contents; }
  .book-copy h2 { order: 0; }
  .book-copy > p { order: 1; margin-top: -8px; }
  .book { order: 2; }
  .direct { order: 3; margin-top: 8px; }
}
@media (max-width: 459px) { .grid2 { grid-template-columns: 1fr; } .grid2:has(#f-date), .grid2:has(#f-pax) { grid-template-columns: 1fr 1fr; } }

/* cars */
.cars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
.car-tile { aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; background: var(--tile); }
.car:nth-child(2) .car-tile { background: var(--tile-2); }
.car-img { width: 100%; height: 100%; object-fit: cover; }
.car h3 { margin-top: 16px; font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.car-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.car-specs span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--tile); font-size: .88rem; font-weight: 500; }
.car-specs .i { color: var(--velvet); }
@media (max-width: 639px) { .cars { grid-template-columns: 1fr; } }

/* why */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-item { text-align: center; padding: 8px 12px; }
.why-icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 18px; background: var(--velvet); color: var(--champagne); }
.why-item.is-accent .why-icon { background: var(--champagne); color: var(--velvet); }
.why-item h3 { margin-top: 20px; font-weight: 700; font-size: 1.2rem; }
.why-item p { margin-top: 8px; color: var(--muted); max-width: 32ch; margin-inline: auto; }
@media (max-width: 799px) { .why { grid-template-columns: 1fr; gap: 36px; } }

/* review carousel: scroll snap, the buttons only move it */
.carousel { position: relative; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 44%); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc((100% - 44%) / 2);
  padding: 16px calc((100% - 44%) / 2) 24px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: center; }
.quote figure {
  margin: 0; height: 100%; display: flex; flex-direction: column; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease);
  opacity: .55; transform: scale(.94);
}
.quote.is-current figure { opacity: 1; transform: none; box-shadow: var(--shadow); }
.quote-mark { color: var(--champagne); }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-size: 1.02rem; line-height: 1.65; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.quote small { color: var(--muted); font-size: .82rem; }
.quote-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--velvet-soft); color: var(--velvet); font-weight: 700; }
.car-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.round { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: background-color .18s, color .18s; }
.round:hover { border-color: var(--velvet); color: var(--velvet); }
.round-dark { background: var(--velvet); border-color: var(--velvet); color: #fff; }
.round-dark:hover { background: var(--velvet-hover); color: #fff; }
.round:disabled { opacity: .4; cursor: default; }
@media (max-width: 799px) {
  .track { grid-auto-columns: 86%; scroll-padding-inline: 7%; padding-inline: 7%; }
}

/* closing band */
.band { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; min-height: 380px; display: grid; place-items: center; text-align: center; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-veil { position: absolute; inset: 0; z-index: -1; background: rgba(43, 18, 30, .62); }
.band-copy { padding: 48px 24px; color: #fff; max-width: 640px; }
.band h2 { font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.band p { margin-top: 12px; color: rgba(255, 255, 255, .88); }
.band .btn { margin-top: 26px; }

/* footer */
.foot { background: var(--foot); color: var(--foot-text); padding: 64px 0 28px; }
.foot .brand-mark { background: var(--champagne); color: var(--velvet); }
.foot .brand-name { color: #fff; }
.foot .brand-name small { color: var(--foot-muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 14px; color: var(--foot-muted); }
.foot-h { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); margin-bottom: 10px; }
.foot ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--foot-text); text-decoration: none; }
.foot ul a:hover { color: var(--champagne); }
.foot-contact .i { color: var(--champagne); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(233, 221, 225, .14); font-size: .86rem; color: var(--foot-muted); }
.note summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.note summary::-webkit-details-marker { display: none; }
.note[open] { flex-basis: 100%; order: 3; }
.note-body { display: grid; gap: 8px; max-width: 70ch; padding-bottom: 8px; }
.foot-lang { display: inline-flex; align-items: center; min-height: 44px; color: var(--foot-text); }
@media (max-width: 799px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 459px) { .foot-grid { grid-template-columns: 1fr; } }

/* phone dock */
.dock { display: none; }
@media (max-width: 959px) {
  body { padding-bottom: 78px; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 245, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); transition: transform .25s var(--ease);
  }
  .dock.away { transform: translateY(110%); }
  .dock-icon { width: 50px; padding: 0; flex: none; }
  .dock-book { flex: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
