body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    max-width: 1080px;
    margin: 0 auto;
    color: #1f2a33;
    background: #f4f6f8;
}

a {
    color: inherit;
}

.site-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-bottom: 4px solid #1ecad3;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(31, 42, 51, 0.07);
}

.logo {
    height: 52px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.header-line {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    color: #1f2a33;
}

.header-link {
    margin-left: auto;
    flex-shrink: 0;
    color: #1f2a33;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: right;
    border-bottom: 2px solid #1ecad3;
    padding-bottom: 2px;
}

.header-link:hover {
    color: #1ecad3;
}

.group {
    margin-bottom: 42px;
}

.group-title {
    margin: 0 0 18px;
    padding-bottom: 8px;
    border: none;
    border-bottom: 2px solid #1ecad3;
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    display: flex;
    flex-direction: column;
    min-height: 248px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-bottom: 4px solid #1ecad3;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(31, 42, 51, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-photo {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 22px 18px;
}

.card-features {
    margin: 8px 0 0;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #5c6b76;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(31, 42, 51, 0.12);
}

.card-domain {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1ecad3;
}

.card h3 {
    margin: 10px 0 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin: auto 0 0;
    padding-top: 22px;
}

.stat-place {
    grid-column: 1 / -1;
}

.stats dt {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a97a1;
}

.stats dd {
    margin: 2px 0 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: #1f2a33;
}

.stats .note {
    margin-top: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #5c6b76;
}

.card-go {
    margin-top: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1ecad3;
}

.map-frame {
    position: relative;
    margin-bottom: 36px;
}

.map-canvas {
    position: relative;
}

#crete-map {
    display: block;
    width: 100%;
    height: 170px;
    border: 1px solid #e4e8ec;
    border-bottom: 4px solid #1ecad3;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(31, 42, 51, 0.06);
}

.map-google-search {
    width: min(280px, calc(100vw - 160px));
    height: 34px;
    margin: 10px 48px 0 0;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #1f2a33;
    font: inherit;
    font-size: 0.9rem;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(31, 42, 51, 0.18);
}

.map-google-search:focus {
    outline: 2px solid #1ecad3;
}

.map-places {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.map-places button {
    padding: 4px 10px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #1f2a33;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(31, 42, 51, 0.08);
    cursor: pointer;
}

.map-places button:hover,
.map-places button.is-active {
    color: #1ecad3;
}

.map-expand {
    position: absolute;
    z-index: 500;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #1f2a33;
    box-shadow: 0 2px 8px rgba(31, 42, 51, 0.18);
    cursor: pointer;
}

.map-expand:hover {
    color: #1ecad3;
}

.map-expand svg {
    width: 18px;
    height: 18px;
    display: block;
}

.map-expand .icon-exit {
    display: none;
}

.pac-container {
    z-index: 2000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.map-pin-label {
    background: #fff;
    padding: 1px 6px;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(31, 42, 51, 0.22);
}

.map-popup strong,
.map-popup span {
    display: block;
}

.map-popup span {
    color: #5c6b76;
    font-size: 0.85rem;
}

.map-popup a {
    color: #1ecad3;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.map-popup + .map-popup {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eef1f4;
}

.map-frame:fullscreen {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 12px;
    background: #f4f6f8;
    box-sizing: border-box;
}

.map-frame:fullscreen .map-canvas {
    flex: 1;
}

.map-frame:fullscreen #crete-map {
    height: 100%;
    border-radius: 0;
}

.map-frame:fullscreen .icon-enter {
    display: none;
}

.map-frame:fullscreen .icon-exit {
    display: block;
}

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

@media (max-width: 640px) {
    #crete-map {
        height: 130px;
    }

    .site-header {
        flex-wrap: wrap;
    }

    .header-link {
        margin-left: 0;
    }

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