:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5d6a67;
  --line: #d7e0dd;
  --panel: #ffffff;
  --soft: #f3f7f5;
  --accent: #0f5b52;
  --accent-2: #b83a2f;
  --gold: #f3c85f;
  --input: #fff8df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

main {
  min-height: 100vh;
}

.is-hidden {
  display: none !important;
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(28px, 6vw, 72px);
  background:
    linear-gradient(rgba(8, 19, 18, 0.35), rgba(8, 19, 18, 0.72)),
    url("assets/hunter-hills-cover.jpeg") center center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.landing-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.24) 55%, rgba(0, 0, 0, 0.42));
}

.landing-copy {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  display: grid;
  justify-items: center;
  gap: clamp(18px, 4vw, 36px);
}

.landing-kicker {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-copy h1 {
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.landing-copy p:not(.landing-kicker) {
  margin: 0;
  color: #f7f1df;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 700;
}

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

.book-ride-toggle {
  min-width: 178px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(15, 91, 82, 0.88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  text-transform: uppercase;
}

.rate-experience-toggle {
  min-width: 178px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--ink);
  background: rgba(255, 248, 223, 0.92);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  text-transform: uppercase;
}

.gallery-toggle {
  min-width: 178px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(184, 58, 47, 0.9);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  text-transform: uppercase;
}

.location-toggle {
  min-width: 238px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--ink);
  background: rgba(243, 200, 95, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  text-transform: none;
}

.book-ride-toggle:hover {
  background: rgba(11, 75, 68, 0.96);
}

.rate-experience-toggle:hover {
  background: #fff;
}

.gallery-toggle:hover {
  background: rgba(151, 45, 36, 0.98);
}

.feedback-section,
.location-section {
  padding: clamp(28px, 6vw, 72px);
  background: #092421;
}

.feedback-form,
.gallery-section,
.location-section {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.location-section {
  display: grid;
  gap: 18px;
  background: var(--panel);
}

.location-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.location-header .eyebrow {
  color: var(--accent-2);
}

.map-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dce8de;
}

.google-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-location-controls {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.map-location-controls button {
  width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: var(--accent-2);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(190, 54, 46, 0.26);
}

.map-location-controls button:hover,
.map-location-controls button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.charge-notes {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #f0d28a;
  border-radius: 8px;
  background: #fff8df;
}

.charge-notes p {
  margin: 0;
  color: #5c4210;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.4;
}

input[type="file"] {
  padding: 12px;
}

.feedback-status {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 750;
}

.feedback-status.is-success {
  color: var(--accent);
}

.feedback-status.is-warning {
  color: var(--accent-2);
}

.gallery-section {
  margin-top: 24px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.gallery-header .eyebrow {
  color: var(--accent-2);
}

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

.gallery-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-card div {
  display: none !important;
}

.gallery-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.comment-trail {
  margin-top: 24px;
}

.comment-trail h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.comment-trail-list {
  display: grid;
  gap: 10px;
}

.comment-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf5f2;
}

.comment-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.comment-card strong {
  color: var(--accent);
  font-size: 1rem;
}

.comment-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.comment-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.photo-lightbox {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px clamp(18px, 6vw, 90px);
  background: rgba(4, 16, 15, 0.9);
}

.photo-lightbox img {
  max-width: min(100%, 1120px);
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  z-index: 31;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.14);
}

.lightbox-arrow {
  top: 50%;
  width: 52px;
  min-height: 72px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  font-size: 3rem;
  line-height: 1;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.booking-shell {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(620px, 1.15fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: #092421;
}

.hero-panel {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #092421;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  display: block;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 36, 33, 0.08), rgba(9, 36, 33, 0.72));
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 5vw, 64px);
  right: auto;
  bottom: clamp(28px, 8vh, 80px);
  max-width: min(380px, 32vw);
  color: #fff;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
}

.hero-copy p:last-child {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #edf5f2;
}

.booking-form {
  position: relative;
  z-index: 2;
  grid-column: 2;
  justify-self: center;
  width: 100%;
  max-width: 1120px;
  align-self: center;
  margin: 28px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.form-header,
.actions,
.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-header {
  margin-bottom: 22px;
}

.form-header .eyebrow,
.summary-section .eyebrow {
  color: var(--accent-2);
}

.status-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid #f0d28a;
  border-radius: 999px;
  background: #fff8df;
  color: #77530a;
  font-size: 0.8rem;
  font-weight: 800;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #283632;
  font-size: 0.88rem;
  font-weight: 750;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin: 0 0 7px;
  color: #283632;
  font-size: 0.88rem;
  font-weight: 750;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  gap: 8px;
}

.rating-options label {
  display: block;
  cursor: pointer;
}

.rating-options input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
}

.rating-options span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--input);
  color: var(--ink);
  font-weight: 850;
}

.rating-options input:checked + span {
  border-color: #f0d28a;
  background: var(--gold);
  color: #4d3608;
}

.rating-options input:focus + span {
  outline: 3px solid rgba(15, 91, 82, 0.16);
}

.span-2 {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 91, 82, 0.16);
  border-color: var(--accent);
}

input:required,
textarea:required,
select:required {
  background: var(--input);
}

.input-with-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.input-with-unit input {
  border: 0;
  border-radius: 0;
  background: var(--input);
}

