/* Contact page */

/* ---------- 1. opener: the form beside the car ---------- */
.cform { position: relative; overflow: clip; }
.cform::before { content: ''; position: absolute; right: -8%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(26, 169, 174, .12), transparent); pointer-events: none; }
.cform__grid { position: relative; max-width: 1520px; margin: 0 auto; padding: clamp(24px, 4.5vh, 52px) var(--gutter) clamp(36px, 6vh, 70px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 4.5vw, 80px); align-items: start; }
.cform__title { font-size: clamp(2.4rem, 4.2vw, 4rem); color: var(--ink); margin-bottom: 12px; }
.cform__lede { margin-bottom: clamp(18px, 3vh, 28px); }
.cform__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 20px; }
.field { display: grid; gap: 6px; position: relative; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(21, 25, 30, .16); border-bottom: 2px solid rgba(21, 25, 30, .4);
  border-radius: var(--corner); padding: 13px 16px 12px 22px; min-height: 52px;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
@media (min-width: 1101px) { .cform__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6f74' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ribbon-deep); box-shadow: 0 0 0 3px rgba(26, 169, 174, .25); }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ribbon); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field input::placeholder, .field textarea::placeholder { color: #6b737c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 18px; }
.cform__btn { min-width: 210px; }
.cform__btn.is-busy { pointer-events: none; opacity: .7; }
.cform__small { font-size: .95rem; }
.cform__small a { color: var(--ribbon-deep); }
.cform__error { background: #fff; border-left: 3px solid #b3261e; color: #8a1c16 !important; padding: 12px 16px; margin-bottom: 14px; font-weight: 500; }
.cform__done { background: var(--graphite); color: var(--ivory); border-radius: var(--corner); padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; }
.cform__done h2 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
.cform__done p { color: #d5dadf !important; }
.cform__done a { color: var(--ribbon-hi); }
.cform__bow { width: 180px; height: auto; overflow: visible; }
.cform__bow path { fill: none; stroke: var(--ribbon); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

.cform__aside { position: relative; padding-bottom: 60px; }
.cform__photo { height: min(60vh, 560px); }
.cform__photo img { object-position: 72% 78%; }
.cform__card { position: absolute; left: clamp(-60px, -3vw, -20px); right: clamp(20px, 4vw, 60px); bottom: 0; background: var(--graphite); color: var(--ivory); border-radius: var(--corner); padding: 22px 26px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.cform__phone { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; text-decoration: none; }
.cform__phone span { color: var(--chrome); font-weight: 500; }
.cform__phone strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.3rem); color: var(--ivory); transition: color .3s; }
.cform__phone:hover strong { color: var(--ribbon-hi); }
.cform__facts { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; border-top: 1px solid rgba(185, 192, 200, .2); padding-top: 14px; }
.cform__facts dt { font-weight: 600; color: var(--ribbon-hi); font-size: .95rem; }
.cform__facts dd { margin: 2px 0 0; color: #d5dadf; font-size: .98rem; line-height: 1.45; }

@media (max-width: 1000px) {
  .cform__grid { grid-template-columns: minmax(0, 1fr); }
  .cform__aside { max-width: 640px; }
  .cform__card { left: 16px; right: 16px; }
  .cform__photo { height: min(52vh, 420px); }
}
@media (max-width: 560px) {
  .cform__fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cform__facts { grid-template-columns: minmax(0, 1fr); }
  .cform__photo { height: 300px; }
  .cform__aside { padding-bottom: 150px; }
}

/* ---------- 2. area map ---------- */
.area { background: radial-gradient(70% 80% at 85% 40%, rgba(29, 43, 59, .95), transparent 70%), var(--graphite); overflow: clip; }
.area__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.area__text h2 { margin-bottom: 18px; }
.area__text .lede { color: var(--chrome); margin-bottom: 28px; }
.area__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.area__list li { display: grid; gap: 4px; padding-left: 20px; border-left: 2px solid var(--ribbon); }
.area__list strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; }
.area__list span { color: #cfd5db; }
.area__map { margin: 0; width: min(100%, calc(min(76vh, 760px) * 1.43)); justify-self: end; }
.map { width: 100%; height: auto; overflow: visible; }
.map__sea { fill: rgba(26, 169, 174, .07); stroke: none; }
.map__coast { fill: none; stroke: rgba(185, 192, 200, .5); stroke-width: 2; stroke-linejoin: round; }
.map__river { fill: none; stroke: rgba(26, 169, 174, .55); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.map__ring { fill: none; stroke: rgba(185, 192, 200, .28); stroke-width: 1.5; stroke-dasharray: 6 8; }
.map__ringlabel { fill: rgba(185, 192, 200, .75); font: 500 19px var(--body); text-anchor: middle; }
.map__water { fill: rgba(95, 211, 212, .6); font: 500 22px var(--body); letter-spacing: .12em; text-anchor: middle; }
.map__water--river { font-size: 19px; text-anchor: start; }
.map__route { fill: none; stroke: var(--ribbon); stroke-width: 2.5; stroke-linecap: round; opacity: .85; }
.map__pin { fill: var(--ivory); stroke: var(--ribbon); stroke-width: 3; }
.map__label { fill: var(--ivory); font: 600 22px var(--body); paint-order: stroke; stroke: rgba(18, 21, 25, .85); stroke-width: 5px; stroke-linejoin: round; }
.map__label--home { fill: var(--ribbon-hi); font-size: 24px; }
.map__home { fill: var(--ribbon); stroke: var(--ivory); stroke-width: 3; }
.map__pulse { fill: none; stroke: var(--ribbon-hi); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.map__car { fill: var(--ivory); r: 8px; filter: drop-shadow(0 0 6px rgba(95, 211, 212, .9)); }
@media (max-width: 900px) {
  .area__grid { grid-template-columns: minmax(0, 1fr); }
  .area__map { justify-self: stretch; width: 100%; }
}

/* ---------- 3. book online ---------- */
.book__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.book__card { position: relative; display: flex; flex-direction: column; justify-content: end; min-height: min(46vh, 400px); border-radius: var(--corner); overflow: clip; color: var(--ivory); text-decoration: none; isolation: isolate; }
.book__img { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.book__img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.book__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 15, 19, 0) 30%, rgba(12, 15, 19, .9)); }
.book__body { display: grid; gap: 4px; padding: clamp(18px, 2vw, 28px); }
.book__body strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 1.8vw, 1.8rem); }
.book__body > span { color: #d5dadf; }
.book__body em { font-style: normal; font-weight: 600; color: var(--ribbon-hi); margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; }
.book__body em::after { content: ''; width: 30px; height: 2px; background: currentColor; transition: width .5s var(--ease); }
.book__card:hover em::after { width: 56px; }
@media (max-width: 860px) { .book__grid { grid-template-columns: minmax(0, 1fr); } .book__card { min-height: 260px; } }
.cform__aside.framed::after { top: 40px; bottom: 120px; right: -16px; }
