/* Midland Events: main site pages (home, market, sell, hire). Builds on grotto.css tokens. */

/* Header: mobile menu */
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.top.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 8px 20px 18px; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(19,37,28,.08); }
.top.open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.top .wrap { position: relative; }
.nav a[aria-current="page"] { color: var(--green); font-weight: 700; }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .nav { display: flex; }
  .tel { display: inline; }
}

/* Home hero */
.home-hero { padding: 34px 0 40px; text-align: center; }
.home-hero .wrap { display: grid; gap: 18px; justify-items: center; }
.home-hero h1 { max-width: 14ch; }
.home-hero .lead { margin-inline: auto; }
.badge-pill { display: inline-flex; gap: 8px; align-items: center; background: var(--sun); color: var(--dark); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .84rem; text-decoration: none; }
.badge-pill b { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; color: var(--muted); font-size: .9rem; margin: 0; padding: 0; list-style: none; }
.facts li + li::before { content: "·"; margin-right: 16px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; width: 100%; }
.trio img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r); width: 100%; }
@media (min-width: 760px) { .trio { gap: 20px; } .trio img { aspect-ratio: 1 / 1.05; border-radius: var(--r-lg); } }

/* What's on cards */
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; }
.row-head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.events { display: grid; gap: 16px; }
.event { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.event img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.event-body { padding: 20px; display: grid; gap: 10px; align-content: start; }
.event-body .when { font: 700 .76rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.event-body h3 { font-size: 1.45rem; line-height: 1.1; }
.dots { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.dots li { display: flex; gap: 10px; align-items: baseline; }
.dots li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex: none; transform: translateY(-1px); }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 6px; }
.event-actions .link { font-weight: 700; text-decoration: none; }
@media (min-width: 760px) {
  .events { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .event { grid-template-columns: 38% 1fr; }
  .event img { aspect-ratio: auto; height: 100%; }
}

/* Hire / quote */
.split-quote { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .split-quote { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.ticks li::before { content: ""; width: 40px; height: 40px; border-radius: 10px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F6B45' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.ticks b { display: block; }
.ticks span { color: var(--muted); font-size: .92rem; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; }
@media (min-width: 760px) { .form-card { padding: 28px; } }
.form-card h2 { font-size: 1.6rem; }
.form-card > p.muted { margin: 6px 0 18px; font-size: .92rem; }
.field select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: 400 1rem var(--body); color: var(--dark); }
.field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(31,107,69,.18); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--err); }
.checks { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.checks legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.checks label { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--green); margin: 0; flex: none; }
.checks.cols { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.form-ok { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 20px 0; }
.form-ok h2 { font-size: 1.6rem; }
.wa { background: #1E7A4F; color: #fff; }

/* Page hero (inner pages) */
.page-hero { padding: 30px 0 34px; }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero .text { display: grid; gap: 14px; }
.page-hero img { border-radius: var(--r-lg); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (min-width: 1000px) {
  .page-hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .page-hero img { aspect-ratio: 4 / 3; }
}

/* Dates list (market) */
.date-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.date-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.date-list b { font-family: var(--head); font-size: 1.1rem; }
.date-list .tag { font-size: .8rem; font-weight: 700; background: var(--cream); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.date-list .tag.g { background: var(--mint); color: var(--green); }
@media (min-width: 760px) { .date-list { grid-template-columns: 1fr 1fr; } }

.rules { display: grid; gap: 14px; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rule { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; }
.rule .big { font: 800 2rem/1 var(--head); color: var(--green); }

.band-cta { background: var(--green); color: #fff; border-radius: var(--r-lg); padding: 28px 22px; display: grid; gap: 14px; }
.band-cta h2 { color: #fff; }
.band-cta p { color: rgba(255,255,255,.86); }
@media (min-width: 760px) { .band-cta { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; } }

/* Footer */
.site-foot { background: var(--dark); color: #fff; padding: 0 0 28px; }
.site-foot .stripe { margin-bottom: 36px; }
.foot-grid { display: grid; gap: 26px; }
.foot-grid h2 { font-size: 1.4rem; color: #fff; margin-bottom: 8px; }
.foot-grid h3 { font: 700 .76rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-bottom: 10px; }
.foot-grid p { color: rgba(255,255,255,.75); font-size: .92rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-grid a { color: #fff; text-decoration: none; display: inline-block; padding: 6px 0; font-size: .95rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); font-size: .82rem; }
.foot-base a { color: rgba(255,255,255,.8); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Sticky phone bar on the inner pages */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); box-shadow: var(--shadow); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.call-bar .btn { min-height: 48px; }
body.has-call-bar { padding-bottom: 80px; }
@media (min-width: 1000px) { .call-bar { display: none; } body.has-call-bar { padding-bottom: 0; } }

/* Phone header: keep logo + Book + menu on one line */
.top .logo, .top .btn-sm { white-space: nowrap; }
@media (max-width: 420px) {
  .top .logo { font-size: 1.02rem; gap: 8px; }
  .top .mark { width: 30px; height: 30px; }
  .top .top-actions { gap: 8px; }
  .badge-pill b { display: none; }
}
.facts li + li::before { content: none; }
.facts { gap: 8px; }
.facts li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .82rem; color: var(--dark); }

/* Sell page: tag + price on the right of each date */
.date-list .row-end { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.date-list .price { font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--red, #B3261E); white-space: nowrap; }
.date-list li:has(.row-end) { flex-wrap: wrap; }
.date-list .row-end { margin-left: auto; min-width: 0; }
@media (max-width: 480px) { .date-list .row-end .tag { white-space: normal; } }

/* ---------- Sell page (CRO pass, 12 Nov 2026) ---------- */
.ticks-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 1.05rem; }
.ticks-list li { display: flex; gap: 10px; align-items: flex-start; }
.ticks-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F6B45' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hot { display: inline-block; margin: 16px 0 0; background: var(--cream); color: var(--dark); font-weight: 700; border-radius: 999px; padding: 8px 16px; }
.apply-wrap { max-width: 720px; }
.picks { border: 0; padding: 0; margin: 0 0 6px; min-width: 0; }
.picks legend { font-family: var(--head); font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; padding: 0; }
.picks legend .muted { font-family: var(--body); font-weight: 500; font-size: .9rem; }
.picks-group { display: grid; gap: 8px; }
@media (min-width: 640px) { .picks-group { grid-template-columns: 1fr 1fr; } }
.picks-sub { font-weight: 700; font-size: .92rem; margin: 16px 0 8px; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer; }
.pick input { width: 22px; height: 22px; accent-color: var(--green); flex: none; margin: 0; }
.pick-main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.pick-main b { font-family: var(--head); font-size: 1.05rem; }
.pick-main small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.pick-main .tag { align-self: flex-start; font-size: .74rem; font-weight: 700; background: var(--cream); border-radius: 999px; padding: 2px 9px; }
.pick-main .tag.g { background: var(--mint); color: var(--green); }
.pick .price { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--red); white-space: nowrap; }
.pick:has(input:checked) { border-color: var(--green); background: var(--mint); }
.pick:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.pick-craft { border-style: dashed; }
.total { margin: 10px 0 0; padding: 12px 14px; border-radius: var(--r); background: var(--dark); color: #fff; font-weight: 700; }
.craft-rule { margin-top: 12px; padding: 12px 14px 2px; border-radius: var(--r); background: var(--cream); }
.step-h { font-family: var(--head); font-weight: 700; font-size: 1.15rem; margin: 22px 0 10px; }