.input-with-unit span {
  min-width: 54px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.conditional {
  display: none;
}

.conditional.is-visible {
  display: grid;
}

.quote-strip {
  margin: 18px 0;
  padding: 14px;
  border-radius: 8px;
  background: #edf5f2;
  border: 1px solid #c7dfd9;
  flex-wrap: wrap;
}

.quote-strip div {
  flex: 1 1 150px;
  display: grid;
  gap: 3px;
}

.quote-strip span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-strip strong {
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.terms-section {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #dfe8e5;
  border-radius: 8px;
  background: rgba(243, 247, 245, 0.9);
}

.terms-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.terms-header .eyebrow {
  margin: 0;
  color: var(--accent-2);
}

.terms-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.terms-grid div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid #d7e0dd;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
}

.terms-grid strong {
  color: var(--accent);
  font-size: 0.82rem;
}

.terms-grid span {
  color: #3e4d49;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin: 6px 0 18px;
  color: #3e4d49;
  font-weight: 650;
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.consent-row a,
.terms-document a {
  color: var(--accent);
  font-weight: 850;
}

.mail-note {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

button:hover {
  background: #0b4b44;
}

button.secondary {
  color: var(--accent);
  background: #e7f1ee;
}

button.secondary:hover {
  background: #d9e8e4;
}

.terms-page {
  background: linear-gradient(rgba(9, 36, 33, 0.78), rgba(9, 36, 33, 0.88)),
    url("assets/hunter-hills-cover.jpeg") center center / cover fixed no-repeat;
}

.terms-document {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 0;
}

.terms-document-header {
  margin-bottom: 18px;
  color: #fff;
}

.terms-document-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.terms-document-header p:last-of-type {
  color: #edf5f2;
  font-size: 1.05rem;
  line-height: 1.5;
}

.terms-document-header a {
  display: inline-block;
  margin-top: 12px;
  color: #fff8df;
}

.owner-page {
  background: #092421;
}

.owner-dashboard {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 0;
}

.owner-header {
  margin-bottom: 24px;
  color: #fff;
}

.owner-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.owner-header p:last-of-type {
  color: #edf5f2;
  font-size: 1.05rem;
}

.owner-header a {
  display: inline-block;
  margin-top: 8px;
  color: #fff8df;
  font-weight: 850;
}

.owner-alert,
.owner-pin-form,
.owner-feedback-card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
}

.owner-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: var(--accent);
  font-weight: 850;
}

.owner-pin-form {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: 22px;
}

.owner-feedback-list {
  display: grid;
  gap: 18px;
}

.owner-feedback-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
}

.owner-feedback-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.owner-feedback-head div:first-child {
  display: grid;
  gap: 4px;
}

.owner-feedback-head strong {
  font-size: 1.2rem;
}

.owner-feedback-head span {
  color: var(--muted);
  font-weight: 750;
}

.owner-rating {
  min-width: 76px;
  align-self: start;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #4d3608;
  font-weight: 900;
  text-align: center;
}

.owner-feedback-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.owner-feedback-details div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.owner-feedback-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.owner-feedback-details dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.owner-replies {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #edf5f2;
}

.owner-replies h2 {
  font-size: 1rem;
}

.owner-replies div {
  padding-top: 10px;
  border-top: 1px solid #c7dfd9;
}

.owner-replies div:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.owner-replies p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.owner-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.owner-photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.owner-reply-form {
  display: grid;
  gap: 12px;
}

.owner-reply-form button,
.owner-pin-form button {
  justify-self: start;
}

.summary-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: 24px;
  padding: clamp(28px, 6vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.summary-box {
  min-height: 140px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  line-height: 1.6;
}

.summary-box.is-success {
  border-color: #9bcdbd;
  background: #eef8f2;
}

.summary-box.is-warning {
  border-color: #f0d28a;
  background: #fff8df;
}

.summary-box strong {
  color: var(--ink);
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.summary-list div {
  padding-bottom: 9px;
  border-bottom: 1px solid #dfe8e5;
}

.summary-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.summary-list dd {
  margin: 2px 0 0;
  font-weight: 750;
}

.floating-contact {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.contact-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.contact-icon.whatsapp {
  background: #25d366;
}

.contact-icon.gmail {
  background: #d93025;
}

.contact-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 6%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
}

@media (max-width: 940px) {
  .booking-shell {
    grid-template-columns: 1fr;
  }

  .summary-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
    min-height: 46vh;
  }

  .hero-panel img {
    object-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(9, 36, 33, 0.08), rgba(9, 36, 33, 0.74));
  }

  .hero-copy {
    max-width: none;
    right: clamp(24px, 5vw, 64px);
  }

  .booking-form {
    grid-column: auto;
    align-self: start;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .field-grid,
  .terms-grid,
  .summary-list,
  .owner-feedback-details,
  .gallery-grid,
  .owner-photo-grid {
    grid-template-columns: 1fr;
  }

  .quote-strip,
  .form-header,
  .actions,
  .owner-feedback-head,
  .gallery-header,
  .location-header {
    align-items: stretch;
    flex-direction: column;
  }

  .actions button {
    width: 100%;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
  }

  .contact-icon {
    width: 46px;
    height: 46px;
  }
}
