*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --teal:        #1d7f7f;
    --teal-dark:   #145f5f;
    --teal-darker: #0e4444;
    --orange:      #e8911d;
    --orange-dark: #cc7a10;
    --navy:        #1a2e3b;
    --gray:        #666;
    --white:       #fff;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* ========================================================
   HEADER
======================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 48px;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: auto;
}

/* Nav */
nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s;
}

nav a:hover { color: var(--teal); }

/* Header right */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.btn-subscribe {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-subscribe:hover { background: var(--orange-dark); }

.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 13px;
    color: var(--navy);
    cursor: pointer;
    border: none;
    padding: 5px 4px;
    background: none;
    font-family: inherit;
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 4px 0;
    min-width: 148px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 1100;
}

.lang-menu.open { display: block; }

.lang-option {
    display: block;
    width: 100%;
    padding: 8px 16px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: var(--navy);
    font-family: inherit;
    white-space: nowrap;
}

.lang-option:hover { background: #f4f4f4; }

.lang-option.active {
    font-weight: 700;
    color: var(--teal);
}

/* ========================================================
   HERO
======================================================== */
.hero {
    position: relative;
    min-height: 440px;
    background: url('img/hero-bg.png') center center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Dark overlay for text readability */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(14,68,68,0.75) 0%, rgba(14,68,68,0.4) 55%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left { max-width: 560px; }

.hero h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero p {
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.btn-request {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.15s;
}

.btn-request:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}


/* ========================================================
   SERVICES
======================================================== */
.services {
    padding: 64px 48px;
    background: #fff;
}

.services-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 10px;
}

.service-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.service-card h3 {
    color: var(--teal);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
    line-height: 1.45;
}

.service-card p {
    color: var(--gray);
    font-size: 11px;
    line-height: 1.6;
}

/* ========================================================
   ABOUT BLOCK
======================================================== */
.about-block {
    margin-top: 56px;
    padding-top: 44px;
    border-top: 2px solid var(--teal);
}

.about-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    margin-bottom: 28px;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.about-col p {
    font-size: 13px;
    line-height: 1.8;
    color: #3a4a55;
    margin-bottom: 18px;
}

.about-tagline {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.6;
}

.services-tagline {
    margin-bottom: 36px;
}

/* ========================================================
   MAP
======================================================== */
.map-section {
    position: relative;
    height: 520px;
    scroll-margin-top: 80px;
}

#leaflet-map {
    width: 100%;
    height: 100%;
}

/* ── Map alert overlay ─────────────────────────────────────────── */
.map-alert-overlay {
    position: absolute;
    inset: 0;
    z-index: 600;
    background: rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.map-alert-overlay.hidden {
    display: none;
}

.map-alert-box {
    background: #fff;
    border-radius: 12px;
    padding: 36px 44px 32px;
    max-width: 400px;
    width: calc(100% - 32px);
    text-align: center;
    position: relative;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.22);
}

.map-alert-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 17px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.map-alert-close:hover {
    color: #222;
    background: #f0f0f0;
}

.map-alert-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: #1a2e3b;
    margin: 0 0 22px;
}

.map-alert-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s;
}

.map-alert-btn:hover {
    background: var(--orange-dark);
}

@media (max-width: 480px) {
    .map-alert-box {
        padding: 28px 20px 24px;
        border-radius: 10px;
    }

    .map-alert-text {
        font-size: 14px;
    }

    .map-alert-btn {
        padding: 10px 28px;
        width: 100%;
    }
}

.map-controls {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-badge {
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 9px 22px;
    border-radius: 50px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border: none;
}

.map-search-box {
    background: #fff;
    border-radius: 50px;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}

.map-search-box input {
    border: none;
    outline: none;
    font-size: 13px;
    color: #999;
    width: 140px;
    font-family: 'Montserrat', sans-serif;
}

/* Gesture hint overlay */
.map-gesture-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.46);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    z-index: 450;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
    text-align: center;
    padding: 0 32px;
}

.map-gesture-hint.visible {
    opacity: 1;
}

/* SP map marker — teal pin, orange P */
.sp-pin {
    width: 42px;
    height: 44px;
}

