/* Mac Parkk site. Colors taken from the Mac Parkk logo: its blue shield, the yellow star,
   the red ribbon and the orange edge. */
:root {
  --ink: #111318;
  --blue: #3f78b8;        /* the shield */
  --blue-deep: #2b5a93;   /* hover, active, footer */
  --blue-night: #1d3d66;  /* dark bands */
  --blue-soft: #e6eef9;   /* info panels */
  --paper: #f3f6fb;
  --card: #ffffff;
  --line: #cfd9e7;
  --muted: #55606f;
  --yellow: #ffe600;      /* the star */
  --yellow-deep: #e0c800;
  --orange: #f09000;      /* the edge */
  --red: #e00010;         /* the ribbon */
  --ok: #17794a;
  --bad: #c8101c;
  --radius: 14px;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 640px); margin-inline: auto; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* Header: white, so the logo keeps its own colors; the blue band starts below it. */
.top { background: #fff; color: var(--blue-deep); border-bottom: 4px solid var(--blue); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding-block: 8px; }
@media (min-width: 480px) { .top { position: sticky; top: 0; z-index: 10; } }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; flex: 1 1 100%; }
.nav a { flex: 1; text-align: center; padding: 10px 1px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.78rem; white-space: nowrap; background: var(--blue-soft); color: var(--blue-deep); }
@media (min-width: 480px) { .nav { flex: 0 0 auto; } .nav a { flex: none; padding: 10px 12px; font-size: 0.95rem; background: none; } }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-main { background: var(--yellow); color: var(--ink); }
.btn-main:hover { background: var(--yellow-deep); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.1); }
.btn-dark { background: var(--blue); color: #fff; }
.btn-dark:hover { background: var(--blue-deep); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; gap: 28px; padding-block: 44px 0; }
.hero p.lead { font-size: 1.2rem; max-width: 34ch; color: #e4edf9; }
.hero .tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 0.9rem;
}
.lot { margin-inline: -16px; width: calc(100% + 32px); max-width: none; }
.lot .mine { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .lot .mine { animation: none; } html { scroll-behavior: auto; } }
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: end; padding-block: 72px 0; }
  .hero .copy { padding-bottom: 72px; }
  .lot { margin: 0; width: 100%; }
}

/* Sections */
section { padding-block: 56px; }
.stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--blue) 18px 36px, var(--red) 36px 54px, var(--blue) 54px 72px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 18px 72px; position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: var(--yellow);
  font-weight: 800; font-size: 1.3rem;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fact { border-left: 6px solid var(--yellow); padding: 4px 0 4px 16px; }
