/**
 * HOMEPAGE FINAL - Production Ready CSS
 * Kompletní responzivní styly s vylepšeními pro produkci
 */

/* ==========================================================================
   GLOBAL ENHANCEMENTS
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

.hp-page-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.hp-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #e2e8f0;
}

/* Compact mega menu in sidebar */
.hp-sidebar .kt-mega-menu-wrapper {
    font-size: 12px;
}

.hp-sidebar .kt-mega-menu-list li {
    padding: 5px 10px;
}

.hp-sidebar .kt-mega-menu-header {
    padding: 8px 10px;
    font-size: 12px;
}

.hp-sidebar .kt-mega-menu-list .kt-menu-item-label {
    font-size: 12px;
}

.hp-sidebar .kt-section-icon img {
    width: 18px;
    height: 18px;
}

.hp-main-content {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

/* ==========================================================================
   HERO SECTION - Enhanced
   ========================================================================== */

.hp-hero-v3 {
    background-color: #0c4a6e;
    background-size: cover;
    background-position: center;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dark overlay for better text readability */
.hp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.85) 0%, rgba(3, 105, 161, 0.8) 50%, rgba(8, 145, 178, 0.75) 100%);
    pointer-events: none;
}

.hp-hero-content-v3 {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hp-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 0;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hp-hero-title {
    color: #fff !important;
    font-size: 46px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 0 20px 0 !important;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hp-hero-title span {
    color: #7dd3fc;
    display: block;
}

.hp-hero-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 19px;
    line-height: 1.7;
    margin: 0 0 36px 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hp-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Buttons - Enhanced */
.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #fff;
    color: #0369a1 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.hp-btn-primary:hover {
    background: #f0f9ff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    color: #0369a1 !important;
    text-decoration: none !important;
}

.hp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.hp-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff !important;
    text-decoration: none !important;
}

/* Stats - Enhanced */
.hp-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.15);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hp-stat {
    text-align: center;
}

.hp-stat-value {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.hp-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   TRUST BAR - Enhanced with icons
   ========================================================================== */

.hp-trust-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.hp-trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/* Checkmark icon before each trust item */
.hp-trust-item::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================================================
   SECTION HEADERS - Enhanced
   ========================================================================== */

.hp-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.hp-section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #0369a1;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(3, 105, 161, 0.08);
    border-radius: 20px;
}

.hp-section-title {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.2 !important;
}

.hp-section-desc {
    font-size: 17px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   CATEGORY TILES - Enhanced
   ========================================================================== */

.hp-categories-tiles {
    padding: 70px 40px;
    background: #f8fafc;
}

.hp-categories-tiles.hp-categories-usage {
    background: #fff;
}

.hp-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hide any empty p tags that WordPress might inject */
.hp-tiles-grid > p:empty,
.hp-tiles-grid > br {
    display: none !important;
}

.hp-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.hp-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0369a1 0%, #0891b2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.hp-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #e0f2fe;
    text-decoration: none !important;
}

.hp-tile:hover::before {
    transform: scaleX(1);
}

.hp-tile-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-tile:hover .hp-tile-icon {
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(3, 105, 161, 0.3);
}

.hp-tile-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
}

.hp-tile-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Usage tiles with gradient background */
.hp-tile-usage {
    padding: 0;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0891b2 100%);
    border: none;
}

.hp-tile-usage::before {
    display: none;
}

.hp-tile-usage .hp-tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    transition: all 0.3s ease;
}

.hp-tile-usage:hover .hp-tile-content {
    padding-bottom: 28px;
}

.hp-tile-usage .hp-tile-title {
    color: #fff !important;
    margin-bottom: 6px !important;
    font-size: 17px !important;
}

.hp-tile-usage .hp-tile-desc {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

/* ==========================================================================
   USP SECTION - Enhanced
   ========================================================================== */

.hp-usp {
    padding: 80px 40px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.hp-usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.hp-usp-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.hp-usp-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.hp-usp-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.25);
}

.hp-usp-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 12px 0 !important;
}

.hp-usp-text {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   HOW IT WORKS - Enhanced
   ========================================================================== */

.hp-how-it-works {
    padding: 80px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hp-steps-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hp-step {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: #fff;
    border-radius: 24px;
    padding: 40px 28px 32px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    position: relative;
    transition: all 0.3s ease;
}

.hp-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.hp-step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(3,105,161,0.4);
}

.hp-step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 20px auto 24px;
}

.hp-step-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 12px 0 !important;
}

