:root {
    --primary: #005691;
    --primary-hover: #003d66;
    --primary-glow: rgba(0, 86, 145, 0.4);
    --primary-light: rgba(0, 86, 145, 0.15);
    --accent-gold: #c5a059;
    --text-dark: #1a1a1a;
    --text-light: #f0f0f0;
    --text-muted-dark: rgba(240, 240, 240, 0.65);
    --text-muted-light: rgba(26, 26, 26, 0.65);

    --border-on-dark: rgba(255, 255, 255, 0.12);
    --border-on-light: rgba(0, 0, 0, 0.08);

    --radius: 16px;
    --transition: 0.3s ease;
}

body.dark-mode {
    --bg-dark-section: #000000;
    --bg-card-dark-section: #111111;
    --bg-light-section: #1a1a1a;
    --bg-card-light-section: #222222;
    --text-on-dark: var(--text-light);
    --text-on-light: var(--text-light);
    --header-bg: #000000;
    --footer-bg: #000000;
    --step-num-color: rgba(255, 255, 255, 0.08);
    --footer-heading-color: #5bb1f0;
    color-scheme: dark;
}

body.light-mode {
    --bg-dark-section: #f0f4f8;
    --bg-card-dark-section: #ffffff;
    --bg-light-section: #ffffff;
    --bg-card-light-section: #f9f9f9;
    --text-on-dark: var(--text-dark);
    --text-on-light: var(--text-dark);
    --header-bg: #ffffff;
    --footer-bg: #000000;
    --step-num-color: rgba(0, 86, 145, 0.12);
    --footer-heading-color: var(--primary-light);
    color-scheme: light;
}

body.light-mode .main-footer {
    color: var(--text-light);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    background: var(--bg-dark-section);
    color: var(--text-on-dark);
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-outline {
    border-color: rgba(128, 128, 128, 0.4);
    color: inherit;
}

.btn-outline:hover {
    background: var(--primary-light);
    border-color: transparent;
    transform: translateY(-3px);
    color: var(--primary);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-on-dark);
    transition: background 0.3s, padding 0.3s;
    padding: 15px 0;
}

body.light-mode .main-header {
    border-bottom: 1px solid var(--border-on-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 71px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-for-light {
    display: none;
}

.logo-for-dark {
    display: block;
}

body.light-mode .logo-for-light {
    display: block;
}

body.light-mode .logo-for-dark {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
    color: inherit;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-phone {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
}

.mode-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.mode-toggle:hover {
    transform: rotate(15deg) scale(1.1);
}

body.light-mode .icon-sun {
    display: none;
}

body.light-mode .icon-moon {
    display: block;
}

body.dark-mode .icon-sun {
    display: block;
}

body.dark-mode .icon-moon {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    color: inherit;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark-section);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-menu-overlay.open {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--primary);
    cursor: pointer;
}

.mobile-menu-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-menu-nav li {
    margin-bottom: 24px;
}

.mobile-menu-nav a {
    font-size: 1.8rem;
    font-weight: 800;
}

.mobile-menu-actions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 250px;
}

section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.section-header h2,
.section-header .title-h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.text-accent {
    color: var(--primary);
}

.trust-bar {
    background: #000;
    padding: 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    text-align: center;
    gap: 30px;
}

.trust-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.trust-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-award {
    background: #000;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    width: 100%;
}

.award-mobile {
    display: none;
}

.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s;
    z-index: 1;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: transform 10s linear;
}

.slide.active .slide-bg {
    transform: scale(1.05);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    color: #fff;
}

.hero-content h2,
.hero-content .title-h2 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.05;
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.btn-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-control:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.bg-light {
    background: var(--bg-light-section);
    color: var(--text-on-light);
}

.bg-dark {
    background: var(--bg-dark-section);
    color: var(--text-on-dark);
}

.card-light {
    background: var(--bg-card-light-section);
    border: 1px solid var(--border-on-light);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.card-dark {
    background: var(--bg-card-dark-section);
    border: 1px solid var(--border-on-dark);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

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

.usp-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius);
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid var(--border-on-light);
    background: var(--bg-card-light-section);
}

.usp-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.usp-icon {
    font-size: 2.5rem;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 40px 30px;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--step-num-color);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.packages-grid-custom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.packages-grid-custom>.package-card {
    width: calc(25% - 18px);
    min-width: 140px;
}

@media (max-width: 900px) {
    .packages-grid-custom>.package-card {
        width: calc(33.333% - 16px);
    }
}

@media (max-width: 600px) {
    .packages-grid-custom>.package-card {
        width: calc(50% - 12px);
    }
}

.package-card {
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius);
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.package-card--best {
    border: 2px solid var(--primary);
    padding-top: 45px;
}

.package-card--best::before {
    content: 'Polecane';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 0 0 10px 10px;
    letter-spacing: 1px;
    z-index: 2;
}

.pkg-hours {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    opacity: 0.7;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    transition: color 0.3s;
}

.price-sm {
    font-weight: 900;
    color: var(--primary);
    font-size: 1.3rem;
    transition: color 0.3s;
}

body.dark-mode .price,
body.dark-mode .price-sm,
body.dark-mode .pkg-price {
    color: #ffffff !important;
}

.pkg-price {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 900;
    color: var(--primary);
    display: block;
    white-space: nowrap;
}

.price, .price-sm {
    white-space: nowrap;
}

.offer-list li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-on-dark);
    padding-bottom: 8px;
}

.offer-list li:last-child {
    border-bottom: none;
}

.reviews-slider-wrapper {
    position: relative;
    padding: 0;
}

@media (min-width: 768px) {
    .reviews-slider-wrapper {
        padding: 0 60px;
    }
}

.reviews-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .review-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (min-width: 1024px) {
    .review-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

.review-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.review-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-50%) scale(1.1);
}

.review-prev {
    left: 0;
}

.review-next {
    right: 0;
}

@media (min-width: 768px) {
    .review-btn {
        display: flex;
    }
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 25px;
    flex-grow: 1;
}

.review-author {
    font-weight: 800;
    font-size: 1.1rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border-on-light);
    background: rgba(128, 128, 128, 0.05);
    color: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select {
    background: #222;
    color: #fff;
    border-color: var(--border-on-dark);
}

body.dark-mode .form-group option {
    background: #222;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-row h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    opacity: 0.7;
}

.contact-row p,
.contact-row a {
    font-size: 1.5rem;
    font-weight: 800;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.main-footer {
    background: var(--footer-bg);
    padding: 80px 0 40px;
    color: #fff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .btn-desktop-only {
        display: none;
    }

    .hero-content h2 {
        font-size: 3.5rem;
    }

    .trust-items {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .trust-items {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .award-desktop {
        display: none !important;
    }

    .award-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .award-mobile-img-50 {
        width: 50%;
        max-width: 150px;
        height: auto;
    }

    .award-mobile-img-100 {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

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

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .contact-row p,
    .contact-row a {
        font-size: 1.2rem;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translate(0) scale(1);
    visibility: visible;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 20px 0;
    z-index: 9999;
    border-top: 1px solid var(--border-on-dark);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}