.sp-pin-head {
    width: 42px;
    height: 42px;
    background: var(--teal);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-pin-s,
.sp-pin-p {
    transform: rotate(45deg);
    font-weight: 900;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.sp-pin-s { color: #fff; }
.sp-pin-p { color: var(--orange); }

/* Popup */
.sp-popup { display: flex; flex-direction: column; gap: 2px; }
.sp-popup strong { font-size: 13px; color: var(--teal); font-family: 'Montserrat', sans-serif; }
.sp-popup span   { font-size: 11px; color: #666; font-family: 'Montserrat', sans-serif; }

/* ============================================================
   PARKING PANEL
============================================================ */

.parking-panel {
    position: absolute;
    top: 56px;
    left: 16px;
    z-index: 500;
    width: 260px;
    max-height: 380px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
}

.parking-panel.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.parking-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-size: 13px;
    color: var(--teal);
    flex-shrink: 0;
}

.parking-panel-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    padding: 0 2px;
    line-height: 1;
}

.parking-panel-close:hover { color: #333; }

.parking-list {
    list-style: none;
    overflow-y: auto;
    flex: 1;
}

.parking-list-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.parking-list-item:hover { background: #f0fafa; }
.parking-list-item:last-child { border-bottom: none; }

.pli-name {
    font-size: 12px;
    font-weight: 700;
    color: #222;
}

.pli-addr {
    font-size: 11px;
    color: #888;
}

.parking-list-empty {
    padding: 20px 14px;
    font-size: 12px;
    color: #aaa;
    text-align: center;
}

/* ========================================================
   CONTACT
======================================================== */
.contact-section {
    padding: 80px 48px;
    background: #fff;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    align-items: start;
}

.contact-info h2 {
    color: var(--teal);
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 28px;
}

.contact-info p {
    font-size: 14px;
    line-height: 2.3;
    color: #444;
}

.contact-info a {
    color: #444;
    text-decoration: underline;
}

/* Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 12px;
    color: #555;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--teal);
}

.form-group.full-width { grid-column: 1 / -1; }

.cf-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.form-note {
    grid-column: 1 / -1;
    font-size: 11px;
    color: #888;
}

.form-consents {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.form-submit {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

.btn-send {
    background: var(--teal);
    color: #fff;
    border: none;
    padding: 13px 48px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.btn-send:hover { background: var(--teal-dark); }

.form-feedback {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 10px;
    animation: feedbackIn 0.3s ease;
}

@keyframes feedbackIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-feedback--success {
    background: #e8f5f0;
    border-left: 4px solid #218B82;
}

.form-feedback--error {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
}

.form-feedback__icon {
    font-size: 1.4rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.form-feedback--success .form-feedback__icon { color: #218B82; }
.form-feedback--error   .form-feedback__icon { color: #dc2626; }

.form-feedback__title {
    margin: 0 0 4px;
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
}

.form-feedback__text {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* ========================================================
   FOOTER
======================================================== */
footer {
    background: var(--teal-dark);
    color: #fff;
    text-align: center;
    padding: 54px 40px 34px;
}

.footer-logo {
    margin-bottom: 26px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a0d4d4;
    font-size: 13px;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-phone {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-email {
    display: block;
    color: #a0d4d4;
    font-size: 14px;
    text-decoration: underline;
    margin-bottom: 14px;
}

.footer-email:hover { color: #fff; }

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

/* ========================================================
   HAMBURGER TOGGLE
======================================================== */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================================
   RESPONSIVE
======================================================== */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    header { padding: 0 24px; gap: 8px; }

    .nav-toggle { display: flex; }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.14);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 999;
        padding: 8px 0 16px;
        display: none;
    }

    body.nav-open nav {
        display: flex;
    }

    nav a {
        padding: 14px 24px;
        font-size: 13px;
        border-bottom: 1px solid #f0f0f0;
        white-space: normal;
        letter-spacing: 0.4px;
    }

    nav a:last-child { border-bottom: none; }

    .hero-content { flex-direction: column; padding: 48px 24px; }
    .services { padding: 48px 24px; }
    .contact-inner { grid-template-columns: 1fr; gap: 48px; }
    .contact-section { padding: 56px 24px; }
}

@media (max-width: 600px) {
    .btn-subscribe { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-columns { grid-template-columns: 1fr; gap: 0; }
    .contact-form { grid-template-columns: 1fr; }
    .form-group.full-width, .form-submit { grid-column: 1; }
    .cf-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 26px; }
}

/* ========================================================
   PARKING LIST ITEM — rich card
======================================================== */
.pli-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.pli-zone {
    background: var(--teal);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.pli-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal);
}

.pli-name {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
}

.pli-desc {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 10px;
}

.pli-buy-btn {
    width: 100%;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s;
}

.pli-buy-btn:hover { background: var(--orange-dark); }

/* Popup buy button */
.sp-popup-zone {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--teal);
    margin: 2px 0 8px;
}

.sp-popup strong {
    font-size: 13.5px;
    font-weight: 400;
    color: #444;
}

.sp-popup-btn {
    display: block;
    width: 100%;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.15s;
}

.sp-popup-btn:hover { background: var(--orange-dark); }

/* ========================================================
   SUBSCRIPTION MODAL
======================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.sub-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 32px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(16px);
    transition: transform 0.25s;
}

.modal-overlay.open .sub-modal {
    transform: translateY(0);
}

.sub-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 15px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.sub-modal-close:hover { background: #ddd; color: #111; }


/* Parking info block */
.sub-modal-parking {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fafa;
    border: 1.5px solid #c8eaea;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.sub-modal-zone {
    background: var(--teal);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sub-modal-parking-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sub-modal-parking-details strong {
    font-size: 13px;
    color: #222;
}

.sub-modal-parking-details span {
    font-size: 12px;
    color: #666;
}

.sub-modal-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--teal);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Form */
.sub-modal-form { display: flex; flex-direction: column; gap: 0; }

.sub-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.sub-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sub-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.sub-form-group input {
    border: 1.5px solid #ccc;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    color: #333;
}

.sub-form-group input:focus { border-color: var(--teal); }

.sub-modal-error {
    background: #fff0f0;
    border: 1px solid #ffaaaa;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: #c00;
    margin-bottom: 14px;
    display: none;
}

.sub-recipient {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 10px 14px;
    background: #f5fafa;
    border-left: 3px solid var(--teal);
    border-radius: 0 6px 6px 0;
    margin-bottom: 16px;
}

.sub-recipient-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--teal);
    white-space: nowrap;
    flex-shrink: 0;
}