.hp-step-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.hp-step-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #0369a1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.hp-step-link:hover {
    color: #0891b2 !important;
    gap: 10px;
    text-decoration: none !important;
}

/* ==========================================================================
   CONFIGURATOR PROMO - Enhanced
   ========================================================================== */

.hp-configurator-promo {
    display: flex;
    min-height: 420px;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0891b2 100%);
    position: relative;
    overflow: hidden;
}

.hp-configurator-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hp-configurator-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    z-index: 1;
}

.hp-configurator-text {
    max-width: 650px;
    color: #fff;
}

.hp-configurator-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 18px 0 !important;
}

.hp-configurator-desc {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 28px;
}

.hp-configurator-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.hp-configurator-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

/* ==========================================================================
   TESTIMONIALS - Enhanced
   ========================================================================== */

.hp-testimonials {
    padding: 80px 40px;
    background: #fff;
}

.hp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.hp-testimonial-card {
    background: linear-gradient(145deg, #f8fafc 0%, #fff 100%);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.hp-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: #bae6fd;
}

.hp-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 60px;
    color: #e0f2fe;
    font-family: Georgia, serif;
    line-height: 1;
}

.hp-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    font-size: 16px;
}

.hp-testimonial-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin: 0 0 24px 0;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.hp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hp-testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.hp-testimonial-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.hp-testimonial-role {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

/* ==========================================================================
   GALLERY - Fixed Grid
   ========================================================================== */

.hp-gallery {
    padding: 80px 40px;
    background: #f8fafc;
}

.hp-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 400px;
}

/* Hide any empty p tags */
.hp-gallery-grid > p:empty,
.hp-gallery-grid > br {
    display: none !important;
}

.hp-gallery-item {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
    transition: all 0.4s ease;
}

.hp-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.hp-gallery-item:first-child {
    grid-row: span 2;
}

.hp-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    color: #fff;
}

.hp-gallery-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hp-gallery-location {
    font-size: 13px;
    opacity: 0.8;
}

.hp-gallery-cta {
    text-align: center;
    margin-top: 36px;
}

.hp-gallery-cta .hp-btn-secondary {
    color: #0369a1 !important;
    border-color: #0369a1;
    background: transparent;
}

