/* ============================================================
   Midway EZ Parking — recreated site stylesheet
   Self-contained, no Bootstrap. Mobile-first. Cyan brand.
   ============================================================ */

:root {
    --mez-cyan:         #11bbe7;
    --mez-cyan-light:   #1ccefc;
    --mez-cyan-dark:    #00acff;
    --mez-cyan-pale:    #80d3fd;
    --mez-cyan-deep:    #0a90b0;
    --mez-charcoal:     #454141;
    --mez-text:         #3e4042;
    --mez-muted:        #8b8484;
    --mez-bg:           #f8f8fc;
    --mez-panel:        #ffffff;
    --mez-divider:      #e2e2e7;
    --mez-teal-accent:  #2A788F;
    --mez-header-bg:    rgba(255, 255, 255, 0.95);
    --mez-shadow:       0 5px 18px rgba(0, 0, 0, 0.18);
    --mez-header-h:     80px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--mez-bg);
    color: var(--mez-text);
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mez-cyan); text-decoration: none; }
a:hover, a:focus { color: var(--mez-cyan-light); text-decoration: underline; }

.mez-main { padding-top: var(--mez-header-h); }

/* ---------- Header ---------- */
.mez-header {
    position: fixed;
    inset: 0 0 auto 0;
    background: var(--mez-header-bg);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 50;
}
.mez-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.mez-header__logo img { height: 56px; width: auto; }
.mez-header__toggle {
    margin-left: auto;
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
}
.mez-header__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--mez-charcoal);
    margin: 5px 0;
    border-radius: 2px;
}
.mez-nav { margin-left: auto; }
.mez-nav ul {
    margin: 0; padding: 0; list-style: none;
    display: flex; gap: 26px;
}
.mez-nav a {
    color: var(--mez-charcoal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .02em;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.mez-nav a:hover,
.mez-nav a.is-active {
    color: var(--mez-cyan);
    text-decoration: none;
    border-bottom-color: var(--mez-cyan);
}

.mez-header__address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--mez-cyan);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.mez-header__address:hover { background: var(--mez-cyan-light); }
.mez-header__address svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Section title ---------- */
.mez-section-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--mez-charcoal);
    margin: 0 0 28px;
    position: relative;
    padding-bottom: 16px;
    text-align: center;
}
.mez-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: var(--mez-cyan);
}
.mez-section-title--sub { font-size: clamp(22px, 3vw, 32px); margin-top: 60px; }

/* ---------- Hero (slider + form) ---------- */
.mez-hero {
    position: relative;
    min-height: 580px;
    padding: 70px 20px 90px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.mez-hero__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--mez-cyan);
}
.mez-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.mez-hero__slide.is-active { opacity: 1; }
.mez-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 172, 255, 0.72), rgba(17, 187, 231, 0.88));
}
.mez-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    width: 100%;
    color: #fff;
}
.mez-hero__title {
    font-size: clamp(28px, 5vw, 50px);
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 36px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ---------- Search form ---------- */
.mez-search { display: grid; gap: 18px; max-width: 880px; margin: 0 auto; }
.mez-search__group { text-align: left; }
.mez-search__group label {
    display: block;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.mez-search__pair {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}
.mez-search input[type="date"],
.mez-search input[type="time"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--mez-charcoal);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.mez-search input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}
.mez-search__error {
    color: #fff;
    font-weight: 700;
    margin: 0;
    background: rgba(0, 0, 0, 0.28);
    padding: 8px 12px;
    border-radius: 4px;
}
.mez-search__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }

@media (min-width: 768px) {
    .mez-search { grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
    .mez-search__error,
    .mez-search__actions { grid-column: 1 / -1; }
}

/* ---------- Buttons ---------- */
.mez-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font: 700 14px/1 'PT Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, box-shadow .2s, transform .1s;
}
.mez-btn:active { transform: translateY(1px); }
.mez-btn--primary { background: var(--mez-cyan); color: #fff; }
.mez-btn--primary:hover,
.mez-btn--primary:focus { background: var(--mez-cyan-light); color: #fff; text-decoration: none; }
.mez-btn--secondary { background: var(--mez-charcoal); color: #fff; }
.mez-btn--secondary:hover,
.mez-btn--secondary:focus { background: #2a2a2a; color: #fff; text-decoration: none; }
.mez-hero .mez-btn--primary { background: #fff; color: var(--mez-cyan-dark); }
.mez-hero .mez-btn--primary:hover { background: var(--mez-cyan-pale); color: #fff; }
.mez-hero .mez-btn--secondary { background: var(--mez-charcoal); color: #fff; }
.mez-btn.is-disabled {
    background: #c7c7cc;
    color: #6e6e72;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------- Services strip ---------- */
.mez-services { background: var(--mez-bg); padding: 70px 20px; }
.mez-services__inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; gap: 28px;
    grid-template-columns: 1fr;
}
.mez-service {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.mez-service__head {
    background: var(--mez-cyan);
    color: #fff;
    padding: 32px 20px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: background .25s;
}
.mez-service__icon {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: #fff;
    color: var(--mez-cyan);
    display: grid; place-items: center;
    transition: transform .25s;
}
.mez-service__icon svg { width: 36px; height: 36px; fill: currentColor; }
.mez-service:hover .mez-service__head { background: var(--mez-cyan-deep); }
.mez-service:hover .mez-service__icon { transform: scale(1.06); }
.mez-service h3 {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
}
.mez-service p {
    color: var(--mez-text);
    margin: 0;
    padding: 22px 14px 0;
    font-size: 15px;
    line-height: 1.6;
}

@media (min-width: 640px) { .mez-services__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .mez-services__inner { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .mez-services__inner { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Video ---------- */
.mez-video { background: var(--mez-bg); padding: 40px 20px; }
.mez-video__inner { max-width: 1080px; margin: 0 auto; }
.mez-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--mez-shadow);
}
.mez-video__frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: 0;
}

/* ---------- Offers grid ---------- */
.mez-offers { padding: 70px 20px; background: var(--mez-panel); }
.mez-offers__inner { max-width: 1280px; margin: 0 auto; }
.mez-offers__grid {
    display: grid; gap: 28px;
    grid-template-columns: 1fr;
}
.mez-offer {
    background: var(--mez-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.mez-offer:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,0.15); }
.mez-offer img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mez-offer__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.mez-offer h3 {
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
    color: var(--mez-charcoal);
    font-weight: 700;
}
.mez-offer p { color: var(--mez-muted); margin: 0; font-size: 14px; flex: 1; }
.mez-offer__price {
    border-top: 1px solid var(--mez-divider);
    border-bottom: 1px solid var(--mez-divider);
    padding: 14px 0;
    text-align: center;
    color: var(--mez-cyan);
    font-size: 22px;
    min-height: 56px;
    display: flex; align-items: center; justify-content: center;
}
.mez-offer .mez-btn { align-self: flex-start; }
.mez-offer--disabled { opacity: 0.7; }
.mez-offer--disabled:hover { transform: none; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.mez-offer--disabled img { filter: grayscale(60%); }

@media (min-width: 640px) { .mez-offers__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mez-offers__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- About ---------- */
.mez-about { padding: 70px 20px; background: var(--mez-bg); }
.mez-about__inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; gap: 36px;
    grid-template-columns: 1fr;
    align-items: center;
}
.mez-about--page { padding: 0; }
.mez-about__media img { border-radius: 6px; box-shadow: var(--mez-shadow); }
.mez-about__copy h2 { text-align: left; }
.mez-about__copy h2.mez-section-title::after { left: 0; transform: none; }
.mez-about p { color: var(--mez-muted); margin: 0 0 18px; }
.mez-about__tagline {
    color: var(--mez-teal-accent);
    font-weight: 700;
    font-style: italic;
    font-size: 17px;
}
@media (min-width: 900px) {
    .mez-about__inner { grid-template-columns: 5fr 6fr; }
}

/* ---------- Generic page wrapper ---------- */
.mez-page { padding: 60px 20px; }
.mez-page__inner { max-width: 1100px; margin: 0 auto; }
.mez-page__inner > .mez-section-title { text-align: left; }
.mez-page__inner > .mez-section-title::after { left: 0; transform: none; }
.mez-lead { font-size: 17px; color: var(--mez-muted); margin: 0 0 28px; }
.mez-note { background: #e6f7fc; border-left: 4px solid var(--mez-cyan); padding: 12px 16px; }

/* ---------- Parking process ---------- */
.mez-process {
    display: grid; gap: 32px;
    grid-template-columns: 1fr;
    margin: 24px 0;
}
.mez-process article {
    background: var(--mez-panel);
    padding: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.mez-process h2 {
    color: var(--mez-charcoal);
    text-transform: uppercase;
    font-size: 18px;
    margin: 0 0 14px;
}
.mez-process ol { padding-left: 22px; color: var(--mez-text); margin: 0; }
.mez-process li { margin-bottom: 10px; }
.mez-shuttle {
    display: grid; gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 18px;
}
.mez-shuttle img { border-radius: 6px; box-shadow: var(--mez-shadow); }
.mez-shuttle--single { max-width: 720px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
    .mez-process { grid-template-columns: 1fr 1fr; }
}

/* ---------- FAQ ---------- */
.mez-faq { max-width: 820px; }
.mez-faq details {
    background: var(--mez-panel);
    border: 1px solid var(--mez-divider);
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}
.mez-faq summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 700;
    color: var(--mez-charcoal);
    list-style: none;
    position: relative;
    padding-right: 44px;
}
.mez-faq summary::-webkit-details-marker { display: none; }
.mez-faq summary::after {
    content: "+";
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--mez-cyan);
    line-height: 1;
}
.mez-faq details[open] summary::after { content: "−"; }
.mez-faq details[open] summary { color: var(--mez-cyan); }
.mez-faq details > p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--mez-muted);
}

/* ---------- Contact ---------- */
.mez-contact {
    display: grid; gap: 32px;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .mez-contact { grid-template-columns: 2fr 1fr; align-items: start; }
}
.mez-form {
    background: var(--mez-panel);
    padding: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: grid; gap: 16px;
}
.mez-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) { .mez-form__row { grid-template-columns: 1fr 1fr; } }
.mez-form label {
    display: block;
    font-weight: 700;
    color: var(--mez-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.mez-form input,
.mez-form textarea {
    margin-top: 6px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--mez-divider);
    border-radius: 4px;
    font: 400 15px/1.5 'PT Sans', sans-serif;
    color: var(--mez-text);
    background: #fff;
    text-transform: none;
    letter-spacing: normal;
}
.mez-form input:focus,
.mez-form textarea:focus {
    outline: none;
    border-color: var(--mez-cyan);
    box-shadow: 0 0 0 3px rgba(17, 187, 231, 0.2);
}
.mez-form textarea { resize: vertical; }
.mez-form__check {
    display: flex; align-items: flex-start; gap: 10px;
    text-transform: none; font-weight: 400;
    color: var(--mez-text); font-size: 15px;
}
.mez-form__check input { margin: 5px 0 0; width: auto; }
.mez-form__honey { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.mez-form > .mez-btn { justify-self: start; }

.mez-alert {
    padding: 14px 18px;
    border-radius: 6px;
    font-weight: 700;
}
.mez-alert--success { background: #e7f5e7; color: #1f6f1f; border: 1px solid #b3d8b3; }
.mez-alert--error { background: #fde7e7; color: #8a1212; border: 1px solid #f3b8b8; }

.mez-contact__side {
    background: var(--mez-panel);
    padding: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.mez-contact__side h2 {
    margin-top: 0;
    color: var(--mez-charcoal);
    text-transform: uppercase;
    font-size: 18px;
    border-bottom: 2px solid var(--mez-cyan);
    padding-bottom: 8px;
}
.mez-contact__row { margin: 14px 0; }
.mez-contact__map {
    margin-top: 16px;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
}
.mez-contact__map iframe { width: 100%; height: 100%; border: 0; }

.mez-prose p { margin: 0 0 18px; color: var(--mez-text); }

/* ---------- Reservations widget page ---------- */
.mez-widget-page { padding: 50px 20px 80px; background: var(--mez-bg); }
.mez-widget-page__inner { max-width: 1080px; margin: 0 auto; }
.mez-widget-page__header { text-align: center; margin-bottom: 28px; }
.mez-widget-page__lead { color: var(--mez-muted); font-size: 16px; margin: 0; }
.mez-widget-host {
    background: var(--mez-panel);
    border-radius: 8px;
    box-shadow: var(--mez-shadow);
    padding: 12px;
    min-height: 600px;
}
.mez-widget-host #purvalet-booking { width: 100%; min-height: 580px; }

/* ---------- Footer ---------- */
.mez-footer { background: #2c2c2c; color: #dcdcdc; padding: 30px 20px 20px; margin-top: 60px; }
.mez-footer__row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.mez-footer__row--top { border-bottom: 1px solid #444; padding-bottom: 20px; justify-content: space-between; }
.mez-footer__row--bottom { padding-top: 16px; justify-content: space-between; font-size: 13px; color: #aaa; }
.mez-footer__contact,
.mez-footer__social { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.mez-footer__label { text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: #aaa; font-weight: 700; }
.mez-footer__phone,
.mez-footer__msg { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.mez-footer__phone svg,
.mez-footer__msg svg { width: 16px; height: 16px; fill: var(--mez-cyan); }
.mez-footer__phone:hover,
.mez-footer__msg:hover { color: var(--mez-cyan); text-decoration: none; }
.mez-footer__social a {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px;
    background: var(--mez-cyan);
    border-radius: 50%;
    color: #fff;
    transition: background .2s;
}
.mez-footer__social a:hover { background: var(--mez-cyan-light); text-decoration: none; }
.mez-footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.mez-footer__copyright { margin: 0; }
.mez-footer__nav { display: flex; gap: 14px; flex-wrap: wrap; }
.mez-footer__nav a { color: #ccc; }
.mez-footer__nav a:hover { color: #fff; text-decoration: none; }

/* ---------- Back to top ---------- */
.mez-gotop {
    position: fixed;
    right: 18px; bottom: 18px;
    width: 46px; height: 46px;
    background: var(--mez-cyan);
    color: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
    transition: background .2s, transform .2s;
}
.mez-gotop:hover { background: var(--mez-cyan-light); transform: translateY(-3px); }
.mez-gotop svg { width: 22px; height: 22px; fill: currentColor; }
.mez-gotop.is-visible { display: inline-flex; }

/* ---------- Modal ---------- */
.mez-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.mez-modal.is-open { display: block; }
.mez-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.mez-modal__panel {
    position: relative;
    max-width: 720px;
    width: calc(100% - 32px);
    margin: 80px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--mez-shadow);
    overflow: hidden;
}
.mez-modal__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--mez-divider);
}
.mez-modal__head h2 { margin: 0; color: var(--mez-charcoal); font-size: 18px; text-transform: uppercase; }
.mez-modal__close {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: var(--mez-muted);
    cursor: pointer;
}
.mez-modal__close:hover { color: var(--mez-cyan); }
.mez-modal__body { padding: 18px; }
.mez-modal__addr { font-weight: 700; color: var(--mez-charcoal); margin: 0 0 12px; }
.mez-modal__body iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 4px;
}

/* ---------- Responsive header ---------- */
@media (max-width: 1023px) {
    .mez-header__toggle { display: inline-block; order: 2; }
    .mez-header__address { display: none; }
    .mez-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        box-shadow: var(--mez-shadow);
        padding: 12px 20px;
        margin-left: 0;
    }
    .mez-nav.is-open { display: block; }
    .mez-nav ul { flex-direction: column; gap: 4px; }
    .mez-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--mez-divider); }
    .mez-nav a:hover,
    .mez-nav a.is-active { border-bottom-color: var(--mez-divider); color: var(--mez-cyan); }
}

@media (max-width: 600px) {
    .mez-footer__row--top,
    .mez-footer__row--bottom { flex-direction: column; align-items: flex-start; }
}