.sub-recipient-value {
    font-size: 11px;
    color: #3a4a55;
    line-height: 1.5;
}

.sub-modal-pay-btn {
    width: 100%;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    margin-bottom: 14px;
}

.sub-modal-pay-btn:hover:not(:disabled) { background: var(--teal-dark); }
.sub-modal-pay-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.sub-modal-legal {
    font-size: 11px;
    color: #999;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sub-modal-legal a { color: var(--teal); }

.sub-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 4px;
}

.sub-consent-cb {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--teal);
    cursor: pointer;
}

.sub-consent-label {
    font-size: 13px;
    color: #555;
    line-height: 1.45;
    cursor: pointer;
}

.sub-consent-label a {
    color: var(--teal);
    text-decoration: underline;
}

.sub-modal-security {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.sub-modal-security img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
}

@media (max-width: 500px) {
    .sub-modal { padding: 24px 20px 20px; }
    .sub-form-row { grid-template-columns: 1fr; }
    .sub-modal-parking { flex-wrap: wrap; }
    .sub-modal-price { width: 100%; }
}

/* ========================================================
   MODAL — type toggle & updated layout
======================================================== */
.sub-modal-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--teal-dark);
    margin-bottom: 16px;
}

.sub-type-toggle {
    display: flex;
    background: #f0f0f0;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
}

.sub-type-btn {
    flex: 1;
    padding: 9px 12px;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s, color 0.2s;
}

.sub-type-btn.active {
    background: var(--teal);
    color: #fff;
}

.sub-type-btn:not(.active):hover {
    background: #e0e0e0;
    color: #333;
}

.sub-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
}

.sub-modal-form > .sub-form-group {
    margin-bottom: 14px;
}

/* ========================================================
   SUBSCRIPTION PLAN SELECTOR
======================================================== */
.sub-plan-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.sub-plan-header {
    font-size: 11px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.sub-plan-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.2s, background 0.2s;
    text-align: left;
    gap: 12px;
}

.sub-plan-btn.active {
    border-color: var(--teal);
    background: #f0fafa;
}

.sub-plan-btn:not(.active):hover {
    border-color: #bbb;
    background: #f8f8f8;
}

