:root {
    --primary-color: #ffcc00;
    --dark-color: #232323;
    --light-bg: #F0F0F0;
    --text-color: #333;
    --border-color: #d6d6d6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    padding: 80px 10%;
}

[id] {
    scroll-margin-top: 96px;
}

.top-bar {
    background: var(--dark-color);
    color: #fff;
    padding: 12px 10%;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.top-bar__left,
.top-bar__right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar i {
    color: var(--primary-color);
    margin-right: 8px;
}

.top-bar a,
.contact-info a {
    display: inline-block;
    transition: transform 0.2s ease;
    transform-origin: left center;
}

.top-bar a:hover,
.contact-info a:hover {
    transform: scale(1.05);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 3000;
    background: #fff;
    padding: 16px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    color: var(--dark-color);
    cursor: pointer;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    overflow: visible;
}

.logo img {
    height: 72px;
    width: auto;
    display: block;
    transform: scale(1.4);
    transform-origin: left center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 10px 18px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a.btn-nav:hover {
    color: #fff;
    background: var(--dark-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero {
    min-height: 76vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("../images/kamperowekadry-hero.webp") center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero__content {
    max-width: 820px;
}

.hero-mobile-logo {
    display: none;
}

.hero-mobile-logo img {
    display: block;
    width: 150px;
    max-width: 44vw;
    height: auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.btn-main {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-color);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.35);
    background: #ffe04a;
}

.features {
    margin: -50px auto 0;
    width: min(1200px, 80%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: 40px;
}

.feature-item {
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 12px;
    padding: 20px 16px;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.feature-item h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.section-title {
    text-align: center;
    margin-bottom: 44px;
}

.section-title h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.underline {
    width: 64px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--primary-color);
}

.section-title--left {
    text-align: left;
    margin-bottom: 26px;
}

.section-title--left .underline {
    margin-left: 0;
}

.about-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 12px;
}

.about-text p + p {
    margin-top: 14px;
}

.section-light {
    background: var(--light-bg);
}

.styles-grid,
.pricing-grid {
    display: grid;
    gap: 22px;
}

.styles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.style-card,
.pricing-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 26px;
}

.style-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(22, 22, 22, 0.09);
    border: 1px solid #d8d8d8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(22, 22, 22, 0.15);
}

.style-card h3,
.pricing-card h3 {
    margin-bottom: 5px;
}

.style-card__body {
    background: linear-gradient(180deg, #2e2e2e 0%, #262626 100%);
    color: #efefef;
    padding: 18px 22px 20px;
}

.style-card__tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 204, 0, 0.18);
    color: #ffe48a;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.style-card h3 {
    position: relative;
    padding: 0 0 0 14px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.3rem;
}

.style-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 6px;
    background: var(--primary-color);
}

.style-card p {
    margin-bottom: 0;
    padding: 0;
    color: #d3d3d3;
    line-height: 1.55;
}

.style-card__image,
.style-card__image-placeholder {
    width: 100%;
    height: 410px;
    min-height: 410px;
    border-radius: 0;
    border: none;
    margin-bottom: 0;
}

.style-card__image {
    object-fit: cover;
    display: block;
}

.style-card__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #757575;
    font-weight: 600;
    text-align: center;
    padding: 14px;
}

#background-selection {
    margin-top: 56px;
    padding-top: 0;
}

.backgrounds-subtitle {
    text-align: center;
    color: #666;
    margin: -12px auto 40px;
    max-width: 700px;
    padding: 0 12px;
}

.backgrounds-container {
    max-width: 1200px;
    margin: 0 auto;
}

.backgrounds-grid-custom {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.bg-card {
    text-align: center;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.bg-card__wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.bg-card__wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bg-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.46);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bg-card__overlay span {
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: none;
}

.bg-card:focus-visible {
    outline: 3px solid rgba(255, 204, 0, 0.7);
    outline-offset: 4px;
}

.bg-card:hover {
    transform: translateY(-7px);
}

.bg-card:hover .bg-card__overlay {
    opacity: 1;
}

.bg-card:hover img {
    transform: scale(1.08);
}

@media (max-width: 1100px) {
    .backgrounds-grid-custom {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card__meta {
    color: #666;
    margin-bottom: 6px;
}

.pricing-card__price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-card__features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.pricing-card__features li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-card__features li:last-child {
    margin-top: 10px;
    margin-bottom: 0;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.pricing-card--featured {
    position: relative;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(255, 204, 0, 0.18);
}

.pricing-card--featured:hover {
    box-shadow: 0 14px 32px rgba(255, 204, 0, 0.25);
}

.pricing-card__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--dark-color);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.pricing-card__cta {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: var(--dark-color);
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: auto;
    padding-top: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pricing-card__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 204, 0, 0.3);
    background: #ffe04a;
}

.pricing-card__features {
    margin-bottom: 20px;
}

.pricing-download {
    margin-top: 28px;
    text-align: center;
}

.pricing-download p {
    margin-bottom: 12px;
    font-weight: 600;
}

.pricing-download__button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-color);
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pricing-download__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 204, 0, 0.3);
    background: #ffe04a;
}