.fact strong { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.doors { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.door {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; transition: transform 0.15s, border-color 0.15s;
}
.door:hover { transform: translateY(-3px); border-color: var(--blue); }
.door span { font-weight: 700; color: var(--blue-deep); }
.dark { background: var(--blue-night); color: #fff; }
.dark .muted { color: #b6c6dc; }

/* Forms */
.page-head { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; padding-block: 36px; }
.page-head p { color: #e4edf9; margin: 0; max-width: 52ch; }
.page-head a { color: var(--yellow); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
form { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.grid2 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
label { display: grid; gap: 6px; font-weight: 600; grid-template-columns: minmax(0, 1fr); }
select { text-overflow: ellipsis; }
label small { font-weight: 400; color: var(--muted); }
input, select {
  width: 100%; min-height: 52px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
input.plate { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
input:disabled { background: var(--paper); color: var(--muted); }
.check { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.check input { width: 24px; height: 24px; min-height: 0; padding: 0; accent-color: var(--blue); }
.error { color: var(--bad); font-weight: 600; font-size: 0.95rem; min-height: 0; }
[aria-invalid="true"] { border-color: var(--bad); }
.step-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 10px 0 0; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--yellow); color: var(--blue-night); font-weight: 800; font-size: 1rem; }
.stay { background: var(--blue-soft); border-left: 5px solid var(--blue); border-radius: 12px; padding: 14px 16px; }
.stay-title { font-weight: 800; color: var(--blue-night); margin: 0 0 6px; }
.upload { display: grid; gap: 10px; padding: 14px 16px; border: 2px dashed var(--blue); border-radius: 12px; background: #f4f8fd; }
.notice { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.notice.bad { background: #fde8e6; color: var(--bad); }
.notice.good { background: #e3f4ea; color: var(--ok); }
.notice.info { background: var(--blue-soft); color: var(--ink); border-left: 5px solid var(--blue); }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.switch label { display: block; position: relative; }
.switch input { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.switch span {
  display: grid; place-items: center; min-height: 52px; height: 100%; border: 2px solid var(--line); border-radius: 12px;
  text-align: center; padding: 6px 10px; cursor: pointer;
}
.switch input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.switch input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* Reservation ticket */
.ticket { text-align: center; }
.ticket .code { font-size: clamp(2.4rem, 12vw, 3.6rem); font-weight: 800; letter-spacing: 0.14em; color: var(--blue-deep); }
.rows { display: grid; gap: 0; text-align: left; margin-top: 12px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; font-weight: 700; text-align: right; }
.spot { background: var(--yellow); border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.spot strong { font-size: 3rem; line-height: 1; display: block; }

/* Pay on the site */
.pay { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); text-align: left; }
.pay-amount { margin: 0; font-size: 1.1rem; }
.pay-amount strong { font-size: 1.9rem; font-weight: 800; margin-left: 6px; }
.pay-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.pay-steps .rows { margin: 8px 0 4px; }
.pay-note { margin: 0; font-size: 0.92rem; }
.rows .state-ok { color: var(--ok); }
.rows .state-wait { color: #9a6a00; }
input[type="file"] { padding: 12px 14px; height: auto; }

/* Lot review screen */
.proof { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.proof img { width: 100%; max-height: 520px; object-fit: contain; background: var(--blue-night); border-radius: 10px; }
.proof .btn-row .btn { flex: 1 1 140px; }
.btn-bad { background: #fff; color: var(--bad); border-color: var(--bad); }

/* Live cameras */
.cams { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cams button { min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.cams button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.screen { margin: 0 0 14px; background: var(--blue-night); color: #fff; border-radius: var(--radius); overflow: hidden; }
.screen img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.screen-wait { margin: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 16px; color: #b6c6dc; }
.screen img:not([hidden]) + .screen-wait { aspect-ratio: auto; padding: 8px 16px 0; }
.screen figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 16px; font-weight: 600; }
.screen figcaption .muted { color: #b6c6dc; margin-left: auto; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--red); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }

/* Footer */
footer { background: var(--blue-night); color: #d3deed; padding-block: 36px; font-size: 0.95rem; }
footer .wrap { display: grid; gap: 14px; }
footer a { color: #fff; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pending { background: #fff4cc; padding: 0 4px; border-radius: 4px; }

/* Lot map: 310 spots the customer can touch */
.lotmap { background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.25); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; backdrop-filter: blur(4px); }
.lot-count { display: flex; align-items: center; gap: 14px; line-height: 1.2; font-weight: 600; }
.lot-count strong { font-size: clamp(2.6rem, 9vw, 3.6rem); font-weight: 800; color: var(--yellow); line-height: 1; }
.lot-count small { font-weight: 400; }
.lotmap .muted { color: #d3deed; }
.lot-grid { display: grid; grid-template-columns: repeat(var(--columns, 31), minmax(0, 1fr)); gap: 3px; }
.lot-grid > :nth-child(31n + 1) { margin-left: 0; }
.lot-grid > :nth-child(n + 94):nth-child(-n + 124), .lot-grid > :nth-child(n + 187):nth-child(-n + 217) { margin-top: 8px; } /* driving lanes */
.spot-cell { aspect-ratio: 1 / 1.25; border: 0; border-radius: 3px; padding: 0; cursor: pointer; background: #fff; min-width: 0; }
.spot-cell.taken { background: var(--blue-night); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25); }
.spot-cell.free { background: var(--yellow); }
.spot-cell:hover, .spot-cell:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.lot-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.9rem; font-weight: 600; align-items: center; }
.lot-legend i { display: inline-block; width: 12px; height: 15px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
.lot-legend i.free { background: var(--yellow); }
.lot-legend i.taken { background: var(--blue-night); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4); }
.lot-hint { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.15); }
.lot-hint.is-free { background: var(--yellow); color: var(--ink); }
.lot-hint.is-taken { background: var(--blue-night); }
@media (min-width: 860px) { .hero .wrap { align-items: center; } .hero .copy { padding-bottom: 0; } .hero .wrap { padding-block: 56px; } }

/* What is included */
.perks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; border-top: 5px solid var(--yellow); }
.perk i { font-style: normal; font-size: 1.8rem; display: block; margin-bottom: 8px; }
.perk h3 { margin-bottom: 6px; color: var(--blue-deep); }
.perk p { margin: 0; color: var(--muted); }
.perk a { color: var(--blue-deep); font-weight: 700; }
.steps-dark li { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.18); }
.steps-dark li::before { background: var(--yellow); color: var(--ink); }
.steps-dark p { color: #c9d6e8; }

/* Always-at-hand buttons: how to get here and WhatsApp */
body { padding-bottom: 84px; }
.quick { position: fixed; right: 12px; bottom: 12px; z-index: 20; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.quick-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 16px 0 14px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 0.95rem; box-shadow: 0 6px 18px rgb(0 0 0 / 0.28); border: 2px solid #fff; }
.quick-maps { background: var(--blue); color: #fff; }
.quick-wa { background: #25d366; color: #073b1c; }
.quick-btn:hover { filter: brightness(1.08); }
@media (min-width: 860px) { .quick { right: 20px; bottom: 20px; flex-direction: row; } }

/* Home: trust strip, meeting point, why stay */
.trust { padding-block: 28px; background: #fff; border-bottom: 1px solid var(--line); }
.trust .fact strong { color: var(--blue-deep); }
.meet { margin-top: 28px; display: grid; gap: 20px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.18); border-radius: var(--radius); padding: 20px; }
.meet h3 { font-size: 1.35rem; margin-bottom: 8px; }
.meet p { color: #e4edf9; }
.traffic { margin: 14px 0 18px; padding: 16px 18px; border-radius: 12px; background: var(--yellow); color: var(--blue-night); border-left: 8px solid var(--red); box-shadow: 0 8px 24px rgb(0 0 0 / 0.25); display: grid; gap: 6px; }
.meet .traffic p { color: var(--blue-night); margin: 0; }
.traffic-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.traffic-source { font-size: 1rem; font-weight: 700; }
.traffic-big { display: flex; align-items: baseline; gap: 12px; font-weight: 800; font-size: 1.35rem; }
.traffic-big strong { font-size: 3.4rem; line-height: 1; color: var(--red); }
.traffic-note { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.meet .traffic-link { color: var(--blue-night); font-weight: 800; font-size: 1.05rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.traffic:not(.is-live) .live { background: var(--orange); }
.meet-map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 12px; background: var(--blue-night); }
.meet .btn-ghost { color: #fff; }
@media (min-width: 860px) { .meet { grid-template-columns: 1fr 1fr; align-items: center; } }
.why { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.why-item { padding: 4px 0 4px 18px; border-left: 6px solid var(--blue); }
.why-item h3 { margin-bottom: 6px; color: var(--blue-deep); }
.why-item p { margin: 0; }
.cta { margin-top: 32px; padding: 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; display: grid; gap: 14px; justify-items: start; }
.cta h3 { margin: 0; font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
.doors-section { padding-top: 0; }