.sub-plan-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.sub-plan-label {
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.sub-plan-time {
    font-size: 11px;
    color: #888;
}

.sub-plan-price {
    font-size: 14px;
    font-weight: 900;
    color: var(--teal);
    white-space: nowrap;
    flex-shrink: 0;
}

.sub-prizma-note {
    font-size: 11px;
    color: #999;
    font-style: italic;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
    padding: 0 4px;
}

/* ========================================================
   POPUP — tariff block & action buttons
======================================================== */
.sp-popup-tariff {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 6px 0 10px;
    padding: 10px 11px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 11px;
    color: #555;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.45;
}

.sp-tariff-hours {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.2px;
}

.sp-tariff-divider {
    height: 1px;
    background: #ddd;
    margin: 3px 0;
}

.sp-tariff-info {
    font-style: italic;
    color: #888;
    font-size: 10.5px;
}

.sp-tariff-warning {
    margin-top: 3px;
    font-size: 10.5px;
    color: #a84800;
    background: #fff5ec;
    border-left: 3px solid var(--orange);
    padding: 5px 7px;
    border-radius: 0 4px 4px 0;
    line-height: 1.55;
}

.sp-tariff-promo {
    margin-top: 3px;
    font-size: 10.5px;
    color: #c0000a;
    background: #fff0f0;
    border-left: 3px solid #c0000a;
    padding: 5px 7px;
    border-radius: 0 4px 4px 0;
    line-height: 1.55;
    font-weight: 600;
}

.sp-popup-actions {
    display: flex;
    gap: 6px;
}

.sp-popup-actions .sp-popup-btn { flex: 1; }

.sp-popup-rules-btn {
    background: transparent;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    border-radius: 50px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.sp-popup-rules-btn:hover {
    background: var(--teal);
    color: #fff;
}

/* ========================================================
   PARKING LIST — tariff line & action row
======================================================== */
.pli-tariff {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
}

.pli-actions {
    display: flex;
    gap: 6px;
}

.pli-actions .pli-buy-btn { flex: 1; }

.pli-rules-btn {
    background: transparent;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    border-radius: 50px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.pli-rules-btn:hover {
    background: var(--teal);
    color: #fff;
}

/* ========================================================
   PARKING RULES MODAL
======================================================== */
.rules-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(16px);
    transition: transform 0.25s;
}

.modal-overlay.open .rules-modal {
    transform: translateY(0);
}

.rules-modal-title {
    font-size: 17px;
    font-weight: 900;
    color: var(--teal-dark);
    padding: 28px 28px 16px 28px;
    padding-right: 52px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.rules-modal-body {
    overflow-y: auto;
    padding: 20px 28px;
    flex: 1;
    font-size: 13px;
    line-height: 1.85;
    color: #444;
}

.rules-modal-body p {
    margin-bottom: 12px;
}

.rules-modal-footer {
    padding: 16px 28px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rules-copy-btn {
    background: transparent;
    color: #888;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.3px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rules-copy-btn .copy-icon {
    font-style: normal;
    font-size: 13px;
}

.rules-copy-btn:hover {
    color: var(--teal);
    border-color: var(--teal);
}

.rules-copy-btn.copied {
    color: #1a7c4e;
    border-color: #1a7c4e;
    background: #e8f5ee;
}

.rules-modal-close-btn {
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 11px 36px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.rules-modal-close-btn:hover { background: var(--teal-dark); }

@media (max-width: 500px) {
    .rules-modal-title { font-size: 15px; padding: 20px 20px 14px; padding-right: 48px; }
    .rules-modal-body  { padding: 16px 20px; }
    .rules-modal-footer { padding: 12px 20px; }
    .sub-plan-btn { flex-wrap: wrap; }
    .sub-plan-price { width: 100%; margin-top: 4px; }
}

/* ========================================================
   ZONE LABELS (Leaflet permanent tooltips)
======================================================== */
.leaflet-tooltip.sp-zone-label {
    background:   var(--teal);
    color:        #fff;
    border:       none;
    border-radius: 4px;
    padding:      2px 7px;
    font-size:    10px;
    font-weight:  800;
    font-family:  'Montserrat', sans-serif;
    letter-spacing: 0.8px;
    box-shadow:   0 1px 5px rgba(0,0,0,0.25);
    white-space:  nowrap;
    pointer-events: none;
}

.leaflet-tooltip.sp-zone-label::before {
    display: none;
}

.rules-modal-body .rules-section-heading {
    font-weight: 800;
    color: var(--teal-dark);
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* ============================================================
   PAYMENT RESULT NOTIFICATION
============================================================ */
#paymentNotification {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(480px, 92vw);
    animation: paynotif-slidein 0.35s ease;
}

@keyframes paynotif-slidein {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

#paymentNotifInner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    background: #fff;
    border-left: 5px solid #059669;
}

#paymentNotification.failed #paymentNotifInner {
    border-left-color: #dc2626;
}

#paymentNotifIcon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

#paymentNotifText {
    flex: 1;
}

#paymentNotifTitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 4px;
}

#paymentNotification.failed #paymentNotifTitle {
    color: #dc2626;
}

#paymentNotifMsg {
    margin: 0;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.45;
}

#paymentNotifClose {
    background: none;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
    padding: 0 0 0 4px;
    flex-shrink: 0;
    transition: color 0.15s;
}

#paymentNotifClose:hover {
    color: #374151;
}
