:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --white: #fff;
  --ink: #182820;
  --pine: #183e32;
  --green: #255b45;
  --muted: #515b55;
  --line: #dedfd7;
  --gold: #cba96f;
  --serif: "DM Serif Text", Georgia, serif;
  --sans: "Inter", "Open Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); }
button, input, select, textarea { font: inherit; }
button, select, input[type="date"] { cursor: pointer; }
a { color: inherit; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2, legend { font-family: var(--serif); font-weight: 400; }
:focus-visible { outline: 3px solid #9c6a1f; outline-offset: 3px; }
.wrap { width: min(calc(100% - 72px), 1280px); margin-inline: auto; }
.site-header { background: var(--white); border-bottom: 1px solid #ebece6; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; object-fit: contain; }
.header-contact { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 100px; padding: 8px 15px; font-size: .81rem; font-weight: 650; text-decoration: none; }
.header-contact:hover { border-color: #93a79a; background: #f1f5ef; }
[data-icon] { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; }
[data-icon] svg { width: 100%; height: 100%; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 366px; margin-top: 25px;
  display: flex; align-items: center; border-radius: 20px; color: var(--white);
  background: #144336 url("assets/red-sea.webp") 52% 55% / cover no-repeat;
}
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(8, 29, 24, .92), rgba(9, 36, 30, .76) 32%, rgba(9, 40, 34, .25) 66%, transparent 100%); }
.hero-content { padding: 36px clamp(30px, 5vw, 74px) 40px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.hero-eyebrow { color: #fff1d6; }
.hero-eyebrow span { width: 4px; height: 4px; background: #e7c587; border-radius: 50%; }
.hero h1 { margin: 12px 0 14px; font-size: clamp(3.15rem, 5.55vw, 5.25rem); line-height: .99; letter-spacing: -.045em; }
.hero-copy { max-width: 345px; color: #f3f6f2; font-size: .94rem; }
.hero-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; border-radius: 7px; padding: 9px 13px; min-height: 44px; background: #f4e2bd; color: #1b2e24; text-decoration: none; font-size: .84rem; font-weight: 720; }
.hero-link:hover { background: #fff0d0; }
.hero-link [data-icon], .header-contact [data-icon] { width: 16px; height: 16px; }
.planner-layout { margin: 35px 0 44px; display: grid; gap: clamp(22px, 3vw, 38px); grid-template-columns: minmax(0, 1fr) minmax(275px, 342px); align-items: start; scroll-margin-top: 20px; }
.trip-form, .service-picker { min-width: 0; }
.service-picker { padding: 0; margin: 0; border: 0; }
.service-picker legend, .section-heading h2 { padding: 0; font-size: clamp(1.95rem, 2.7vw, 2.6rem); line-height: 1.11; letter-spacing: -.034em; }
.form-intro { color: var(--muted); margin: 6px 0 17px; }
.services { margin-top: 13px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.service { position: relative; display: block; height: 100%; cursor: pointer; }
.service input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.service-card { display: flex; flex-direction: column; height: 100%; min-height: 135px; gap: 2px; padding: 12px 13px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: background .15s, border-color .15s; }
.service:hover .service-card { border-color: #91a497; background: #fdfefb; }
.service input:checked + .service-card { border-color: var(--green); background: #eef4ec; box-shadow: 0 0 0 1px var(--green); }
.service input:focus-visible + .service-card { outline: 3px solid #9c6a1f; outline-offset: 3px; }
.service-icon, .summary-icon { border-radius: 8px; background: #eef2e9; color: var(--green); width: 35px; height: 35px; margin-bottom: 5px; }
.service-icon svg, .summary-icon svg { width: 20px; height: 20px; }
.service input:checked + .service-card .service-icon { background: #dce9da; }
.pick { position: absolute; top: 13px; right: 13px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #b7c2b5; background: var(--white); }
.service input:checked + .service-card .pick { border: 4px solid var(--green); }
.service-name { font-weight: 720; color: var(--ink); font-size: .92rem; }
.service-description { font-size: .79rem; line-height: 1.37; color: var(--muted); }
.details-section { margin-top: 23px; padding: clamp(17px, 2.45vw, 28px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.section-heading h2 { font-size: 1.95rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.shared-fields { margin-top: 13px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, dialog label { color: var(--ink); font-size: .85rem; font-weight: 680; }
.optional { font-size: .77rem; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, dialog textarea {
  width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #cfd4cc;
  border-radius: 7px; background: #fcfdfa; color: var(--ink); font-size: .95rem;
}
.field input:disabled { background: #f1f2ef; color: #5f685e; cursor: default; }
.field input[type="date"] { display: block; }
textarea { resize: vertical; }
.field-help { font-size: .77rem; color: var(--muted); }
.note-field { margin-top: 14px; }
.form-actions, .dialog-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 13px; border: 1px solid transparent; border-radius: 7px; font-size: .87rem; font-weight: 680; }
.button [data-icon] { width: 17px; height: 17px; }
.button[href] { text-decoration: none; }
.primary { background: var(--pine); color: var(--white); }
.primary:hover { background: #245741; }
.text-button { color: var(--green); background: transparent; }
.text-button:hover { background: #eef2e9; }
.summary { position: sticky; top: 18px; padding: 20px; border: 1px solid #d7dfd3; border-radius: 14px; background: #f0f3eb; }
.summary-top { display: flex; align-items: center; gap: 10px; }
.summary-icon { flex-shrink: 0; margin: 0; background: #dfe9d9; }
.summary h2 { font-size: 1.60rem; letter-spacing: -.025em; line-height: 1.1; }
.summary-empty { padding: 11px 0 15px; font-size: .89rem; color: var(--muted); }
.summary-list { padding: 6px 0 13px; }
.summary-list > div { padding: 7px 0 0; overflow-wrap: anywhere; }
.summary-list dt { color: var(--muted); font-size: .75rem; }
.summary-list dd { font-weight: 620; font-size: .86rem; white-space: pre-wrap; }
.summary-note { border-top: 1px solid #d7dfd3; padding-top: 12px; display: flex; gap: 7px; align-items: flex-start; font-size: .79rem; line-height: 1.45; color: var(--muted); }
.summary-note [data-icon] { width: 15px; height: 15px; margin-top: 1px; color: var(--green); }
.contact { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 22px 0 27px; border-top: 1px solid var(--line); }
.contact h2 { font-size: 1.41rem; }
.contact p { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 11px 25px; font-size: .82rem; }
.contact-links dt { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .73rem; }
.contact-links dd { font-weight: 680; overflow-wrap: anywhere; }
.contact-links [data-icon] { width: 13px; height: 13px; }
dialog { width: min(calc(100% - 28px), 568px); max-height: calc(100dvh - 28px); border: 1px solid var(--line); border-radius: 15px; background: var(--white); color: var(--ink); padding: 0; box-shadow: 0 20px 80px #0c291b40; }
dialog::backdrop { background: #0d281fc4; }
.dialog-inner { padding: clamp(16px, 4vw, 27px); }
.dialog-header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.dialog-header h2 { font-size: clamp(1.75rem, 5vw, 2.1rem); line-height: 1.14; }
.dialog-header p, .dialog-contact { color: var(--muted); font-size: .83rem; margin-top: 6px; }
.close-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); }
.close-button:hover { background: #eef2e9; }
.close-button svg { width: 19px; height: 19px; }
dialog textarea { display: block; margin-top: 4px; max-height: 42vh; font-size: .88rem; }
.copy-status { margin-top: 7px; font-size: .8rem; color: var(--green); }
.copy-status:empty { display: none; }
@media (max-width: 980px) {
  .wrap { width: min(calc(100% - 44px), 1280px); }
  .planner-layout { grid-template-columns: minmax(0, 1fr) minmax(231px, 29%); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 63px; }
  .brand img { width: 83px; height: 38px; }
  .header-contact { min-height: 44px; padding: 7px 10px; }
  .hero { min-height: 326px; margin-top: 14px; border-radius: 14px; background-position: 72% 50%; }
  .hero::before { background: linear-gradient(90deg, #0a2a21e8, #0a291ed1 34%, #0b291d38); }
  .hero-content { padding: 24px 18px 26px; }
  .hero h1 { font-size: clamp(2.9rem, 10.4vw, 4rem); }
  .hero-copy { max-width: 270px; font-size: .89rem; }
  .hero-link { margin-top: 16px; }
  .planner-layout { grid-template-columns: minmax(0, 1fr); gap: 17px; margin: 22px 0; }
  .summary { position: static; padding: 16px; }
  .service-card { min-height: 108px; }
  .field input, .field select, .field textarea, dialog textarea { font-size: 16px; }
  .contact { flex-direction: column; align-items: flex-start; gap: 9px; }
}
@media (max-width: 345px) {
  .field-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
