/* Grumpy's Car Hire — simple and crisp. White space, charcoal type, the
   logo's teal for accents, Archivo throughout, neat 6px corners. */
:root {
  --teal: #0291ad;
  --teal-dark: #01758b;
  --teal-pale: #e9f6f9;
  --char: #2b2c2e;
  --ink: #1e1f21;
  --text: #4c5156;
  --muted: #7d8287;
  --line: #e6e8ea;
  --grey: #f6f7f8;
  --white: #fff;
  --r: 6px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 80px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.03rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-stretch: 92%; letter-spacing: -.02em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { color: var(--teal-dark); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--r); background: var(--teal); color: #fff; font: 600 .97rem/1 var(--font); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--teal-dark); }
.btn--lg { height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn--sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--line:hover { background: transparent; border-color: var(--char); }
.btn:disabled { opacity: .6; cursor: progress; }
.link { justify-self: start; padding: 0; border: 0; background: none; color: var(--teal-dark); font: 600 .95rem var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: #ffffffee; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__logo img { width: 104px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav__links a:hover { color: var(--teal-dark); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__phone .i { color: var(--teal); }

/* hero: the copy centred, the fleet lined up on one ground line, standing on a teal band */
.hero { padding-top: 104px; background: linear-gradient(180deg, var(--white) 0%, var(--teal-pale) 100%); overflow: hidden; }
.hero__copy { max-width: 760px; text-align: center; }
.hero h1 { margin-top: 14px; font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero__lead { max-width: 34em; margin: 20px auto 0; font-size: 1.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; padding-bottom: 88px; }

.hero__band { position: relative; padding: 26px 0; background: var(--teal); }
.hero__band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #ffffff40; }
.search { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr auto; border-radius: var(--r); background: var(--white); box-shadow: 0 20px 40px -24px #00303b99; overflow: hidden; }
.search__field { display: grid; gap: 2px; padding: 12px 18px; min-width: 0; border-right: 1px solid var(--line); }
.search__field span { color: var(--muted); font-size: .78rem; font-weight: 600; }
.search__field select, .search__field input { width: 100%; padding: 2px 0; border: 0; background: transparent; color: var(--ink); font: 600 .98rem var(--font); cursor: pointer; }
.search__field select:focus, .search__field input:focus { outline: none; }
.search__field:focus-within span { color: var(--teal-dark); }
.search__go { height: auto; border-radius: 0; padding: 0 30px; background: var(--char); }
.search__go:hover { background: var(--ink); }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; color: #fff; font-size: .98rem; font-weight: 600; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts .i { width: 16px; height: 16px; stroke-width: 2.6; }

/* sections */
.section { padding: 96px 0; }
.section--grey { background: var(--grey); }
.section--tight { padding: 40px 0; }
.head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.head--left { margin: 0; text-align: left; }
.head h2, .partner h2, .visit h2 { margin-top: 10px; font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.12; }
.head p { margin-top: 14px; font-size: 1.08rem; }

/* cars */
.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.car { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.car:hover { border-color: #d3d7da; box-shadow: 0 16px 36px -22px #1e1f2147; }
.car__img { display: grid; place-items: end center; aspect-ratio: 16 / 10; padding: 24px 20px 16px; background: var(--grey); }
.car__img img { width: calc(var(--scale, .9) * 100%); filter: drop-shadow(0 12px 10px #1e1f2124); }
.car__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.car__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.car h3 { font-size: 1.25rem; font-weight: 700; }
.car__count { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.car__body > p { margin-top: 8px; font-size: .97rem; }
.car__facts { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.car__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.car__price { color: var(--ink); font-weight: 700; }
.car__price small { color: var(--muted); font-weight: 400; }

/* rates: the rate card as a plain table */
.rates { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.rates__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .97rem; }
.rates__table th, .rates__table td { padding: 13px 20px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.rates__table thead th, .rates__table thead td { border-top: 0; padding-top: 18px; padding-bottom: 16px; color: var(--ink); font-weight: 700; vertical-align: bottom; }
.rates__table thead small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.rates__table tbody th { text-align: left; color: var(--text); font-weight: 500; }
.rates__table tbody th small { color: var(--muted); font-size: .82rem; font-weight: 400; }
.rates__table td { color: var(--ink); font-variant-numeric: tabular-nums; }
.rates__table tbody tr:not(.rates__group):hover { background: var(--grey); }
.rates__group th { padding-top: 22px; padding-bottom: 8px; background: var(--teal-pale); color: var(--teal-dark) !important; font-size: .78rem; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; }
.rates__note { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: .92rem; text-align: center; }
.rates__go { display: flex; justify-content: center; margin-top: 26px; }
.rates__group th { position: relative; }
.rates__book { position: absolute; right: 14px; bottom: 6px; padding: 4px 10px; border: 1px solid #0291ad55; border-radius: 999px; background: var(--white); color: var(--teal-dark); font: 600 .74rem var(--font); letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .15s, color .15s; }
.rates__book:hover { background: var(--teal); color: #fff; }
@media (max-width: 600px) {
  .rates__table { min-width: 0; font-size: .86rem; }
  .rates__table th, .rates__table td { padding: 11px 8px; }
  .rates__table tbody th { white-space: normal; padding-left: 12px; }
  .rates__table td:last-child, .rates__table thead th:last-child { padding-right: 12px; }
  .rates__table tbody th small { display: block; }
  .rates__group th { padding-left: 12px !important; }
  .rates__brand { display: none; }
}

/* why: what we're grumpy about, and what you get instead */
.grumpy { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.grumpy__head h2 { margin-top: 10px; font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.12; }
.grumpy__head h2 span { color: var(--teal); }
.grumpy__head > p:not(.eyebrow) { margin-top: 16px; font-size: 1.08rem; max-width: 26em; }
.gripes { display: grid; gap: 10px; }
.gripe { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, transform .2s; }
.gripe:hover { border-color: #b9dfe7; transform: translateX(4px); }
.gripe p { display: flex; align-items: center; gap: 10px; }
.gripe__bad { color: var(--muted); font-size: .95rem; }
.gripe__bad s { text-decoration-color: #c4c8cb; text-decoration-thickness: 1.5px; }
.gripe__bad .i { color: #b3b8bc; }
.gripe__arrow { color: #c4c8cb; }
.gripe__good { color: var(--ink); font-weight: 600; }
.gripe__good .i { width: 22px; height: 22px; color: var(--teal); }

/* destinations */

/* Danmar: one long pill */
.pill { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 14px 18px 14px 14px; border-radius: 999px; background: linear-gradient(100deg, var(--white) 0%, var(--teal-pale) 100%); border: 1px solid #d5ecf1; box-shadow: 0 24px 50px -32px #01758b66; }
.pill__photo { position: relative; width: 168px; height: 168px; flex: none; }
.pill__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; border-radius: 50%; border: 5px solid var(--white); box-shadow: 0 10px 24px -12px #1e1f2159; }
.pill__badge { position: absolute; right: 2px; bottom: 6px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; border: 3px solid var(--white); }
.pill__badge .i { width: 20px; height: 20px; }
.pill__copy h2 { margin-top: 6px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.12; }
.pill__copy > p:not(.eyebrow) { margin-top: 8px; max-width: 40em; }
.pill__copy strong { color: var(--ink); }
.pill__btn { display: inline-flex; align-items: center; gap: 8px; height: 56px; margin-right: 12px; padding: 0 26px; border-radius: 999px; background: var(--char); color: #fff; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background .15s, transform .15s; }
.pill__btn:hover { background: var(--teal); transform: translateX(2px); }

/* contact */
.visit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.contact { display: grid; gap: 18px; margin: 28px 0 32px; }
.contact li { display: flex; gap: 14px; }
.contact .i { width: 22px; height: 22px; margin-top: 2px; color: var(--teal); }
.contact strong { color: var(--ink); }
.contact a { color: var(--text); text-decoration: none; }
.contact a:hover { color: var(--teal-dark); }
.visit__map { display: block; width: 100%; height: 400px; border: 0; border-radius: var(--r); background: var(--white); }

/* booking popup: the booking taking shape on the left, three steps on the right */
.modal { width: min(1040px, calc(100% - 32px)); max-width: calc(100% - 32px); height: min(760px, calc(100dvh - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 18px; background: var(--white); color: var(--text); box-shadow: 0 40px 100px -30px #00000099; overflow: hidden; }
.modal::backdrop { background: #16181acc; backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal__grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); height: 100%; }
.modal__main { position: relative; overflow-y: auto; overscroll-behavior: contain; }

.book-sum { position: relative; display: flex; flex-direction: column; padding: 30px 30px 28px; overflow: hidden; background: radial-gradient(420px 300px at 50% 34%, #0291ad59 0%, transparent 70%), linear-gradient(180deg, #2b2c2e 0%, #1c1d1f 100%); color: #c7cbce; }
.book-sum__label { color: #7fd3e3; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.book-sum__car { display: grid; place-items: end center; height: 190px; margin: 18px -12px 6px; }
.book-sum__car img { width: 100%; filter: drop-shadow(0 22px 18px #00000080); animation: car-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes car-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.book-sum h3 { color: #fff; font-size: 1.55rem; font-weight: 800; }
.book-sum__tag { margin-top: 2px; font-size: .92rem; }
.book-sum__dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 16px; border: 1px solid #ffffff1f; border-radius: 12px; background: #ffffff0a; }
.book-sum__dates div { display: grid; gap: 2px; }
.book-sum__dates div:last-child { text-align: right; }
.book-sum__dates span { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #8e959a; }
.book-sum__dates b { color: #fff; font-weight: 600; font-size: .98rem; }
.book-sum__dates .book-sum__days { padding: 5px 10px; border-radius: 999px; background: var(--teal); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.book-sum__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; }
.book-sum__price span { font-size: .9rem; }
.book-sum__price b { color: #fff; font-size: 1.15rem; font-weight: 700; text-align: right; }
.book-sum__how { margin-top: 6px; color: #a9b0b5; font-size: .84rem; line-height: 1.5; }
.book-sum__notes { display: grid; gap: 8px; margin-top: auto; padding-top: 22px; border-top: 1px solid #ffffff17; font-size: .9rem; }
.book-sum__notes li { display: flex; align-items: center; gap: 9px; }
.book-sum__notes .i { width: 16px; height: 16px; color: #7fd3e3; stroke-width: 2.6; }

.modal__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 32px 18px; background: #ffffffeb; backdrop-filter: blur(8px); }
.modal__head h2 { font-size: 1.6rem; font-weight: 800; }
.modal__head p { margin-top: 2px; color: var(--muted); font-size: .94rem; }
.modal__close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--grey); color: var(--ink); cursor: pointer; transition: background .15s; }
.modal__close:hover { background: var(--line); }
.modal__form { display: grid; gap: 26px; padding: 6px 32px 32px; }

.step { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; color: var(--ink); font-size: 1.02rem; font-weight: 700; }
.step__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); font-size: .82rem; font-weight: 800; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: grid; gap: 2px; padding: 12px 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: #bfc5c9; transform: translateY(-2px); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__img { display: grid; place-items: end center; height: 82px; margin-bottom: 8px; border-radius: 10px; background: var(--grey); }
.tile__img img { width: 88%; margin-bottom: -4px; filter: drop-shadow(0 8px 6px #1e1f2126); }
.tile__name { color: var(--ink); font-weight: 700; font-size: .95rem; }
.tile__rate { color: var(--muted); font-size: .82rem; }
.tile__tick { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.tile__tick .i { width: 14px; height: 14px; stroke-width: 3; }
.tile:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 3px #0291ad24; }
.tile:has(input:checked) .tile__img { background: var(--teal-pale); }
.tile:has(input:checked) .tile__tick { opacity: 1; transform: none; }
.tile:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

.row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-stack { display: grid; gap: 10px; align-content: start; min-width: 0; }
.modal__fine { margin: -6px 0 0; color: var(--muted); font-size: .84rem; }
.modal__fine a { color: var(--teal-dark); font-weight: 600; }

/* rental terms */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.term { padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.term h3 { margin: 0 0 12px; color: var(--ink); font-size: 1.05rem; font-weight: 700; }
.term ul { display: grid; gap: 10px; }
.term li { position: relative; padding-left: 18px; color: var(--text); font-size: .93rem; line-height: 1.55; }
.term li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@media (max-width: 1000px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .terms { grid-template-columns: 1fr; } }
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pkg { position: relative; display: grid; align-content: start; gap: 3px; padding: 14px 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pkg:hover { border-color: #bfc5c9; transform: translateY(-2px); }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg__name { color: var(--ink); font-weight: 700; font-size: .95rem; }
.pkg__rate { color: var(--teal-dark); font-weight: 800; font-size: 1.15rem; }
.pkg__rate small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.pkg__more { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.pkg:has(input:checked) { border-color: var(--teal); background: var(--teal-pale); box-shadow: 0 0 0 3px #0291ad24; }
.pkg:has(input:checked) .tile__tick { opacity: 1; transform: none; }
.pkg:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.pkg-terms { padding: 11px 14px; border-radius: 12px; background: var(--grey); color: var(--text); font-size: .86rem; line-height: 1.5; }
.pkg-terms b { color: var(--ink); }
.avail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 11px 14px; border-radius: 12px; font-size: .9rem; line-height: 1.45; }
.avail .i { width: 18px; height: 18px; flex: none; stroke-width: 2.6; }
.avail span { flex: 1 1 220px; }
.avail--ok { background: #eaf7ef; color: #1d6b3a; }
.avail--ok b { color: #145a2e; }
.avail--no { background: #fdf3e7; color: #8a4b0f; }
.avail--no b { color: #6e3a08; }
.avail .link { flex: none; color: var(--teal-dark); font-weight: 700; }
.tile__booked { justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #fdf3e7; color: #8a4b0f; font-size: .72rem; font-weight: 700; }
.tile.is-booked .tile__img img { opacity: .45; }
.step__opt { color: var(--muted); font-size: .84rem; font-style: normal; font-weight: 400; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s; }
.extra.is-on { border-color: var(--teal); background: var(--teal-pale); }
.extra__text { display: grid; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.extra__text b { color: var(--ink); font-size: .93rem; font-weight: 700; }
.extra__qty { display: flex; align-items: center; gap: 6px; flex: none; }
.extra__qty button { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); font: 700 1.05rem/1 var(--font); cursor: pointer; transition: border-color .15s, background .15s; }
.extra__qty button:hover:not(:disabled) { border-color: var(--teal); color: var(--teal-dark); }
.extra__qty button:disabled { opacity: .35; cursor: default; }
.extra__qty output { min-width: 18px; color: var(--ink); font-weight: 700; text-align: center; }
@media (max-width: 600px) { .extras { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pkgs { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { color: var(--ink); font-size: .86rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid transparent; border-radius: 12px; background: var(--grey); color: var(--ink); font: 500 .97rem var(--font); transition: border-color .15s, background .15s, box-shadow .15s; }
.field input::placeholder, .field textarea::placeholder { color: #a3a8ac; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: #eff1f2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--teal); box-shadow: 0 0 0 4px #0291ad1f; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--teal-dark); }
.error { padding: 12px 14px; border-radius: 12px; background: #fdeeec; color: #9b2316; font-size: .92rem; font-weight: 600; }
.book-go { width: 100%; height: 58px; border-radius: 14px; font-size: 1.05rem; }
.book-go .i { transition: transform .2s; }
.book-go:hover .i { transform: translateX(3px); }

.modal__done { display: grid; gap: 12px; justify-items: start; align-content: center; min-height: 70%; padding: 32px; }
.modal__done:focus { outline: none; }
.done__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); }
.done__icon .i { width: 28px; height: 28px; stroke-width: 2.6; }
.modal__done h3 { font-size: 1.6rem; font-weight: 800; }
.modal__done b { color: var(--ink); }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.modal__done .btn--ghost { background: var(--white); border-color: var(--line); color: var(--ink); }

@media (max-width: 860px) {
  .modal { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .modal__grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .book-sum { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 16px; padding: 14px 18px; }
  .book-sum__label, .book-sum__notes, .book-sum__tag, .book-sum__price, .book-sum__how { display: none; }
  .book-sum__car { height: auto; margin: 0; align-self: center; }
  .book-sum__car img { filter: drop-shadow(0 10px 8px #00000080); }
  .book-sum h3 { font-size: 1.05rem; }
  .book-sum__dates { margin-top: 4px; padding: 0; border: 0; background: none; gap: 6px; grid-template-columns: auto auto auto; justify-content: start; }
  .book-sum__dates div:last-child { text-align: left; }
  .book-sum__dates div span { display: none; }
  .book-sum__dates b { font-size: .85rem; }
  .modal__head { padding: 18px 18px 12px; }
  .modal__head h2 { font-size: 1.3rem; }
  .modal__form { padding: 4px 18px 24px; }
  .modal__done { padding: 26px 18px; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; gap: 8px; }
  .tile { grid-template-columns: 92px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 14px; padding: 8px 44px 8px 8px; }
  .tile__img { grid-row: 1 / 3; height: 56px; margin: 0; }
  .tile__tick { top: 50%; right: 12px; margin-top: -12px; }
}

/* smaller screens */
@media (max-width: 1000px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search__field { border-bottom: 1px solid var(--line); }
  .search__go { grid-column: 1 / -1; height: 52px; }
  .cars { grid-template-columns: 1fr 1fr; }
  .grumpy, .visit { grid-template-columns: 1fr; gap: 36px; }
  .pill { grid-template-columns: auto minmax(0, 1fr); border-radius: 40px; padding: 20px; gap: 22px; }
  .pill__photo { width: 120px; height: 120px; }
  .pill__btn { grid-column: 2; justify-self: start; margin: 0; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__phone { margin-left: auto; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav__phone span { display: none; }
  .nav__in { gap: 12px; height: 64px; }
  .nav__logo img { width: 92px; }
  .hero { padding-top: 60px; }
  .hero__actions { padding-bottom: 56px; }
  .hero__actions .btn { flex: 1; padding: 0 14px; }
  .hero__facts { justify-content: flex-start; gap: 8px 18px; font-size: .88rem; }
  .search { grid-template-columns: 1fr; }
  .search__field { border-right: 0; }
  .section { padding: 68px 0; }
  .cars { grid-template-columns: 1fr; }
  .gripe { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .gripe__arrow { display: none; }
  .visit__map { height: 300px; }
  .pill { grid-template-columns: 1fr; justify-items: center; text-align: center; border-radius: 32px; padding: 26px 20px; }
  .pill__btn { grid-column: auto; justify-self: center; }
  .row--2 { grid-template-columns: 1fr; }
}


/* ---------- the Danmar pill: a plane flies from the airport to the button ---------- */
.pill { position: relative; isolation: isolate; }
.pill > :not(.pill__sky):not(.pill__route):not(.pill__plane):not(.pill__glint) { position: relative; z-index: 2; }
.pill__sky { position: absolute; z-index: 0; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.pill__cloud { position: absolute; border-radius: 999px; background: radial-gradient(closest-side, #ffffffd9, #ffffff00); filter: blur(2px); animation: drift 38s linear infinite; }
.pill__cloud--a { width: 260px; height: 70px; top: 10%; left: 18%; }
.pill__cloud--b { width: 180px; height: 52px; top: 62%; left: 52%; animation-duration: 52s; animation-delay: -20s; }
.pill__cloud--c { width: 220px; height: 60px; top: 24%; left: 74%; animation-duration: 46s; animation-delay: -34s; }
@keyframes drift { from { transform: translateX(-60vw); } to { transform: translateX(60vw); } }
.pill__btn { position: relative; }
.pill__badge { transition: transform .3s; }


/* ---------- why: the whole section in teal ---------- */
.why-band { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 85% 10%, #0291ad 0%, transparent 60%), radial-gradient(700px 380px at 5% 100%, #016a7e 0%, transparent 60%), #017d94; color: #e4f6fa; }
.why-band .eyebrow { color: #bdeef7; }
.why-band .grumpy__head h2 { color: #fff; }
.why-band .grumpy__head h2 span { color: #000; }
.why-band .grumpy__head > p:not(.eyebrow) { color: #d6f1f7; }
.why-band .gripe { background: #ffffff14; border-color: #ffffff2e; backdrop-filter: blur(6px); }
.why-band .gripe:hover { border-color: #ffffff66; background: #ffffff1f; }
.why-band .gripe__bad { color: #cdeaf0; }
.why-band .gripe__bad s { text-decoration-color: #ffffff80; }
.why-band .gripe__bad .i { color: #a8dbe6; }
.why-band .gripe__arrow { color: #ffffff80; }
.why-band .gripe__good { color: #fff; }
.why-band .gripe__good .i { color: #fff; }

/* ---------- the runway-light glint: a rotating light seen through a border-shaped window ---------- */
.pill__glint { position: absolute; z-index: 3; inset: 0; padding: 2px; border-radius: inherit; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pill__glint::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent 0deg 250deg, #5bc3ce80 290deg, #0291ad 320deg, #ffffff 330deg, transparent 345deg);
  animation: glint-spin 7s linear infinite; }
@keyframes glint-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- footer: a teal lane with the car driving along it ---------- */
.ft { position: relative; overflow: hidden; color: #d7f2f7; padding: 0 0 22px;
  background: radial-gradient(640px 260px at 100% -20%, #14a6c6 0%, transparent 62%), radial-gradient(520px 240px at 0% 120%, #0a8ea8 0%, transparent 60%), linear-gradient(180deg, #03798e 0%, #015b6c 100%); }

.ft__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.ft__lead img { width: 150px; height: auto; filter: brightness(0) invert(1); }
.ft__tag { margin-top: 10px; color: #bdeff8; font-size: .95rem; letter-spacing: .02em; }
.ft__grumble { position: relative; display: flex; align-items: center; gap: 14px; max-width: 380px; margin-top: 22px; padding: 14px 16px; border: 1px dashed #ffffff73; border-radius: 16px; background: #ffffff14; color: #fff; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.ft__grumble:hover { background: #ffffff24; border-color: #ffffffb3; transform: translateY(-2px); }
.ft__grumble-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; color: #017489; }
.ft__grumble-icon svg { width: 26px; height: 26px; stroke-width: 2.2; }
.ft__grumble span:nth-child(2) { display: grid; gap: 2px; line-height: 1.3; }
.ft__grumble strong { font-size: .98rem; font-weight: 700; }
.ft__grumble span:nth-child(2) { font-size: .86rem; color: #cdeef5; }
.ft__grumble-go { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #ffffff26; }
.ft__grumble-go svg { width: 16px; height: 16px; }

.ft__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ft__col { display: grid; gap: 8px; align-content: start; }
.ft__col h3 { margin-bottom: 4px; color: #8fe0ef; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ft__col p { font-size: .95rem; line-height: 1.55; color: #e5f7fa; }
.ft__big { color: #fff; font-size: 1.12rem; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.ft__big--2 { font-weight: 500; font-size: 1rem; color: #d2eff5; }
.ft__link { display: inline-flex; align-items: center; gap: 7px; color: #e8fafd; font-size: .95rem; text-decoration: none; transition: color .2s; }
.ft__link svg { width: 16px; height: 16px; color: #8fe0ef; }
.ft__big:hover, .ft__link:hover, .ft__bar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.ft__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; padding-top: 18px; border-top: 1px solid #ffffff24; font-size: .84rem; color: #a6dde8; }
.ft__bar p { margin: 0; }
.ft__bar a { color: #e6f8fb; text-decoration: none; }
.ft__dot { margin: 0 6px; opacity: .6; }
.ft__credits { font-size: .78rem; color: #8fcbd8; }
.ft__credits summary { cursor: pointer; color: #bdeff8; list-style: none; }
.ft__credits summary::-webkit-details-marker { display: none; }
.ft__credits summary::before { content: "+ "; }
.ft__credits[open] summary::before { content: "– "; }
.ft__credits p { max-width: 62ch; margin: 8px 0 0; line-height: 1.55; }
.ft__credits a { color: #d9f5fa; }

@media (max-width: 900px) {
  .ft__in { grid-template-columns: 1fr; gap: 34px; }
  .ft__grumble { max-width: none; }
}
@media (max-width: 600px) {
  .ft__cols { grid-template-columns: 1fr; gap: 22px; }
  .ft__col p, .ft__link, .ft__big { font-size: .92rem; }
  .ft__bar { flex-direction: column; align-items: flex-start; }
}


/* ---------- hero motion ---------- */
.hero { position: relative; isolation: isolate; }
.hero > .wrap, .hero > .hero__band { position: relative; z-index: 1; }
.hero__aurora { position: absolute; inset: -10%; z-index: 0; pointer-events: none; transition: translate .9s cubic-bezier(.2,.7,.2,1); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; }
.hero__blob--a { width: 50vw; height: 50vw; max-width: 680px; max-height: 680px; left: -12%; top: -6%; background: radial-gradient(circle at 40% 40%, #5fd0e4 0%, #0291ad00 70%); animation: blob-a 20s ease-in-out infinite; }
.hero__blob--b { width: 44vw; height: 44vw; max-width: 600px; max-height: 600px; right: -12%; top: 6%; background: radial-gradient(circle at 60% 40%, #a9ecf7 0%, #bdf1f800 70%); animation: blob-b 26s ease-in-out infinite; }
.hero__blob--c { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: 30%; bottom: -16%; opacity: .4; background: radial-gradient(circle, #0291ad 0%, #0291ad00 70%); animation: blob-c 22s ease-in-out infinite; }


.hero .eyebrow { animation: rise .9s cubic-bezier(.2,.7,.2,1) .05s both; }
.hero__lead { animation: rise .9s cubic-bezier(.2,.7,.2,1) .6s both; }
.hero__actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) .75s both; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .line--1 { animation: slide-l 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
.hero h1 .line--2 { color: var(--teal); padding-bottom: .06em; animation: slide-r 1.1s cubic-bezier(.2,.7,.2,1) .35s both; }

  .hero h1 .line--2 { background: linear-gradient(100deg, var(--teal) 0%, var(--teal) 40%, #c9f5fc 50%, var(--teal) 60%, var(--teal) 100%) repeat; background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-position: 130% 0;
    animation: slide-r 1.1s cubic-bezier(.2,.7,.2,1) .35s both, shine 3.6s ease-in-out 1.6s infinite; }

@keyframes shine { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes slide-l { from { opacity: 0; transform: translateX(-70px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes slide-r { from { opacity: 0; transform: translateX(70px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
.hero .btn { transition: background .2s, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .2s; will-change: transform; }
@keyframes blob-a { 0% { transform: translate(0, 0) scale(1); } 20% { transform: translate(38vw, 34vh) scale(1.15); } 40% { transform: translate(78vw, 6vh) scale(.92); } 60% { transform: translate(58vw, 48vh) scale(1.08); } 80% { transform: translate(18vw, 22vh) scale(.98); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes blob-b { 0% { transform: translate(0, 0) scale(1); } 25% { transform: translate(-62vw, 28vh) scale(.9); } 50% { transform: translate(-30vw, 58vh) scale(1.14); } 75% { transform: translate(-80vw, 12vh) scale(1); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes blob-c { 0% { transform: translate(0, 0) scale(1); } 30% { transform: translate(-44vw, -30vh) scale(1.12); } 60% { transform: translate(42vw, -40vh) scale(.94); } 100% { transform: translate(0, 0) scale(1); } }

/* ---------- the lane: a fine dashed line in the teal, with a headlight streak gliding along it ---------- */
.ft__road { position: relative; height: 48px; margin-bottom: 30px; overflow: hidden; }
.ft__road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, #ffffff40 0 22px, transparent 22px 44px); animation: ft-lane 2.4s linear infinite; }
@keyframes ft-lane { to { background-position: 44px 0; } }
.ft__light { position: absolute; top: 50%; left: 0; width: 220px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, #bdf3fb66 55%, #ffffff 100%); box-shadow: 0 0 14px 2px #9eeeff80;
  animation: ft-light 7s cubic-bezier(.45, 0, .55, 1) infinite; }
.ft__light::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 4px #ffffffb3, 0 0 28px 8px #7fe6ff80; }
@keyframes ft-light { 0% { transform: translateX(-260px); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(calc(100vw + 40px)); opacity: 0; } }

/* ---------- road trips: a feature photo and the list, with distance from Windhoek ---------- */
.trips { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.trip-feature { position: relative; margin: 0; min-height: 470px; border-radius: 18px; overflow: hidden; background: #0d2a30; }
.trip-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 7s ease-out; }
.trip-feature img.is-on { opacity: 1; transform: scale(1); }
.trip-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0b1d22e0 0%, #0b1d2266 38%, #0b1d2200 62%); pointer-events: none; }
.trip-feature__cap { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; display: grid; gap: 4px; color: #fff; }
.trip-feature__from { justify-self: start; padding: 6px 12px; border-radius: 999px; background: #ffffff2b; backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.trip-feature__cap strong { margin-top: 8px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.trip-feature__cap > span:last-child { color: #cdf1f8; font-weight: 600; }

.trip-list { display: grid; gap: 10px; align-content: center; margin: 0; padding: 0; list-style: none; }
.trip { width: 100%; display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .25s, background .2s; }
.trip:hover { transform: translateX(4px); border-color: #c9e7ee; }
.trip.is-on { border-color: var(--teal); background: linear-gradient(90deg, #f3fbfd, #fff); box-shadow: 0 16px 34px -22px #01758b8c; }
.trip img { width: 78px; height: 62px; object-fit: cover; border-radius: 11px; }
.trip__text { display: grid; gap: 2px; min-width: 0; }
.trip__text strong { color: var(--ink); font-size: 1.02rem; font-weight: 700; }
.trip__text > span { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.trip__dist { display: grid; justify-items: end; gap: 1px; min-width: 104px; }
.trip__dist b { color: var(--teal-dark); font-size: 1rem; font-variant-numeric: tabular-nums; }
.trip__dist small { color: var(--muted); font-size: .78rem; }
.trip__dist i { position: relative; width: 104px; height: 4px; margin-top: 8px; border-radius: 4px; background: #e5eef0; }
.trip__dist i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--d) * 100%); border-radius: 4px; background: linear-gradient(90deg, #8fdbe9, var(--teal)); }
.trip__dist i::after { content: ""; position: absolute; top: 50%; left: calc(var(--d) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px #fff, 0 2px 6px #01758b66; }
.trip.is-on .trip__dist i::after { animation: trip-ping 1.6s ease-out infinite; }
@keyframes trip-ping { 0% { box-shadow: 0 0 0 3px #fff, 0 0 0 3px #0291ad66; } 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 12px #0291ad00; } }

@media (max-width: 1000px) {
  .trips { grid-template-columns: 1fr; }
  .trip-feature { min-height: 320px; }
}
@media (max-width: 560px) {
  .trip { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; padding: 10px; }
  .trip img { width: 64px; height: 56px; grid-row: 1 / 3; }
  .trip__text > span { display: none; }
  .trip__dist { grid-column: 2; justify-items: start; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px; min-width: 0; }
  .trip__dist i { width: 100%; margin-top: 0; }
  .trip-feature { min-height: 260px; }
  .trip-feature__cap { left: 18px; right: 18px; bottom: 18px; }
}

/* ---------- why: the Grumpy's pin bouncing above the heading ---------- */
.bouncer { position: relative; width: 104px; height: 140px; margin: 0 0 18px -8px; }
.bouncer__pin { position: absolute; left: 12px; bottom: 9px; width: 80px; height: auto; transform-origin: 50% 100%;
  filter: drop-shadow(0 10px 14px #00303a55); animation: pin-bounce 1.5s cubic-bezier(.3, 0, .7, 1) infinite; }
.bouncer__shadow { position: absolute; left: 26px; bottom: 4px; width: 52px; height: 10px; border-radius: 50%;
  background: radial-gradient(closest-side, #00262ecc, #00262e00); animation: pin-shadow 1.5s cubic-bezier(.3, 0, .7, 1) infinite; }
.bouncer__ring { position: absolute; left: 16px; bottom: -4px; width: 72px; height: 22px; border: 2px solid #bdf1fa; border-radius: 50%;
  opacity: 0; animation: pin-ring 1.5s ease-out infinite; }
.bouncer__ring--2 { border-color: #fff; animation-delay: .12s; }
@keyframes pin-bounce {
  0%   { transform: translateY(0) scale(1.14, .82); animation-timing-function: cubic-bezier(.2, .8, .4, 1); }
  10%  { transform: translateY(-6px) scale(.92, 1.1); animation-timing-function: cubic-bezier(.2, .8, .4, 1); }
  45%  { transform: translateY(-42px) scale(1, 1) rotate(-6deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  55%  { transform: translateY(-42px) scale(1, 1) rotate(4deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  92%  { transform: translateY(0) scale(.95, 1.06); }
  100% { transform: translateY(0) scale(1.14, .82); }
}
@keyframes pin-shadow {
  0%, 100% { transform: scale(1.15); opacity: 1; }
  45%, 55% { transform: scale(.55); opacity: .35; }
}
@keyframes pin-ring {
  0%, 90% { transform: scale(.5); opacity: 0; }
  94%     { opacity: .9; }
  100%    { transform: scale(1.6); opacity: 0; }
}
.bouncer:hover .bouncer__pin, .bouncer:hover .bouncer__shadow, .bouncer:hover .bouncer__ring { animation-duration: .9s; }

/* ---------- floating WhatsApp pin ---------- */
.wa-float { position: fixed; right: 22px; bottom: 18px; z-index: 60; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; }
.wa-float > * { pointer-events: auto; }
.wa-float__pin { position: relative; display: block; width: 94px; height: 124px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.wa-float__body { position: absolute; left: 11px; bottom: 12px; width: 72px; transform-origin: 50% 100%; animation: wa-hop 3.2s cubic-bezier(.3, 0, .7, 1) infinite; }
.wa-float__body img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 12px #00303a40); }
.wa-float__shadow { position: absolute; left: 23px; bottom: 6px; width: 48px; height: 9px; border-radius: 50%;
  background: radial-gradient(closest-side, #00262e66, #00262e00); animation: wa-shadow 3.2s cubic-bezier(.3, 0, .7, 1) infinite; }
.wa-float__ring { position: absolute; left: 13px; bottom: 2px; width: 68px; height: 18px; border: 2px solid #25d366; border-radius: 50%; opacity: 0;
  animation: wa-ring 3.2s ease-out infinite; }
.wa-float__badge { position: absolute; right: -10px; top: 2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px #0b7a3a99; animation: wa-badge 3.2s ease-out infinite; }
.wa-float__badge svg { width: 14px; height: 14px; }
.wa-float__pin:hover .wa-float__body, .wa-float__pin:focus-visible .wa-float__body { animation: wa-wiggle .7s ease-in-out infinite; }
.wa-float__pin:hover .wa-float__shadow, .wa-float__pin:hover .wa-float__ring { animation: none; }
.wa-float__pin:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 14px; }

/* rests, then a big hop and a little one */
@keyframes wa-hop {
  0%, 46%  { transform: translateY(0) scale(1, 1); }
  52%      { transform: translateY(0) scale(1.12, .84); animation-timing-function: cubic-bezier(.2, .8, .4, 1); }
  66%      { transform: translateY(-34px) scale(.94, 1.08) rotate(-5deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  78%      { transform: translateY(0) scale(1.1, .86); animation-timing-function: cubic-bezier(.2, .8, .4, 1); }
  85%      { transform: translateY(-12px) scale(.97, 1.04) rotate(3deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  92%      { transform: translateY(0) scale(1.05, .94); }
  100%     { transform: translateY(0) scale(1, 1); }
}
@keyframes wa-shadow { 0%, 46%, 78%, 92%, 100% { transform: scale(1); opacity: 1; } 52% { transform: scale(1.15); } 66% { transform: scale(.55); opacity: .4; } 85% { transform: scale(.8); opacity: .7; } }
@keyframes wa-ring { 0%, 76% { transform: scale(.5); opacity: 0; } 79% { opacity: .9; } 92%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wa-badge { 0%, 60% { box-shadow: 0 0 0 3px #fff, 0 0 0 3px #25d36600, 0 6px 14px -4px #0b7a3a99; } 66% { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #25d36699, 0 6px 14px -4px #0b7a3a99; } 90%, 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 14px #25d36600, 0 6px 14px -4px #0b7a3a99; } }
@keyframes wa-wiggle { 0%, 100% { transform: translateY(-6px) rotate(-7deg); } 50% { transform: translateY(-6px) rotate(7deg); } }

/* the chat bubble: typing first, then the message */
.wa-float__bubble { position: relative; margin-bottom: 78px; max-width: 250px; border-radius: 18px 18px 4px 18px; background: #fff;
  box-shadow: 0 1px 0 #0000000a, 0 18px 40px -14px #01303c59, 0 0 0 1px #e4ecee; opacity: 0; visibility: hidden;
  transform: translate(14px, 12px) scale(.6); transform-origin: 100% 100%; transition: opacity .3s, transform .45s cubic-bezier(.3, 1.5, .5, 1), visibility 0s .45s; }
.wa-float.is-typing .wa-float__bubble, .wa-float.is-talking .wa-float__bubble { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.wa-float__msg { display: block; padding: 14px 34px 14px 16px; color: var(--text); text-decoration: none; }
.wa-float__typing { display: flex; gap: 5px; padding: 4px 2px; }
.wa-float__typing i { width: 8px; height: 8px; border-radius: 50%; background: #9fb4b9; animation: wa-dot 1s ease-in-out infinite; }
.wa-float__typing i:nth-child(2) { animation-delay: .15s; }
.wa-float__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.wa-float__text { display: none; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.wa-float__text strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: .98rem; font-weight: 700; }
.wa-float.is-talking .wa-float__typing { display: none; }
.wa-float.is-talking .wa-float__text { display: block; animation: wa-in .35s ease-out both; }
@keyframes wa-in { from { opacity: 0; transform: translateY(4px); } }
.wa-float__msg:hover strong { color: var(--teal-dark); }
.wa-float__close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #8a9a9e; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.wa-float__close:hover { background: #eef3f4; color: var(--ink); }
.wa-float:not(.is-talking) .wa-float__close { display: none; }

@media (max-width: 600px) {
  .wa-float { right: 10px; bottom: 10px; }
  .wa-float__pin { width: 76px; height: 104px; }
  .wa-float__body { left: 9px; width: 58px; }
  .wa-float__shadow { left: 18px; width: 40px; }
  .wa-float__ring { left: 10px; width: 56px; }
  .wa-float__badge { width: 22px; height: 22px; }
  .wa-float__badge svg { width: 12px; height: 12px; }
  .wa-float__bubble { max-width: 210px; margin-bottom: 66px; }
  .wa-float__text { font-size: .85rem; }
}