#locations-map {
    background: #fff;
}

.locations-map__counter {
    text-align: center;
    margin: -16px 0 24px;
    font-size: 1.05rem;
    color: #3a3a3a;
}

.locations-map__counter strong {
    color: var(--dark-color);
}

.locations-mobile-tabs {
    display: none;
}

.locations-panel {
    display: block;
}

.locations-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.event-map {
    width: 100%;
    height: 460px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.locations-list-wrap {
    margin-top: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(20, 20, 20, 0.07);
    padding: 16px;
    height: 460px;
    display: flex;
    flex-direction: column;
}

.locations-list-wrap h3 {
    margin-bottom: 12px;
    font-size: 1.12rem;
}

.locations-list-controls {
    display: block;
    margin-bottom: 12px;
}

.locations-list-controls input,
.locations-list-controls select {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}

.locations-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    margin: 0;
    max-height: none;
    overflow-y: auto;
    align-content: start;
    padding-right: 4px;
}

.locations-list__item {
    width: 100%;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    align-items: center;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.locations-list__item:hover {
    border-color: #b9b9b9;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.locations-list__item.is-active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.28);
    background: #fffdf3;
}

.locations-list__thumb {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.locations-list__meta {
    min-width: 0;
}

.locations-list__name {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

.locations-list__address {
    color: #555;
    font-size: 0.88rem;
    line-height: 1.35;
}

.locations-list__city {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f4f4f4;
    color: #666;
    font-size: 0.78rem;
    font-weight: 600;
}

.leaflet-tooltip.map-tooltip {
    background: #fff;
    border: 1px solid var(--border-color);
    color: #222;
    font-weight: 600;
    padding: 6px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-map-pin-wrapper {
    background: transparent;
    border: none;
}

.brand-map-pin {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid #3a3200;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.brand-map-pin::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid var(--primary-color);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
}

.leaflet-popup-content {
    margin: 10px 12px;
}

.map-popup {
    max-width: 260px;
}

.map-popup h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.map-popup p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.map-popup img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.map-popup__check {
    margin: 8px auto 0;
    display: block;
    border: none;
    background: var(--primary-color);
    color: var(--dark-color);
    border-radius: 6px;
    padding: 7px 11px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.map-popup__check:hover {
    background: #ffe04a;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.gallery-grid {
    display: grid;
    gap: 14px;
}

.gallery-grid__viewport {
    overflow: visible;
}

.gallery-grid__track {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-page {
    display: contents;
}

.gallery-grid__pager {
    display: none;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.gallery-grid__arrow {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-grid__arrow[hidden] {
    display: none;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: block;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.lightbox.is-active {
    display: flex;
}

.lightbox__image {
    max-width: min(880px, 72vw);
    max-height: 68vh;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    border: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lightbox__close {
    top: 18px;
    right: 18px;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: 18px;
}

.lightbox__nav--next {
    right: 18px;
}

.map-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 4000;
    padding: 20px;
}

.map-lightbox.is-active {
    display: flex;
}

.map-lightbox__content {
    position: relative;
    width: min(784px, 74vw);
    background: #fff;
    border-radius: 12px;
    padding: 18px;
}

.map-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
}

.map-lightbox__content h3 {
    margin-bottom: 6px;
    padding-right: 40px;
}

.map-lightbox__content p {
    margin-bottom: 14px;
    color: #4a4a4a;
}

.map-lightbox__content img {
    width: 100%;
    max-height: 58vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #f5f5f5;
}

.background-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 4100;
    padding: 20px;
}

.background-lightbox.is-active {
    display: flex;
}

.background-lightbox__content {
    position: relative;
    width: min(720px, 92vw);
    background: #fff;
    border-radius: 12px;
    padding: 18px;
}

.background-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
}

.background-lightbox__content h3 {
    margin-bottom: 10px;
    padding-right: 44px;
}

.background-lightbox__content img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #f5f5f5;
}

.contact-box {
    position: relative;
    background: linear-gradient(145deg, #1f1f1f 0%, #2a2a2a 45%, #232323 100%);
    border-radius: 18px;
    color: #fff;
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.contact-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 40%);
    pointer-events: none;
}

.contact-info p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.contact-info p:first-of-type {
    margin-bottom: 45px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 8px;
}

.contact-form__field {
    margin-bottom: 13px;
}

.contact-form__field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.contact-form__field input,
.contact-form__field textarea {
    margin-bottom: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 13px;
    margin-bottom: 13px;
    font: inherit;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 204, 0, 0.7);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.16);
}

.contact-form textarea {
    resize: none;
}

.contact-form__message {
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-form__message--success {
    background: #e8f8ea;
    color: #1f6a2e;
}

.contact-form__message--error {
    background: #fdecec;
    color: #8e2020;
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-form__note {
    font-size: 0.86rem;
    color: #f1e3a3;
    margin: 0 0 12px;
}

.contact-form button {
    border: none;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 12px 22px;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 204, 0, 0.28);
    background: #ffe04a;
}

.contact-form button.is-loading {
    opacity: 0.8;
    cursor: not-allowed;
}

footer {
    background: #111;
    color: #b7b7b7;
    padding: 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 32px 40px;
    align-items: start;
}

.footer__heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.footer__logo {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 14px;
}

.footer__tagline {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.6;
    max-width: 300px;
}

.footer__contact p {
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: #b7b7b7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__contact i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer__contact a {
    color: #b7b7b7;
    transition: color 0.2s ease;
}

.footer__contact a:hover {
    color: var(--primary-color);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav a {
    font-size: 0.88rem;
    color: #b7b7b7;
    transition: color 0.2s ease;
}

.footer__nav a:hover {
    color: var(--primary-color);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 32px;
    text-align: center;
    font-size: 0.82rem;
    color: #666;
}

@media (max-width: 768px) {
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 24px 32px;
        text-align: center;
    }
    .footer__tagline {
        max-width: none;
    }
    .footer__logo {
        margin: 0 auto 14px;
    }
    .footer__contact p {
        justify-content: center;
    }
    .footer__nav {
        align-items: center;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1024px) {
    section {
        padding: 64px 6%;
    }

    .main-header {
        padding: 14px 6%;
    }

    .hero {
        min-height: 66vh;
        background-position: center 35%;
    }

    .features {
        width: min(1200px, 92%);
        margin-top: -34px;
        padding: 28px;
    }

    .about-flex {
        gap: 30px;
    }

    .event-map {
        height: 380px;
    }

    .locations-layout {
        grid-template-columns: 1fr;
    }

    .locations-list-wrap {
        height: auto;
    }

    .locations-list {
        max-height: 300px;
    }

    .lightbox__image {
        max-width: min(840px, 86vw);
        max-height: 72vh;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 24px;
    }

    [id] {
        scroll-margin-top: 24px;
    }

    section {
        padding: 52px 5%;
    }

    .top-bar {
        display: none;
    }

    .main-header {
        display: none;
    }

    .hero-mobile-logo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 14px;
        padding: 0;
    }

    .nav-toggle,
    .main-nav {
        display: none !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3500;
        display: flex;
        gap: 6px;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        border-left: none;
        border-right: none;
        border-bottom: none;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.17);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mobile-bottom-nav::-webkit-scrollbar {
        display: none;
    }

    .mobile-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 50px;
        border-radius: 10px;
        color: #4a4a4a;
        text-align: center;
        font-size: 0.66rem;
        font-weight: 600;
        line-height: 1.1;
        transition: color 0.22s ease, background-color 0.22s ease;
        flex: 0 0 auto;
        min-width: 68px;
        scroll-snap-align: center;
    }

    .mobile-bottom-nav__item i {
        font-size: 1.02rem;
        color: #b5b5b5;
        transition: color 0.22s ease, transform 0.22s ease;
    }

    .mobile-bottom-nav__item.is-active {
        color: #303030;
        background: #f7f7f7;
    }

    .mobile-bottom-nav__item.is-active i {
        color: var(--primary-color);
        transform: scale(1.12);
    }

    .mobile-bottom-nav__item:active {
        background: #f6f6f6;
    }

    .hero {
        min-height: 58vh;
        padding: 22px 14px;
        background-position: center 42%;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .btn-main {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .features {
        width: 100%;
        margin-top: 38px;
        padding: 14px;
        gap: 12px;
        grid-template-columns: 1fr;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .feature-item {
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 14px 12px;
        text-align: left;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .feature-item i {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        margin-bottom: 8px;
        background: #fff7d1;
    }

    .feature-item h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .feature-item p {
        font-size: 0.92rem;
        line-height: 1.45;
        color: #4d4d4d;
    }

    .about-flex,
    .contact-box {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .styles-grid,
    .pricing-grid,
    .backgrounds-grid-custom,
    .locations-list {
        grid-template-columns: 1fr;
    }

    #background-selection {
        margin-top: 40px;
        padding-top: 0;
    }

    .backgrounds-subtitle {
        margin: -10px auto 24px;
        font-size: 0.95rem;
    }

    .backgrounds-grid-custom {
        display: flex;
        overflow-x: auto;
        gap: 14px;
        padding: 10px 6px 24px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .backgrounds-grid-custom::-webkit-scrollbar {
        display: none;
    }

    .bg-card {
        flex: 0 0 75%;
        scroll-snap-align: center;
    }

    .bg-card__overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
        align-items: flex-end;
        padding-bottom: 18px;
    }

    .gallery-grid {
        gap: 10px;
    }

    .gallery-grid__viewport {
        overflow: hidden;
    }

    .gallery-grid__track {
        display: flex;
        gap: 0;
        grid-template-columns: none;
        transition: transform 0.45s ease;
        will-change: transform;
    }

    .gallery-page {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        flex: 0 0 100%;
        min-width: 100%;
    }

    .gallery-grid img {
        height: 140px;
        margin: 0;
    }

    .gallery-grid__pager {
        display: flex;
    }

    .style-card h3 {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .style-card p {
        margin-bottom: 0;
    }

    .style-card__image,
    .style-card__image-placeholder {
        height: 280px;
        min-height: 280px;
    }

    .style-card__body {
        padding: 16px 16px 18px;
    }

    .style-card__tag {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    .pricing-card {
        padding: 18px;
        padding-top: 18px;
    }

    .pricing-card--featured {
        padding-top: 28px;
    }

    .pricing-card__price {
        font-size: 1.65rem;
    }

    .pricing-card__features li {
        margin-bottom: 6px;
    }

    .locations-mobile-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }

    .locations-mobile-tabs__button {
        border: 1px solid var(--border-color);
        border-radius: 999px;
        background: #fff;
        color: var(--dark-color);
        padding: 9px 12px;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

    .locations-mobile-tabs__button.is-active {
        background: var(--primary-color);
        border-color: #d2aa00;
        color: #232323;
    }

    .locations-panel {
        display: none;
    }

    .locations-panel.is-active {
        display: block;
    }

    .locations-layout {
        display: block;
    }

    .event-map {
        height: min(52vh, 420px);
    }

    .locations-list-controls {
        grid-template-columns: 1fr;
    }

    .locations-list-wrap {
        margin-top: 0;
        padding: 0;
        height: auto;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .locations-list-wrap h3 {
        margin-bottom: 8px;
        font-size: 1.05rem;
    }

    .locations-list {
        grid-template-columns: 1fr;
        max-height: 56vh;
        padding-right: 0;
    }

    .locations-list__item {
        border-radius: 12px;
        padding: 11px 12px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .locations-list__thumb {
        display: none;
    }

    .locations-list__city {
        display: none;
    }

    .map-popup {
        max-width: 210px;
    }

    .map-popup img {
        height: 108px;
    }

    .lightbox {
        padding: 12px;
    }

    .lightbox__image {
        max-width: 92vw;
        max-height: 74vh;
    }

    .lightbox__close,
    .lightbox__nav {
        width: 44px;
        height: 44px;
    }

    .map-lightbox__content {
        width: 94vw;
        padding: 14px;
    }

    .map-lightbox__content img {
        max-height: 62vh;
    }

    .background-lightbox__content {
        width: 94vw;
        padding: 14px;
    }

    .background-lightbox__content img {
        max-height: 72vh;
    }

    .contact-box {
        padding: 22px 16px;
        border-radius: 14px;
    }

    .contact-info p:not(:first-of-type) {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-info p:not(:first-of-type) i {
        margin-right: 0;
        margin-top: 3px;
        width: 16px;
        flex: 0 0 16px;
        text-align: center;
    }

    .contact-info p:not(:first-of-type) a {
        font-size: 0.95rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 5% 24px;
        text-align: center;
    }

    .footer__logo {
        margin: 0 auto 10px;
    }

    .footer__nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .footer__bottom {
        font-size: 0.84rem;
        padding-bottom: calc(18px + 61px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .event-map {
        height: min(50vh, 360px);
    }

    .locations-list__item {
        padding: 10px 11px;
    }

    .mobile-bottom-nav__item {
        font-size: 0.62rem;
        min-height: 48px;
    }

    .mobile-bottom-nav__item i {
        font-size: 0.98rem;
    }

    .contact-info p:not(:first-of-type) a {
        font-size: 0.91rem;
    }
}

@media (max-width: 390px) {
    .mobile-bottom-nav__item {
        font-size: 0.58rem;
        min-height: 46px;
    }

    .mobile-bottom-nav__item i {
        font-size: 0.94rem;
    }
}

@media (hover: none) {
    .top-bar a:hover,
    .contact-info a:hover {
        transform: none;
    }

    .btn-main:hover,
    .pricing-card__cta:hover,
    .pricing-download__button:hover {
        transform: none;
        box-shadow: none;
    }

    .feature-item:hover,
    .style-card:hover,
    .pricing-card:hover {
        transform: none;
        box-shadow: none;
    }
}