.hp-gallery-cta .hp-btn-secondary:hover {
    background: #0369a1;
    color: #fff !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   FAQ - Enhanced
   ========================================================================== */

.hp-faq {
    padding: 80px 40px;
    background: #fff;
}

.hp-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.hp-faq-item {
    background: linear-gradient(145deg, #f8fafc 0%, #fff 100%);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.hp-faq-item:hover {
    border-color: #0ea5e9;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.hp-faq-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.hp-faq-question {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 12px 0 !important;
}

.hp-faq-answer {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   CTA BANNER - Enhanced
   ========================================================================== */

.hp-cta-banner {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hp-cta-content {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hp-cta-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 14px 0 !important;
}

.hp-cta-text {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT - Enhanced
   ========================================================================== */

.hp-contact {
    padding: 80px 40px;
    background: #f8fafc;
}

.hp-contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.hp-contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hp-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.hp-contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.hp-contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.25);
}

.hp-contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
}

.hp-contact-value {
    font-size: 16px;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.5;
}

.hp-contact-value a {
    color: #0369a1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.hp-contact-value a:hover {
    color: #0891b2 !important;
    text-decoration: none !important;
}

.hp-contact-map {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    min-height: 350px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.hp-contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */

@media (max-width: 1024px) {
    .hp-sidebar {
        display: none;
    }

    .hp-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .hp-gallery-item:first-child {
        grid-row: span 1;
        grid-column: span 2;
    }

    .hp-configurator-features {
        grid-template-columns: 1fr;
    }

    .hp-contact-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */

@media (max-width: 768px) {
    .hp-hero-v3 {
        padding: 50px 20px;
    }

    .hp-hero-title {
        font-size: 32px !important;
    }

    .hp-hero-subtitle {
        font-size: 16px;
    }

    .hp-hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hp-stat-value {
        font-size: 32px;
    }

    .hp-trust-bar {
        padding: 16px 20px;
    }

    .hp-trust-bar-inner {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

    .hp-categories-tiles,
    .hp-usp,
    .hp-how-it-works,
    .hp-testimonials,
    .hp-gallery,
    .hp-faq,
    .hp-contact,
    .hp-cta-banner {
        padding: 50px 20px;
    }

    .hp-section-title {
        font-size: 26px !important;
    }

    .hp-tiles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hp-tile-usage {
        min-height: 160px;
    }

    .hp-usp-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hp-usp-item {
        padding: 30px 24px;
    }

    .hp-steps-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .hp-step {
        max-width: 100%;
        min-width: auto;
    }

    .hp-configurator-promo {
        flex-direction: column;
        min-height: auto;
    }

    .hp-configurator-content {
        padding: 50px 20px;
    }

    .hp-configurator-title {
        font-size: 26px !important;
    }

    .hp-configurator-features {
        grid-template-columns: 1fr;
    }

    .hp-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hp-gallery-grid {
        grid-template-columns: 1fr;
    }

    .hp-gallery-item:first-child {
        grid-column: span 1;
        min-height: 200px;
    }

    .hp-gallery-item {
        min-height: 150px;
    }

    .hp-faq-grid {
        grid-template-columns: 1fr;
    }

    .hp-contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hp-cta-title {
        font-size: 26px !important;
    }

    .hp-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-btn-primary,
    .hp-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   MOBILE XS
   ========================================================================== */

@media (max-width: 480px) {
    .hp-hero-title {
        font-size: 28px !important;
    }

    .hp-section-title {
        font-size: 24px !important;
    }

    .hp-stat-value {
        font-size: 28px;
    }

    .hp-hero-stats {
        gap: 20px;
    }
}

/* ==========================================================================
   GOOGLE REVIEWS WIDGET
   ========================================================================== */

.hp-google-reviews {
    padding: 80px 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.hp-google-reviews-widget {
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Style the Google Reviews plugin output */
.hp-google-reviews-widget .grw-reviews {
    justify-content: center;
}

.hp-google-reviews-widget .grw-review {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.hp-google-reviews-widget .grw-review:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
    border-color: #0ea5e9 !important;
}

.hp-google-reviews-widget .grw-place-name {
    font-weight: 700 !important;
    color: #0f172a !important;
}

.hp-google-reviews-widget .grw-author-name {
    font-weight: 600 !important;
    color: #1e293b !important;
}

.hp-reviews-cta {
    text-align: center;
    margin-top: 30px;
}

.hp-reviews-cta .hp-btn-secondary {
    color: #0369a1 !important;
    border-color: #0369a1;
    background: transparent;
}

/* Google Reviews Slider Navigation Fix */
.hp-google-reviews-widget .grw-row {
    position: relative;
    overflow: hidden !important;
}

.hp-google-reviews-widget .grw-btns {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    width: 44px !important;
    height: 44px !important;
    background: #fff !important;
    border: 2px solid #0369a1 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hp-google-reviews-widget .grw-btns:hover {
    background: #0369a1 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.hp-google-reviews-widget .grw-btns:hover svg {
    fill: #fff !important;
}

.hp-google-reviews-widget .grw-prev {
    left: -22px !important;
}

.hp-google-reviews-widget .grw-next {
    right: -22px !important;
}

.hp-google-reviews-widget .grw-btns svg {
    width: 20px !important;
    height: 20px !important;
    fill: #0369a1 !important;
    transition: fill 0.3s ease !important;
}

/* Pagination dots */
.hp-google-reviews-widget .grw-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 20px !important;
}

.hp-google-reviews-widget .grw-dot {
    width: 10px !important;
    height: 10px !important;
    background: #cbd5e1 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.hp-google-reviews-widget .grw-dot.grw-active,
.hp-google-reviews-widget .grw-dot:hover {
    background: #0369a1 !important;
    transform: scale(1.2) !important;
}

.hp-reviews-cta .hp-btn-secondary:hover {
    background: #0369a1;
    color: #fff !important;
}

@media (max-width: 768px) {
    .hp-google-reviews {
        padding: 50px 20px;
    }

    .hp-google-reviews-widget {
        padding: 15px;
    }
}

/* ==========================================================================
   ENHANCED FOOTER STYLES - REDESIGN 2026
   ========================================================================== */

/* Override Flatsome footer with modern gradient */
.footer-wrapper,
footer#footer,
footer.footer {
    background: linear-gradient(180deg, #0c4a6e 0%, #083344 100%) !important;
    color: #e0f2fe !important;
}

/* Footer-1 - Icon bar section */
.footer-1.footer,
.footer.footer-1 {
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%) !important;
    padding: 50px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

/* Icon box container in footer */
.footer-1 .row,
.footer-1 .has-block {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Footer Icon Boxes - Modern Cards */
.footer-1 .icon-box,
.footer .icon-box {
    background: rgba(255,255,255,0.08) !important;
    border-radius: 20px !important;
    padding: 30px 24px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    text-align: center !important;
    backdrop-filter: blur(10px) !important;
    margin: 10px !important;
}

.footer-1 .icon-box:hover,
.footer .icon-box:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-6px) !important;
    border-color: rgba(255,255,255,0.25) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

/* Footer icon images */
.footer-1 .icon-box-img,
.footer .icon-box-img {
    margin-bottom: 16px !important;
}

.footer-1 .icon-box-img img,
.footer .icon-box-img img,
.footer-1 .icon-box .icon img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    width: 48px !important;
    height: 48px !important;
    transition: transform 0.3s ease !important;
}

.footer-1 .icon-box:hover .icon-box-img img,
.footer .icon-box:hover .icon-box-img img {
    transform: scale(1.1) !important;
}

/* Footer icon text */
.footer-1 .icon-box-text,
.footer .icon-box-text,
.footer-1 .icon-box p {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Absolute footer - Bottom bar with links */
.absolute-footer {
    background: #062031 !important;
    padding: 24px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* Footer navigation links */
.absolute-footer .footer-nav,
.absolute-footer .links,
.absolute-footer ul#menu-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
}

.absolute-footer .footer-nav li,
.absolute-footer ul#menu-footer li {
    display: inline-block !important;
}

.absolute-footer .footer-nav a,
.absolute-footer ul#menu-footer a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid transparent !important;
}

.absolute-footer .footer-nav a:hover,
.absolute-footer ul#menu-footer a:hover {
    color: #fff !important;
    background: rgba(14, 165, 233, 0.15) !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Footer copyright */
.absolute-footer .copyright,
.absolute-footer .footer-secondary {
    color: #64748b !important;
    font-size: 13px !important;
    text-align: center !important;
}

.absolute-footer .copyright a {
    color: #7dd3fc !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.absolute-footer .copyright a:hover {
    color: #fff !important;
}

/* Footer widgets area (if any) */
.footer-widgets {
    padding: 60px 0 40px !important;
    background: #0a3d5c !important;
}

.footer-widgets .widget-title,
.footer h3,
.footer h4 {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-bottom: 24px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative !important;
    padding-bottom: 12px !important;
}

.footer-widgets .widget-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #0ea5e9 0%, #0891b2 100%) !important;
    border-radius: 2px !important;
}

.footer-widgets ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-widgets ul li {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.footer-widgets ul li:last-child {
    border-bottom: none !important;
}

.footer-widgets ul li a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.footer-widgets ul li a:hover {
    color: #7dd3fc !important;
    padding-left: 8px !important;
}

/* Footer contact info */
.footer-widgets .contact-info,
.footer-widgets address {
    color: #94a3b8 !important;
    font-style: normal !important;
    line-height: 1.9 !important;
    font-size: 14px !important;
}

.footer-widgets .contact-info a {
    color: #7dd3fc !important;
}

.footer-widgets .contact-info a:hover {
    color: #fff !important;
}

/* Footer social icons */
.footer .social-icons a {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    margin-right: 12px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.footer .social-icons a:hover {
    background: #0ea5e9 !important;
    transform: translateY(-4px) !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3) !important;
}

.footer .social-icons a i {
    color: #fff !important;
    font-size: 18px !important;
}

/* Back to top button */
.back-to-top {
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(3, 105, 161, 0.4) !important;
}

.back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(3, 105, 161, 0.5) !important;
}

/* Footer responsive adjustments */
@media (max-width: 992px) {
    .footer-1 .icon-box {
        padding: 24px 18px !important;
        margin: 8px !important;
    }

    .footer-1 .icon-box-text,
    .footer .icon-box-text {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .footer-1.footer,
    .footer.footer-1 {
        padding: 40px 15px !important;
    }

    .footer-1 .icon-box {
        padding: 20px 16px !important;
        margin: 6px !important;
        border-radius: 16px !important;
    }

    .footer-1 .icon-box-img img {
        width: 40px !important;
        height: 40px !important;
    }

    .absolute-footer .footer-nav,
    .absolute-footer ul#menu-footer {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .absolute-footer .footer-nav a,
    .absolute-footer ul#menu-footer a {
        padding: 10px 20px !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }

    .footer-widgets .row > div {
        margin-bottom: 35px !important;
    }

    .footer-widgets .widget-title {
        text-align: center !important;
    }

    .footer-widgets .widget-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-widgets ul li a {
        justify-content: center !important;
    }
}
